triangle_to_face

compas_occ.conversions.triangle_to_face(points)[source]

Convert a triangle to a BRep face.

Parameters

points ([point, point, point]) – Three points defining a triangle.

Returns

TopoDS_Face

Raises

AssertionError – If the number of points is not 3.