plane_to_occ
- compas_occ.conversions.plane_to_occ(plane)
Convert a COMPAS plane to an OCC plane.
- Parameters:
- plane
compas.geometry.Plane
The COMPAS plane.
- plane
- Returns:
gp_Pln
See also
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'>