Skip to content

Commit

Permalink
fix test validate
Browse files Browse the repository at this point in the history
  • Loading branch information
gmalinve committed May 9, 2024
1 parent a553838 commit 6fd3f31
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def segmentation(self):
rotor_slices.clear()

magnets = self.aedtapp.modeler.get_objects_by_material(self.properties.magnets_material)
faces = []
mesh_sheets = []
for magnet in magnets:
faces = []
mesh_sheets = []
cs = self.aedtapp.modeler.duplicate_coordinate_system_to_global(magnet.part_coordinate_system)
magnet.part_coordinate_system = cs.name
self.aedtapp.modeler.set_working_coordinate_system("Global")
Expand Down

0 comments on commit 6fd3f31

Please sign in to comment.