DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.0.0-beta7134" />

 Mesh

public class Mesh : DesignScriptEntity
public IndexGroup[] FaceIndices { get; }

The vertex indices that make up each face in a counterclockwise fashion

public Vector[] VertexNormals { get; }

The normal vector at this vertex

public Point[] VertexPositions { get; }

The positions of the vertices

public static Mesh ByPointsFaceIndices(IEnumerable<Point> vertexPositions, IEnumerable<IndexGroup> indices)

Create a mesh from a collection of Points and a collection of IndexGroups referencing the Point collection

public static Mesh FromJson(string json)

Parse the incoming JSON string formatted with dynamo.geometry:mesh-1.0.0 schema.

public string ToJson()

Convert the Mesh into a JSON object formatted with dynamo.geometry:mesh-1.0.0 schema.