upvote
It's not really useless though. Yes, in some dimensions it is terrible compared to GUI parametric CAD. But in other dimensions it is far more powerful and lets you build really complex stuff quickly and easily.
reply
I am currently trying to apply code-based CAD principles to my current project:

https://studio.flet.dev/run/bicQWc3Aul

do you know of a traditional CAD program which could be used to drive such designs/projects in a useful fashion? I'm currently contemplating a re-write to use a Domain Specific Language....

reply
Would you be interested in evaluating (or having your LLMs check out) my geometry kernel Aetheris for your project? I already have DSL (called Firmament) parser/lexer/AST part down, and it is designed to be easy to extend, so you don't have to write everything from scratch.

https://github.com/yuechen-li-dev/Aetheris

One of my goals when I built the kernel is I want to make building a pro grade CAD software as easy as wrapping a web frontend around the Aetheris libraries. It's still very much an aspirational goal though.

reply
Interesting. I'll have to try to look into what the integration of flet.dev/Python w/ that code looks like.
reply
What is your beef with code based, parametric CAD? It's pretty neat.
reply
I love OpenSCAD and code-based CAD, but even I must admit it's really only good for simple things and is more of a toy than a tool to solve real world problems. The main issue is fundamental, which is that CSG operations change topology in unpredictable ways, and there is no reliable way to refer to the components of the result. This is already bad for a few operations, but becomes exponentially problematic for more complicated models. Even in 2D, suppose I want to make a C-shaped thing out of a box and subtracting a different box out of it. You don't know how many edges the result will have, or even how many connected components the result will have, so how do you go on to perform the next step "on that one part that I want" if it even exists? Of course for a single concrete instantiation this is not really a problem, but the whole point is to have the shape tunable based on parameters, and once you allow that all hell breaks loose.
reply
You might also like FluidCAD (I'm the author). It uses js as scripting, but all features can be done through the UI. It has a constraint based 2D sketcher, timeline and assemblies.
reply