# Squisher class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class Squisher : IDisposable
```

class used to wrap Squish functions

## Constructors

- [Squisher](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/ctor.md): constructs a squisher with default parameters

## Finalizer

- [~Squisher](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Get2dMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/get2dmesh.md): Get the 2d mesh that results from the squish operation
- [Get3dMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/get3dmesh.md): Get the 3d mesh that was used for squish operation
- [GetAreaConstrainedTrianglesIndices](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/getareaconstrainedtrianglesindices.md): Gets mesh vertex indices for the triangular faces that were constrained during the squish. Indices can be used in both the 2d and 3d mesh vertices arrays.
- [GetLengthConstrained2dLines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/getlengthconstrained2dlines.md): Gets lines at the position of the mesh edges and diagonals that were constrained during the squish, in the 2d mesh. The line at any index here corresponds to the same line in GetLengthConstrained3dLines.
- [GetLengthConstrained3dLines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/getlengthconstrained3dlines.md): Gets lines at the position of the mesh edges and diagonals that were constrained during the squish, in the 3d mesh. The line at any index here corresponds to the same line in GetLengthConstrained2dLines.
- [GetMesh2dEdges](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/getmesh2dedges.md): Gets lines at the position of the mesh edges and diagonals that were constrained during the squish, in the 2d mesh. The line at any index here corresponds to the same line in GetLengthConstrained3dLines.
- [GetMesh3dEdges](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/getmesh3dedges.md): Gets lines at the position of the mesh edges and diagonals that were constrained during the squish, in the 3d mesh. The line at any index here corresponds to the same line in GetLengthConstrained2dLines.
- [Is2dPatternSquished](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/is2dpatternsquished.md): (static) Returns true if the input geometry was the result of a squish operation
- [SquishBack2dMarks](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishback2dmarks.md): (static) Maps 2D geometry from the squished surface or mesh back to the original 3D surface or mesh
- [SquishCurve](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishcurve.md): Maps a curve on or near a previously squished 3d surface to the resulting 2d surface
- [SquishMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishmesh.md): (2 overloads) Squish the given mesh into a flat mesh
- [SquishPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishpoint.md): Maps a point on or near the previously squished 3d surface to the flattened surface
- [SquishSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishsurface.md): (2 overloads) Squish the surface into a flat brep
- [SquishTextDot](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.squisher/squishtextdot.md): Maps a TextDot on or near a previously squished 3d surface to the resulting 2d surface
