ACadSharp.Entities.Mesh
class · ACadSharp · CLR name: ACadSharp.Entities.Mesh
Represents a ACadSharp.Entities.Mesh entity.
Object name F:ACadSharp.DxfFileToken.EntityMesh Dxf class name F:ACadSharp.DxfSubclassMarker.Mesh
Base type: ACadSharp.Entities.Entity. Inherited members are documented on their declaring type.
Interfaces: ACadSharp.Classes.IDxfClassDefined, ACadSharp.Entities.IEntity, ACadSharp.Entities.IGeometricEntity, ACadSharp.IHandledCadObject.
import acadsharp
Type = acadsharp.get_type('ACadSharp.Entities.Mesh')
Declared public members
Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.
.ctor
ACadSharp.Entities.Mesh()
AddTextureCoordinate
System.Void AddTextureCoordinate(CSMath.XYZ uvw)
Adds a texture coordinate to the mesh. The coordinates are stored in an XRecord in the mesh's extension dictionary.
uvw: The texture coordinate to add.
ApplyTransform
System.Void ApplyTransform(CSMath.Transform transform)
Documentation inherited from: base member.
Clone
ACadSharp.CadObject Clone()
Documentation inherited from: base member.
GetBoundingBox
CSMath.BoundingBox GetBoundingBox()
Documentation inherited from: base member.
GetDxfClass
ACadSharp.Classes.DxfClass GetDxfClass()
Documentation inherited from: base member.
BlendCrease
System.Boolean BlendCrease { get; set; }
Blend Crease flag
Edges
System.Collections.Generic.List[ACadSharp.Entities.Mesh.Edge] Edges { get; }
Edges of level 0
Faces
System.Collections.Generic.List[System.Int32[]] Faces { get; }
Face list of level 0
ObjectName
System.String ObjectName { get; }
Documentation inherited from: base member.
ObjectType
ACadSharp.ObjectType ObjectType { get; }
Documentation inherited from: base member.
SubclassMarker
System.String SubclassMarker { get; }
Documentation inherited from: base member.
SubdivisionLevel
System.Int32 SubdivisionLevel { get; set; }
Number of subdivision level
TextureCoordinates
System.Collections.Generic.IEnumerable[CSMath.XYZ] TextureCoordinates { get; set; }
Per-vertex texture coordinates (U, V, W). Empty if the mesh has no UV mapping.
Remarks: Persisted as an ADSK_XREC_SUBDVERTEXTEXCOORDS XRecord on the mesh extension dictionary, matching the AutoCAD/AcDbSubDMesh convention. The list must have the same length as ACadSharp.Entities.Mesh.Vertices.
Version
System.Int16 Version { get; set; }
Version number.
Vertices
System.Collections.Generic.List[CSMath.XYZ] Vertices { get; }
Vertex count of level 0.