extrusion_to_compas_torus

compas_rhino.conversions.extrusion_to_compas_torus(extrusion, tol=None)[source]

Convert a Rhino extrusion to a COMPAS torus.

Parameters:
extrusionRhino.Geometry.Extrusion
tolfloat, optional

The tolerance used to determine if the extrusion is a toroidal surface. Default is the absolute tolerance of the current doc.

Returns:
compas.geometry.Torus