public class Mesh
Representation of ChangeQueue Mesh

Properties

Attributes

#Since v6.0
public ObjectAttributes Attributes { get; }
Get object attributes of object associated to this mesh. This will be possible only after returning true from ChangeQueue.ProvideOriginalObject()

Mapping

#Since v6.0
public MappingChannelCollection Mapping { get; }
Get the mapping for this mesh.

Mappings

#Since v8.0
public MappingChannel[] Mappings { get; }
Get the mapping channels for this mesh

Object

#Since v6.8
public RhinoObject Object { get; }
Get a copy of the original RhinoObject this Mesh is created from. Possible only after return true from ChangeQueue.ProvideOriginalObject(). Access this only with a using(var o = mesh.Object) {} construct. Note that the object is free floating, i.e. not part of a document.

OcsTransform

#Since v8.0
public Transform OcsTransform { get; }
OCS Transform for the MeshInstance - this is the Object Coordinate System texture mapping transformation set in the texture mapping properties dialog. (identity means no OCS, potentially just simple WCS/WCS Box)

SingleMapping

#Since v6.0
public MappingChannel SingleMapping { get; }
Get texture mapping info as single mapping

SingleMesh

#Since v8.0
public Mesh SingleMesh { get; }
Get the single mesh.

Methods

GetMeshes

#Since v6.0
public Mesh[] GetMeshes()
Get a SimpleArrayMeshPointer containing all meshes for the related Mesh Since Rhino 8.0, this function only ever returns a single mesh. Use the Mesh property to get this single mesh.

Id

#Since v6.0
public Guid Id()
Get the Object Guid this mesh is for.
Guid of parent object.