Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cubic Bezier curves plotting #26

Open
monte-monte opened this issue Apr 25, 2019 · 1 comment
Open

Cubic Bezier curves plotting #26

monte-monte opened this issue Apr 25, 2019 · 1 comment

Comments

@monte-monte
Copy link

Feature reuest
Current version of Marlin firmware has a method to draw cubic Bezier curves, and adds G5 command to its g-code. I understand that it might be not trivial to rework this functionality for polar coordinates, but it definitely would be great to have. I tried to look at code myself but I'm afraid that my math and program skills are too low for this task. Maybe you could look at it and at least evaluate how hard it would be to implement in your version of firmware.
https://github.com/MarlinFirmware/Marlin/blob/1.1.x/Marlin/planner_bezier.cpp
Anyhow thanks for your work.

@RickMcConney
Copy link
Owner

It would be relatively easy to port any changes to the new marlin as they are marked with a #define POLAR. But it would be substantially harder to make use of the new gcode as my code converts svg with the use of a library called geomerative. It converts svg file into a list of paths that my code then coverts to gcode and sends to the plotter. I would have to rewrite the parsing to preserve any bezier curves so that the new gcode could be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants