18921 Commits

Author SHA1 Message Date
tamasmeszaros
609365a79d Minor improvements 2021-06-30 16:46:52 +02:00
bubnikv
21cbcd876a Forward compatibility - config substitutions:
1) Verify whether a value looks like an enum
2) Always report substitution of an enum with a boolean.
2021-06-30 16:19:06 +02:00
bubnikv
bb4d0d22f9 Support for CurWa CW1S firmware updater. 2021-06-30 15:19:56 +02:00
YuSanka
a8defced42 Localization: Updated POT 2021-06-30 15:08:36 +02:00
YuSanka
6a07ba9369 Follow-up 88d5f40b7c - Small fix for text formatting 2021-06-30 14:32:39 +02:00
YuSanka
88d5f40b7c InfoDialog: Improvements
* Fixed localization
* Substitutions are aligned in table
2021-06-30 14:23:34 +02:00
Lukas Matena
1d3b259c0a Fixed incorrect use of _NDEBUG instead of NDEBUG
Some debugging code was compiled even in release mode because of this
2021-06-30 11:59:16 +02:00
rtyr
3e173d1c1e
SL1S Decreased Area Fill 2021-06-30 11:03:56 +02:00
YuSanka
a0328772b9 Follow-up 4652733201 - Fixed Text alignment for Notebook tabs without bitmaps 2021-06-30 10:44:27 +02:00
Lukas Matena
ffc0e36570 Fixed locales switching on macOS 2021-06-30 10:02:51 +02:00
Lukáš Hejl
8da083b702 Fixed compilation on Linux 2021-06-30 08:56:35 +02:00
Vojtech Bubnik
f02821a82d Renamed the "marlinfirmware" firmware flavor to "marlin2". 2021-06-29 17:55:26 +02:00
Vojtech Bubnik
86a42a7454 Ammended the previous commit (SL1 / SL1S in file picker) 2021-06-29 17:43:11 +02:00
Vojtech Bubnik
d6d52e6091 Support for SL1S printer:
Where SL1 is mentioned, mention it as SL1 / SL1S.
Support loading / saving of SL1S files in addition to SL1.
2021-06-29 17:29:21 +02:00
tamasmeszaros
1bf7b0866a Merge branch 'tm_quickfix_slaimport' into stable 2021-06-29 17:08:12 +02:00
Oleksandra Yushchenko
4652733201
MSW specific: Implementation of the own notebook control
* MSW specific: First implementation of the Notebook control to support Dark/Light color modes

* MSW specific: Set mode sizer to the Notebook control.

* MSW specific: Added icons to the Notepad control
 + There is no need to restart application after the changing of the color mode

* Fixed non-MSW build

