-
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |