Hi all,
I'm attempting create some semi-automated functionality in OpenSCAD. What I
would like to do is be able to read in a table of positional, size and type
(sphere etc) data created in another program and generate a single stl file
containing said objects. My suspicion is that I might have to use python to
get this to work, especially if I want to read in a csv or similar file to
get the data, but I figured someone here might have a solution for a more
native way to achieve this. I really appreciate any help you can give.
Thanks,
--
View this message in context: http://forum.openscad.org/Creating-a-series-of-translated-primitives-from-table-matrix-tp17096.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Use an external program (eg written in Python) to convert the parameter
table into an OpenSCAD script called 'parameters.scad' which contains a
sequence of parameter definitions of the form
name = value;
Then use 'include <parameters.scad>' to read the parameters into another
OpenSCAD script which then uses the parameters to generate the geometry.
On 12 April 2016 at 20:37, wwatts will@featherfab.com wrote:
Hi all,
I'm attempting create some semi-automated functionality in OpenSCAD. What I
would like to do is be able to read in a table of positional, size and type
(sphere etc) data created in another program and generate a single stl file
containing said objects. My suspicion is that I might have to use python to
get this to work, especially if I want to read in a csv or similar file to
get the data, but I figured someone here might have a solution for a more
native way to achieve this. I really appreciate any help you can give.
Thanks,
--
View this message in context:
http://forum.openscad.org/Creating-a-series-of-translated-primitives-from-table-matrix-tp17096.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org