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