Module streaming

Module streaming 

Source
Expand description

Streaming geometry processing with Server-Sent Events.

Thin bridge over the canonical ifc_lite_processing pipeline: the blocking task runs process_geometry_streaming_filtered_with_baked_basis (..._with_options plus the frame published before the first batch, #5407; the same code path as POST /api/v1/parse and the wasm processGeometryBatch boundary) and forwards its batch callbacks through a bounded channel as StreamEvents (see EVENT_BUFFER_EVENTS).

This file used to host a third, bespoke geometry pipeline with its own scan, style index (SurfaceColour-only, no material chain, no indexed colour maps), no aggregate void propagation, no submeshes and no type geometry โ€” meshes streamed from /parse/stream could differ from every other surface (alignment audit). Supersede means delete: it is gone, and the streaming endpoints inherit every pipeline feature (and bug fix) automatically, including opening_filter support which the bespoke pipeline never had.

Constantsยง

EVENT_BUFFER_EVENTS ๐Ÿ”’
How many events the blocking producer may run ahead of the response stream before it waits for the client.

Functionsยง

detect_schema_version ๐Ÿ”’
Detect the declared IFC schema from the STEP header.
find_bytes ๐Ÿ”’
process_streaming
Generate streaming geometry events backed by the canonical pipeline.