MiniMesh

References
public sealed class MiniMesh
A mesh from a *.minimesh file stored in resources. This is typically used for embedding small meshes for UI purposes.

Constructors

MiniMesh

#
public MiniMesh(Point3f[] vertices, MeshFace[] faces)
vertices (Point3f[])
faces (MeshFace[])

Methods

FromName

#
public static MiniMesh FromName(string name)
Read a minimesh from an embedded resource.
name (string)

ToMesh

#
public Mesh ToMesh()
Convert this minimesh to a proper Rhino mesh.

ToSubD

#
public SubD ToSubD()
Convert this minimesh to a Rhino SubD.

WriteToFile

#
public static void WriteToFile(Mesh mesh, string filename)
Write a Rhino mesh to a minimesh file.
mesh (Mesh)
filename (string)