2163 Commits

Author SHA1 Message Date
Lukas Matena
c9b3f29c5b Added progress bar and cancellation into UI, seq arrange is now executed from the main toolbar 2025-02-17 11:03:14 +01:00
YuSanka
254776dd6c Fixed some of detected memory leaks 2025-02-06 13:18:46 +01:00
YuSanka
ee98a1c31b wxWidgest are updated for v.3.2.6
+ Fixed compilation issues
+ Disable libpng compilation on linux
2025-02-05 16:45:55 +01:00
YuSanka
23a5e2ad81 Follow-up 61618d63aa - Fixed SPE-2649 : "Reacalculate the dimension of object from inches to mimimeters (The object is too small) 2025-02-03 10:51:16 +01:00
Martin Šach
a9cdf2171a Fix SPE-2658: Update status to finished if possible on objects changed 2025-01-29 12:40:11 +01:00
YuSanka
0494021cc3 FileReader: Use separate functions for loading of a model from any file and for loading of all information (model, config and config substitutions) from the 3mf.
+ Added localization markers for errors

Plater: load_files() : Check for type_zip_amf and prusa is removed from conditions (it doesn't used as project's extensions anymore).

+ ModelProcessing: Some functions, like delete zero object, detection if model need to be converted from other units or looks like multipart are moved inside load_model() and theirs return values are written in load statistics, which have to be used by UI later.
2025-01-13 14:13:04 +01:00
YuSanka
c5b525ba3f Functions, related to load information from files are extracted from the Model into FileReader
+ GalleryDialog:: load_files() is renamed to add_files_to_custom_dir()
2025-01-13 14:13:04 +01:00
YuSanka
b834bebac1 Functions, related to processing of the model after are extracted from the Model into ModelProcessing.
+ Split/merge functions are moved into ModelProcessing too.
2025-01-13 14:13:04 +01:00
YuSanka
7a01f7b26d Fixed a crash on language switch, when slicing is in a progress
+ Commented assert in update_background_process()
2024-12-18 11:16:57 +01:00
Martin Šach
6dc5fc5a27 Reset all print statuses on load 2024-12-18 10:43:24 +01:00
Martin Šach
7258af65ee Fix SPE-2625: Reset all print statuses when a technology is changed. 2024-12-18 09:35:56 +01:00
Lukas Matena
229d425dd3 Some fixes in phrases 2024-12-17 22:23:38 +01:00
Martin Sach
ac2ef88200 Force update after load 2024-12-17 12:57:11 +01:00
Martin Sach
b5ef21947b SPE-2618 Remove redundant wxWindowsUpdateLocker
It was causing unnecessary re-render in each call to show
bulk slicing buttons.
2024-12-16 13:11:57 +01:00
Lukas Matena
a62e772cfd Kill autocenter 2024-12-13 14:09:20 +01:00
Martin Šach
3896ddc40c Fix error checking during bulk export
There is no reason to check for file extension nor special characters
when a directory is picked.
2024-12-13 12:34:21 +01:00
YuSanka
7cd7af5730 BulkExportDialog: Show not valid beds too 2024-12-13 12:34:21 +01:00
Martin Šach
cbd85c7528 Fix detection of instance on a bed boundary 2024-12-13 12:34:21 +01:00
Martin Šach
642d0529fb Fix bulk output indexing and path to print association 2024-12-13 12:34:21 +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
Martin Šach
0f6c90ab3b Correctly enable bulk export even if some print statuses are invalid 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
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
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
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
96da3bd3e3 Fix export all exporting the same gcode 2024-12-13 10:36:27 +01:00
Martin Šach
626b49e702 Implement send all to connect 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
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
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
David Kocik
de32b37a84 SPE-2544: Refactoring of trimming repo prefix 2024-12-09 17:32:46 +01:00
Lukas Matena
5a882fd6c4 Make sure that Plater::p pointer is valid in priv constructor 2024-12-09 16:24:59 +01:00
Martin Šach
bb8cca8999 Fix arrange after cut (SPE-2583, #13637)
The cut arrange updated the Plater without the new objects
being on any of the beds. This led to mutliple beds reducing
the bed count and activating a previous bed. This in turn
ment that get_active_bed was temporarily wrong and the subsequent
arrange placed items on a wrong bed.

Improve this by explictly setting which bed is going to be
used for the arrange and than restoring the originally
active bed.

If there is just one instance, simply choose the bed the
instance is on. If there are more instances, use the active
bed for arrange.
2024-12-06 10:59:28 +01:00
enricoturri1966
75274707c9 SPE-2595 - Fixed update of shells in preview 2024-12-06 10:56:13 +01:00
Lukas Matena
c7d9e55808 SPE-2587: Hotfix of slow loading of binary gcodes in gcodeviewer:
caused by calling render way too often directly from the update function
the fix is nothing nice, but it will have to do for now
2024-12-02 12:08:36 +01:00
Lukas Matena
1a608da2ae Multiple beds: Fixed behaviour with empty beds and non-printable instances 2024-11-20 16:04:16 +01:00
Lukas Matena
ec87263ce4 Multiple beds - updates, partially outside = on the bed 2024-11-20 16:04:15 +01:00
Lukas Matena
08eb318780 Multiple beds in SLA 2024-11-20 16:04:15 +01:00
YuSanka
324763a90e Nicer bed selector dialog 2024-11-20 16:04:15 +01:00