build_geometry (method)

@package Methods.Machine.VentilationCirc.build_geometry VentilationCirc build_geometry method @date Created on Tue Mar 08 10:28:27 2016 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b @todo unittest it

build_geometry(self, sym=1, alpha=0, delta=0, is_stator=True)[source]

Compute the curve needed to plot the ventilations

Parameters:
  • self (VentilationCirc) – A VentilationCirc object
  • sym (int) – Symetry to apply 2 = half the machine (Default value = 1 => full machine)
  • alpha (float) – Angle for rotation (Default value = 0) [rad]
  • delta (complex) – Complex for translation (Default value = 0)
  • is_stator (bool) – True if ventilation is on the stator and 0 on the rotor (Default value = True)
Returns:

surf_list – A list of Circle

Return type:

list

exception CircleBuildGeometryError[source]

Bases: Exception

exception SymmetryError[source]

Bases: Exception