Calling changeClippingRoom with single parameters is deprecated, please use ClipRoomProperties instead.
Changes one or more properties of the clip room.
clipOtherParts
clipOtherParts(target): void
Creates a clip room around the box volume of the specified node.
Parameters
target: number | number[]
ID(s) of the target Node(s).
Returns void
createCapping
createCapping(clipPlaneId): Promise<void>
Experimental
Generates capping geometry for the surface that is cut by the clip plane. The generated surfaces allow
measurements and all other operations which can be performed on usual geometry.
createClipPlane(normal?, point?, name?, thickness?, tangent?, disabled?, invisible?, exclusive?): number
Creates a clip plane defined by the plane’s normal, positioned at an optional point (otherwise at
the world space origin) and an optional name. Returns the ID of the clip plane.
Parameters
Optionalnormal: Float32Array | number[]
The normal of the clip plane
Optionalpoint: Float32Array | number[]
An arbitrary point in space which lies on the clip plane
Optionalname: string
The name of the clip plane
Optionalthickness: number
The thickness of the clip plane
Optionaltangent: Float32Array | number[]
The tangent of the clip plane
Optionaldisabled: boolean
The state of the clip plane
Optionalinvisible: boolean
Invisible on the UI
Optionalexclusive: boolean
set the exclusive flag to clip geometry when using exclusiveClipplanes property
Returns number
The ID of the newly created clip plane
Deprecated
Calling createClipPlane with single parameters is deprecated, please use ClipPlaneProperties instead.
Changes one or more properties of a clip plane with the specified id.