Guðni Már Gilbert
e40d8ebbcc
Implement printJobOngoing()
...
This makes the if statments a little bit more readable
Change in memory:
Flash: -88 bytes
SRAM: 0 bytes
2023-03-18 12:18:43 +00:00
Guðni Már Gilbert
561d8599d2
PFW-1503 drop {} for consistency
2023-03-18 11:56:06 +00:00
Guðni Már Gilbert
59314a41c1
PFW-1503 only allow babystepping on the first couple of layers
...
Change in memory:
Flash: +28 bytes
SRAM: 0 bytes
2023-03-18 11:56:06 +00:00
Guðni Már Gilbert
09d918ce5d
PFW-1503 Change BABYSTEP_ALLOWED to babystep_allowed
...
I initially started with a preprocessor macro
called BABYSTEP_ALLOWED, but now it is a function.
It more common to use lower case for function names
2023-03-18 11:56:06 +00:00
Guðni Már Gilbert
bb614f669d
PFW-1503 Add additional check
...
Add lcd_commands_type == LcdCommands::Layer1Cal
just in case blocks_queued() is 0 for one instant between
lcd_command steps
Change in memory:
Flash: +8 bytes
SRAM: 0 bytes
2023-03-18 11:56:06 +00:00
Guðni Már Gilbert
bc2366cd8d
PFW-1503 Improve live Z babystep menu handling
...
Fixes an issue with running first layer calibration twice in a row.
Improvements:
Now the Z baby step menu closes automatically when first layer calibration is done.
No need to wait for a timeout or close the menu manually by setting a variable
If the baby stepping menu is open, and suddenly
the printer enters a state where baby stepping
is not allowed.
The printer will save the last value before closing the menu.
When LcdCommands != Idle, don't dismiss
the Z baby step menu. This saves 20B
Change in memory:
Flash: -130 bytes
SRAM: 0 bytes
2023-03-18 11:56:05 +00:00
DRracer
16ec3e376f
Merge pull request #4086 from 3d-gussner/MK3_3130RC1_bumpup
...
Bump up commit number
2023-03-15 08:12:59 +01:00
3d-gussner
c3235386a1
Bump up commit number
2023-03-15 07:52:01 +01:00
3d-gussner
3243dfed26
Merge pull request #4085 from 3d-gussner/MK3_PFW-1445_pre-release
...
Revert MSG_BTN_MORE non-translated
2023-03-15 07:48:03 +01:00
3d-gussner
8b49d241d2
revert BTN_MORE non-translated
2023-03-15 07:03:41 +01:00
3d-gussner
35eed189f9
Merge pull request #4082 from 3d-gussner/MK3_PFW-1445_pre-release
...
PFW-1445: Shorten and updated translations
2023-03-14 15:48:43 +01:00
3d-gussner
00309f42c3
Bump up fw version
...
6508 from t3.13.0-BETA1
+50 commits
+1 for this commit
+1 for merge
2023-03-14 15:18:13 +01:00
D.R.racer
3fe2f25c9f
Disable reading MMU register 0x21
...
It has proven to be too unreliable and may confuse end users.
2023-03-14 15:12:50 +01:00
D.R.racer
b837c11840
Disable reading MMU register 0x21
...
It has proven to be too unreliable and may confuse end users.
2023-03-14 14:16:41 +01:00
3d-gussner
68b4a8a6cb
Last minute changes need a revert of the fw bump up
2023-03-14 11:22:43 +01:00
3d-gussner
731ea14bd8
Fix Swedish translation
...
Thanks to @jmd73
2023-03-14 11:21:46 +01:00
3d-gussner
e87e1630e2
Bump up version
...
t3.13.0-BETA1 commit nr 6508
+46 commits between
+1 commit for this PR
+1 commit for the merge
=6556
2023-03-14 09:09:38 +01:00
3d-gussner
ce1c059ade
update pot and po files
2023-03-14 09:04:07 +01:00
3d-gussner
e951a106d6
Messages fit to pages
2023-03-14 08:56:46 +01:00
3d-gussner
3db8233e4d
Consistant wording `Tuit`
2023-03-14 08:32:35 +01:00
3d-gussner
8604c93ccc
Shorten messages as users will contact support anyway
2023-03-14 08:32:16 +01:00
3d-gussner
4c5948d048
Update Solvak translation
...
Thanks to @ingbrzy
2023-03-14 08:32:01 +01:00
3d-gussner
a5146bc2e3
Fix 2 Swedish
2023-03-14 08:31:46 +01:00
3d-gussner
b2cf8fb874
Fix Swedish
...
Thanks @Painkiller56 for review
2023-03-14 08:31:34 +01:00
3d-gussner
616cf61583
Revert
2023-03-14 08:31:21 +01:00
3d-gussner
0cd807faf1
Fix Firmware_cs.po
2023-03-14 08:30:55 +01:00
3d-gussner
79a2bbf86b
Translate missing messages part y
2023-03-14 08:30:41 +01:00
3d-gussner
5582fbf71e
Translate missing messages part x
2023-03-14 08:30:27 +01:00
3d-gussner
22e70faa71
Remove `MMU2` and `MMU unit` messages
...
Saves 26byte of flash
Saves -368 byte in trasnlations
2023-03-14 08:30:15 +01:00
3d-gussner
7676df88a4
Rename forgotten `MMU2` message to `MMU`
2023-03-14 08:30:03 +01:00
3d-gussner
61f89246e8
Fix build too long translation
2023-03-14 08:27:45 +01:00
3d-gussner
588985b7f1
more missing translations
2023-03-14 08:27:25 +01:00
3d-gussner
235c4ae943
Do not `MSG_BTN_MORE` translate
2023-03-14 08:26:39 +01:00
3d-gussner
b9a20d0678
Update translations part 2
2023-03-14 08:25:44 +01:00
3d-gussner
97a969c495
Add missing translations
...
Part 1
2023-03-14 08:25:22 +01:00
3d-gussner
9721a87ef2
Raname `MMU2` message to `MMU` as everywhere
2023-03-14 08:24:50 +01:00
3d-gussner
03778226ca
Remove `Select Extruder:` message
...
Post fix PR4064 for update.po*.py scripts
2023-03-14 08:24:12 +01:00
3d-gussner
93598ef00d
Change some messages to be max three rows instead of two
...
Yes|No are now located at the 4th row and so messages can
use three rows. This should allow improvement in some translations.
2023-03-14 08:23:40 +01:00
3d-gussner
1ea85f0453
Shorten translations
2023-03-14 08:21:48 +01:00
Guðni Már Gilbert
ebf94c572f
PFW-1504 Minor optimisation
...
Change in memory:
Flash: -4 bytes
SRAM: 0 bytes
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
42878341af
PFW-1504 More correct solution to the pixel count issue
...
The fact that the relationship between
machine position and pixel index is not linear
means we cannot simply rely on comparing
the previous position to the next machine position. i.e derivative of E_AXIS
Because around the max amplitude of the triangle wave
the slope will suddenly change sign and will create a deadzone
which has width 2*mm_per_pixel.
For MMU2S this is ~10mm (or two pixels).
Instead we should split the moves.
And only plan the 2nd move once we're
at the top of the triangle wave. That way we don't really care about the position delta.
Now we just calculate the current y(x)
position relative to current position and divide by mm_per_pixel.
If there is a delta measured with unit 'pixel' then that means
its time to render the next pixel.
This solution seems to work well so far on my end.
Change in memory:
Flash: +2 bytes
SRAM: 0 bytes
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
b5e323e67c
PFW-1504 rename length_step_mm to mm_per_pixel
...
Its more descriptive
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
9865d4a38a
PFW-1504 Add precision error
...
This fixes an issue where sometimes
not all 20 pixels are rendered.
It is better to render 1 too many pixels (sometimes), rather than rendering too few.
Change in memory:
Flash: +18 bytes
SRAM: 0 bytes
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
f2157c6f1d
Fixup
...
We're always setting the cursor position when rendering now
Saves 8 bytes of flash
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
c518bfdb73
PFW-1504 Set cursor position each time to be safe
...
Change in memory:
Flash: +18 bytes
SRAM: 0 bytes
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
59e1ac0396
PFW-1504 implement stepper_get_machine_position_E_mm()
...
This function should be used when reading the current machine
position while a move is ongoing
No change in memory
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
690d83a94a
fixup
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
9145c8f59f
PFW-1504 too much?
...
I'm not happy with the current solution, I think we can improve it
by using the fact that this is a triangle wave. Need to think about it.
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
73c76579af
PFW-1504 Add init for progress bar
...
In case we are running a retry, the firmware
should clear the old rendering before
starting on a new one
Change in memory:
Flash: +6 bytes
SRAM: 0 bytes
2023-03-13 06:47:08 +01:00
Guðni Már Gilbert
51f1aa14a5
PFW-1504 Update last position as quickly as possible
...
0.1mm extrusion may happen while updating the LCD
No change in memory
2023-03-13 06:47:08 +01:00