File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -389,18 +389,20 @@ def test_find_and_fix_missing_faces(modeler: Modeler):
389389 for comp in design .components :
390390 assert not comp .bodies [0 ].is_surface
391391
392+
392393def test_find_and_fix_missing_faces_angle_distance (modeler : Modeler ):
393394 """Test to read geometry, find and fix missing faces and validate that we now have solids."""
394395 design = modeler .open_file (FILES_DIR / "MissingFaces_AngleDistance.scdocx" )
395396 assert len (design .bodies ) == 1
396397 assert len (design .bodies [0 ].faces ) == 11
397- missing_faces = modeler .repair_tools .find_missing_faces (design .bodies ,0.785398 , 0.0005 )
398+ missing_faces = modeler .repair_tools .find_missing_faces (design .bodies , 0.785398 , 0.0005 )
398399 assert len (missing_faces ) == 4
399400 for face in missing_faces :
400401 face .fix ()
401402 assert len (design .bodies ) == 1
402403 assert len (design .bodies [0 ].faces ) == 15
403404
405+
404406def test_find_and_fix_short_edges_problem_areas (modeler : Modeler ):
405407 """Test to read geometry, find and fix short edges and validate they are fixed removed."""
406408 design = modeler .open_file (FILES_DIR / "ShortEdges.scdocx" )
You can’t perform that action at this time.
0 commit comments