compas_plane_to_occ_plane
- compas_occ.conversions.compas_plane_to_occ_plane(plane: compas.geometry.plane.Plane) OCC.Core.gp.gp_Pln
Convert a COMPAS plane to an OCC plane.
- Parameters
- plane
compas.geometry.Plane
The COMPAS plane.
- plane
- Returns
gp_Pln
Examples
>>> from compas.geometry import Plane >>> from compas_occ.conversions import compas_plane_to_occ_plane >>> plane = Plane([0, 0, 0], [0, 0, 1]) >>> compas_plane_to_occ_plane(plane) <class 'gp_Pln'>