RoboGeeks

Show HN: 로보틱스에는 더 나은 CAD가 필요해서, B-rep 커널과 3,487개의 테스트를 직접 작성했어요

atomarchHacker News에서12d조회수 1회
springcraft-ai.github.io/springrep

안녕하세요, HN 여러분. 저는 Tony예요. Springcraft의 공동창업자로, 로봇 부품 CAD 모델링을 많이 해 왔어요. 저희 팀은 기존 커널의 한계에 계속 부딪혔고, 그래서 새로운 B-rep 커널과, 어떤 커널에든 쓸 수 있는 새롭고 포괄적인 B-rep 적합성 테스트 스위트를 직접 만들기로 했어요. 둘 다 오늘 MIT 라이선스로 공개해요.

커널인 springrep은 의존성 없이 안전한 Rust로 작성했어요. 고급 필렛, 스윕, 로프트, 셸, 오프셋, STEP, 정확한 측정과 쿼리 등 저희에게 필요한 기계 CAD 기능을 폭넓게 다뤄요. Claude Code 덕분에 만들 수 있었지만, 제대로 만드는 데 많은 시간과 정성이 들었어요.

테스트 스위트인 brep-conformance에는 3,487개의 케이스가 있어요. 불리언, 필렛, 챔퍼, 셸, 오프셋, 스윕, 로프트, STEP, 그리고 기대 결과가 정해진 쿼리(닫힌 형태와 정확한 기하에서 얻은 답)처럼 커널 전반에 공통으로 쓰이는 모델링 연산을 다뤄요. 저희 자체 테스트가 놓쳤던 버그, 엣지 케이스, 취약 지점을 수백 개 찾아냈고, 지금은 springrep이 모든 테스트를 통과해요. 인기 있는 오픈소스 커널 몇 개에도 돌려 봤고, 누구나 자신의 커널에 돌려 볼 수 있어요. 첫 버전이라 테스트와 어댑터에 실수가 분명 있을 거예요. 수정 사항, 풀 리퀘스트, 새로운 커널 추가를 환영해요.

커널: https://github.com/springcraft-ai/springrep
적합성 테스트 스위트: https://springcraft-ai.github.io/brep-conformance/

영어에서 번역됨. 원문 보기

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/

다음 단계에서 이름을 정하게 돼요. 이미 회원이신가요? 로그인하세요.

이 글 팔로우하기

누군가 댓글을 달면 메일로 알려 드려요. 계정은 필요 없어요.

뉴스레터

로봇 공학의 모든 소식을 받아 보도록 무료 뉴스레터를 구독해 보세요.

1 USD = 25,941 VND 환산한 가격은 추정치예요. Coinbase, 2026-12-01 08:12 UTC