4 ms·
This is awesome! I’ve been using Python to generate OpenSCAD scripts, and then a half-finished Python binding for OpenSCAD. This framework uses the natural par
by craigjb 8y ago
This is awesome!
I’ve been using Python to generate OpenSCAD scripts, and then a half-finished Python binding for OpenSCAD. This framework uses the natural parametric CAD modeling primitives, like the workplane. I never got used to the OpenSCAD way.
I’m switching my stack over to this today.
- robodan 8y agoI'd love to know how this works out for you. I was trying to do something similar, but got stuck. The core issue is that the fluent object design approach makes it very difficult to decompose objects into reusable features. The shared state behind the fluent approach makes creating multiple sub-objects (to then combining them) difficult (maybe impossible). The power of Python gets limited to thinking about only one thing at a time. See https://github.com/dcowden/cadquery/issues/167 https://github.com/dcowden/cadquery/issues/167 They are trying to fix this in 2.0, but that's still in early development.
- robodan 8y agoIt looks like the problem isn't where I thought it was. Still figuring out how to get it to work, though.