plane_to_occ

compas_occ.conversions.plane_to_occ(plane)

Convert a COMPAS plane to an OCC plane.

Parameters:
planecompas.geometry.Plane

The COMPAS plane.

Returns:
gp_Pln

Examples

>>> from compas.geometry import Plane
>>> from compas_occ.conversions import plane_to_occ
>>> plane = Plane([0, 0, 0], [0, 0, 1])
>>> plane_to_occ(plane)
<class 'gp_Pln'>