RhinoBrep.from_sweep

classmethod RhinoBrep.from_sweep(profile, path, is_closed=False, tolerance=None)[source]

Construct one or more RhinoBrep(s) from a sweep operation.

Parameters:
profilecompas.geometry.Curve

Curve describing the cross-section of the surface created by the sweep operation.

pathcompas.geometry.Curve

Curve describing the edge of the sweep surface. The profile curve is sweeped along this curve.

is_closedbool, optional

If True, the resulting surface will be closed, if possible. Defaults to False.

tolerancefloat, optional

The precision to use for the operation. Defaults to TOL.absolute.

Returns:
list of compas_rhino.geometry.RhinoBrep