@@ -1290,7 +1290,7 @@ def split_with_line(self, line, tolerance):
1290
1290
pt_3ds = [prim_pl .xy_to_xyz (node .pt ) for node in cycle ]
1291
1291
new_face = Face3D (pt_3ds , plane = prim_pl )
1292
1292
try :
1293
- new_face = new_face .remove_colinear_vertices (tolerance )
1293
+ new_face = new_face .remove_duplicate_vertices (tolerance )
1294
1294
split_faces .append (new_face )
1295
1295
except AssertionError : # degenerate geometry to ignore
1296
1296
pass
@@ -1355,7 +1355,7 @@ def split_with_polyline(self, polyline, tolerance):
1355
1355
pt_3ds = [prim_pl .xy_to_xyz (node .pt ) for node in cycle ]
1356
1356
new_face = Face3D (pt_3ds , plane = prim_pl )
1357
1357
try :
1358
- new_face = new_face .remove_colinear_vertices (tolerance )
1358
+ new_face = new_face .remove_duplicate_vertices (tolerance )
1359
1359
split_faces .append (new_face )
1360
1360
except AssertionError : # degenerate geometry to ignore
1361
1361
pass
@@ -1422,7 +1422,7 @@ def split_with_lines(self, lines, tolerance):
1422
1422
pt_3ds = [prim_pl .xy_to_xyz (node .pt ) for node in cycle ]
1423
1423
new_face = Face3D (pt_3ds , plane = prim_pl )
1424
1424
try :
1425
- new_face = new_face .remove_colinear_vertices (tolerance )
1425
+ new_face = new_face .remove_duplicate_vertices (tolerance )
1426
1426
split_faces .append (new_face )
1427
1427
except AssertionError : # degenerate geometry to ignore
1428
1428
pass
0 commit comments