<- Back
Comments (44)
- injidupThese types of CAD scripting tools are great but always try to position themselves as an “alternative” to GUI-driven CAD, whereas in reality they are complementary. OnShape got it right with FeatureScript (https://cad.onshape.com/FsDoc/ ), which provides a very similar experience to Build123d at the scripting level. However, the insight that OnShape got right is that these scripts automatically become available as possible nodes within the history-based modeller. The OnShape UI is infinitely extendable beyond the fixed set of tools that comes with the base modeller.Build an FOSS CAD front end using something like Build123d as the extension engine, and then add hooks so the user can select edges, surfaces, objects, etc., and feed them to inputs on the scripts. The output of the script is then the new state of the history-based modeller. That would be killer
- nakedneuronas someone mentioned recently somebody made this build123d-playground on the web:https://jojain.github.io/build123d-sandbox/learning curve is steep, but the examples get you going in no time..though not really CAD, favorite example: https://build123d.readthedocs.io/en/latest/examples_1.html#c...shows the ability of this implementation of the open cascade kernel.. i havent found this kind of projection function too often in other cad programs, so this is really cool.. i remember trying to do similar with ptc creo and it was a pain..
- z3ugmaI have been using this library for a few months alongside Gemini 3.1 FastIt's really useful to get an iteration loop going with an LLM.The OCCP viewer extension for VS Code helps make sure you can see and manipulate the resulting model
- latenodeCAD has needed a proper code-first workflow for years. The existing options always felt like they were built for the GUI first and scripting was bolted on after.
- torayeffMy 2 cents: I fell in love with build123d (not at affiliated with build123d or gumyr) that I built a wrapper on top of it to generate both python code and export step stp 3mf. Please check here if you are interested texocad.ai
- TagbertI used to do a lot with AutoLisp in AutoCAD back when it ran in DOS. Did a lot of dynamic creation and manipulation of the models with it. It was useful and a lot of fun (aside from parenthesis nesting).
- htgbDespite being aware of its existence, I stuck with OpenSCAD out of habit. Only last week did I read through the documentation, and feel strongly that I've been missing out… it seems to solve all of my gripes with OpenSCAD. I'm excited to try it out!
- jplegerThis is cool, seems like a next gen cadquery, which was really cool to see.
- copirateWhy do these tools never have the equivalent of sketch contraints in FreeCAD? That's how I build my models and it avoids a lot of math.I'd really like a "CAD as code" tool that's basically the FreeCAD Part Design workflow but with code. I know FreeCAD has a python interface but it's far from developer friendly.
- CarVacI like Build123d but I really want a hybrid mouse/code CAD built around it. I want to be able to click on entities and have them show up in the code editor instead of blindly trying to select edges.
- wisemanwillhearIn many ways this looks fun. I love the precise control and programming power of tools like this, but when I need something in real life, I never use them any more. The productivity of graphical tools is so much greater (as far as my brain works).When I was younger I used POVray for a few small projects, but once I had access to graphical interfaces the difference in output quantity and quality was huge. I still keep tools like POVray installed, but all I ever do with them is tinker once in a while.
- contingenciesAhh, but can it do a clean self-reversing diamond thread including the reversing portion?You'd be amazed how hard this is to achieve with open source tools. IIRC modern FreeCAD can't, old FreeCAD can, ~5 ways to achieve it in OpenSCAD don't work properly, Blender keeps shifting-sands and mostly can't but I believe the very latest can maybe do it with difficulty using geometry nodes.