Makes a new mesh with vertices offset at a distance in the opposite direction of the existing vertex normals.
rhinoscriptsyntax.MeshOffset (mesh_id, distance)
rhinoscript.mesh.MeshOffset (mesh_id, distance)
mesh_id |
Required. String or Guid. The identifier of a mesh object. |
distance |
Required. Number. The distance to offset. |
Guid |
The identifier of the offset mesh object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
mesh = rs.GetObject("Select mesh to offset", rs.filter.mesh)
rs.MeshOffset( mesh, 10.0 )