Construct this model given a buffer containing the data and the parsed data index on that, adding the typeIndex on top of that.
The buffer to values from.
The parsed index to elements in the STEP.
Readonly
csgReadonly
curvesWill this model memoize elements, set to false to disable, true to enable.
Note that during periods where element memoization is disabled, it's not guaranteed element objects returned from this have referential equality even if they have ID equality.
Readonly
externalReadonly
geometryReadonly
materialsWhen an atribute is parsed from an entity in the model that causes a recoverable error, and the field is optional, return null instead of throwing an exception.
Readonly
profilesReadonly
schemaThe Step schema this is based on.
Readonly
typeReadonly
voidReadonly
voidGet the number of elements/entities in this model.
The number of elements.
Get the number of elements/entities in this model.
The number of elements.
Extract a set of elements given a local ID iterator.
An iterable of local IDs
The iterable iterator to allow lazy iteration over the elements matching the local ids.
Given a cursor, get the matching entities for it as a lazy iterable iterator.
The cursor to iterate over.
Should the cursor be freed after
The iterable iterator to allow lazy iteration over a cursor.
Given an express ID, return the matching element if one exists.
The express ID to fetch the element for.
The element if one exists for that ID, otherwise undefined.
Given a local ID (i.e. dense index/reference), return the matching element if one exists.
The local ID to fetch for.
The matching element or undefined if none exists.
Get an inline element by its address within a data-block.
The addres to get the element from
The element if one exsists at that adddress, otherwise undefined.
express ID array
Use the type index to get set of entities of a set of types not including sub-types from the list of type ids, acts as a union given the input type list, with lazy iteration over the set.
The type ids for the types to get.
An iterable corresponding to the lazy set of items.
Use the type index to get set of entities of a set of types including sub-types, acts as a union given the input type list, with lazy iteration over the set.
The list of types to return
An iterable corresponding to the lazy set of items.
Use the type index to get set of entities of a set of types including sub-types from the list of type ids, acts as a union given the input type list, with lazy iteration over the set.
The type ids for the types to get.
An iterable corresponding to the lazy set of items.
Represents an IFC model deserialized from step.