* Updated color for SavePresetDialog
+ Added wrapper to wxMessageBox for mom-MSW platforms
2021-06-29 16:23:45 +02:00
tamasmeszaros
7c28de0f5a Move show_substitutions_info() call into UI thread 2021-06-29 16:21:56 +02:00
Vojtech Bubnik
28472ee03f Renamed "marlinfirmware" G-code flavor to "marlin2". 2021-06-29 15:48:41 +02:00
Vojtech Bubnik
745aa3536d 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-06-29 15:41:57 +02:00
YuSanka
3cf73f6a06 If configuration update is available, show Dialog with information about it before ConfigWizard is opened 2021-06-29 13:27:03 +02:00
tamasmeszaros
7fce368cca Fix crash after SL1 import 2021-06-29 11:40:50 +02:00
rtyr
cfad1a59be
Updated SL1S bed texture. 2021-06-29 10:48:59 +02:00
rtyr
e11b8135ff
Updated SL1S bed texture. 2021-06-29 10:47:57 +02:00
YuSanka
cdbb432430 MSW specific: Fixed a crash on change of the extruder using keyboard 2021-06-28 19:31:14 +02:00
rtyr
fde3bce38c
Creality 0.1.0. Added Ender-7, Sermoon D1, CR-10 SMART 2021-06-28 19:08:20 +02:00
rtyr
e32cde8054
Creality - bumped up version to 0.1.0 2021-06-28 19:05:30 +02:00
rtyr
b73690a47a
Merge pull request #6659 from pmjdebruijn/creality
Creality New Printers
2021-06-28 18:55:37 +02:00
Pascal de Bruijn
d737142f37 creality.ini: make print profiles inclusive of Sermoon printers 2021-06-28 18:02:00 +02:00
Vojtech Bubnik
2cbe5f760d Fixed missing include 2021-06-28 17:45:13 +02:00
Vojtech Bubnik
226bf929fb 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-06-28 17:26:59 +02:00
YuSanka
14dc4c8afc Substitutions : Implemented InfoDialog 2021-06-28 17:21:41 +02:00
tamasmeszaros
92cf46773a Hotfix for arrange not working for objects with huge translation. 2021-06-28 14:55:15 +02:00
David Kocik
77e25c5022 fix of #6588 - using same copy function for updating presets as for exporting gcode 2021-06-28 13:21:07 +02:00
Vojtech Bubnik
85d4e1c60b Workaround of boost::filesystem::copy_file() incompatibility
on some file systems (eCrypt ...)
Should fix #4716 #6588
2021-06-28 13:18:52 +02:00
David Kocik
b14345012d PrusaLink - cherrypick pick from stable branch
Added to config enums, visible in Physical Printer Dialog and class derived from Octoprint
2021-06-28 12:36:01 +02:00
Lukáš Hejl
f10ec4d21c Merge branch 'lh_multi_material_segmentation_fix' 2021-06-28 08:11:17 +02:00
Lukáš Hejl
cb93c8ce99 Used function smooth_outward in multi-material segmentation to get rid of artifacts arisen after merging multi-volume objects. 2021-06-28 08:09:06 +02:00
Lukáš Hejl
a426093f12 Replaced boost::rtree in multi-material segmentation with much faster ClosestPointInRadiusLookup. 2021-06-28 08:09:06 +02:00
Lukáš Hejl
ce738102c6 Optimized the projection of painted triangles in multi-material segmentation. Added heuristics to skip most of the expensive calculations in cases where it is certain that performing these calculations would be useless. 2021-06-28 08:09:06 +02:00
Lukáš Hejl
48789e5ae1 Added a limitation on the number of usable extruders in the multi-material gizmo. If a printer has more extruders than this limit, a notification about it is shown. 2021-06-28 08:09:06 +02:00
Lukáš Hejl
23b26cb3f3 Fixed the issue where the object wasn't displayed after pressing the ESC key in the multi-material painting gizmo.
key in the multi-material painting gizmo.
Fixed also a similar issue in support and seam gizmos where an object was displayed with the wrong color after pressing the ESC key.
2021-06-28 08:09:06 +02:00
Vojtech Bubnik
e6295bbfe8 Fix of wxWidgets3.0 again wxGetApp not declared in this scope #6655 2021-06-28 07:45:13 +02:00
rtyr
3fbd5c9247
Resources for new Creality printers 2021-06-27 20:30:51 +02:00
rtyr
5743eb9c17
Ender 7 thumbnail
For https://github.com/prusa3d/PrusaSlicer/pull/6659
2021-06-27 20:26:42 +02:00
Pascal de Bruijn
43346a871c creality.ini: beta support for Sermoon D1 2021-06-27 19:20:25 +02:00
Pascal de Bruijn
3cf1f568d0 creality.ini: beta support for Ender-7 2021-06-27 19:07:17 +02:00
Pascal de Bruijn
95c879cf00 creality.ini: beta support for CR-10 SMART 2021-06-27 18:51:41 +02:00
Vojtech Bubnik
211110ce53 Fixing some compiler warnings. 2021-06-27 17:45:41 +02:00
Vojtech Bubnik
e4e8c5df12 As an example of using the enum_bitmask infrastructure for type safe
sets of optional boolean parameters, the cut function "keep upper",
"keep lower" and "flip lower" boolean parameters were converted into
a single type safe enum_bitmask. Such a coding style is certainly
wordier than the original code, but much safer and more readable
than the error prone "boolean, boolean, boolean" function call
parameter list.
2021-06-27 17:36:25 +02:00
Vojtech Bubnik
0f3cabb5d9 Support for forward compatibility of configurations, user and system
config bundles, project files (3MFs, AMFs). When loading these files,
the caller may decide whether to substitute some of the configuration
values the current PrusaSlicer version does not understand with
some reasonable default value, and whether to report it. If substitution
is disabled, an exception is being thrown as before this commit.
If substitution is enabled, list of substitutions is returned by the
API to be presented to the user. This allows us to introduce for example
new firmware flavor key in PrusaSlicer 2.4 while letting PrusaSlicer
2.3.2 to fall back to some default and to report it to the user.

When slicing from command line, substutions are performed by default
and reported into the console, however substitutions may be either
disabled or made silent with the new "config-compatibility" command
line option.

Substitute enums and bools only.  Allow booleans to be parsed as
    true: "1", "enabled", "on" case insensitive
    false: "0", "disabled", "off" case insensitive
This will allow us in the future for example to switch the draft_shield
boolean to an enum with the following values: "disabled" / "enabled" / "limited".

Added "enum_bitmask.hpp" - support for type safe sets of options.
See for example PresetBundle::load_configbundle(...
LoadConfigBundleAttributes flags) for an example of intended usage.

WIP: GUI for reporting the list of config substitutions needs to be
implemented by @YuSanka.
2021-06-27 16:57:05 +02:00