Closed RedbullVienna closed 7 years ago
If in sub-mm range
#define MM_PER_ARC_SEGMENT 1
#define N_ARC_CORRECTION 25
and
// Moves (or segments) with fewer steps than this will be joined with the next move
#define MIN_STEPS_PER_SEGMENT 6
become important.
/**
* Plan an arc in 2 dimensions
*
* The arc is approximated by generating many small linear segments.
* The length of each segment is configured in MM_PER_ARC_SEGMENT (Default 1mm)
* Arcs should only be made relatively large (over 5mm), as larger arcs with
* larger segments will tend to be more efficient. Your slicer should have
* options for G2/G3 arc generation. In future these options may be GCode tunable.
*/
THX for the hint!
I have deactivated the G2/3 usage in my CAM SW to came around that issue.
An automatic dynamic adaptation, e.g. two different values like 0.1mm/1mm for small and big radius, for MM_PER_ARC_SEGMENT
made by a nice feature.
As soon as I have understood the dependencies with N_ARC_CORRECTION
and MIN_STEPS_PER_SEGMENT
I will try to write such code.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I tried to mill/drill a hole with G2 codes (I using Marlin RC8) but finally it ended up in a hole with triangular like shape. I simulate the g code with CAMotics and their the hole looks fine. Maybe an issue with the 3d spiral move as it is an hole and not simple a circle with a constant z plane. I used the following sequence (from EstlCam):