vector_to_occ
- compas_occ.conversions.vector_to_occ(vector)
Convert a COMPAS vector to an OCC vector.
- Parameters:
- vector
Vector
The COMPAS vector to convert.
- vector
- Returns:
gp_Vec
See also
Examples
>>> from compas.geometry import Vector >>> from compas_occ.conversions import vector_to_occ >>> vector = Vector(1, 0, 0) >>> vector_to_occ(vector) <class 'gp_Vec'>