Click or drag to resize

MeshOffset Method (Double, Boolean, Vector3d, ListInt32)

Makes a new mesh with vertices offset a distance along the direction parameter. Optionally, based on the value of solidify, adds the input mesh and a ribbon of faces along any naked edges. If solidify is false it acts exactly as the Offset(distance) function. Returns list of wall faces, i.e. the faces that connect original and offset mesh when solidified.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public Mesh Offset(
	double distance,
	bool solidify,
	Vector3d direction,
	out List<int> wallFacesOut


Type: SystemDouble
A distance value.
Type: SystemBoolean
true if the mesh should be solidified.
Type: Rhino.GeometryVector3d
Direction of offset for all vertices.
Type: System.Collections.GenericListInt32
Returns list of wall faces.

Return Value

Type: Mesh
A new mesh on success, or null on failure.
See Also