apply_skew#
- Maxwell3d.apply_skew(skew_type='Continuous', skew_part='Rotor', skew_angle='1', skew_angle_unit='deg', number_of_slices=2, custom_slices_skew_angles=None)[source]#
Apply skew to 2D model.
- Parameters:
- skew_type
str
,optional
Skew type. Possible choices are
Continuous
,Step
,V-Shape
,User Defined
. The default value isContinuous
.- skew_part
str
,optional
Part to skew. Possible choices are
Rotor
orStator
. The default value isRotor
.- skew_angle
str
,optional
Skew angle. The default value is
1
.- skew_angle_unit
str
,optional
Skew angle unit. Possible choices are
deg
,rad
,degsec
,degmin
. The default value isdeg
.- number_of_slices
str
,optional
Number of slices to split the selected part into. The default value is
2
.- custom_slices_skew_angles
list
,optional
List of custom angles to apply to slices. Only available if skew_type is
User Defined
. The length of this list must be equal to number_of_slices. The default value isNone
.- Returns
- ——-
- bool
True
when successful,False
when failed.
- skew_type