Skip to content

Commit 32be1b1

Browse files
duplicate and inexact faces
1 parent 99f00f3 commit 32be1b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def fix(self) -> RepairToolMessage:
136136
response = self._repair_stub.FixDuplicateFaces(
137137
FixDuplicateFacesRequest(duplicate_face_problem_area_id=self._grpc_id)
138138
)
139-
# parent_design._update_design_inplace()
139+
#parent_design._update_design_inplace()
140140
message = RepairToolMessage(
141141
response.result.success,
142142
response.result.created_bodies_monikers,
@@ -248,7 +248,7 @@ def fix(self) -> RepairToolMessage:
248248
response = self._repair_stub.FixInexactEdges(
249249
FixInexactEdgesRequest(inexact_edge_problem_area_id=self._grpc_id)
250250
)
251-
parent_design._update_design_inplace()
251+
#parent_design._update_design_inplace()
252252
message = RepairToolMessage(
253253
response.result.success,
254254
response.result.created_bodies_monikers,
@@ -301,12 +301,12 @@ def fix(self) -> RepairToolMessage:
301301
parent_design = get_design_from_edge(self.edges[0])
302302
request = FixExtraEdgesRequest(extra_edge_problem_area_id=self._grpc_id)
303303
response = self._repair_stub.FixExtraEdges(request)
304-
parent_design._update_design_inplace()
305304
message = RepairToolMessage(
306305
response.result.success,
307306
response.result.created_bodies_monikers,
308307
response.result.modified_bodies_monikers,
309308
)
309+
parent_design.update_from_tracker(response.result.complete_command_response)
310310

311311
return message
312312

0 commit comments

Comments
 (0)