Crate ifc_lite_geometry_runtime

Crate ifc_lite_geometry_runtime 

Source
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§

AffineCertificate
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.
AffineCopyIdentity
The actual operation behind a copy. Keeping it grants no lease.
BrepHandle
Opaque BRep identity. Worker identity is host-local and never sent over IPC.
MeshLimits
Maximum aggregate bytes in the returned geometry buffers. Worker-local tessellation memory is separate and needs process-level supervision.
PendingCommand
Cancelling or dropping a pending request retires an executing session. Its completion is sent only after the process has been killed and reaped.
RegionQualificationReport
Observed runtime witness only. This does not certify source interpretation, appearance, face provenance, retained USD, or another native/browser target.
RetainedAffineCopy
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.
RetainedDependencyResult
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.
RetainedRealization
Executor-issued binding of one completion to the live solid it describes. Public host-trusted completions cannot construct this receipt.
RuntimeOwner
Shared authority over the exact worker process that produced a receipt.
SmlibWorker
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.
SupervisedWorker
One active process plus at most queue_capacity waiting 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.
TessellatedMesh
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§

NumericalOutcome
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.
RetainedDependency
A sealed numerical operand. A raw handle cannot manufacture one.
RetainedLineage
The evaluated operations behind a result, separate from revision-local SDK faces and display data. It records numerical provenance, not complete representation coverage.
RetainedTransformInput
A sealed value to copy, in its own evaluation metre frame. A raw handle cannot manufacture one.
SupervisionError
WorkerCommand
Owned operations only: callers cannot run arbitrary code on the IO thread.
WorkerError
WorkerResult