Commit Graph

8562 Commits

Author SHA1 Message Date
9c9aaeeaa4 Add private member prefix m_ 2021-08-17 08:58:45 +02:00
89caa3a023 Merge branch 'tm_rotfinder_fixes' 2021-08-16 16:43:08 +02:00
b5f7fd8793 Extend tooltip texts 2021-08-16 16:42:56 +02:00
faeef15a4d Add tooltips for combo items in rotation optimization dialog 2021-08-16 16:03:20 +02:00
3d2f9a7750 fix position of window 2021-08-16 15:30:33 +02:00
e5ecf8e1fc Fix: Do not close dialog after preview 2021-08-16 13:06:51 +02:00
6b14914dd4 SLA supports: ask about saving changes when Esc is pressed 2021-08-16 13:05:31 +02:00
2b4005d1f5 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-16 11:56:56 +02:00
6e5bf6486a Merge branch 'fs_QuadricEdgeCollapse' of https://github.com/prusa3d/PrusaSlicer into fs_QuadricEdgeCollapse 2021-08-16 11:55:43 +02:00
bc2a61719a Add check of neighbors
Add store triangle for debug purpose
2021-08-16 11:53:37 +02:00
c08cdf5605 Make the input mesh transformation consistent.
Also add some comments
2021-08-16 11:29:48 +02:00
c286a0fcca Rotfinder fixes wip 2021-08-16 11:29:22 +02:00
7053d6ab91 Fixes after merging 2.3.2/2.3.3 changes from stable to master. 2021-08-13 14:53:13 +02:00
264e10400a Fix of 2.3.2 regression in configuration layer (reading of nullable
boolean vectors)
Fix of Filament overrides on saved 3MF MMU profiles are broken #6711
2021-08-13 13:53:09 +02:00
72b04aa334 Changed one line in CZ dictionary for the Configuration Substitutions
dialog.
Fixed one bug in the preceding commit.
2021-08-13 13:52:49 +02:00
7cf37b0c70 Improved error handling when installing configuration updates:
In case the configuration snapshot cannot be taken before installing
configuration updates (because the current configuration state
is invalid), ask user whether to continue or abort.
2021-08-13 13:51:29 +02:00
251e01c908 Adjusted wording of the config substitution dialog. 2021-08-13 13:50:08 +02:00
49c1a4ddbb Improvement in the subtitution information dialog. 2021-08-13 13:49:43 +02:00
43ba62b481 Workaround for OSX file picker. Saving SL1S files did not work, the file
picker replaced the SL1S extension with SL1.
2021-08-13 13:48:55 +02:00
0fef5938e1 Forward compatibility, parameter susbtitution: Substitute vector values
(extruder specific) with their default, if the default
is a single value vector.
Show the "Physical Printers" label in the substitution window.
2021-08-13 13:48:28 +02:00
9edf910167 Configuration compatibility - implemented substitution and reporting for vectors
of bools (including the nullable bools).
2021-08-13 13:48:12 +02:00
dad19f3b5b Fix of the previous commit. 2021-08-13 13:47:07 +02:00
72bc8550fe Fixed typo in SL1S file mask template. 2021-08-13 13:46:59 +02:00
6e6bce1ac3 Forward compatibility - config substitutions:
1) Verify whether a value looks like an enum
2) Always report substitution of an enum with a boolean.
2021-08-13 13:43:33 +02:00
ea4155423b Support for CurWa CW1S firmware updater. 2021-08-13 13:41:49 +02:00
75224e1b3e Follow-up 88d5f40b7c - Small fix for text formatting 2021-08-13 13:41:09 +02:00
5434589937 MSW specific: Fixed a crash on change of the extruder using keyboard 2021-08-13 13:40:55 +02:00
6047c41fe7 InfoDialog: Improvements
* Fixed localization
* Substitutions are aligned in table
2021-08-13 13:40:47 +02:00
e455b5817e Ammended the previous commit (SL1 / SL1S in file picker) 2021-08-13 13:40:25 +02:00
498db5cb01 Support for SL1S printer:
Where SL1 is mentioned, mention it as SL1 / SL1S.
Support loading / saving of SL1S files in addition to SL1.
2021-08-13 13:40:13 +02:00
8eea7d4724 Move show_substitutions_info() call into UI thread 2021-08-13 13:39:33 +02:00
c7d91198b8 Improved error reporting when importing various configuration files:
1) Slic3r::RuntimeError was replaced with ConfigurationError,
   all exceptions thrown by the configuration layer are derived
   from ConfigurationError.
