Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 04:27AM |
Admin Registered: 10 years ago Posts: 3,096 |
// // G2/G3 Arc Support // #define ARC_SUPPORT // Disable this feature to save ~3226 bytes #if ENABLED(ARC_SUPPORT) #define MM_PER_ARC_SEGMENT 1 // (mm) Length (or minimum length) of each arc segment //#define ARC_SEGMENTS_PER_R 1 // Max segment length, MM_PER = Min #define MIN_ARC_SEGMENTS 24 // Minimum number of segments in a complete circle //#define ARC_SEGMENTS_PER_SEC 50 // Use feedrate to choose segment length (with MM_PER_ARC_SEGMENT as the minimum) #define N_ARC_CORRECTION 25 // Number of interpolated segments between corrections //#define ARC_P_CIRCLES // Enable the 'P' parameter to specify complete circles //#define CNC_WORKSPACE_PLANES // Allow G2/G3 to operate in XY, ZX, or YZ planes #endif // Support for G5 with XYZE destination and IJPQ offsets. Requires ~2666 bytes. //#define BEZIER_CURVE_SUPPORT
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 05:49AM |
Admin Registered: 16 years ago Posts: 13,825 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 06:32AM |
Admin Registered: 10 years ago Posts: 3,096 |
Quote
VDX
... could be, it's the segment length or curve/segment-resolution, what's causing this inconsistent speeds -- then normal G1 speed is set to pretty fast (if not too fast) ... but with short segents its drastically reduced by start/stop-acceleration and insufficient jerk ...
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 06:45AM |
Admin Registered: 16 years ago Posts: 13,825 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 06:58AM |
Admin Registered: 10 years ago Posts: 3,096 |
Quote
VDX
... try to reduce the speed (F-value in the G-code) and rise the jerk value -- so for small angle deviation it won't do fullstop for every segment ...
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 11:04AM |
Registered: 6 years ago Posts: 1,860 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 11:25AM |
Admin Registered: 12 years ago Posts: 6,916 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 01:16PM |
Admin Registered: 10 years ago Posts: 3,096 |
Quote
Dust
I've seen something like this before [github.com]
ie they recommend to change G2_G3.cpp#L219 and G2_G3.cpp#L239 and replace seg_length with 0.0
Can you give this a try?
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 03:06PM |
Registered: 6 years ago Posts: 1,860 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 03:30PM |
Admin Registered: 12 years ago Posts: 6,916 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 31, 2020 06:15PM |
Admin Registered: 10 years ago Posts: 3,096 |
Quote
Dust
The main Marlin developer/maintainer has looked at this now, and has made the second change part of marlin. So perhaps the first change was not needed.
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 18, 2021 02:08AM |
Registered: 2 years ago Posts: 1 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 18, 2021 03:03AM |
Admin Registered: 16 years ago Posts: 13,825 |
Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03 March 18, 2021 10:42PM |
Registered: 3 years ago Posts: 280 |