Optionalparent: BaseGLTFNodeOptionalnameOptionalrotationFrom the reference frame of the model being rotated, rotations are applied in z-y'-x" order. That is yaw first, then pitch and finally roll.
From the global reference frame, a model will be rotated in x-y-z order. That is about the global X axis, then global Y axis, and finally global Z.
This matches the behaviour of Manifold.rotate().
OptionalscaleOptionaltranslationOptionalnewParent: BaseGLTFNode
Include an imported model for visualization purposes.
These nodes contain models that will be exported into the final GLTF document. They have not been converted into Manifold objects and cannot be modified. They can only be transformed (rotation, scale, translation) or displayed.
This is useful for viewing ManifoldCAD models in the context of a larger assembly.
GLTF objects meeting the
manifold-gltfextension will still be manifold when exported.