This fixes an issue with mesh-airgap.mako and user defined fsl files for both stator an rotor models. The actual implementation had several flaws:
variables agndst and alfa where condsidered not nil, which is not always the case
mixed up radians and degrees in polar to cartesian conversion
missed creating some nodechains
Also it was not considered if the user had already created the airgap mesh within his fsl-files.
If so, he could now set the variable airgap_created to true, when he does the creation.
I hope this is useful to other users too.
Keep up the great work with femagtools, they are awesome :)
This fixes an issue with mesh-airgap.mako and user defined fsl files for both stator an rotor models. The actual implementation had several flaws:
agndst
andalfa
where condsiderednot nil
, which is not always the caseAlso it was not considered if the user had already created the airgap mesh within his fsl-files. If so, he could now set the variable
airgap_created
totrue
, when he does the creation.I hope this is useful to other users too.
Keep up the great work with femagtools, they are awesome :)