Skip to content

Commit 394d548

Browse files
committed
fix more type bugs
1 parent 6b43f48 commit 394d548

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compas_occ/brep/brep.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ def from_boolean_union(cls, A: "OCCBrep", B: "OCCBrep") -> "OCCBrep":
907907

908908
def to_tesselation(
909909
self, linear_deflection: float = 1
910-
) -> tuple[Mesh, list[Polyline]]:
910+
) -> tuple[Mesh, List[Polyline]]:
911911
"""
912912
Create a tesselation of the shape for visualisation.
913913
@@ -1487,7 +1487,7 @@ def split(self, other: "OCCBrep") -> List["OCCBrep"]:
14871487
def fillet(
14881488
self,
14891489
radius: float,
1490-
exclude: Optional[list[OCCBrepEdge]] = None,
1490+
exclude: Optional[List[OCCBrepEdge]] = None,
14911491
) -> None:
14921492
"""Fillet the edges of a BRep.
14931493
@@ -1522,7 +1522,7 @@ def fillet(
15221522
raise BrepFilletError("Fillet operation could not be completed.")
15231523

15241524
def filleted(
1525-
self, radius: float, exclude: Optional[list[OCCBrepEdge]] = None
1525+
self, radius: float, exclude: Optional[List[OCCBrepEdge]] = None
15261526
) -> "OCCBrep":
15271527
"""Construct a copy of a Brep with filleted edges.
15281528

0 commit comments

Comments
 (0)