M_Rhino_Geometry_Mesh_Offset_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Makes a new mesh with vertices offset a distance in the opposite direction of the existing vertex normals. 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.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Mesh Offset(
double distance,
bool solidify
)
VB
Public Function Offset (
distance As Double,
solidify As Boolean
) As Mesh
- distance
- Type: System.Double
A distance value. - solidify
- Type: System.Boolean
true if the mesh should be solidified.
Type: Mesh
A new mesh on success, or null on failure.
Supported in: 6.0.16224.21491, 5D58w