Makes a new mesh with vertices offset at a distance in the opposite direction of the existing vertex normals.
Rhino.MeshOffset (strMesh, dblDistance [, blnSolidify])
strMesh |
Required. String. The identifier of a mesh object. |
dblDistance |
Required. Number. The distance to offset. |
blnSolidify |
Optional. Boolean. If True, then the space between the original and new mesh is capped to create a closed mesh. The default is False. |
String |
The identifier of the offset mesh object if successful. |
Null |
If not successful, or on error. |
Const rhObjectMesh = 32
Dim strMesh
strMesh = Rhino.GetObject("Select mesh to offset", rhObjectMesh)
Rhino.MeshOffset strMesh, 10.0