compas_plane_to_occ_ax3

compas_occ.conversions.compas_plane_to_occ_ax3(plane: compas.geometry.plane.Plane) OCC.Core.gp.gp_Ax3

Convert a COMPAS plane to a right-handed OCC coordinate system.

Parameters
planecompas.geometry.Plane

The COMPAS plane.

Returns
gp_Ax3

Examples

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