build_geometry (method)

build_geometry(self, is_magnet=True, sym=1, alpha=0, delta=0, is_simplified=False)[source]

Build the geometry of the LamSlotMag

  • self (LamSlotMag) – LamSlotMag object
  • is_magnet (bool) – If True build the magnet surfaces
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • is_simplified (bool) – True to avoid line superposition

surf_list – list of surfaces needed to draw the lamination

Return type: