Welcome to the forum. Your post is still flagged as "This post has NOT been
accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1 ,
and CLICK THE LINK in the registration email.
The SCAD used in Customizer is OpenSCAD, not always the latest version tho.
However Customizer is a wrapper around OpenSCAD and does extra things.
The choose file button is an example. It includes the filename in the source
code, see the view source button.
This line makes the button appear, and the file you choose is converted to a
surface.dat file
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#Surface
. It also sets the surface.dat file in the shape_file variable
shape_file = ""; // [image_surface:100x100]
Which is used further down to process the file.
dat_2d(file = shape_file)
You can take Customizer source and use it in OpenSCAD locally, but you need
to set the variables at the top of the file.
In this case you would need to create the surface file yourself using their
online tool. http://customizer.makerbot.com/docs#image_surface
Then set the file name e.g.
shape_file = "mycutter.dat"
To answer the question in your other post, see the link above. surface() is
very memory hungry, creating anything much more detailed tends to bring
OpenSCAD to its knees.
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/Newbie-quick-question-Thingiverse-SCAD-OpenSCAD-tp20998p21000.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Welcome to the forum. Your post is still flagged as "This post has NOT been
accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list
<http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1> ,
and CLICK THE LINK in the registration email.
The SCAD used in Customizer is OpenSCAD, not always the latest version tho.
However Customizer is a wrapper around OpenSCAD and does extra things.
The choose file button is an example. It includes the filename in the source
code, see the view source button.
This line makes the button appear, and the file you choose is converted to a
surface.dat file
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#Surface>
. It also sets the surface.dat file in the shape_file variable
shape_file = ""; // [image_surface:100x100]
Which is used further down to process the file.
dat_2d(file = shape_file)
You can take Customizer source and use it in OpenSCAD locally, but you need
to set the variables at the top of the file.
In this case you would need to create the surface file yourself using their
online tool. <http://customizer.makerbot.com/docs#image_surface>
Then set the file name e.g.
shape_file = "mycutter.dat"
To answer the question in your other post, see the link above. surface() is
very memory hungry, creating anything much more detailed tends to bring
OpenSCAD to its knees.
-----
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/Newbie-quick-question-Thingiverse-SCAD-OpenSCAD-tp20998p21000.html
Sent from the OpenSCAD mailing list archive at Nabble.com.