Skip to content

Commit 4495fdf

Browse files
fixing function arguments order more
1 parent 75f2be0 commit 4495fdf

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/ansys/geometry/core/tools/repair_tools.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -511,11 +511,11 @@ def find_and_fix_short_edges(
511511
parent_design = get_design_from_body(bodies[0])
512512
# parent_design._update_design_inplace()
513513
message = RepairToolMessage(
514-
success = response.success,
515-
created_bodies = response.created_bodies_monikers,
516-
modified_bodies = response.modified_bodies_monikers,
517-
found = response.found,
518-
repaired = response.repaired,
514+
success=response.success,
515+
created_bodies=response.created_bodies_monikers,
516+
modified_bodies=response.modified_bodies_monikers,
517+
found=response.found,
518+
repaired=response.repaired,
519519
)
520520
parent_design.update_from_tracker(response.complete_command_response)
521521
return message
@@ -563,11 +563,11 @@ def find_and_fix_extra_edges(
563563
parent_design = get_design_from_body(bodies[0])
564564
# parent_design._update_design_inplace()
565565
message = RepairToolMessage(
566-
response.success,
567-
response.created_bodies_monikers,
568-
response.modified_bodies_monikers,
569-
response.found,
570-
response.repaired,
566+
success=response.success,
567+
created_bodies=response.created_bodies_monikers,
568+
modified_bodies=response.modified_bodies_monikers,
569+
found=response.found,
570+
repaired=response.repaired,
571571
)
572572
parent_design.update_from_tracker(response.result.complete_command_response)
573573
return message
@@ -630,11 +630,11 @@ def find_and_fix_split_edges(
630630
parent_design = get_design_from_body(bodies[0])
631631
# parent_design._update_design_inplace()
632632
message = RepairToolMessage(
633-
success = response.success,
634-
created_bodies = response.created_bodies_monikers,
635-
modified_bodies = response.modified_bodies_monikers,
636-
found = response.found,
637-
repaired = response.repaired,
633+
success=response.success,
634+
created_bodies=response.created_bodies_monikers,
635+
modified_bodies=response.modified_bodies_monikers,
636+
found=response.found,
637+
repaired=response.repaired,
638638
)
639639
parent_design.update_from_tracker(response.result.complete_command_response)
640640

@@ -681,11 +681,11 @@ def find_and_fix_simplify(
681681
parent_design = get_design_from_body(bodies[0])
682682
# parent_design._update_design_inplace()
683683
message = RepairToolMessage(
684-
response.success,
685-
response.created_bodies_monikers,
686-
response.modified_bodies_monikers,
687-
response.found,
688-
response.repaired,
684+
success=response.success,
685+
created_bodies=response.created_bodies_monikers,
686+
modified_bodies=response.modified_bodies_monikers,
687+
found=response.found,
688+
repaired=response.repaired,
689689
)
690690
parent_design.update_from_tracker(response.result.complete_command_response)
691691
return message

0 commit comments

Comments
 (0)