frame_to_occ_ax2
- compas_occ.conversions.frame_to_occ_ax2(frame)
Convert a COMPAS frame to a right-handed OCC coordinate system.
- Parameters:
- frame
compas.geometry.Frame
The COMPAS frame.
- frame
- Returns:
gp_Ax2
See also
Examples
>>> from compas.geometry import Frame >>> from compas_occ.conversions import frame_to_occ_ax2 >>> frame = Frame.worldXY() >>> frame_to_occ_ax2(frame) <class 'gp_Ax2'>