Commit Graph

15097 Commits

Author SHA1 Message Date
Vojtech Bubnik
1a249edc7a Adjusted wording of the config substitution dialog. 2021-07-02 08:57:36 +02:00
bubnikv
0d03cc4cbe Bumped up version to 2.3.2-beta.
Changed profile path to Prusa-beta.
2021-07-01 16:52:32 +02:00
bubnikv
32ee4bb523 Updated localization file. 2021-07-01 16:51:15 +02:00
bubnikv
0a2a86dea4 Improvement in the subtitution information dialog. 2021-07-01 16:48:38 +02:00
bubnikv
9c7743c1c7 Workaround for OSX file picker. Saving SL1S files did not work, the file
picker replaced the SL1S extension with SL1.
2021-07-01 16:25:17 +02:00
bubnikv
3782d6a864 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-07-01 08:44:02 +02:00
bubnikv
e7a6323470 Configuration compatibility - implemented substitution and reporting for vectors
of bools (including the nullable bools).
2021-06-30 18:55:43 +02:00
bubnikv
ab5e02f20c Fix of the previous commit. 2021-06-30 16:52:55 +02:00
bubnikv
164b0be064 Fixed typo in SL1S file mask template. 2021-06-30 16:52:55 +02:00
YuSanka
fea3d9f383 Localization : update for Ukr
fixed some phrases
2021-06-30 16:49:44 +02:00
David Kocik
26e497b59f Merge branch 'tm_dk_codereview' into stable 2021-06-30 16:47:22 +02:00
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
rtyr
3e173d1c1e
SL1S Decreased Area Fill 2021-06-30 11:03:56 +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
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
rtyr
cfad1a59be
Updated SL1S bed texture. 2021-06-29 10:48:59 +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
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
rtyr
3fbd5c9247
Resources for new Creality printers 2021-06-27 20:30:51 +02:00
Vojtech Bubnik
84b28a25e8 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.

As a preparation for PrusaSlicer 2.4.0, the new firmware_flavor
"marlinfirmware" (signifying Marlin 2.0 and newer) that is not
supported by 2.3.2 yet will default to "marlin" (signifying legacy
Marlin).

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:14:16 +02:00
rtyr
a53174a2fd
Removed Peopoly Clear Tough
Same as Peopoly Neo Clear.
2021-06-25 21:51:51 +02:00
Vojtech Bubnik
3c24876362 Because of a crash in PrusaSlicer 2.3.0/2.3.1 when showing an update
notification with some locales, we don't want PrusaSlicer 2.3.0/2.3.1
to show this notification. On the other hand, we would like PrusaSlicer
2.3.2 to show an update notification of the upcoming PrusaSlicer 2.4.0.
Thus we will let PrusaSlicer 2.3.2 and couple of follow-up versions
to download the version number from an alternate file until
the PrusaSlicer 2.3.0/2.3.1 are phased out, then we will revert to
the original name.
2021-06-25 17:53:31 +02:00
Vojtech Bubnik
19d38f8498 Follow-up to
Cherry-pick of 2e55898d78
    Fix of an extremely slow bridging calculation, caused by an extremely
    slow bridged area detection function, of which the results were never used.
    Fixes "slicing fails or takes too long #5974"
2021-06-25 17:24:34 +02:00
Vojtech Bubnik
a4ad186dc3 Experimental: Switching all solid infills from Rectilinear to Monotonic
for regions with Monotonic top infill type.
This should likely implement Monotonic of last layer before ironing #4939
2021-06-25 17:13:49 +02:00
Vojtech Bubnik
e06ec9d4bf Windows specific: Transactional saving of PrusaSlicer.ini to ensure
that configuration could be recovered in the case PrusaSlicer.ini
is corrupted during saving. The config is first written into a temp file
marked with a MD5 checksum. Once the file is saved, it is
copied to a backup file first, then moved to PrusaSlicer.ini.

When loading PrusaSlicer.ini fails, the backup file will be loaded
instead, however only if its MD5 checksum is valid.

The following "Fixes" comments are for github triggers. We implemented
a workaround, not a fix, we don't actually know how the data corruption
happens and why. Most likely the "Move file" Windows API is not atomic
and if PrusaSlicer crashes on another thread while moving the file,
PrusaSlicer.ini will only be partially saved, with the rest of the file
filled with nulls. We did not "fix" the issue, we just hope that our
workaround will help in majority of cases.

Fixes prusaslicer wont open 2.3 windows 10 #5812
Fixes Won't Open - Windows 10 #4915
Fixes PrusaSlicer Crashes upon opening with "'=' character not found in
line error" #2438
Fixes Fails to open on blank slic3r.ini %user%\AppData\Roaming\Slic3rPE
2021-06-25 17:04:52 +02:00
Vojtech Bubnik
2359d8f2eb Fix after cherry-picking df559decd9 2021-06-25 16:38:42 +02:00
Vojtech Bubnik
df559decd9 After issuing the color change custom G-code, which is most likely
just M600, reset the internal retract counter, so that a retract
will happen after the firmware returns from M600 to the initial position.

Fixes "Blobs on print after manual color change #6362"
2021-06-25 14:44:59 +02:00
Vojtech Bubnik
5b90033b31 Cherry-pick of 2e55898d78
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974"
2021-06-25 14:44:09 +02:00
rtyr
138508ddcf
Updated SL1S bed model. 2021-06-23 17:25:35 +02:00
rtyr
db889deea4
Updated SL1S bed model. 2021-06-23 17:24:23 +02:00
rtyr
0891203e9c
Removed Peopoly White Tough. Updated tilt times. 2021-06-23 16:21:01 +02:00
rtyr
b95553ffe1
Added new SL1S resin profiles. 2021-06-22 11:19:23 +02:00
rtyr
d96b39150f
Added new AzteQ Industrial printer, added DeltiQ 2 profiles for 0.6mm nozzle, added material ASA 275 (Spectrum), some minor setting improvements 2021-06-21 17:13:18 +02:00
rtyr
db703321be
1.3.0 Added SL1S profiles. 2021-06-21 17:01:56 +02:00
Vojtech Bubnik
dc81cae219 Bumped up version to 2.3.2-alpha0 2021-06-21 14:11:07 +02:00
Vojtech Bubnik
2a0107467f Fix of Hilbert Curve Infill: Unable to slice, PrusaSlicer not responding. #5771
Fixed by hard limiting the number of iterations of
reorder_by_two_exchanges_with_segment_flipping()
2021-06-21 14:05:46 +02:00
Vojtech Bubnik
9a71d6deb9 Fix of #4654 #5122 #5668 #5811 #5895
Fixing model import of models with nearly degenerate triangles, which
degenerate after transformation (translation or rotation).

There was certainly a bug in PrusaSlicer, however this bug was triggered
mostly by the ASCII STL files generated by OpenSCAD, likely due to insufficient
number of decimal digits when saving an ASCII STL, see
[openscad/openscad] STL export should contain single precision floats (#2651)
2021-06-21 14:03:04 +02:00