Click or drag to resize

BrepCreateShell Method

Creates a hollowed out shell from a solid Brep. Function only operates on simple, solid, manifold Breps.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.4
public static Brep[] CreateShell(
	Brep brep,
	IEnumerable<int> facesToRemove,
	double distance,
	double tolerance


Type: Rhino.GeometryBrep
The solid Brep to shell.
Type: System.Collections.GenericIEnumerableInt32
The indices of the Brep faces to remove. These surfaces are removed and the remainder is offset inward, using the outer parts of the removed surfaces to join the inner and outer parts.
Type: SystemDouble
The distance, or thickness, for the shell. This is a signed distance value with respect to face normals and flipped faces.
Type: SystemDouble
The offset tolerance. When in doubt, use the document's absolute tolerance.

Return Value

Type: Brep
An array of Brep results or null on failure.
See Also