I have just started playing around with customizer and really like it. I was
wondering if using customizer if it is possible to say have 3 variables in
customizer each with a slider and generate and export a stl out of ever
possible combination of the variable values?
So if there was 3 possible values in each of the 3 sliders it would generate
and export 27 different stl files?
--
Sent from: http://forum.openscad.org/
ATM export is a manual process. It also requires a render (F6) which can take
some time, so it unlikely it will be automated in the GUI.
I haven't done it, but you should be able to script via the command line;
see 'Saving Parameters value in JSON file' at
OpenSCAD_User_Manual/WIP#Customizer
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/WIP#Customizer
Admin - email* 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.
Sent from: http://forum.openscad.org/
Stupid question: What is customizer?
I hear people talk about it. And I know it is related to OpenSCAD. But is
it an online version of OpenSCAD, or a slightly different application?
Thanks
On Sat, Dec 1, 2018 at 1:26 AM MichaelAtOz oz.at.michael@gmail.com wrote:
ATM export is a manual process. It also requires a render (F6) which can
take
some time, so it unlikely it will be automated in the GUI.
I haven't done it, but you should be able to script via the command line;
see 'Saving Parameters value in JSON file' at
OpenSCAD_User_Manual/WIP#Customizer
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/WIP#Customizer
Admin - email* 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.
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On 01.12.18 05:53, fractorr wrote:
So if there was 3 possible values in each of the 3 sliders it would generate
and export 27 different stl files?
It should be obvious that for loops and be nested and multiple variables
can be overwritten using multiple -D options for calling openscad.
Offcourse, you could use any scripting/programming language you like.
The only trick is to generate the variable values by code and applying
them using -D to the design.
With kind regards,
Michael Frey
On 12/1/2018 5:28 AM, Kevin Toppenberg wrote:
Stupid question: What is customizer?
I hear people talk about it. And I know it is related to OpenSCAD.
But is it an online version of OpenSCAD, or a slightly different
application?
It's a mechanism for automatically putting a user interface in front of
an OpenSCAD program, by including stylized declarations and comments at
the top of the file.
The best-known one is https://www.thingiverse.com/customizer and there's
one built into bleeding edge versions of OpenSCAD.
Excellent, I will give that a try. Right now I use php to generate a
separate scad file for each variation. It works but it's messy, this way
looks much better, generating the variables is not a problem.
On December 1, 2018 5:34:36 AM Michael Frey michael.frey@gmx.ch wrote:
On 01.12.18 05:53, fractorr wrote:
So if there was 3 possible values in each of the 3 sliders it would generate
and export 27 different stl files?
It should be obvious that for loops and be nested and multiple variables
can be overwritten using multiple -D options for calling openscad.
Offcourse, you could use any scripting/programming language you like.
The only trick is to generate the variable values by code and applying
them using -D to the design.
With kind regards,
Michael Frey
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
This is fantastic, with some small changes to my php file that I was using
to generate a separate scad file I was able to change it to one script file
and pass in the different variable variations and generate all the stl
files. It never ceases to amaze me what can be done with OpenSCAD.
On Sat, Dec 1, 2018 at 5:34 AM Michael Frey michael.frey@gmx.ch wrote:
On 01.12.18 05:53, fractorr wrote:
So if there was 3 possible values in each of the 3 sliders it would
generate
and export 27 different stl files?
It should be obvious that for loops and be nested and multiple variables
can be overwritten using multiple -D options for calling openscad.
Offcourse, you could use any scripting/programming language you like.
The only trick is to generate the variable values by code and applying
them using -D to the design.
With kind regards,
Michael Frey
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org