Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Build Your Own CAD Frontend
A minimal Aetheris CAD frontend needs four projections and one authority:
@aetheris/cad
-> ModelSession
-> semantic tree
-> property schema
-> DisplayMesh
-> diagnostics and artifacts
Firmament and ModelSession are the authority. Your framework, renderer, and layout are choices.
Minimum path
- Create
Aetherisand compile Firmament source. - Render
model.tree; keep semantic IDs as selection keys. - Build render geometry from
model.mesh.definitionsand instances frommodel.mesh.occurrences. - Send ray hits through
resolveSelection. Send tree selections throughselectionForEntity. - Generate property controls from
model.propertiesand preserve their units. - Commit a property with
setPropertyor authoritative text withsetSource. - Treat diagnostics as values. On failure, continue displaying the last valid snapshot.
- Download manufacturing output from
exportSTEP.
Optional pieces include an editor runtime adapter, source history, named views, display modes, a command palette, file pickers, and theme persistence. None of them should own engineering semantics.
Do not duplicate the Firmament feature graph, infer semantic identity from triangles, rewrite arbitrary source with regular expressions, mutate a browser B-rep, or hide property overrides. If a public capability is missing, add the smallest general SDK contract and qualify it independently.
Helios uses React and Three.js, but neither is required. Its useful reusable pattern is the authority boundary, not its component framework.