line_to_occ
- compas_occ.conversions.line_to_occ(line)
- Convert a COMPAS line to an OCC line. - Parameters:
- lineLine
- The COMPAS line to convert. 
 
- line
- Returns:
- gp_Lin
 
 - See also - Examples - >>> from compas.geometry import Line >>> from compas_occ.conversions import line_to_occ >>> line = Line([0, 0, 0], [1, 0, 0]) >>> line_to_occ(line) <class 'gp_Lin'>