OCCSurface.from_occ

classmethod OCCSurface.from_occ(native_surface)

Construct a surface from an existing OCC Surface.

Parameters:
native_surfaceGeom_Surface

An OCC surface.

Returns:
OCCSurface

The constructed surface.

Warning

Deprecated since version 1.3: Use from_native instead