The OpenSCAD GUI editor contains OpenSCAD code. This is the main code that is
executed when you preview or render. Usually this main program is saved as a
.scad file.
As John said to access modules in another file you need to include
<the_file>, then you can call the modules.
include<my_file.scad>
my_module(my-parameters);
Alternatively you can put the module calls & the code to 'assemble' them
into the one file and open that with OpenSCAD.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
View this message in context: http://forum.openscad.org/How-do-I-assemble-scad-objects-I-have-designed-on-to-one-screen-tp20893p20896.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
The OpenSCAD GUI editor contains OpenSCAD code. This is the main code that is
executed when you preview or render. Usually this main program is saved as a
.scad file.
As John said to access modules in another file you need to include
<the_file>, then you can call the modules.
include<my_file.scad>
my_module(my-parameters);
Alternatively you can put the module calls & the code to 'assemble' them
into the one file and open that with OpenSCAD.
-----
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
--
View this message in context: http://forum.openscad.org/How-do-I-assemble-scad-objects-I-have-designed-on-to-one-screen-tp20893p20896.html
Sent from the OpenSCAD mailing list archive at Nabble.com.