dubstar-04 / FeedsAndSpeeds

FreeCAD Feed and Speeds Calculator
GNU Lesser General Public License v2.1
30 stars 8 forks source link

Incorrect rpm return value in FSCalculation.calculation #7

Closed spanner888 closed 3 years ago

spanner888 commented 3 years ago

While scripting with your great addon, I noticed that overrides of rpm where being ignored in returned rpm.

Cause seems to be return variable is "rpm", but "calc_rpm" is used if rpm override is triggered and also used for all the calculations, but then "rpm" is used in the return.

I have not submitted pull request, as I feel which way fix is implemented might be more a matter of personal taste, but happy to submit if your prefer.

dubstar-04 commented 3 years ago

Fixed with #11