Scott Lahteine
6e1bc03d3b
Additional wrapping for #3140
9 years ago
Scott Lahteine
4b648793f2
Use ENABLED with DISABLE_[INACTIVE_][XYZ]
9 years ago
Scott Lahteine
f9ded2a7c4
Wrap macros to prevent bad expansions
9 years ago
Scott Lahteine
614febaaf3
Fix acceleration limits
See: https://github.com/Ultimaker/Marlin/pull/7
9 years ago
Scott Lahteine
71718d888a
Fix typos in check_axes_activity
9 years ago
Scott Lahteine
ff13070b59
Use _BV macros, patch up others
9 years ago
Scott Lahteine
209f5f21e0
Use macros where possible
Apply `constrain`, `NOMORE`, `NOLESS` and `CRITICAL_SECTION` macros
wherever possible.
9 years ago
Scott Lahteine
772460a7b8
Various minor spelling corrections
Redo of #2939 rebased against RCBugFix
9 years ago
Scott Lahteine
373e8a1ad4
Fixes for COREXY and COREXZ coordinates
9 years ago
Richard Wackerbarth
7a670e3911
Improve planner & stepper PR #263
9 years ago
Wurstnase
78a347a01a
change nx, ny, nz and ne from float to long
st_set_position takes long
```void st_set_position(const long& x, const long& y, const long& z, const long& e)```
9 years ago
Wurstnase
6d691aceee
change dx, dy, dz and de from float to long
anything is long, we don't need float there
9 years ago
Wurstnase
0fbfb22506
Renaming delta speeds (PR2824)
dx -> dsx
dy -> dsy
dz -> dsz
de -> dse
9 years ago
Scott Lahteine
9bdab4f3a8
Clean up "else" and other spacing
9 years ago
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 years ago
Richard Wackerbarth
7b4bdc0203
DUAL_X_CARRIAGE motor enabling
As noted by @darkjavi et.al. in #103 , the E1 motor was not being enabled in planner.cpp when using DUAL_X_CARRIAGE. This patch enables and disables E1 as it should.
9 years ago
Scott Lahteine
f690b82343
Remove extra MAX_FREQ_TIME define (PR#148)
9 years ago
Richard Wackerbarth
6292d9e815
Rename ENABLE_AUTO_BED_LEVELING
With the introduction of the #if ENABLED(…)
reads better than
9 years ago
Richard Wackerbarth
29b456ae07
Suppress some compiler warnings
9 years ago
Scott Lahteine
46453905d6
Apply remaining ENABLED/DISABLED conditionals
9 years ago
Scott Lahteine
bf6eb93c61
Overridable Options - Part 10 (PR#2562)
Apply `ENABLED` / `DISABLED` macros to planner files.
9 years ago
Andrew Lenharth
a0ae9e30df
don't pass integer by reference, inefficient. (PR#2547)
9 years ago
Scott Lahteine
a1154d4a20
Enable Y and sanity-check CoreXZ (PR#2509)
9 years ago
Scott Lahteine
9f53e2f0c9
Implement COREXZ in stepper.cpp and planner.cpp
10 years ago
Scott Lahteine
fa00e1d97f
Explode conditions common to corexy and cartesian
10 years ago
Richard Wackerbarth
54ddc1d417
Simplify DRY RUN (PR#2358)
Elsewhere DRYRUN turns off the heating elements
and ignores constraints on them.
Here, whenever motion is entered into the planner,
if DRY RUN is set, we instantly act as if the E_AXIS
is in the desired final position.
10 years ago
CONSULitAS
788eb6e647
planner.cpp: remove tab
planner.cpp: single evil and hidden tab removed ♻️ 😏
10 years ago
CONSULitAS
e55e65d1e4
planner.cpp: Add FAN_MIN_PWM for slow fan stopping issue …
@CONSULitAS
planner.cpp: Add FAN_MIN_PWM for slow fan stopping issue (V2.1 with
macro and linear scaling)
@thinkyhead thanks for idea on linear scaling
10 years ago
wurstnase
e7e964432b
consistency name for multiplier
replace extruder_multiply with extruder_multiplier
like feedrate_multiplier or volumetric_multiplier
10 years ago
MagoKimbra
76306f9073
Insert Debug DRYRUN Repetier Host compatible
10 years ago
Scott Lahteine
d76a01194d
Slight size reduction by adding idle()
10 years ago
Scott Lahteine
513077c317
Minor change to fan kick
10 years ago
Scott Lahteine
35493e1af9
Tweak to planner.cpp position.debug
10 years ago
Scott Lahteine
0fca084ea6
Make EEPROM reproducible in GCode
With these changes the output of `M503 S0` is all you need to restore
the EEPROM. Building on this it is straightforward to save and restore
the EEPROM state using the SD card or external GCode file.
- Added `M145` to set “heatup states” for the LCD menu
- Added `M420` to toggle Mesh Bed Leveling
- Added `M421` to set a single Mesh coordinate
- Extended `Config_PrintSettings` with added M codes
- Cleaned up some comments here and there
10 years ago
Scott Lahteine
3f02da646c
Make sure axis_active is cleared for #1908
10 years ago
Scott Lahteine
ccddc280be
Apply three more commits
10 years ago
Scott Lahteine
8857b9e921
Use the extruder argument in plan_buffer_line
10 years ago
Scott Lahteine
1269c445ab
Catch dangerous extrude before trying several
10 years ago
Scott Lahteine
3162971cd6
current_position not static
10 years ago
Scott Lahteine
1d291be2ba
Fix de after PREVENT_DANGEROUS_EXTRUDE
- Set `de` to 0 when `position[E] = target[E]`
- Address regression mention in #1846
10 years ago
Scott Lahteine
e0d4368cb5
Minor code cleanup, move NUM_AXIS out of config
10 years ago
Scott Lahteine
b98ebd517e
disable / enable_all_steppers functions
10 years ago
Scott Lahteine
0e8182bbf2
Additional pin tests, cleanup
10 years ago
Scott Lahteine
e96df67630
Clarify thermal_runaway_protection
- Add comments documenting `thermal_runaway_protection`
- Add an enum for the thermal runaway states
- Add macros for temperature helper functions
- Fix a glitch with the z probe sled in homeaxis
10 years ago
Chris Roadfeldt
a57862e29f
Cleaning up code in prep for merge with upstream.
10 years ago
Chris Roadfeldt
e08f8eed05
Revert 06f767d..cba5692
This rolls back to commit 06f767d608
.
10 years ago
AnHardt
50a732360a
Replace extrudemultiply by extruder_multiply[active_extruder]
Fix for #1460 .
Seems to work with only one extruder. Can't test this myself with more.
10 years ago
Scott Lahteine
afff968e88
ARRAY_BY_EXTRUDERS, shorthand to sync planner
- Add some documentation to planner and stepper headers
- Patch up RAMBO pins with undefs
- Add `sync_plan_position` inline to set current XYZE
- Swap indices in `extruder_offset` to fix initialization values
10 years ago
Scott Lahteine
19d418cd6a
Fix up the code to eliminate warnings
10 years ago
Scott Lahteine
af14c684b5
Minor optimizations to planner code
- Prefetch values used more than once
10 years ago