Construct a geometry extraction from an IFC step model and conway model
Readonly
csgReadonly
curvesReadonly
materialsReadonly
modelReadonly
sceneReadonly
voidReadonly
voidOptional
materialOverrideId: numberExtract a placement, adding it to the scene.
The transform to extract.
The parent's local ID.
Extract a placement (no memoization/scene creation)
The transform to extract.
The parent's local ID.
{true} Only extract, don't memoize and add to the scene
The extracted placement.
Extract a placement, adding it to the scene.
The transform to extract.
The parent's local ID.
Extract a placement (no memoization/scene creation)
The transform to extract.
The parent's local ID.
{true} Only extract, don't memoize and add to the scene
The extracted placement.
Extract a placement, adding it to the scene.
The transform to extract.
The parent's local ID.
Extract a placement (no memoization/scene creation)
The transform to extract.
The parent's local ID.
{true} Only extract, don't memoize and add to the scene
The extracted placement.
Extract a boolean operand from a boolean result.
The operand to extract.
Optional
representationItem: IfcRepresentationItemExctact a BSpline Curve
The bspline curve, potentially with knots/rational.
The constructed curve object.
Extracts a 2D Cartesian transformation operator from an IFC Cartesian transformation operator definition. The transformation can be uniform or non-uniform.
The IFC Cartesian transformation operator definition, which can be either uniform or non-uniform.
The resulting transformation operator parameters.
Extracts the curve for a circle with a hollow hole from an IFC circle hollow profile definition.
The IFC circle hollow profile definition to extract the curve from.
A CurveObject representing the hollow circle curve.
Extracts a C-shape curve from an IFC C-shape profile definition.
The IFC C-shape profile definition to extract the curve from.
A CurveObject representing the C-shape curve, or undefined if not extractable.
Extracts the curve for an ellipse from an IFC ellipse profile definition.
The IFC ellipse profile definition to extract the curve from.
A CurveObject representing the ellipse curve, or undefined if not extractable.
Extract the geometry data from the IFC
Extract a IfcLine curve
IfcLine
sense agreement
is curve an edge curve
Optional
parametersTrimmedCurve: ParamsGetIfcTrimmedCurvetrimmed curve parameters
The constructed curve object.
Extracts an I-shape curve from an IFC I-shape profile definition.
The IFC I-shape profile definition to extract the curve from.
A CurveObject representing the I-shape curve, or undefined if not extractable.
Extracts an L-shape curve from an IFC L-shape profile definition.
The IFC L-shape profile definition to extract the curve from.
A CurveObject representing the L-shape curve, or undefined if not extractable.
Extract a mapped item to add its transform to instance an item.
The mapped item to extract.
Extract a list of a list of points to a native object.
the list of lists of cartesian points
{out} the native vector of vector of points.
Extract a canonical profile from a profile definition.
The profile definition to extract from.
The extracted profile, or undefined if one cannot be extracted.
Extract a representation item, including its geometry if necessary, adding it to the current scene walk.
Note - memoized result for instancing.
The representation to extract from.
Optional
owningElementLocalID: numberExtract a style item.
The styled item to extract from
Optional
representationItem: IfcRepresentationItemOptional
mappedItem: IfcMappedItemExtracts a T-shape curve from an IFC T-shape profile definition.
The IFC T-shape profile definition to extract the curve from.
A CurveObject representing the T-shape curve, or undefined if not extractable.
Extracts a U-shape curve from an IFC U-shape profile definition.
The IFC U-shape profile definition to extract the curve from.
A CurveObject representing the U-shape curve, or undefined if not extractable.
Extracts a Z-shape curve from an IFC Z-shape profile definition.
The IFC Z-shape profile definition to extract the curve from.
A CurveObject representing the Z-shape curve, or undefined if not extractable.
Efficiently flatten the points into a Float64Array while skipping consecutive points with the same localID.
Array of IfcCartesianPoint
Number of coordinates per point (e.g. 3 for x,y,z)
Flatten the points into WASM memory (skipping consecutive duplicates). Reuses an existing WASM buffer if provided and large enough.
Array of IfcCartesianPoint
Number of coordinates per point (e.g. 3 for x,y,z)
Optional
existingPtr: number(Optional) Pointer to an existing WASM buffer
Optional
existingCapacity: number(Optional) Capacity of that buffer in Float64 elements
pointer, length used, total capacity
Free the native indexed polygon face.
The native item to free.
Optional
initialize: numberCreate a native vector of indexed polygonal faces uint vector.
Optional
initialize: numberCreate a native vector of segments.
Optional
initialize: numbernumber - initial size of the vector (optional)
Create a native 32bit uint vector.
Optional
initialize: numberCreate a native 32bit size_t vector.
Optional
initialize: numberCreate a native vector of geometry collections.
A newly initialised native vector of geometry collections
Optional
initialSize: numbernumber - initial size of the vector (optional)
Optional
initialSize: numbernumber - initial size of the vector (optional)
Optional
initialSize: numbernumber - initial size of the vector (optional)
Optional
initialSize: numbernumber - initial size of the vector (optional)
Create a native vector profile to pass across the boundary.
Optional
initialSize: numbernumber - initial size of the vector (optional)
Checks if a given point is not present in a collection of points.
The point to check for presence.
A collection of points to compare against.
A boolean indicating whether the point is not present in the collection.
Static
extract
Handles Geometry data extraction from a populated IfcStepModel Can export to OBJ, GLTF (Draco), GLB (Draco)