upvote
OpenSCAD has almost zero crossover with B-rep modelling ('true' CAD, what this apparently is), though.
reply
OpenSCAD uses CSG which is generally better. Easy to convert CSG to BREP. Cant generally do the opposite
reply
It's easy to convert because CSG is a small subset of what BREP can do.

It's analogous to "all squares are rectangles, but not all rectangles are squares" (squares=CSG, rectangles=BREP)

CSG by itself isn't suitable for most CAD use-cases.

reply
How can I convert openSCAD models to true STEP files? As in no meshes. I Literally have wanted that for years.
reply
how hard it is ? with AI prevalent, how long ? any pointers to start from ?
reply
If you want something based on B-Rep, look at projects that use opencascade under the hood, as that is one of the only B-Rep CAD kernels available which is free and open source. Some examples would be CADQuery, CascadeStudio, or RepliCAD.
reply
Same. Working with an LLM and OpenSCAD has been totally painless.
reply
I’ve been using cadquery and build123 with Claude code and I find it incredibly painful.

What is your workflow for llm integration to openscad?

reply
Not OP but I just ask Claude Code to make me an openscad file. If I need changes I ask for them in plain english. If you are specific, it's not the quickest loop but it works. I usually ask it to parameterize the model enough so that I can quickly print small prototypes in my 3d printer. Once I am happy with the mini version I print the full-size model.
reply
What is the inference overhead on this
reply