Part
-
class
cee.geo.Part() A Part is a collection of primitives (triangles, lines, points) and a specification of how to render these primitives.
The primitives are defined as a Mesh.
The PartSettings class defines how a part will be rendered (color, opacity, visibility) and if the part should be intersectable or not.
The GeometryModel is designed to handle a large number of parts (at least 300k+ without issues).
Accessors
-
cee.geo.Part.customData() - get customData(): any
Custom data for the part. This field is not used by EnvisionWeb.
Returns: any
set customData(data: any): voidParameters
data: anyReturns: void
-
cee.geo.Part.mesh() - get mesh():
MeshThe mesh defining the geometry of the part. If no mesh is defined, null is returned.
Returns:
Meshset mesh(mesh:Mesh): voidParameters
mesh:MeshReturns: void
-
cee.geo.Part.partIndex() - get partIndex(): number
The index of the part in the parent geometry model
Returns: number
-
cee.geo.Part.settings() - get settings():
PartSettingsReturns an active reference to the settings for this part.
Returns:
PartSettings