extrusion_to_compas_cylinder

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

Convert a Rhino extrusion to a COMPAS cylinder.

Parameters:
extrusionRhino.Geometry.Extrusion
tolfloat, optional

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

Returns:
compas.geometry.Cylinder