2) When parsing configuration files, ConfigurationError is catched and
   rethrown extended with the file name being parsed.
2021-08-13 13:37:24 +02:00
5563f84960 If configuration update is available, show Dialog with information about it before ConfigWizard is opened 2021-08-13 13:36:08 +02:00
dd2b454c7a Fixed missing include 2021-08-13 13:35:06 +02:00
3b2a7d1b05 Fixed loading of system presets with incompatible system profile keys
before the "reconfigure" dialog is shown.

Replaced boost::filesystem::copy_file() with Slic3r::copy_file()
in config snapshot loading code.
2021-08-13 13:34:40 +02:00
dad7e8cf9b Substitutions : Implemented InfoDialog 2021-08-13 13:30:50 +02:00
32f579010a Added a missing include (GCC 11.1) 2021-08-13 12:00:55 +02:00
c5f3f9493a AutoColorChange detection: Small improvements - at least 25% (instead of 30%) of object's height have to be a solid 2021-08-13 11:00:30 +02:00
dc6fbde291 Fixed reading of configuration from 3MF broken
with e947a29fc8
2021-08-13 10:52:54 +02:00
2883c0eb28 Notifications: MMU segmentation icon 2021-08-12 15:29:33 +02:00
94c05f1dd9 Follow-up to 7c01ddf996
1) Starting with this commit, configuration block exported into G-code
   is delimited by "; prusaslicer_config = begin" and "; prusaslicer_config = end".
   These delimiters look like any other key / value configuration pairs
   on purpose to be compatible with older PrusaSlicer config parsing from G-code.
2) Config parser from G-code newly searches for "; generated by ..."
   comment over the complete G-code, thus it is compatible with various
   post processing scripts extending the G-code at the start.
3) Config parser from G-code parses PrusaSlicer version from
   the "; generated by PrusaSlicer ...." header and if the G-code was
   generated by PrusaSlicer 2.4.0-alpha0 and newer, it expects that
   the G-code already contains the "; prusaslicer_config = begin / end"
   tags and it relies on these tags to extract configuration.
4) A new simple and robust parser was written for reading project configuration
   from 3MF / AMF, while a heuristic parser to read config from G-code located
   at the end of the G-code file was used before.
2021-08-12 15:27:46 +02:00
2506a53b1a ObjectList: Update InfoItems after set some instance as a separate object 2021-08-12 15:23:31 +02:00
dd1be104e6 ObjectList: Added separate icons for InfoItems 2021-08-12 15:02:24 +02:00
c713ecf824 Add painting gizmos shortcuts into keyboard shortcuts dialog 2021-08-12 13:38:53 +02:00
a077cf498f Moved 'brim_offset' option into Advanced mode (same as EFC) 2021-08-12 13:38:53 +02:00
856d661e32 Delete inline in some functions 2021-08-12 11:30:25 +02:00
7bd4e9c77d Revert of the 84c6199015
Note: When ProgressDialog has no-nullptr parent, then PrusaSlicer doesn't lose the focus at the end of model fixing,
but start to flickering during fixing of the big models.
2021-08-12 12:51:27 +02:00
2282973a7a DoubleSlider: Init extruder sequence in respect to the extruders count 2021-08-12 12:40:14 +02:00
7ee9e5cb53 warning fix 2021-08-12 08:49:38 +02:00
21c1ddce1d narrow mr. clippy logo 2021-08-12 08:46:59 +02:00