Marcio Teixeira
00fc43144a
Follow up fixes to various PRs. ( #13334 )
...
- Ensure `MarlinUI:get_progress` is defined for `ExtUI`.
- Fix for `BACKLASH_SMOOTHING` with small segments.
`BACKLASH_SMOOTHING` with extremely small segments failed to fully correct due to the correction factor being rounded down. Rounding up ensures the entire backlash will converge to zero even for small segments.
- Add pinout for the beta revision `EINSY_RETRO`.
- Update soft endstops with tool offsets (for toolchange et. al. move clamping) (#12568 )
2019-03-09 14:20:37 -06:00
Scott Lahteine
5d28575d4d
Clean up some motion code
2019-02-25 16:01:42 -06:00
Minims
92a4984066
Fix G34 probe position ( #13251 )
2019-02-24 13:57:30 -06:00
Bruce j Beare
562f2321d2
Fix a G34 bug, allow negative Z corrections ( #13240 )
2019-02-23 02:41:52 -06:00
Scott Lahteine
3a1b6fe8c1
Coding standards
2019-02-19 14:58:39 -06:00
Marcio Teixeira
31c240a8db
Enhancements to G425 ( #13159 )
...
- Turn off bed leveling prior to calibrating.
- This prevents lateral probes from having a Z component that
triggers the Z endstop and causes the motion to be aborted.
- Got rid of static const float arrays "dimension" and "true_center"
- Frees up 24 bytes of SRAM
- Changed incorrect use of "bool" for float in backlash macros.
- Replaced arguments with 0.0f and 1.0f for clarity.
- Now only disables soft endstops (since calibration cube is outside of bed)
- Not necessary to disable global endstops
2019-02-14 16:45:31 -06:00
Scott Lahteine
ce40c2e87c
Use do_blocking_move_to(ref, fr)
2019-02-14 02:22:08 -06:00
Scott Lahteine
0feeef2604
Update copyright in headers
2019-02-12 15:30:11 -06:00
Marcio Teixeira
e1604198ff
G425 — Auto-calibrate Backlash and Nozzle Offsets ( #13050 )
2019-02-06 17:20:17 -06:00
Scott Lahteine
1bd9a63049
Add HAS_EXTRA_ENDSTOPS macro
2019-02-06 05:10:05 -06:00
mattfredwill
c3cb449990
TMC2130 dual-stepper Sensorless Homing ( #13061 )
2019-02-01 18:09:01 -06:00
Scott Lahteine
97da6c1da5
Use MIN/MAX for min/max
2019-01-28 20:36:13 -06:00
Bob Kuhn
2f35747f29
L6470 SPI daisy chain support ( #12895 )
2019-01-23 19:06:54 -06:00
Ludy
814d93c7cf
Fix G33 sprintf output warning ( #12738 )
2018-12-27 18:05:42 -06:00
Luc Van Daele
c6e09c2689
[2.0.x] G33 clean up ( #12648 )
...
Remove obsolete workarounds in G33 for the now fixed zprobe_zoffset bug
2018-12-18 12:43:38 -06:00
Marcio Teixeira
b22716e938
M425 Backlash Correction ( #11061 )
2018-12-08 14:36:46 -06:00
teemuatlut
50b2fbd031
Trinamic: Split stealthChop, improve driver monitoring, etc. ( #12582 )
2018-12-07 15:34:21 -06:00
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
2018-11-29 16:58:58 -06:00
Scott Lahteine
1fcc13b011
Allow Serial Overrun Protection to be disabled
2018-11-23 21:07:38 -06:00
Marcio Teixeira
c1e17037e5
Various fixes for MarlinUI and ExtUI ( #12439 )
2018-11-17 22:21:44 -06:00
Scott Lahteine
a0c795b097
Encapsulate common display code in a singleton ( #12395 )
...
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
- Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
2018-11-11 12:16:24 -06:00
Scott Lahteine
427bc64ba1
G28 O respects HOME_AFTER_DEACTIVATE
...
Addressing #11271
2018-11-05 04:17:37 -06:00
Scott Lahteine
d1ff22b983
Revive SCARA's home offset (unimplemented)
2018-11-03 06:24:41 -05:00
Scott Lahteine
e4cf175163
Synchronize on M204, M205 ( #12302 )
...
* Add parser.seen for multiple parameters
* Fix M666, use !seen for report
* Synchronize on M204, M205
2018-11-03 01:16:37 -05:00
Scott Lahteine
3583e2b449
Followup to Menu Refactor ( #12275 )
2018-10-30 16:34:45 -05:00
TheLongAndOnly
5536228359
G34 Auto-align multi-stepper Z axis ( #11302 )
2018-10-29 14:01:36 -05:00
Scott Lahteine
2bf18950ab
Refactor LCD menus
2018-10-28 15:46:45 -05:00
AnHardt
f56968ba0b
New Continuous Filament Mixer ( #12098 )
2018-10-16 03:38:57 -05:00
Scott Lahteine
d556dc1865
Fix and improve EEPROM storage ( #12054 )
...
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
2018-10-10 09:45:20 -05:00
Scott Lahteine
5f6aabccbe
Tweak M48 spacing
2018-10-08 19:11:25 -05:00
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers ( #11977 )
2018-09-30 23:44:33 -05:00
AnoNymous
b30ca652ae
Replace MIN# / MAX# with variadic MIN / MAX ( #11960 )
2018-09-30 04:59:14 -05:00
Scott Lahteine
c5e5cc5e9f
Fix some trailing whitespace, macros
2018-09-17 17:30:04 -05:00
Roxy-3D
0780913848
IDEX Improvements ( #11848 )
2018-09-17 01:06:22 -05:00
Thomas Moore
c437bb08f1
Overhaul of the planner ( #11578 )
...
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
2018-09-16 21:24:15 -05:00
Holger Müller
1a6f2b29b8
Add support for Triple-Z steppers/endstops
2018-09-16 00:35:58 -05:00
Sam Lane
1b6bc19427
Add external closed loop controller support
2018-09-10 03:17:17 -05:00
Alexander Amelkin
bc1ba998b2
[2.0.x] Fix undefined symbol 'g29_in_progress' ( #11781 )
2018-09-09 22:06:03 -05:00
InsanityAutomation
bad225dc04
Fix mesh leveling compile errors ( #11768 )
2018-09-09 04:19:48 -05:00
Scott Lahteine
d1ceaf5550
[2.0.x] Followup to IDEX changes ( #11707 )
2018-09-03 23:15:31 -05:00
Roxy-3D
7680b64aa6
IDEX clean up ( #11690 )
2018-09-02 10:18:59 -05:00
Colin Gilgenbach
593d5375ea
Fix G28 resetting DUAL_NOZZLE_DUPLICATION_MODE ( #11605 )
...
There's no reason for G28 to reset DUAL_NOZZLE_DUPLICATION_MODE, because it only affects the E stepper, unlike DUAL_X_CARRIAGE which affects the X steppers as well.
2018-08-21 23:42:55 -05:00
Scott Lahteine
0af22549a6
Allow G33 to compile with no LCD
2018-08-11 22:32:09 -05:00
Giuliano
4237c3d9f8
[2.0.x] different bltouch init ( #11135 )
2018-07-26 05:04:09 -05:00
etagle
1367df2875
Replace double with float, optimize calculation
2018-07-04 22:28:56 -05:00
Scott Lahteine
d960d448fa
Optimize calculations with LROUND
2018-07-04 22:22:28 -05:00
Scott Lahteine
e0ab8acf19
Add "Marlin Dev Mode" option
2018-07-02 22:55:21 -05:00
Scott Lahteine
c51e27d11d
Do a hard kill for failed homing moves ( #11161 )
2018-06-30 21:54:07 -05:00
Scott Lahteine
90ba77ea0f
Lose the old HOMEAXIS macro
2018-06-30 18:13:13 -05:00
Scott Lahteine
a431013eb7
Fix G33 compile warning
2018-06-29 23:17:51 -05:00
Giuliano
cce0523a95
[2.0.x] reset bltouch on home ( #11018 )
...
Added reset bltouch instead. This ensure properly stow even when in error.
2018-06-13 14:09:13 -05:00
Karl Andersson
e0276d2f32
Official STMicroelectronics Arduino Core STM32F4 HAL compatibility ( #11006 )
2018-06-12 18:38:00 -05:00
Scott Lahteine
f2c3b0d476
Use bit flags for homed/known
2018-06-11 22:05:16 -05:00
Robert Mendon
86170e6a66
[2.0.x] Add O (optional) flag to G28/G29 ( #10913 )
2018-06-11 21:51:48 -05:00
Giuliano
f1cdfe3dfd
[2.0.x] stow bltouch before start homing ( #10987 )
2018-06-10 16:27:14 -05:00
Eduardo José Tagle
6f330f397e
[2.0.x] Buffer overflow and scroll fix, UTF8 cleanup ( #10844 )
2018-05-25 23:32:37 -05:00
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
...
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 01:38:02 -05:00
Scott Lahteine
59fda986ea
Allow Z_AFTER_PROBING to be 0
2018-04-30 03:25:47 -05:00
Scott Lahteine
f423e54f77
Strip trailing spaces
2018-04-23 18:00:43 -05:00
Scott Lahteine
1c3d49afe0
Fix G28 with Z_AFTER_PROBING
...
Fix #10476
2018-04-22 01:23:26 -05:00
Scott Lahteine
023385ca59
Merge pull request #10479 from thinkyhead/bf2_creality_power_loss_resume
...
[2.0.x] Creality3D Power-Loss Recovery
2018-04-22 00:17:44 -05:00
Scott Lahteine
3396671011
[2.0.x] Reset LCD status to fallbacks ( #10470 )
...
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
2018-04-22 00:16:30 -05:00
Scott Lahteine
11ab017dd0
Creality3D Power-Loss Recovery
2018-04-21 21:56:50 -05:00
Scott Lahteine
7dcd0a1cff
Add R parameter to G28 to specify pre-raise
2018-04-21 19:07:48 -05:00
Luc Van Daele
646aa20b43
Overhaul of G33 Delta Calibration ( #8822 )
2018-04-11 21:14:48 -05:00
Luc Van Daele
ac2e0afb62
Low Point for delta calibration ( #10363 )
2018-04-11 18:59:46 -05:00
Scott Lahteine
8b8ad14178
Add Z_PROBE_LOW_POINT to prevent damage
2018-04-09 17:23:03 -05:00
Scott Lahteine
1a75165f35
For set_z_fade_height use set_bed_leveling_enabled
2018-03-31 22:43:05 -05:00
AnHardt
c1f58a238d
No delay in sensorless quick homing ( #10254 )
2018-03-29 16:10:20 -05:00
Scott Lahteine
bc45fb6b13
Tweak use of move_z_after_probing
2018-03-21 01:25:08 -05:00
Scott Lahteine
c352954882
Allow no raise after run_z_probe in probe_pt
2018-03-21 01:24:51 -05:00
Scott Lahteine
8922b56b58
Fix some spelingz
2018-03-16 01:25:41 -05:00
Scott Lahteine
a6feb58837
Delta support for multiple hotends with offsets ( #10118 )
2018-03-16 00:46:42 -05:00
Scott Lahteine
14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) ( #10069 )
...
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
2018-03-13 01:15:22 -05:00
Scott Lahteine
28f1276286
[2.0.x] Add Z_AFTER_PROBING option ( #10058 )
...
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
2018-03-11 13:07:55 -05:00
Scott Lahteine
751785fc97
Followup to recent patches
...
- `M666` is static, not inline
- Disambiguate some stepper macros
2018-03-10 21:41:17 -06:00
Scott Lahteine
f003173752
Fixup M666
...
Followup to d6df032
2018-03-10 19:52:30 -06:00
Scott Lahteine
d6df0322c2
Update M666 for XYZ dual endstops
2018-03-10 06:57:31 -06:00
Scott Lahteine
419d12ca1b
Add UNKNOWN_Z_NO_RAISE option
...
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
2018-03-10 00:17:34 -06:00
Scott Lahteine
2057177184
Make enums into implicit char
2018-03-06 23:39:56 -06:00
Scott Lahteine
a446433c87
Fix SENSORLESS_HOMING for Core Kinematics ( #9868 )
2018-03-01 01:37:31 -06:00
Scott Lahteine
b2cf253a13
Add RESTORE_LEVELING_AFTER_G28 option
2018-02-23 13:38:54 -06:00
Scott Lahteine
1d7f5be0ff
quick_home_xy sensorless homing
2018-02-20 20:52:48 -06:00
Scott Lahteine
d4e4fe40e0
Add SENSORLESS_HOMING delay to quick_home_xy
...
Fix #9471
2018-02-19 10:12:16 -06:00
Scott Lahteine
3af988a7f3
Add sensorless homing delay to home_z_safely
...
Based on #9705
2018-02-18 19:28:40 -06:00
Scott Lahteine
8ffa0b24a4
Strip excess G28 debug logging
2018-02-18 01:11:41 -06:00
Kevin
9019ea0fce
Option to force X or Y to home first when homing the other axis
2018-02-18 01:11:41 -06:00
AnHardt
133b38b93b
Complete M48 description ( #9631 )
2018-02-14 05:17:58 -06:00
Scott Lahteine
a8c4174a13
M100 comment
2018-02-05 21:54:50 -06:00
Scott Lahteine
1dcfe193ac
Optimize some serial strings
2018-01-23 19:14:00 -06:00
Roxy-3D
a5dfe08a81
Add precision to planner.xy_skew_factor so it doesn't print as 0.00
2018-01-04 16:14:09 -06:00
Scott Lahteine
6d94bbf618
Apply some PGM_P pointers
2017-12-30 04:03:17 -06:00
robpower
5595098063
V2 Extended NanoDLP_Z_Move_Sync to G4 & G28,Added all axis option.
2017-12-15 16:22:55 -06:00
Scott Lahteine
117fc872a7
Update current position in M852
2017-12-10 21:39:49 -06:00
revilor
9e3fbcf35c
fix for #8669 ( #8679 )
...
* fix for #8669
* Update G28.cpp
2017-12-05 19:40:36 -06:00
Scott Lahteine
046a1ad331
Merge pull request #8625 from tcm0116/2.0.x-G33
...
[2.0.x] Fix missing return values in G33_auto_tune
2017-12-02 00:51:19 -06:00
Thomas Moore
b35c3b5eb8
Fix missing return values in G33_auto_tune
2017-12-01 21:29:16 -06:00
Scott Lahteine
0154e3480c
New feature: BED_SKEW_CORRECTION
2017-12-01 19:39:49 -06:00
Scott Lahteine
22b897e77d
Show M211 output with workspace offset
2017-11-25 20:48:20 -06:00
LVD-AC
65f365333f
[2.0.x] G33 probe error handling
2017-11-25 16:19:10 -06:00
LVD-AC
e334efb2a7
PROBE_MANUALLY etc.
2017-11-10 19:27:33 -06:00
Thomas Moore
f34c3597dc
Add delta_height variable in lieu of using home_offset
2017-11-08 22:10:08 -06:00
Scott Lahteine
82f45c3e6a
Patch G33 misuse of PROBE_MANUALLY
2017-11-08 00:36:06 -06:00
Scott Lahteine
96c9d715f3
Patch abuse of sprintf_P in G33
2017-11-07 17:33:50 -06:00
Colten Edwards
a6160916b0
[2.0] Fix M48 for delta printers/ABL compile issue ( #8286 )
...
* fix M48 for delta printers
fix M48 for delta printers. home printer if not already homed.
* remove ENABLED(DELTA)
remove ENABLED(DELTA) as it is not needed.
* Update M48.cpp
* abl needs queue.h
without queue.h abl will not compile since there is a script that runs at the end of it and we need to queue it up.
2017-11-07 15:36:33 -06:00
Scott Lahteine
a22434508f
Match tweaks to G33 from 1.1
2017-11-04 22:28:46 -05:00
Scott Lahteine
79772219ae
Fix Fan Multiplexer init
2017-11-04 22:28:46 -05:00
Colten Edwards
e0a6ee8da5
[2.0] Fix up G33, LPC1768 + SDCARD_SORT_ALPHA ( #8250 )
...
* Update Conditionals_post.h
* Add a cast to round() to convert to a unsigned int
Add's a cast to round() so that it will compile properly. round() returns a float which must be cast to a integer for the following % operation. Use a unsigned int as a negative index to an array is wrong. Should never be more than 255 points allowing us to use a 8 bit cast.
* Update G33.cpp
2017-11-04 18:04:18 -05:00
Scott Lahteine
f8393a0908
Operate in Native Machine Space
2017-11-04 00:05:38 -05:00
Scott Lahteine
31f112cf58
Cleanup trailing whitespace
2017-11-03 04:07:45 -05:00
Luc Van Daele
6827e243a0
[2.0.x] G33 magic numbers ( #8171 )
...
* [2.0.x] G33 magic numbers
* oops
* Comments
* oops
* warning
* better comment section
* remarks
* extra grids
2017-11-03 03:36:16 -05:00
Scott Lahteine
723f2a77f6
Implement support for Dual X and Y endstops
2017-10-29 18:56:04 -05:00
Luc Van Daele
a1a4fc277e
(2.0.x) serious bug G33 ( #8136 )
...
* (2.0.x) serious bug G33
* Revert config changes
This reverts commit 74b5a98223b7b7fb970d05b8541f4a079c3cfe56.
2017-10-29 04:12:33 -05:00
LVD-AC
dcfc2503c2
G33 Autotune calibration update #10
2017-10-27 02:11:24 -05:00
Roxy-3D
72156a2029
change to better (more clear) names ( #8050 )
...
set_destination_to_current() changed to set_destination_from_current()
set_current_to_destination() changed to set_current_from_destination()
2017-10-21 11:42:26 -05:00
Roxy-3D
5439358281
Basic UBL operations working on 32-bit platforms ( #8024 )
...
* 32-bit work for UBL
* Update FT i3-2020 reference file
2017-10-19 10:44:45 -05:00
Luc Van Daele
3986a84f77
boolval revisited ( #8016 )
2017-10-18 14:03:17 -05:00
Scott Lahteine
3e3911fb81
Use planner.leveling_active for all leveling systems
2017-10-14 02:18:31 -05:00
Scott Lahteine
9a930ebec2
Make leveling_is_active a macro
2017-10-14 02:18:31 -05:00
Scott Lahteine
b220bc7521
Apply G33 updates
...
Adapted from #7865
2017-10-06 15:47:51 -05:00
Thomas Moore
0cb00f52d9
Cleanup warnings
2017-09-30 16:47:17 -05:00
Scott Lahteine
dff2904c0f
Marlin code whitespace cleanup
2017-09-27 10:55:36 -05:00
Scott Lahteine
6d5fcac54a
G33 changes from 1.1.x
2017-09-24 14:16:23 -05:00
Scott Lahteine
64dfb46461
Move z_endstop_adj to Endstops
2017-09-21 16:27:11 -05:00
Scott Lahteine
6c7bad8bc3
Move M666 to cpp
2017-09-21 16:27:03 -05:00
Scott Lahteine
f5877aa93e
Move M665 to cpp
2017-09-21 16:27:02 -05:00
Scott Lahteine
5d2681a105
Move M100 to cpp
2017-09-21 16:26:59 -05:00
Scott Lahteine
fc52fc72ac
Move M48 to cpp
2017-09-21 16:26:54 -05:00
Scott Lahteine
551752eac7
Consolidate "bedlevel" code
2017-09-21 16:26:47 -05:00
Scott Lahteine
722786966a
Add gcode.cpp, motion.*, queue.* - Apply to some G-codes.
2017-09-21 16:26:45 -05:00
Scott Lahteine
4231faf779
Initial split-up of G-code handlers by category
2017-09-21 16:26:45 -05:00