triangle_to_face
- compas_occ.conversions.triangle_to_face(triangle)
- Convert a triangle to a BRep face. - Parameters:
- triangle[point, point, point]
- Three points defining a triangle. 
 
- Returns:
- TopoDS_Face
 
- Raises:
- ValueError
- If the number of points is not 3. 
 
 - See also - Examples - >>> triangle = [[0, 0, 0], [1, 0, 0], [0, 1, 0]] >>> triangle_to_face(triangle) <class 'TopoDS_Face'>