call functions into command line instead of .scad file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

call functions into command line instead of .scad file

amati
Hi
can I call rotation or other functions in command line?
right now,  I put them into a .scad file and put this .scad into command line, which work pretty well. but I want to put these functions into command line, e.g. a simple function for rotation.

Thanks guys

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: call functions into command line instead of .scad file

nophead
After the -D you can put any statement and it gets appended to the end of the file.

On 13 August 2017 at 21:39, ahmad <[hidden email]> wrote:
Hi
can I call rotation or other functions in command line?
right now,  I put them into a .scad file and put this .scad into command line, which work pretty well. but I want to put these functions into command line, e.g. a simple function for rotation.

Thanks guys

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org