RoboGeeks

Show HN: la robotica ha bisogno di CAD migliori, quindi ho scritto un kernel B-rep e 3,487 test

atomarchsu Hacker News12d1 visualizzazione
springcraft-ai.github.io/springrep

Ciao HN, sono Tony. Sono co-fondatore di Springcraft, dove facciamo molta modellazione CAD per componenti robotici. Il nostro team continuava a incontrare limiti con i kernel esistenti, così ho deciso di scrivere un nuovo kernel B-rep e una nuova suite di test di conformità B-rep completa e indipendente dal kernel. Entrambi sono disponibili oggi con licenza MIT.

Il kernel, springrep, è scritto in Rust sicuro senza dipendenze. Copre una vasta gamma delle nostre esigenze di CAD meccanico, inclusi fillet avanzati, sweep, loft, shell, offset, STEP e misure e query esatte. Claude Code ha reso fattibile scriverlo, ma ci è voluto molto tempo e cura per farlo bene.

La suite di test, brep-conformance, ha 3,487 casi che coprono le operazioni di modellazione comuni tra i kernel: booleani, fillet, smussi, shell, offset, sweep, loft, STEP e query con risposte attese derivate da forme chiuse e geometria esatta. Ha individuato centinaia di bug, casi limite e punti critici in springrep che i nostri test non avevano visto, e ora springrep la supera interamente. Abbiamo anche eseguito la suite su alcuni kernel open source popolari e chiunque può eseguirla sul proprio. Questa è la prima versione, quindi sicuramente ci sono errori nel test e negli adapter. Correzioni, pull request e nuovi kernel sono benvenuti.

kernel: https://github.com/springcraft-ai/springrep
suite di conformità: https://springcraft-ai.github.io/brep-conformance/

Tradotto dall'inglese. Mostra originale

Hey HN, I’m Tony. I’m a co-founder of Springcraft, where we have been doing a lot of CAD modeling for robot parts. Our team kept running into limitations with existing kernels, and so I decided to write a new B-rep kernel and a new comprehensive, kernel-agnostic B-rep conformance test suite. Both are available today under MIT licenses.

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/

Sceglierai un nome nel passaggio successivo. Sei già membro? Accedi.

Segui questa discussione

Una mail quando qualcuno commenta. Non serve un account.

La newsletter

Iscriviti alla nostra newsletter gratuita per restare aggiornato su tutto ciò che riguarda la robotica.

1 USD = 25,941 VND I prezzi convertiti sono stime. Coinbase, 2026-12-01 08:12 UTC