MeshOffset

Makes a new mesh with vertices offset at a distance in the opposite direction of the existing vertex normals.

Syntax

rhinoscriptsyntax.MeshOffset (mesh_id, distance)

rhinoscript.mesh.MeshOffset (mesh_id, distance)

Parameters

mesh_id

Required.  String or Guid.  The identifier of a mesh object.

distance

Required.  Number.  The distance to offset.

Returns

Guid

The identifier of the offset mesh object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

mesh = rs.GetObject("Select mesh to offset", rs.filter.mesh)

rs.MeshOffset( mesh, 10.0 )

Also See

IsMesh