Skip to content

Commit 986ce8b

Browse files
Merge branch 'main' into feat_new_circuit_doublepulse_example
2 parents 911f5be + e9357d7 commit 986ce8b

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed
41.4 KB
Loading
Loading
Loading

examples/low_frequency/motor/aedt_motor/pm_synchronous.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -399,19 +399,6 @@ def create_cs_magnets(pm_id, cs_name, point_direction):
399399
name="Outer_Band",
400400
)
401401

402-
# ## Assign motion setup to object
403-
#
404-
# Assign a motion setup to a ``Band`` object named ``RotatingBand_mid``.
405-
406-
m2d.assign_rotate_motion(
407-
assignment="Band",
408-
coordinate_system="Global",
409-
axis="Z",
410-
positive_movement=True,
411-
start_position="InitialPositionMD",
412-
angular_velocity="MachineRPM",
413-
)
414-
415402
# ## Create list of vacuum objects
416403
#
417404
# Create a list of vacuum objects and assign color.
@@ -704,6 +691,19 @@ def create_cs_magnets(pm_id, cs_name, point_direction):
704691

705692
m2d.change_symmetry_multiplier("SymmetryFactor")
706693

694+
# ## Assign motion setup to object
695+
#
696+
# Assign a motion setup to a ``Band`` object named ``RotatingBand_mid``.
697+
698+
m2d.assign_rotate_motion(
699+
assignment="Band",
700+
coordinate_system="Global",
701+
axis="Z",
702+
positive_movement=True,
703+
start_position="InitialPositionMD",
704+
angular_velocity="MachineRPM",
705+
)
706+
707707
# ## Create setup and validate
708708

709709
# +

0 commit comments

Comments
 (0)