Show HN:為機械人 CAD 編寫 B-rep 核心及 3,487 項測試
Show HN: Robotics needs better CAD, so I wrote a B-rep kernel and 3,487 tests
Springcraft 聯合創辦人 Tony 為機械人零件 CAD 編寫了 B-rep 核心 springrep,並推出包含 3,487 個案例的 B-rep 相容性測試套件。springrep 以安全 Rust 編寫,沒有依賴;兩者均採用 MIT 授權。測試套件找出 springrep 數百個錯誤、邊界情況及效能熱點,springrep 現已通過全部測試。
Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Robotics needs better CAD, so I wrote a B-rep kernel and 3,487 tests (springcraft-ai.github.io) 21 points by atomarch5 hours ago | hide | past | favorite | 2 comments 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/ help
dofm4 hours ago[–] Now this is a great application of an LLM. 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 :-) reply
atomarch3 hours ago | parent[–] Thanks! This has been an exciting project so far, and lots more to come. reply
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
來源:Hacker News:AI 熱帖 · news.ycombinator.com