build_geometry (method)

build_geometry(self, alpha=0, delta=0, is_simplified=False)[source]

Compute the curve (Segment) needed to plot the Hole. The ending point of a curve is the starting point of the next curve in the list

  • self (HoleM53) – A HoleM53 object
  • alpha (float) – Angle to rotate the slot (Default value = 0) [rad]
  • delta (complex) – Complex to translate the slot (Default value = 0)
  • is_simplified (bool) – True to avoid line superposition

surf_list – List of Magnet Surface and Air Surface on the slot

Return type: