News for hackers. Stuff that matters.
Re:Build123d: A Python CAD programming library by rao-v on Monday March 30, 2026 @12:29PM (#47576395)
I’d love to see this. It was a frustrating learning curve for me to realize that I couldn’t STEP export work from OpenSCAD to something like Fusion.

Build123d is much better (supports STEP export and import) but a tightly integrated CAD frontend would be ideal!

Re:Build123d: A Python CAD programming library by WillAdams on Monday March 30, 2026 @03:38PM (#47578752)
PythonSCAD now has STEP export:

https://github.com/pythonscad/pythonscad

Re:Build123d: A Python CAD programming library by rao-v on Monday March 30, 2026 @09:26PM (#47581710)
Wait to usefully import and export STEP you need to be BREP based right? I thought SCAD’s engine was fundamentally incompatible (only really one open source BREP engine out there - OpenCascade)
Re:Build123d: A Python CAD programming library by Cargo4286 on Monday March 30, 2026 @10:01PM (#47581917)
Yes, AFAIK you are correct that SCAD is incapable of outputting clean STEP files.
Re:Build123d: A Python CAD programming library by WillAdams on Tuesday March 31, 2026 @06:47AM (#47585402)
Pretty much, that's why for DXF export I rolled my own:

https://github.com/WillAdams/gcodepreview/blob/main/dxfexpor...

(shows a DXF w/ arcs)

https://github.com/WillAdams/gcodepreview/blob/main/gcpdxf.p...

(shows a .py file for making DXFs)

See the PDF at the top level for more information.