mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-23 14:44:21 -06:00
✨ EDITABLE_STEPS_PER_UNIT
MarlinFirmware/Marlin#26615 Co-Authored-By: plampix <19209306+plampix@users.noreply.github.com>
This commit is contained in:
parent
7f1571e317
commit
b2ebd74b57
355 changed files with 2127 additions and 357 deletions
|
@ -1243,7 +1243,7 @@
|
|||
|
||||
/**
|
||||
* Default Axis Steps Per Unit (linear=steps/mm, rotational=steps/°)
|
||||
* Override with M92
|
||||
* Override with M92 (when enabled below)
|
||||
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
// variables to calculate steps
|
||||
|
@ -1255,6 +1255,11 @@
|
|||
#define DEFAULT_XYZ_STEPS_PER_UNIT ((XYZ_FULL_STEPS_PER_ROTATION) * (XYZ_MICROSTEPS) / double(XYZ_BELT_PITCH) / double(XYZ_PULLEY_TEETH))
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, 100 } // default steps per unit for Kossel (GT2, 20 tooth)
|
||||
|
||||
/**
|
||||
* Enable support for M92. Disable to save ~530 bytes of flash (1400 more if using a display)
|
||||
*/
|
||||
#define EDITABLE_STEPS_PER_UNIT
|
||||
|
||||
/**
|
||||
* Default Max Feed Rate (linear=mm/s, rotational=°/s)
|
||||
* Override with M203
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue