Commit Graph

4995 Commits

Author SHA1 Message Date
Yuri D'Elia
ceb1d2aaaf lang-check: handle/warn about trailing whitespace 2021-04-24 01:03:38 +02:00
Yuri D'Elia
ecc375f94f lang-check: improve error strings 2021-04-24 00:16:46 +02:00
Yuri D'Elia
0d89e48827 Two Italian translation improvements 2021-04-24 00:05:45 +02:00
Yuri D'Elia
e3ec295a0e lang-check: add checks for % escapes 2021-04-23 23:59:50 +02:00
Yuri D'Elia
0db2c5c28a lang-check: cleanup 2021-04-23 23:19:16 +02:00
Yuri D'Elia
5f0f6d740f lang-check: attempt at spotting short translations 2021-04-23 23:08:02 +02:00
Yuri D'Elia
68fc2c71bb lang-check: add basic punctuation checks 2021-04-23 22:49:27 +02:00
Yuri D'Elia
2ceb3897f1 lang-check: respect --no-warning 2021-04-23 22:49:00 +02:00
3d-gussner
fe32d42101 Fix Dutch FINDA translation 2021-04-23 16:19:33 +02:00
Yuri D'Elia
201d2a2434 lang-check: handle backslash sequences 2021-04-23 16:15:24 +02:00
Marek Bel
aa45091400
Scale extruder motor current linearly with speed. (#2813)
Scale extruder motor current linearly with speed.

49% less heating when running at low speed and standstill, 4% more torque at maximum extrusion rate (15mm^3/s), 15% more torque in high speed movements (un/retractions).

StealthChop mode is used for low speeds (below 900mm/min)
spreadCycle is used above. Transition speed is well above maximum extrusion rate of 15mm^3/s (275mm/min) so mode transition is not expected to be visible on printed surface.

StealthChop is expected to improve printed surface quality (less artifacts).

Warning you can burn extruder motor if it is not the same impedance as original Prusa i3 Extruder stepper motor. There is no current feedback in low speed so lower impedance motor can be burned by over current.

Even there is no direct current feedback, there is no risk for original motor thermal runaway, as motor resistance increases with temperature, current decreases.

Standstill peak phase current is expected to be 500 mA and linearly increase with speed to 970 mA at 900mm/min where spreadCycle constant current regulation takes over and keeps peak current at 805 mA to maximum speed possible.

As motor heating increases with current squared, lowering low speed current from 700mA to 500mA decreases heating 49% in thate mode, where motor spends most of the time.

Enable E-motor cool mode in farm mode only (and experimental menu) - the experimental menu is visible AND the EEPROM_ECOOL variable has a value of the universal answer to all problems of the universe - i.e. two conditions must be met at the start of the FW to enable the E-cool mode. If the user enables the experimental menu, sets the E-cool mode and disables the menu afterwards, on the next start of the FW the E-cool mode will be DISABLED. This is still subject to discussion how much obscure (security through obscurity) we'd like this option to have .

Additional stuff:
* Add serial debug msg to verify if E-cool mode is on
* Avoid access to E-cool mode switch on machines without TMC2130
* Do not allow only M907 E in case of E-cool mode+warn the user on the serial line that the command was skipped

Co-authored-by: D.R.racer <drracer@drracer.eu>
2021-04-23 16:06:28 +02:00
Yuri D'Elia
27d7edae10 lang-check: highlight truncated strings 2021-04-23 15:49:19 +02:00
Yuri D'Elia
7f9910ad28 Update Italian translations 2021-04-23 15:47:48 +02:00
Yuri D'Elia
e4655e5afa lang-check: pretty-print errors to aid in translation 2021-04-23 15:31:01 +02:00
Yuri D'Elia
695af99ada lang-check: simplify wrapping, wrap according to cols 2021-04-23 15:31:01 +02:00
Yuri D'Elia
340928acc3 lang-check: print a warning if cols!=20 on multiline messages 2021-04-23 15:31:01 +02:00
3d-gussner
71ab3a9d53 Fix typo thanks to @wavexx 2021-04-23 14:20:28 +02:00
3d-gussner
540940b6a5 Fix German too long translation MSG_MMU_MODE 2021-04-23 13:36:12 +02:00
3d-gussner
c2cde83d7e Fix MSG_SELFTEST_WIRINGERROR to c=18 2021-04-23 13:29:45 +02:00
3d-gussner
3f51627c02 Fix MSG_NO being too short, no need to be 2021-04-23 13:23:11 +02:00
3d-gussner
7cd76432b9 Fix German MSG_LOAD_TO_NOZZLE 2021-04-23 13:19:47 +02:00
3d-gussner
10a026e075 Fix Dutch + German MSG_UNLOAD_FILAMENT too long translations 2021-04-23 13:16:36 +02:00
3d-gussner
013708479f Fix MSG_UNLOAD_FILAMENT length as in MMU a number is added 2021-04-23 13:12:57 +02:00
3d-gussner
2281bd1ef7 Merge branch 'PFW-1189' of https://github.com/3d-gussner/Prusa-Firmware into PFW-1189 2021-04-23 13:04:54 +02:00
3d-gussner
032e8a5957 @leptun strip 1st char hack for duplicate Cancel 2021-04-23 13:03:59 +02:00
D.R.racer
346044063a Fix length of some CZ messages 2021-04-23 12:48:25 +02:00
Yuri D'Elia
90a9e350c0 Remove warnings caused by '\x00'
Manually unescape '\x00' for the time being, removing spurious warnings.
2021-04-23 12:37:54 +02:00
Yuri D'Elia
2e6e2c4fde Do not output colors when redirecting output 2021-04-23 12:29:57 +02:00
Yuri D'Elia
8b5d01e3b1 Be more strict when checking translation lenght
Strip quotes immediately so that we can measure strings easily.
For single-line strings, check the translation lenght correctly.
2021-04-23 12:18:50 +02:00
Yuri D'Elia
a9f0ff441d Allow to customize OUTDIR in config.sh
Useful for custom build trees.
2021-04-23 12:15:48 +02:00
3d-gussner
403b340f19 Added EXTENDED_M20 to RepRap Gcode wiki M115 see https://reprap.org/mediawiki/index.php?title=G-code&type=revision&diff=189034&oldid=189033 2021-04-23 11:02:42 +02:00
Voinea Dragos
635bc442d6 Fix M105 from SD 2021-04-23 11:14:16 +03:00
DRracer
b762a98c38
Merge pull request #3081 from 3d-gussner/MK3_Fix1_Dutch
Move Dutch removing part to correct loaction
2021-04-23 09:52:06 +02:00
3d-gussner
28aec049a2 Fix Typo in MSG_FIL_FAILED 2021-04-23 09:41:12 +02:00
3d-gussner
ff9185d1bb Readded >Cancel as the > has some meaning. Sadly the previously 10bytes more free space are gone again 2021-04-23 08:50:50 +02:00
3d-gussner
044c0a0a6a Update "\04Refresh" message as two "abcd" "efgh" in one line cause issues in lang-build scripts 2021-04-23 08:49:22 +02:00
3d-gussner
8eeb177c7e Use textwarp to check the message length and rows
@DRracer: Added origial English text to the output, added cols and rows as well
2021-04-23 08:46:32 +02:00
3d-gussner
e18d688b64 Fix merge issues 2021-04-22 20:48:26 +02:00
3d-gussner
681bc560c9 Merge remote-tracking branch 'upstream/MK3_3.10.0' into PFW-1189 2021-04-22 20:43:54 +02:00
DRracer
be776f88f2
Merge pull request #3124 from prusa3d/MK3
Sync MK3 -> MK3_3.10.0
2021-04-22 13:31:56 +02:00
DRracer
999b93be35
Merge pull request #3123 from prusa3d/MK3_3.10.0
MK3 3.10.0
2021-04-22 12:53:26 +02:00
DRracer
00ce16ee55
Merge pull request #3121 from wavexx/reduce_m600_min_height
Revert/cleanup mininum extruder height during M600
2021-04-22 11:43:18 +02:00
DRracer
1e0fd8af87
Merge pull request #3120 from wavexx/fix_lcd_redraw_autoload
Fix partial redraw during filament autoload
2021-04-22 10:36:40 +02:00
DRracer
98643825dc
Merge pull request #3055 from awenelo/add-satin-sheet
Add satin sheets
2021-04-22 07:13:32 +02:00
Yuri D'Elia
daef5428d2 Rework gcode_M600_filament_change_z_shift to make it consistent
gcode_M600_filament_change_z_shift is almost useless, since it performs
what is already been done internally by filament_unload().

However it *does* cause the carriage to raise earlier during unload
compared to making the user wait after "press for unload".

Change it so the calculated Z height matches MIN_Z_FOR_SWAP.
2021-04-21 19:12:26 +02:00
Yuri D'Elia
8d04316497 Revert/cleanup mininum extruder height during M600
This change restores the minimum extruder height for filament purge
during M600 from the current 50mm back to 27mm from FW 3.9.

We do this by introducing a new option for unload_filament() to indicate
that the unload is part of an automatic swap, and in such cases avoid
raising more than absolutely necessary (this will _also_ come in handy
to avoid the extra purge in PR #2318 during M600).

A new define MIN_Z_FOR_SWAP is introduced for this purpose.
MIN_Z_FOR_UNLOAD is still used for manual lcd unload and for M702 and
hasn't been changed.
2021-04-21 19:07:58 +02:00
Yuri D'Elia
bc355674d9 Fix partial redraw during filament autoload
If the printer was already being pre-heated but didn't reach the target
temperature yet and a new filament is being inserted, the LCD used to
display a "Preheating to load" message to block the loading until the
extruder is hot.

This message is currently missing, and the ">Cancel" option doesn't
display immediately either, depending on the extruder height.

This PR fixes this behavior, which was broken during an earlier update.

We now force-update LCD updates during the first (and _only_) time the
screen is setup, and push all messages _before_ the carriage is
eventually raised, so that ">Cancel" is shown immediately as well.
2021-04-21 16:56:16 +02:00
DRracer
bdeecd4fee
Merge pull request #3116 from prusa3d/MK3_3.10.0
Merge MK3_3.10.0
2021-04-21 16:22:22 +02:00
DRracer
84a9a5fd3f
Merge pull request #3113 from leptun/MK3_M20L_change_format
M20 L updated format and first implementation of timestamp reporting (M20 T)
2021-04-20 08:24:07 +02:00
Alex Voinea
7d82cab125
Update doxygen 2021-04-20 09:16:56 +03:00