Click or drag to resize

SubDCreateFromLoft Method

Creates a SubD lofted through shape curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static SubD CreateFromLoft(
	IEnumerable<NurbsCurve> curves,
	bool closed,
	bool addCorners,
	bool addCreases,
	int divisions
)

Parameters

curves
Type: System.Collections.GenericIEnumerableNurbsCurve
An enumeration of SubD-friendly NURBS curves to loft through.
closed
Type: SystemBoolean
Creates a SubD that is closed in the lofting direction. Must have three or more shape curves.
addCorners
Type: SystemBoolean
With open curves, adds creased vertices to the SubD at both ends of the first and last curves.
addCreases
Type: SystemBoolean
With kinked curves, adds creased edges to the SubD along the kinks.
divisions
Type: SystemInt32
The segment number between adjacent input curves.

Return Value

Type: SubD
A new SubD if successful, or null on failure.
Remarks
Shape curves must be in the proper order and orientation and have point counts for the desired surface. Shape curves must be either all open or all closed.
See Also