pyleecan.Functions.Geometry.transform_hole_surf module¶
- transform_hole_surf(hole_surf_list, Zh, sym, alpha, delta, is_split=False, BC_prop_right=None, BC_prop_left=None)[source]¶
Take a list of surface for a single hole and apply the transformation (rotate, translate, duplicate)
- Parameters:
surf_list (list) – List of the surface to edit (single hole)
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)
is_split (bool) – When sym>1, call surf.split_line to cut the surfaces
BC_prop_right (str) – BOUNDARY_PROP_LAB to set on right cut
BC_prop_left (str) – BOUNDARY_PROP_LAB to set on left cut
- Returns:
surf_list – A list of transformed surface
- Return type:
list