25907 Commits

Author SHA1 Message Date
Martin Šach
ff683ec017 Fix SPE-2638: do not acess opl->colors when mesh_info != Color (#13859) 2025-01-23 12:55:29 +01:00
Yuri D'Elia
c540bda309 Build libslic3r-arrange/wrapper as static (PR#13896 from @wavexx)
Fix build on linux without SLIC3R_STATIC (these are for internal use
only).

- Avoids the need for installation (fixes
  https://github.com/prusa3d/PrusaSlicer/pull/13812)
- Fixes build without PIC (fixes
  https://github.com/prusa3d/PrusaSlicer/pull/13810,
  https://github.com/prusa3d/PrusaSlicer/issues/13694), which would
  still result in broken behavior (duplicate static initialization
  crashing on startup).
2025-01-23 12:53:47 +01:00
Lukáš Hejl
e35766bb89 SPE-2496: Fix calculation of perimeter spacing in the multi-material segmentation when the perimeter extrusion width is set to zero. 2025-01-21 14:43:29 +01:00
Lukáš Hejl
1a91c94c47 SPE-2496: Fix negative extrusion widths produced by Arachne.
Adjustment of bead widths by DistributedBeadingStrategy could sometimes lead to removing one of the beads.
When this happened, the negative bead widths were produced.
2025-01-21 14:43:29 +01:00
Lukáš Hejl
21e549fc9a SPE-2499: Ensure that the first layer of the wipe tower is always entirely filled. 2025-01-21 14:41:54 +01:00
Lukas Matena
6a7318c18a Merge branch 'ys_spe2598_PrusaSlicer' 2025-01-21 14:40:21 +01:00
YuSanka
f51611c83e CLI: Fixed load of the model, when input file isn't project file 2025-01-21 14:40:07 +01:00
YuSanka
c264a216c0 CLI: Fixed a cut function 2025-01-21 14:40:07 +01:00
YuSanka
1f55b1ad79 CLI: Improved read of data
+ implemented CLI_DynamicPrintConfig as DynamicPrintConfig with info about type of cli config and related config_def
 and overridden handle_legacy().
2025-01-21 14:40:07 +01:00
YuSanka
e88ec2d62d ConfigDef & DynamicConfig: Removed CLI-related functions 2025-01-21 14:40:07 +01:00
YuSanka
4be7eeabb4 CLI: Code cleaning and reorganization
+Remove configuration of fhs.hpp on UNIX. Use target_compile_definitions() instead.
2025-01-21 14:40:07 +01:00
YuSanka
253abbfa78 PrusaSlicer completely rework : WIP
* read cli arguments into separate DynamicPrintConfigs
* CLI::run : All separate code blocks are extracted into free functions
2025-01-21 14:40:07 +01:00
YuSanka
42d4f5c775 PrintConfig WIP: Changes related to CLI
* change a little bit a list of options inside CLI*ConfigDefs
* --load and --*-profiles are extracted into separate CLIInputConfigDef
+ removed CLIProfilesSharingConfigDef and DynamicPrintAndCLIConfig as no needed anymore
2025-01-21 14:40:07 +01:00
YuSanka
79ae911140 GUI_InitParams: Set initial values for members
and fixed a typo in opengl_compatibiity_profile
2025-01-21 14:40:07 +01:00
YuSanka
c8c85d3840 PrusaSlicer reorganization: WIP
* Deleted old unused code.
* Functions related to profiles sharing are removed from CLI and used as a free functions now.
* Code blocks related to transformation and actions are extracted into separate free functions.
* Added CLIParams struct to hold current parameters needed to process cli options
2025-01-21 14:40:07 +01:00
Lukas Matena
963f96b31f SPE-2630: Fixed CSG operations on meshes splittable to parts with inward-facing normals (#13786) 2025-01-21 14:38:38 +01:00
Enrico Turri
5938fdb495 SPE-2647 - Fixed wrong Z offset in preview 2025-01-16 14:27:08 +01:00
enricoturri1966
0766ff5339 SPE-2641 - Fixed activation of Measure Gizmo in dependence of selection 2025-01-16 10:03:11 +01:00
Lukáš Hejl
ea0a3b38d4 SPE-2628: Initialize CoolingBuffer with the first printing extruder instead of the first primed extruder when "Prime all printing extruders" is enabled. (#13721) 2025-01-13 14:20:52 +01:00
Lukáš Hejl
17c84d0cb7 SPE-2626: Invalidate the wipe tower when the number of instances changes. (#13779)
WipingExtrusions::mark_wiping_extrusions() precalculates data based on the number of instances when wiping into infill/object is enabled, so we need to invalidate those data when the number of instances changes.
2025-01-13 14:18:07 +01:00
Lukáš Hejl
671d0c9b3d SPE-2615: Fix missing layers and printing in the air on tiny parts with Arachne.
Fix adapted from CuraEngine.

Co-authored-by: ThomasRahm <ThomasRahm@users.noreply.github.com>
Co-authored-by: rburema <r.burema@ultimaker.com>
2025-01-13 14:16:27 +01:00
Lukáš Hejl
f530108a81 SPE-2611: Snap intermediate support layers to nearest object layers.
This prevents the creation of extremely thin layers on the wipe tower, which previously resulted in an excessively large wipe tower in some cases.
2025-01-13 14:15:07 +01:00
Lukas Matena
61618d63aa Merge branch 'ys_spe2523' 2025-01-13 14:13:14 +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
1bc395cac2 handle_legacy_sla() is moved into handle_legacy_composite() 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
Martin Šach
99dac89376 Improve compilation by clang19 2025-01-10 10:59:56 +01:00
Martin Šach
5be84c56b3 Remove invalid usage of std::filesystem in tests.
The std::filesystem::path methods cannot be compiled for
macOS 10.12. It did not manifest because we compile the
tests only on arm where the target is 11.0.
2025-01-06 16:12:06 +01:00
Martin Šach
936e203294 Disable static analysis on master 2025-01-05 17:12:13 +01:00
Martin Šach
0d98d03f15 Do not use zstd even if available
It is breaking builds on mac.
2025-01-03 11:41:10 +01:00
Lukáš Hejl
5c7888b114 Fix crash in multi-material segmentation when there wasn't any input polygon for some layer. version_2.9.0 2024-12-20 12:54:34 +01:00
Lukáš Hejl
4f5bd3ff5b Fix crash in multi-material segmentation when the number of extruders changed. 2024-12-20 12:54:34 +01:00
Jonne Mickelin
541a0fdffe Add explicit include for boost/filesystem/directory.hpp (PR#13796 by @jmickelin, fixes #13795):
This mends the build process on distros with a boost version of 1.85
and above.
2024-12-20 10:38:13 +01:00
Lukas Matena
0ae4b86103 Bumped up version to 2.9.0 2024-12-19 14:15:27 +01:00
Lukas Matena
ceefdebbe2 SPE-2629: Highlight active bed even when its bed model is big 2024-12-19 10:13:12 +01:00
Lukas Matena
33e69527ee Bumped up version to 2.9.0-rc1 version_2.9.0-rc1 2024-12-18 14:36:33 +01:00
Lukas Matena
33889d8e50 Remove sleep in webview dialog (related to SPE-2567) 2024-12-18 14:17:30 +01:00
YuSanka
8d775c7336 Updated icons for supports and Fuzzy skin 2024-12-18 13:19:54 +01:00
YuSanka
a3b14ade50 Localization: RU dictionary is merged with last POT 2024-12-18 12:59:36 +01:00
Andy
dde5e1cab7 Russian translation update
The next russian translation update PrusaSlicer 2.8.1.
The work done to improve translation, corrected errors.
Thanks to Dmitry Sorokin for the overall improvement of the translation, the indicated errors \inaccuracies in terms.

Thx.
2024-12-18 12:59:36 +01:00
Lukas Matena
765ddd7594 Sleep before closing dialog.
+ fix of double loading first url.
2024-12-18 12:57:48 +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
YuSanka
fb2ae2d877 Localization: Updated POT and internal dictionaries (CZ,DE,ES,FR,IT,JA,PL).
+ Community dictionaries are merged with new POT
2024-12-18 11:16:57 +01:00
David Kocik
ecf44ab42f SPE-2622: Moved session mutex inside Account Session methods. Prevents performing request under locked mutex.
Prevents deadlock when UI interacts with Session queue while requests are performing slowly.
2024-12-18 10:57:25 +01:00
Bjoern Kerler
835a4edc13 Update Linux build instructions 2024-12-18 10:55:58 +01:00
Lukas Matena
92e9d0c6aa SPE-2610: Reload volumes outside state after technology is switched 2024-12-18 10:43:25 +01:00
Martin Šach
6dc5fc5a27 Reset all print statuses on load 2024-12-18 10:43:24 +01:00
Martin Šach
5338ee2b43 Fix SPE-2621: Add fallback if no first isntance is found, while the instances are not empty 2024-12-18 09:38:41 +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