25918 Commits

Author SHA1 Message Date
Martin Šach
532180a23d Add invalid states icons 2024-12-13 12:34:21 +01:00
YuSanka
fdfc5d800a Bed Selector: Added bed ID
+ slice_all_beds_button is switched into generat button_with_icon
2024-12-13 12:34:20 +01:00
Martin Šach
a89a1fe3b9 Add checkbox to bulk export and send to connect
If the checkbox is not checked the path is not exported.
2024-12-13 12:34:20 +01:00
Lukas Matena
763dc015a7 Draw numbers on beds (in the scene) 2024-12-13 12:34:20 +01:00
Martin Šach
0f6c90ab3b Correctly enable bulk export even if some print statuses are invalid 2024-12-13 12:34:20 +01:00
Martin Šach
6001759e6c Add invalid state toolpath_outside and display it accordingly 2024-12-13 12:34:20 +01:00
Martin Šach
5e6a721683 Make thumbnail regeneration a wxEvent
Also call the event when a bed texture is fully loaded.
2024-12-13 12:34:20 +01:00
YuSanka
567a2cdc38 BedSelector: Implemented "Slice all" button with correct centering of the icon on it.
+ Retina specific: Fixed bed_selector_thumbnail()
2024-12-13 12:34:20 +01:00
Martin Šach
b4ab9883c2 Reload even empty preview
When Preview::load_print is called and even if the print
has no layers, call load_gcode_preview to show an
empty bed for print with no layers.
2024-12-13 12:34:20 +01:00
Martin Šach
4348417ca8 Better filenames during bulk export/send
- Pick better default names during bulk export
- Let user change the filenames after picking
  a printer during send to connect
2024-12-13 12:34:20 +01:00
Martin Šach
0dcc654d39 Add multiple beds error states handling
Print can be unslicable for various reasons:
- object partially on bed
- invalid data (e.g. when sequential printing)
- bed is empty

Keep this information for each bed a behave accordingly.
2024-12-13 12:34:20 +01:00
Lukas Matena
da10a4fc8a Merge branch 'dk_multiple_beds_notif' 2024-12-13 10:38:10 +01:00
David Kocik
18b7333344 Hide slicing notification earlier than 15d288ed1b9accc65f3c063a23a1b94b2ba3989c 2024-12-13 10:36:27 +01:00
David Kocik
cdde5e87d7 SPE-2605: Prevent empty slicing notification when switching beds. 2024-12-13 10:36:27 +01:00
YuSanka
b732a5b744 Fixed position of the "Statistics" window and added horizontal scroll-bar to it.
+ Fixed scaling, size and position of the bed selector and notifications, when auto-slicing is on
2024-12-13 10:36:27 +01:00
Martin Šach
37f5bfc2cd Disable SLA autoslicing page
- Also set instances to unprintable for SLA instead
  of removing them from the model
2024-12-13 10:36:27 +01:00
Martin Šach
29da9fcfff Fix multiple minor multiple autoslicing issues
- Add tooltip to slice all button
- Count from 1 when naming beds sent to connect
- Partially improve statistics window
2024-12-13 10:36:27 +01:00
Martin Šach
59e4a5aba6 Fix ui hanging while slicing
- It was caused by improperly setting m_print to fff_print.
2024-12-13 10:36:27 +01:00
Martin Šach
9bdd59afea Fix autoslicing camera and notifications issue
- It was due to improper synchronization of wxEvents
2024-12-13 10:36:27 +01:00
Martin Šach
96da3bd3e3 Fix export all exporting the same gcode 2024-12-13 10:36:27 +01:00
Martin Šach
34242a1932 Fix wipe tower invalidating other beds 2024-12-13 10:36:27 +01:00
Martin Šach
626b49e702 Implement send all to connect 2024-12-13 10:36:27 +01:00
YuSanka
61730aa97a Improved "Slice All" button in bed selector 2024-12-13 10:36:27 +01:00
Martin Šach
fd43fb6e9b Polish BulkExportDialog
- Add duplicate detection to validation
- Add file existance detection to validation
- Remove dependency on PrintToExport
- Remove destructor and use unique_ptr instead
2024-12-13 10:36:27 +01:00
YuSanka
8f7b2b2259 Implemented BulkExportDialog 2024-12-13 10:36:27 +01:00
Martin Šach
ab58ccff60 Add export all functionality backend
- Missing BulkExportDialog
2024-12-13 10:36:27 +01:00
Martin Šach
62f5fafe15 Hide sliced info and action buttons when autoslicing 2024-12-13 10:36:27 +01:00
Martin Šach
dbb12e9537 Autoslicing and aggregated statistics
- Call print apply on all print within update_background_process
- Render multiple bed thumnail only when there is a reason to (by
  requesting extra frame)
