Description
Hi,
SolidPython
offers me the best python
based CAD workflow.
Some of my projects are using intensive computed geometries, like many union of hull of spheres.
Unfortunately OpenSCAD
renders them slow, sometimes I can render only sub-parts with OpenSCAD
and union them with Blender
.
I was looking for a faster alternative of OpenSCAD
and I have found AngelCAD and xcsg.
Currently I have only a very brief experience with them, which is very promising, although I cannot say anything about the maturity of these tools.
What I have did so far:
openscad VaseTop.scad --o VaseTop.csg
time xcsg --obj VaseTop.csg
...
Created OBJ file : VaseTop.obj
xcsg finished using 0h 0m 24.197s
real 0m24,277s
user 1m15,905s
sys 0m3,348s
I thought it would be nice to have a SolidPython
like tool which could output directly to .xcsg
too.
Output to .xcsg
may not be as simple as generate .scad
output, since .xcsg
needs explicit model matrices. As I see all translate()()
, rotate()()
operations should calculate the proper model matrices in SolidPython
side, maybe the PyGLM module could provide efficient help in it.
So it is not an issue, just a daydreaming.
Happy new year!