Closed Emre-Kahveci closed 2 months ago
Decided to have a go at adding this myself - implemented it by offering the functionality if pyclick is installed and exposing a dataclass with the curve parameters to the API that can be used to generate the curve.
IMO this is the best of both worlds, dont need to write up code someone else already has but also dont force the PyClick install on someone who isnt even going to use the curves.
There is still quite a few things bothering me here, I appreciate the attempt to contribute but I cannot accept the pr as it is;
_beziercurve.py
does not follow the same naming conventions as the rest of the projects, function names and several variables names are not written in snake_case as they should be.inputs.py
and_beziercurve.py
you added aMOVE_SPEED
parameter, why is it full caps? That should be reserved for constants..curvePoints
function, but the correct way would have been to have them scoped to the modul prefixed with an underscore._curve.py
and_beziercurve.py
? They should just be the same modulemove_to_curved
function should have an optional bezier curve object parameter and people should be able to create custom bezier curves.