-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
Improve the arc expander preprocessor #2430
Comments
This was referenced Jan 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The arc expander preprocessor is used to convert arc (G2/G3) into smaller straight line segments (G1). This can be used if the controller doesn't support arcs or if there are other operations that is to difficult or impossible to compute as arc (such as autoleveling, rotating or translating a gcode model).
The way the arc is broken up into smaller line segments is done with a fixed line segment length which is default set to 0.01 mm.
Let us assume an 45 degree arc with an radius of 500mm:
The length of the arc would be calculated with$L = r × θ$ , which becomes $L = 500mm * π/4 = 392.5mm$
When expanded into 0.01 mm line segments this would generate around 40000 lines of gcode.
Find a new scalable way to expand arcs.
The text was updated successfully, but these errors were encountered: