upvote
OpenSCAD is all triangles and vertices. Fillets are difficult to do. Outputting circles/spheres generally requires you to for-loop over vertices a lot.

Libraries like build123d and cadquery use OpenCASCADE, a boundary representation kernel. You think in terms of the enclosed solid and perform operations - boolean add/subtract, fillet/chamfer, stamp text, etc - that return a new solid.

reply
I'm not sure I understand your comment; OpenSCAD has functions like sphere(), cylinder(), etc. Most OpenSCAD models I have seen are built up primarily from solid primitives combined using boolean operations, just as you describe for the other tools.

https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Man...

reply
Theres a better description of the differences here: https://build123d.readthedocs.io/en/latest/OpenSCAD.html#tra...

Some of the differences may be in when you are trying to reference a face/edge to build off of, not just about the primitive function being used.

reply
OpenSCAD works natively with triangle meshes. sphere() will create a spherical triangle mesh.

These libraries on the other hand can natively represent a sphere for instance. This means that during CAD-ing you don't need to worry about resolution, that's a consideration for export only.

reply
CadQuery can export STEP files, and is overall much nicer to use in my opinion.
reply
Openscad can export to CSG, which can be imported by free cad or converted to STEP https://github.com/gega/csg2stp
reply
I've been using Gemini to generate openscad programs for use with my 3d printer. Is cadquery a better option I wonder?

Why do you say it is better than openscad?

reply
After reading some of the docs it does look fun.

Python, so leverage your Python skills and existing libraries.

A nice GUI so you can build, view, tweak, review, iterate.

Will be a nice new toy...

reply