axis_to_occ
- compas_occ.conversions.axis_to_occ(axis)
Convert a COMPAS point and vector to an OCC axis.
See also
Examples
>>> from compas.geometry import Point, Vector >>> from compas_occ.conversions import axis_to_occ >>> point = Point(0, 0, 0) >>> vector = Vector(1, 0, 0) >>> axis_to_occ((point, vector)) <class 'gp_Ax1'>