Skip to content

Wish: xcsg support #160

Closed
Closed
@ebak

Description

@ebak

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

image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions