Builds the render tree using the provided GeometryConverter. Building can be interrupted by calling cancelBuild. ‘Building’ the render tree, means constructing each node’s NodeRenderView, preparing all geometry and materials, and executing any required transformations. This operation should only be carrired out once, as re-building an already built tree is not possible.Parameters
geometryConverter: The GeometryConverter to use in building the tree
Returns: A promise which resolves to a boolean indicating if the building process completed successfully (true) or was interrupted (false).
Computes the final world space transformation for the given TreeNode.
For non instanced nodes, this function will return the identity transformation since speckle does not define a local space (yet) and all geometry is in world space. This function will not take any runtime user defined transformations into account.
Gets the closest atomic parent of the provided node. An atomic node represents a standalone object. E.g a door, a window, rather than pieces of a standalone object E.g the door’s handle, the window’s frame.Parameters
Calls the underlying WorldTree getInstances with the render tree’s id as the argument.Returns: A dictionary where each instance id holds a record of TreeNode grouped by their instance unique id.