News for hackers. Stuff that matters.
Re:OpenJSCAD by alexose on Thursday March 12, 2020 @12:57PM (#22558867)
Programming is my day job, so being able to think of solid objects in terms of code just makes sense to me. I find myself using OpenSCAD more and more just for sketching out ideas, and experimenting with shapes that would be hard to make using traditional CAD.

I dream of a day when parametric CAD is bundled with a usable package library. Being able to `import` versioned parts would be a huge upgrade, and would lead to the development of better standard libraries.

There are also some land mines around the rendering process, e.g. shapes that render just fine as a preview, but will crash the CGAL renderer. I’ve also had the opposite happen. It seems like there’s room to add better validation (or maybe a way of automatically simplifying ASTs?) before they hit the renderer.

Re:OpenJSCAD by nikolaj on Thursday March 12, 2020 @01:17PM (#22559178)
CadQuery (python lib that wraps freecad's CAD kernel) is a bit more similar to a traditional CAD system in terms of how it constructs parts (workplane, etc).

Also, onshape.com (commercial with hobby free tier) has a scripting interface that i believe is js-like (i have not yet had to use it, but i use onshape quite a bit for hobby projects). Their versioning and importing of community parametric parts is pretty tight imo.

Re:OpenJSCAD by neutronicus on Thursday March 12, 2020 @01:41PM (#22559489)
OnShape uses Parasolid (best-in-class geometry kernel used by a LOT of different commercial CAD products) under the hood so if you are trying to make a manufacturing quality part it will stand you in good stead.

OpenCASCADE (FreeCAD's kernel) is pretty good too.

Re:OpenJSCAD by jf___ on Thursday March 12, 2020 @01:46PM (#22559573)
no, CadQuery is a wrapper on top of PythonOCC
Re:OpenJSCAD by salamanderman on Thursday March 12, 2020 @03:16PM (#22560635)
Same thing
Re:OpenJSCAD by kilohotel on Thursday March 12, 2020 @05:52PM (#22562194)
You can do functionally defined implicit modeling in http://ntopology.com