plane_to_occ_ax3
- compas_occ.conversions.plane_to_occ_ax3(plane)
Convert a COMPAS plane to a right-handed OCC coordinate system.
- Parameters:
- plane
compas.geometry.Plane
The COMPAS plane.
- plane
- Returns:
gp_Ax3
See also
Examples
>>> from compas.geometry import Plane >>> from compas_occ.conversions import plane_to_occ_ax3 >>> plane = Plane([0, 0, 0], [0, 0, 1]) >>> plane_to_occ_ax3(plane) <class 'gp_Ax3'>