diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-12-13 00:49:33 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-12-13 00:49:33 +0300 |
commit | 893b8eea5e182457e90db9ddbaac8a7fb435a0c7 (patch) | |
tree | 421dd5296fcdf57f807c86a2a78ceb5143201fbe /ArcWelder/segmented_arc.h | |
parent | 8cbd08c6c27bb792d28345d24ffc7a7765c35079 (diff) |
Prevent arc generation if I and J are both 0 within the current precision. Add default xyz and e precision settings, and enable/disable dynamic gcode precision.
Diffstat (limited to 'ArcWelder/segmented_arc.h')
-rw-r--r-- | ArcWelder/segmented_arc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ArcWelder/segmented_arc.h b/ArcWelder/segmented_arc.h index a51cbbd..36d20da 100644 --- a/ArcWelder/segmented_arc.h +++ b/ArcWelder/segmented_arc.h @@ -43,7 +43,9 @@ public: double max_radius_mm = DEFAULT_MAX_RADIUS_MM, int min_arc_segments = DEFAULT_MIN_ARC_SEGMENTS, double mm_per_arc_segment = DEFAULT_MM_PER_ARC_SEGMENT, - bool allow_3d_arcs = DEFAULT_allow_3d_arcs + bool allow_3d_arcs = DEFAULT_ALLOW_3D_ARCS, + unsigned char default_xyz_precision = DEFAULT_XYZ_PRECISION, + unsigned char default_e_precision = DEFAULT_E_PRECISION ); virtual ~segmented_arc(); virtual bool try_add_point(point p, double e_relative); |