147 points · by omeid2 · 2y ago · 30 comments
> Author here. Sorry, I abandoned this two or three years ago. Please look at this in the context of a project done several years ago and never completed.
> Honestly, I no longer believe ImplicitCAD was the right approach to the problem, or that there's even as much of a problem as I originally thought. In particular, the system ImplicitCAD uses to represent objects, a variant of f-rep (http://en.wikipedia.org/wiki/Function_representation) has issues.
It is entirely possible to write broken software in Haskell.
Also, it is written in Haskell, so maybe there is finally some other useful project in Haskell other than the Haskell Compiler, as the joke goes.
I no longer use OpenSCAD because its annoyingly complicated to do for non-trivial shapes.
//example2.escad -- A rounded union of a square and a circle.
union(r=14) {
square([80,80]);
translate ([80,80]) circle(30);
}
https://github.com/Haskell-Things/ImplicitCADSource - Dad was a master jeweler and my parents ran a shop for nearly 40 years
The big difference comes when you combine objects or operate on them. Surface-based programs are not that good at combining surfaces. CSG-based programs have to be really good at combining volumes, including subtracting from them. This requires a very difficult geometry program underneath.
After that I'm not expecting much.