- Show status of the slicing process for each bed
- Add aggregated statistics
2024-12-13 10:36:26 +01:00
Lukas Matena
3fb8b71627 SPE-2600: Do not move objects after split (#13661) 2024-12-13 10:35:05 +01:00
enricoturri1966
5934f8d1e7 SPE-2606 - Fixed Camera::set_type() broken with 63ce551 2024-12-13 10:33:08 +01:00
Lukáš Hejl
fc0feed553 SPE-2597: Fix clipping logic for clipping arcs with negative radius.
When we are clipping the arc with a negative radius (we are taking the longer angle here), we have to check if we still need to take the longer angle after clipping.
Otherwise, we must flip the radius sign to take the shorter angle.
2024-12-13 10:29:23 +01:00
Lukas Matena
7345da2fa7 SPE-2513: Trim object names for label object so no limits are violated (#13314) 2024-12-13 10:27:59 +01:00
Lukas Matena
f7a88d4ee1 Merge branch 'lh_different_nozzle_diameters' 2024-12-11 16:38:19 +01:00
Lukáš Hejl
091bf7d8e3 SPE-2491: Allow using supports with different nozzle diameters.
Printing supports with different nozzle diameters is experimental, so the user is notified that it requires caution.
When automatic calculation of extrusion width is used, then the extrusion width of supports is calculated from the nozzle diameter of the smallest extruder.
2024-12-11 16:37:56 +01:00
Lukáš Hejl
a718a7606a SPE-2491: Basic support for printing with different nozzle diameters on tool-changer printers.
Add an option that automatically changes all extrusion widths to zero, which will automatically calculate extrusion width based on nozzle diameters.
Allow using wipe tower with different nozzle diameters and show just warning about it.
Add an option for infill combination that automatically calculates the number of layers based on nozzle diameter.
2024-12-11 16:37:56 +01:00
Lukas Matena
66cf372def SPE-2607: Fixed update of shells after beds are switched (broken in 7527470) 2024-12-11 16:17:20 +01:00
Lukas Matena
cd81c686d1 CLI thumbnails - use thumbnail from 3MF 2024-12-11 16:12:29 +01:00
Lukas Matena
4dabb5ade5 Merge branch 'dk_keyboard' 2024-12-11 16:10:13 +01:00
David Kocik
1848bb9396 SPE-2564: FIx of shortcuts on Mac, including cmd+m and cmd+q 2024-12-11 16:09:59 +01:00
David Kocik
189d728b3f SPE-2564: Add javascript listeners only once/
+ keyboard shortcut fix
2024-12-11 16:09:59 +01:00
David Kocik
cfcb284520 SPE-2564: Use only 1 menu item to reload from disk (on plater) or reload webview
Two items on mac.
2024-12-11 16:09:59 +01:00
David Kocik
882e291daa SPE-2564: Use scripts to add listener to read keyboard shortcuts for reloading webview on Mac.
Add listener for hyperlinks in Printables to be opened in external browser.
2024-12-11 16:09:59 +01:00
Lukas Matena
e1b0826df5 SPE-2591: Fix loading of custom gcodes with multiple beds (#13651) 2024-12-10 11:31:45 +01:00
Lukáš Hejl
4b3da02ec2 SPE-2585: Fix empty layers when multi-material painting and modifiers are used. 2024-12-10 11:28:16 +01:00
Lukas Matena
14be8a9cb8 Merge branch 'ms_fix_arrange_on_load' 2024-12-10 11:26:53 +01:00
Martin Šach
dc46c493a3 Revert fix 10 bed appearing it broke bed selection. 2024-12-10 11:26:39 +01:00
Martin Šach
67748ba395 Do not show more then max_number_of_beds 2024-12-10 11:26:39 +01:00
Martin Šach
372a025356 Conditional arrange after load
Decide if we should rearrange after load based on the version
in 3mf config. Rearrange if the version < 2.9.0-alpha1.
In any other case do not rearrange (even if the version is missing).
2024-12-10 11:26:39 +01:00
Lukas Matena
e5faaca377 Merge branch 'dk_trim_repo_prefix' 2024-12-09 17:33:00 +01:00
YuSanka
70ea6fc977 Tab: Trimmed printer_model prefix for detecting if SLA printer is Prusa printer
+ Added SLAPrint::is_prusa_print()
2024-12-09 17:32:46 +01:00