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