ToroidalSurface.from_native

classmethod ToroidalSurface.from_native(surface)[source]

Construct a parametric surface from a native surface geometry.

Parameters:
surface

A CAD native surface object.

Returns:
compas.geometry.Surface

A COMPAS surface.