OptionaldataWhich rows the data model's entities table carries (#6034). Omitted =
'all': every STEP instance in the file, as before.
'rooted' keeps only the objects (IfcRoot subtypes, the rows with a
GlobalId) plus every non-rooted instance another data-model table
references by id (materials, material sets, classification and document
references), so no relation dangles. The geometry-and-property plumbing
nothing points at (IfcCartesianPoint, IfcFace, IfcPropertySingleValue,
...) is left out; on large models that is most of the table. Property
values, quantities, materials and the spatial tree are unaffected.
The two variants are separate server cache entries, so pass the SAME value
to the parse call and to IfcServerClient.fetchDataModel: a rooted
parse writes only the rooted table, and fetching without the option asks
for the full one.
OptionalsharedDecode a batch's flat meshes into a few shared buffers (at most 64 MiB each) instead of three
buffers per mesh. Omitted = false: every mesh owns its positions, normals and indices
buffers, as before.
With true, each mesh array is a view (subarray) into its batch's buffers. That turns
~825k ArrayBuffers for a 275k-mesh model into a handful, which keeps the browser from running a
full garbage collection for every few dozen MiB decoded (a federation slot loaded beside
other models spent most of its time in those collections). In return:
postMessage(m, [m.positions.buffer])): that detaches the
arrays of every other mesh in its batch; copy the array first (m.positions.slice());m.positions.buffer is the batch's buffer, so read it with byteOffset/byteLength;parseParquet, parseParquetStream); the optimized layout is unchanged.OptionalsharedDecode-side only, never sent: keep vertex blocks that several mesh rows of
the Parquet result name as shared_shapes (one block, its occurrences)
instead of copying the block into every row's mesh. meshes then holds
only the rows that were not shared. Off by default, so a consumer reading
meshes alone still sees every occurrence. See parquet-shared-shapes.ts.
OptionalsignalAbort the request and response stream before the client's timeout.
OptionaltessellationTessellation detail level (#976). Omitted = 'medium', which is
byte-identical to the historical output — and to what the wasm path
produces without setTessellationQuality, so client-side and
server-side meshes stay in parity. Non-default levels get distinct
server cache entries.
Per-request parse options shared by all parse endpoints.