Hacker News new | ask | show | jobs
by sincman 25 days ago
What is the geometry kernel? That's always the first question I have.
1 comments

Thanks for asking. Core ops are OCCT. It's got great primitives and tolerant modeling. For performance purposes, I've implemented my own algorithms for hidden line rendering, tessellation, and others. I've spent my whole career (15 years+) working on and around kernels.

More detail for the curious: it’s C++ compiled to WebAssembly and runs entirely client-side with a WebGL2 renderer, so there’s no server round-trip for geometry. OCCT does booleans, fillets, and STEP. I replaced its mesher with my own tessellator because BRepMesh was the bottleneck at scale, and hidden-line/Make2D are custom too. Happy to go deeper on any of it.

Product aside, it's nice to see what seem like real answers over equivocality. Wishing you the best of luck!
Thanks so much! Appreciate it. It's a long road from here in CAD land. :)
OCCT doesn’t handle “complete” fillet/chamfer, right? Where the operation replaces the top line?
It does in the next (8.1) release: https://github.com/Open-Cascade-SAS/OCCT/issues/172
It still generates invalid solids apparently: https://github.com/Open-Cascade-SAS/OCCT/pull/1625