This commit is contained in:
Andrej730
2025-02-12 11:43:48 +05:00
parent 3e1710c6fc
commit f39e6ccb54
10 changed files with 50 additions and 34 deletions
@@ -1282,7 +1282,7 @@ class ShapeBuilder:
)
return points, segments, transition_arc
def mesh(self, points: list[list[float]], faces: list[list[int]]) -> ifcopenshell.entity_instance:
def mesh(self, points: SequenceOfVectors, faces: Sequence[Sequence[int]]) -> ifcopenshell.entity_instance:
if self.file.schema == "IFC2X3":
return self.faceted_brep(points, faces)
return self.polygonal_face_set(points, faces)