Load a mesh from a MeshDocument, or from a bare
HalfEdgeMesh.toJSON() payload (the host's geometry). Every entity
keeps its saved id. Older shapes are migrated on the way in; a
document from a newer
kernel is refused rather than half read. Never throws on a document;
throws EditLaneNotLoaded when called from the ./core entry
before loadEditLane() (or loadKernel()) has landed. The load checks
the records join up (no two of one kind share an id, and every id a
record names is in the document), not that the model is valid: call
validate for that.
Load a mesh from a MeshDocument, or from a bare
HalfEdgeMesh.toJSON()payload (the host'sgeometry). Every entity keeps its saved id. Older shapes are migrated on the way in; a document from a newer kernel is refused rather than half read. Never throws on a document; throws EditLaneNotLoaded when called from the./coreentry beforeloadEditLane()(orloadKernel()) has landed. The load checks the records join up (no two of one kind share an id, and every id a record names is in the document), not that the model is valid: callvalidatefor that.