Roadmap 0.11, Engines and file formats
KRN.1 Exact solid kernel as add-on engines: one kernel contract, our JS NURBS engine and an SMLib (WebAssembly) engine
Asked (Discord, 2026-11-16, a Discord member): build a NURBS-based solid kernel in JS so solid modelling works in the web app and PartCraft's mesh limits go away; said a Rust kernel panics in WebAssembly. Owner 2026-11-17: "consider add-on engines for this too".
Checked 2026-11-17 (nothing built for this row): (1) lib/nurbs (JS, ours, catalogue engine.nurbs) already has NURBS-bounded solids, Booleans, one-edge fillets, thickening, STEP/IGES in and out, in ModelCraft, PartCraft Surfaces and SuperCad Studio. Its Booleans go through the mesh engine and put the result back on the exact surfaces (deviation measured, 0.05 mm chord tolerance), so they are not exact intersections, and PartCraft's features (extrude, hole, fillet, shell) do not build on it. (2) D7.45 (2026-10-23): NVIDIA SMLib (Apache-2.0, C++) built to WebAssembly unchanged, 1.53 MB gzipped, all 15 test parts exact, no panics; owner go 2026-10-29; the 1-day face-naming check was never run. No STEP in it (we have step-exact.js and lib/step). (3) K.1 (2026-10-13): the Rust kernels failed on coplanar unions and crossing cylinders, also native: the algorithms, not WebAssembly. (4) PartCraft still has the exact-kernel worker seam (exact-client.js, brep-worker.js). "First solid kernel in a web app" cannot be claimed: OpenCascade runs in browsers, and our releases 0.1 to 0.3 shipped it.
Proposal: one kernel contract (shared library, hosts PartCraft, ModelCraft, CadCraft 3D, SuperCad Studio) with kernels as add-on engines, added on demand: mesh (today's default), engine.nurbs grown to exact Booleans on planes, cylinders, cones, spheres and tori (JS, K.1 sized 8 to 10 days), and an SMLib engine for fillets, shells, sweeps and lofts (30 to 42 days, D7.45). Each engine switches on per feature only when it passes the K.1 parts. A brief comes before any build.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.