Skip to content

Commit

Permalink
mesh placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Jul 8, 2023
1 parent 43a7cec commit b8a9c3d
Showing 1 changed file with 76 additions and 3 deletions.
79 changes: 76 additions & 3 deletions ACadSharp/Entities/Mesh.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,95 @@
using ACadSharp.Attributes;
using System.Drawing;
using System;

namespace ACadSharp.Entities
{
/// <summary>
/// Represents a <see cref="Mesh"/> entity.
/// </summary>
/// <remarks>
/// Object name <see cref="DxfFileToken.EntityPoint"/> <br/>
/// Object name <see cref="DxfFileToken.EntityMesh"/> <br/>
/// Dxf class name <see cref="DxfSubclassMarker.Mesh"/>
/// </remarks>
[DxfName(DxfFileToken.EntityPoint)]
[DxfName(DxfFileToken.EntityMesh)]
[DxfSubClass(DxfSubclassMarker.Mesh)]
public class Mesh : Entity
{
/// <inheritdoc/>
public override ObjectType ObjectType => ObjectType.UNLISTED;

/// <inheritdoc/>
public override string ObjectName => DxfFileToken.EntityPoint;
public override string ObjectName => DxfFileToken.EntityMesh;

/// <summary>
/// Version number
/// </summary>
[DxfCodeValue(71)]
public short Version { get; internal set; }

//72 "Blend Crease" property

//0 = Turn off

//1 = Turn on

//91

//Number of subdivision level

//92

//Vertex count of level 0

//10

//Vertex position

//93

//Size of face list of level 0

//90

//Face list item

//94

//Edge count of level 0

//90

//Vertex index of each edge
//95

//Edge crease count of level 0

//140

//Edge create value

//90

//Count of sub-entity which property has been overridden

//91

//Sub-entity marker

//92

//Count of property was overridden

//90

//Property type

//0 = Color

//1 = Material

//2 = Transparency

//3 = Material mapper
}
}

0 comments on commit b8a9c3d

Please sign in to comment.