Hacker News
Show HN: Robotics needs better CAD, so I wrote a B-rep kernel and 3,487 tests
The kernel, springrep, is written in safe Rust with no dependencies. It covers a broad range of our mechanical CAD needs, including advanced fillets, sweeps, lofts, shells, offsets, STEP and exact measurements and queries. Claude Code made it feasible to write this, but it took a lot of time and care to get it right.
The test suite, brep-conformance, has 3,487 cases covering the modeling operations common across kernels: booleans, fillets, chamfers, shells, offsets, sweeps, lofts, STEP, and queries with expected answers coming from closed forms and exact geometry. It caught hundreds of bugs, edge cases, and hot spots in springrep that our own tests had missed, and now springrep passes all of it. We’ve also run it on a few popular open-source kernels and anyone can run it on theirs. This is the first version, so there are surely mistakes in the test and adapters. Corrections, pull requests, and new kernels are welcome.
kernel: https://github.com/springcraft-ai/springrep conformance suite: https://springcraft-ai.github.io/brep-conformance/
v9v
|next
|previous
[-]
dofm
|next
|previous
[-]
I'm sure you still have loads to solve and a lot of quite human decisions to make (because bRep is one thing; contemporary CAD 'default solutions' strike me as likely to be full of human compromises), but I can see that having an LLM on the team to help with the maths must help.
Best of luck with it :-)
waterTanuki
|next
|previous
[-]
https://github.com/tangency-labs/solidcore
Your performance table is treating brep-conformance like it's some kind of backend server that processes x requests per n seconds, but that's now how geometry kernels work. How does this enable faster/smoother workflow than solidcore? Can you demonstrate that with a side-by-side video? No one, not even people who work with CAD all day can understand any benefits this has from a table.
rurban
|root
|parent
|next
[-]
simplesocieties
|root
|parent
[-]
Also "no dependencies" isn't really a brag when Solidcore's only two dependencies are serde and thiserror. I'm sure the author had good intentions but this does seem like another case of marketing hype getting ahead of the real engineering.
atomarch
|root
|parent
[-]
[1] https://springcraft-ai.github.io/brep-conformance/docs/#the-...
atomarch
|root
|parent
|previous
[-]
When it comes to timing, we run extensive build steps and assembly checks on our designed parts for which speed is a real bottleneck.