frame_to_occ_ax3

compas_occ.conversions.frame_to_occ_ax3(frame)

Convert a COMPAS frame to a right-handed OCC coordinate system.

Parameters:
framecompas.geometry.Frame

The COMPAS frame.

Returns:
gp_Ax3

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'>