[PR3766] Make MapPathParameter property PropertyFloatConstraint instead of PropertyFloat

Post here if you have re-based and finalised code to integrate into master, which was discussed, agreed to and tested in other forums. You can also submit your PR directly on github.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

[PR3766] Make MapPathParameter property PropertyFloatConstraint instead of PropertyFloat

Post by TheMarkster »

https://github.com/FreeCAD/FreeCAD/pull/3766

When a sketch is attached to certain types of support we can change the MapPathParameter property to move the sketch along that support, for example if it's attached to an edge. But currently scrolling the mouse wheel to change this property changes it from 0.0 to 1.0, which is basically the range of values it can have (although you can go below zero and above 1.0 to position the sketch off the support). This PR sets the increment per scroll wheel movement to .05, which I think is a good compromise between going quickly and having some better precision.
Post Reply