Skip to content

EXPERIMENTAL Implement G2/G3 arc fitting for G-code generation#66

Draft
max-scopp wants to merge 1 commit into
mainfrom
feature/arc-fitting
Draft

EXPERIMENTAL Implement G2/G3 arc fitting for G-code generation#66
max-scopp wants to merge 1 commit into
mainfrom
feature/arc-fitting

Conversation

@max-scopp

Copy link
Copy Markdown
Owner
  • Added arc fitting functionality to convert sequences of G1 moves into G2/G3 arcs, improving G-code efficiency and motion smoothness.
  • Introduced new parameters for arc fitting in SlicingParams, including enabling/disabling arc fitting, tolerance, minimum segments, and maximum radius.
  • Updated GcodeLayerBuffer to store geometric kinds of blocks (line or arc).
  • Enhanced the Gcode layer renderer to handle arc meshes and render them appropriately.
  • Created a new module for arc fitting logic, including algorithms for detecting arcs and calculating their properties.
  • Added tests to ensure the arc fitting functionality behaves as expected, covering various edge cases and scenarios.

- Added arc fitting functionality to convert sequences of G1 moves into G2/G3 arcs, improving G-code efficiency and motion smoothness.
- Introduced new parameters for arc fitting in SlicingParams, including enabling/disabling arc fitting, tolerance, minimum segments, and maximum radius.
- Updated GcodeLayerBuffer to store geometric kinds of blocks (line or arc).
- Enhanced the Gcode layer renderer to handle arc meshes and render them appropriately.
- Created a new module for arc fitting logic, including algorithms for detecting arcs and calculating their properties.
- Added tests to ensure the arc fitting functionality behaves as expected, covering various edge cases and scenarios.
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

Successfully merging this pull request may close these issues.

1 participant