compas_transformation_to_trsf
- compas_occ.conversions.compas_transformation_to_trsf(matrix)
- Convert a COMPAS transformation to a OCC transformation. - Parameters:
- matrixTransformation
- A COMPAS transformation. 
 
- matrix
- Returns:
- gp_Trsf
- An OCC transformation. 
 
 - Examples - >>> from compas.geometry import Translation >>> from compas_occ.conversions import compas_transformation_to_trsf >>> transformation = Translation.from_vector([1, 2, 3]) >>> compas_transformation_to_trsf(transformation) <class 'gp_Trsf'>