Part

class cee.usg.Part()

A part describes the elements and nodes in one part of the Geometry.

A part links a mesh defining the part geometry (mesh) with the settings for the part. Parts can share a mesh, and then e.g. use a transformation result to offset the parts.

The part settings allows you to control the color, draw style, visibility and result settings for the part.

A part can have a user defined name and a customData property is provided to store any application specific data for each part.

Accessors

  • customData

  • mesh

  • name

  • settings


Accessors

cee.usg.customData()

Custom data for the part. This field is not used by EnvisionWeb.

Return type:

any

cee.usg.customData(data)
Arguments:
  • data (any) – None

Return type:

void

cee.usg.mesh()

The mesh defining the elements and nodes of the part.

Return type:

Mesh

cee.usg.mesh(mesh)
Arguments:
  • mesh (Mesh) – None

Return type:

void

cee.usg.name()

The name of the part

Return type:

string

cee.usg.name(name)
Arguments:
  • name (string) – None

Return type:

void

cee.usg.settings()

Returns an active reference to the settings for this part.

Return type:

PartSettings