Expand description
Explicit, opt-in geometry execution transport. Retained BRep operations run
in independent native SMLib worker processes (see native/smlib-adapter).
Nothing in IFC-Lite’s default geometry pipeline depends on this crate.
Modules§
- protocol
- transport-neutral owned-kernel messages, usable from native and wasm32. Payloads contain version/request/op fields; stream length prefixes belong to native transport. No pointers, JS numbers for u64 IDs, or host worker identity cross this boundary. Handles belong to one worker/module incarnation.
Structs§
- Affine
Certificate - Counts of unique SDK geometry objects of the source, in this fixed order: curve BSpline/Line/Circle/Ellipse/Parabola/Hyperbola, then surface BSpline/Plane/Cylinder/Cone/Sphere/Torus. Every other class refuses before copying. The counters are not face or edge identities.
- Affine
Copy Identity - The actual operation behind a copy. Keeping it grants no lease.
- Brep
Handle - Opaque BRep identity. Worker identity is host-local and never sent over IPC.
- Mesh
Limits - Maximum aggregate bytes in the returned geometry buffers. Worker-local tessellation memory is separate and needs process-level supervision.
- Pending
Command - Cancelling or dropping a pending request retires an executing session. Its completion is sent only after the process has been killed and reaped.
- Region
Qualification Report - Observed runtime witness only. This does not certify source interpretation, appearance, face provenance, retained USD, or another native/browser target.
- Retained
Affine Copy - One affine copy, owned by its own managed lease and independent of its input: dropping it releases only this solid, and releasing the input leaves it live. No tessellation happens here.
- Retained
Dependency Result - One retained Boolean output, owned by its own object lease. Dropping it releases only this solid; its operands’ receipts are unaffected. This is a numerical result, not a final product receipt.
- Retained
Realization - Executor-issued binding of one completion to the live solid it describes. Public host-trusted completions cannot construct this receipt.
- Runtime
Owner - Shared authority over the exact worker process that produced a receipt.
- Smlib
Worker - Owns one isolated serial SMLib process and session. A mutable receiver serializes requests; handles are rejected across workers even if their wire session IDs happen to coincide. Dropping the client kills/reaps its process.
- Supervised
Worker - One active process plus at most
queue_capacitywaiting owned commands. Deadlines include queue wait and session startup. Restart is lazy after a transport failure, timeout or cancellation; all previous handles are stale. Drop cancels work, kills/reaps the owned process and joins transport threads. - Tessellated
Mesh - Approximate display mesh in the BRep’s evaluation coordinate frame. Normals are per triangle CORNER, not per shared vertex. Source-face IDs are revision-local indices of the source BRep, not persistent IFC identities.
Enums§
- Numerical
Outcome - Classification of a strict tessellation, sealed from the actual retained solid. Zero counts alone are no proof: an all-zero mesh is accepted only with the solid’s own semantic empty certificate. Grants no result authority.
- Retained
Dependency - A sealed numerical operand. A raw handle cannot manufacture one.
- Retained
Lineage - The evaluated operations behind a result, separate from revision-local SDK faces and display data. It records numerical provenance, not complete representation coverage.
- Retained
Transform Input - A sealed value to copy, in its own evaluation metre frame. A raw handle cannot manufacture one.
- Supervision
Error - Worker
Command - Owned operations only: callers cannot run arbitrary code on the IO thread.
- Worker
Error - Worker
Result