# MiniMesh class

Namespace: [Grasshopper2.Types.Shapes](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.shapes.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
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](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.minimesh/ctor.md)

## Methods

- [FromName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.minimesh/fromname.md): (static) Read a minimesh from an embedded resource.
- [ToMesh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.minimesh/tomesh.md): Convert this minimesh to a proper Rhino mesh.
- [ToSubD](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.minimesh/tosubd.md): Convert this minimesh to a Rhino SubD.
- [WriteToFile](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.minimesh/writetofile.md): (static) Write a Rhino mesh to a minimesh file.
