frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Build123d: A Python CAD programming library

https://github.com/gumyr/build123d
43•Ivoah•20h ago

Comments

injidup•1h ago
These 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

CountVonGuetzli•1h ago
I didn't know OnShape had such a feature. Will check it out!

What you describe is one of the main reasons why I use Rhino3D. It can be scripted via the Grasshopper plugin, which integrates really nicely with Rhino and its primitives. Sadly, Rhino isn't open source and is quite pricy

- https://www.rhino3d.com/ - https://www.grasshopper3d.com/

injidup•1h ago
The fun thing is that onshape itself has a very thin kernel. Most of what you see as built in features are actually featurescript based. Onshape provides the source code for their built in feature set as a reference. https://cad.onshape.com/documents/12312312345abcabcabcdeff/w... You do need an account login ( free ) to view it.
rao-v•49m ago
I’d love to see this. It was a frustrating learning curve for me to realize that I couldn’t STEP export work from OpenSCAD to something like Fusion.

Build123d is much better (supports STEP export and import) but a tightly integrated CAD frontend would be ideal!

htgb•1h ago
Despite 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!
plumbees•1h ago
I've been wanting to get into OpenScad. Wondering what you've identified as an issue. I dabbled a little and I think I remember wishing it was more object oriented to make it a bit easier to make reusable adjustable pieces and I had found a python library that does openscad conversions; Wondering what gripes it solves for you.
beering•1h ago
Mainly OpenSCAD is not a BRep modeling tool! It is not on the same level of power as CAD tools with a BRep kernel and this especially shows when you want to do a fillet over an arbitrary edge. Unfortunately these kernels are hard to make and integrate and I only know of two open-source BRep kernels out there: OpenCASCADE (used by FreeCAD and build123) and truck (not sure what the status of it is).
CarVac•1h ago
I 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.
z3ugma•1h ago
I have been using this library for a few months alongside Gemini 3.1 Fast

It'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

nakedneuron•1h ago
last time i tried, i didnt get the standalone mode to run.. there seems to have been an update in february, so i will give this another try when there's time..

(context: https://github.com/bernhard-42/vscode-ocp-cad-viewer/)

latenode•1h ago
CAD 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.
nakedneuron•1h ago
as 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..

wisemanwillhear•59m ago
In 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.

jpleger•31m ago
This is cool, seems like a next gen cadquery, which was really cool to see.

How to turn anything into a router

https://nbailey.ca/post/router/
293•yabones•3h ago•117 comments

Parrots pack twice as many neurons as primate brains of the same mass

https://www.dhanishsemar.com/writing/bird-brains
196•DiffTheEnder•4h ago•119 comments

CodingFont: A game to help you pick a coding font

https://www.codingfont.com/
78•nvahalik•2h ago•46 comments

Bitwarden Integrates with OneCLI Agent Vault

https://www.onecli.sh/blog/bitwarden-agent-access-sdk-onecli
31•sudo_chmod•1h ago•22 comments

"Over 1.5 million GitHub PRs have had ads injected into them by Copilot"

https://www.neowin.net/news/microsoft-copilot-is-now-injecting-ads-into-pull-requests-on-github-g...
272•bundie•2h ago•136 comments

Take Better Notes, by Hand

https://brianschrader.com/archive/take-better-notes-by-hand/
18•sonicrocketman•55m ago•3 comments

Build123d: A Python CAD programming library

https://github.com/gumyr/build123d
43•Ivoah•20h ago•14 comments

OCR For construction documents does not work, we fixed it

https://www.getanchorgrid.com/developer/docs/endpoints/drawings-doors
13•wcisco17•1h ago•8 comments

Mathematical methods and human thought in the age of AI

https://arxiv.org/abs/2603.26524
145•zaikunzhang•6h ago•50 comments

FTC Action Against Match and OkCupid for Deceiving Users, Sharing Personal Data

https://www.ftc.gov/news-events/news/press-releases/2026/03/ftc-takes-action-against-match-okcupi...
76•gnabgib•1h ago•36 comments

ChatGPT won't let you type until Cloudflare reads your React state

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
889•alberto-m•20h ago•578 comments

Cherri – programming language that compiles directly to a Apple Shortuct

https://github.com/electrikmilk/cherri
15•mihau•2d ago•1 comments

From Proxmox to FreeBSD and Sylve in Our Office Lab

https://www.iptechnics.com/blogs/from-proxmox-to-freebsd-and-sylve-in-our-office-lab
29•arch1e•2d ago•16 comments

The curious case of retro demo scene graphics

https://www.datagubbe.se/aipixels/
302•zdw•11h ago•76 comments

72% of the dollar's purchasing power was destroyed in just four episodes

https://eco3min.fr/en/us-inflation-is-not-linear/
152•latentframe•2h ago•147 comments

I use Excalidraw to manage my diagrams for my blog

https://blog.lysk.tech/excalidraw-frame-export/
207•mlysk•10h ago•89 comments

In Math, Rigor Is Vital. But Are Digitized Proofs Taking It Too Far?

https://www.quantamagazine.org/in-math-rigor-is-vital-but-are-digitized-proofs-taking-it-too-far-...
47•isaacfrond•4d ago•37 comments

Hamilton-Jacobi-Bellman Equation: Reinforcement Learning and Diffusion Models

https://dani2442.github.io/posts/continuous-rl/
121•sebzuddas•9h ago•34 comments

I am definitely missing the pre-AI writing era

https://www.lesswrong.com/posts/BJ4pnropWdnzzgeJc/i-am-definitely-missing-the-pre-ai-writing-era
106•joozio•10h ago•98 comments

Comprehensive C++ Hashmap Benchmarks (2022)

https://martin.ankerl.com/2022/08/27/hashmap-bench-01/
46•klaussilveira•5d ago•13 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
640•speckx•1d ago•238 comments

Copilot edited an ad into my PR

https://notes.zachmanson.com/copilot-edited-an-ad-into-my-pr/
1223•pavo-etc•13h ago•350 comments

VHDL's Crown Jewel

https://www.sigasi.com/opinion/jan/vhdls-crown-jewel/
117•cokernel_hacker•12h ago•43 comments

15 Years of Forking

https://www.waterfox.com/blog/15-years-of-forking/
272•MrAlex94•2d ago•59 comments

Spring Boot Done Right: Lessons from a 400-Module Codebase

https://medium.com/all-things-software/spring-boot-done-right-lessons-from-a-400-module-codebase-...
71•dknj•3d ago•57 comments

Ninja is a small build system with a focus on speed

https://github.com/ninja-build/ninja
75•tosh•3d ago•32 comments

C++26 is done: ISO C++ standards meeting Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
292•pjmlp•23h ago•321 comments

Douglas Lenat's Automated Mathematician Source Code

https://github.com/white-flame/am
59•hydrolox•5d ago•9 comments

Hardware Image Compression

https://www.ludicon.com/castano/blog/2026/03/hardware-image-compression/
61•luu•1d ago•11 comments

My MacBook keyboard is broken and it's insanely expensive to fix

https://tobiasberg.net/posts/my-macbook-keyboard-is-broken-and-its-insanely-expensive-to-fix/
328•TobiasBerg•22h ago•402 comments