Commit Graph

16132 Commits

Author SHA1 Message Date
Lukáš Hejl
e2603b1652 Removed unnecessary backward compatibility with old multi-material painted 3MF from the early stage of development. 2021-07-12 13:37:33 +02:00
Lukáš Hejl
afb13dadc1 Fixed an issue where seed fill selection stuck displayed when the mouse was moving inside multi-material gizmo when the gizmo was overlapping the model. 2021-07-12 13:21:10 +02:00
Lukas Matena
e80ef16a5b Added a missing locale switch needed for custom gcode validation when switching tabs 2021-07-12 09:38:32 +02:00
Super-intelligent Shade of the Color Blue
a6f66631e4 Fix FHS install dirs (#5930)
Install .desktop files into /usr/share/applications.
Install PNGs for the above into /usr/share/icons.
Install udev rules into /lib/udev/rules.d.
2021-07-09 17:44:58 +02:00
Justin Schuh
bdb1956c3e Update build_win.bat (#6688)
* Support relative as well as absolute paths in -d/-destdir
* Improved debuggability (control variables and echo suppression)
* Improved error handling and messages
2021-07-09 15:23:09 +02:00
Vojtech Bubnik
e2969291bb Our friendly GCC does not consider std::pair<int, int> trivially
copiable either, while everybody else does. Shame on GCC.
2021-07-09 14:05:30 +02:00
Vojtech Bubnik
eeaab9f73b GCC does not consider std::pair<std::pair<...>, ...> to be trivially
copiable, thus fixing the unit tests with a custom trivially
copyable type.
2021-07-09 13:58:54 +02:00
Vojtech Bubnik
a3e507a9b9 MutablePriorityQueue: Added is_trivially_copyable test for queue value
types, added [] accessors.
2021-07-09 13:25:41 +02:00
Vojtech Bubnik
0f9b2e20bf 1) Fixed a significant bug in MutablePriorityQueue when setting
the indices allowing rescheduling of values in the middle of the queue.
2) Implemented a cache friendly variant - MutableSkipHeapPriorityQueue
   based on
   https://playfulprogramming.blogspot.com/2015/08/cache-optimizing-priority-queue.html
   https://github.com/rollbear/prio_queue/blob/master/prio_queue.hpp
2021-07-09 12:53:29 +02:00
rtyr
c06330dc67 Initial gCreate bundle
https://github.com/prusa3d/PrusaSlicer/pull/6679
2021-07-09 12:18:08 +02:00
rtyr
8df998990e gCreate resources
https://github.com/prusa3d/PrusaSlicer/pull/6679
2021-07-09 12:15:18 +02:00
lee hakmin
b5baec20bf Korean localization addition update (#6314)
* Add files via upload

* Add files via upload

* Add files via upload
2021-07-08 17:05:15 +02:00
Vojtech Bubnik
2d646bddf1 Updated the Catch2 framework from v2.13.3 to v2.13.6.
Fixes Fix build error with non-const MINSIGSTKSZ. #6518
2021-07-08 16:55:59 +02:00
MaleNurse
580e333c61 Update deps build to correct cmake command for VS2019 (#6666) 2021-07-08 16:48:58 +02:00
tamasmeszaros
7885c35c9e Merge branch 'tm_arrange_notify' 2021-07-08 16:36:49 +02:00
Justin Schuh
59f23f4bcc Add a simple Windows command-line build script (#6674)
Batch file that offers a single command line and sensible defaults to:
initialize the primary Visual Studio build environment, handle directory
creation/cleaning, run cmake, launch msbuild, etc.
2021-07-08 16:18:09 +02:00
jmd73
58545b9e47 Changed "temporary instaled" to "temporarily installed" (#6685) 2021-07-08 15:59:29 +02:00
tamasmeszaros
1f82670fb3 Add notification if some objects are ignored after arrange 2021-07-08 13:35:40 +02:00
Lukas Matena
85b0c0c5b2 Slightly improved 'no first layer extrusions' error message 2021-07-02 17:05:31 +02:00
David Kocik
c1abc38aec fix of infinite loop in notification lines calulating #6583 2021-07-02 15:13:03 +02:00
rtyr
6b2aa8a617 Decreased Area Fill (SL1S). 2021-07-01 16:37:18 +02:00
Lukas Matena
cea3fff0df 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
YuSanka
e96d87bc6d Follow-up 4652733201 - Fixed Text alignment for Notebook tabs without bitmaps 2021-06-30 10:44:27 +02:00
Lukas Matena
a7e1797746 Fixed locales switching on macOS 2021-06-30 10:02:51 +02:00
Lukáš Hejl
6d0287874d Fixed compilation on Linux 2021-06-30 08:56:35 +02:00
Vojtech Bubnik
f944596e62 Renamed the "marlinfirmware" firmware flavor to "marlin2". 2021-06-29 17:55:26 +02:00
Oleksandra Yushchenko
a41a214584 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
c90c350526 Fix crash after SL1 import 2021-06-29 11:40:50 +02:00
rtyr
5968ab141f Updated SL1S bed texture. 2021-06-29 10:47:57 +02:00
rtyr
137b53cfde Creality - bumped up version to 0.1.0 2021-06-28 19:05:30 +02:00
rtyr
babc771cfc Merge pull request #6659 from pmjdebruijn/creality
Creality New Printers
2021-06-28 18:55:37 +02:00
Pascal de Bruijn
76177ceb6b creality.ini: make print profiles inclusive of Sermoon printers 2021-06-28 18:02:00 +02:00
tamasmeszaros
5bdef2d29f Hotfix for arrange not working for objects with huge translation. 2021-06-28 14:55:15 +02:00
David Kocik
d150f7fb46 fix of #6588 - using same copy function for updating presets as for exporting gcode 2021-06-28 13:21:07 +02:00
Vojtech Bubnik
40dbfef7df 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
5161cfdace 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
72e04f1716 Merge branch 'lh_multi_material_segmentation_fix' 2021-06-28 08:11:17 +02:00
Lukáš Hejl
309dc55456 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
2f2d9b034e Replaced boost::rtree in multi-material segmentation with much faster ClosestPointInRadiusLookup. 2021-06-28 08:09:06 +02:00
Lukáš Hejl
ae27f0d853 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
a0c0a64508 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
f33310871c 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
6df900b735 Fix of wxWidgets3.0 again wxGetApp not declared in this scope #6655 2021-06-28 07:45:13 +02:00
rtyr
88f570312c Ender 7 thumbnail
For https://github.com/prusa3d/PrusaSlicer/pull/6659
2021-06-27 20:26:42 +02:00
Pascal de Bruijn
52d627a851 creality.ini: beta support for Sermoon D1 2021-06-27 19:20:25 +02:00
Pascal de Bruijn
1652fe3375 creality.ini: beta support for Ender-7 2021-06-27 19:07:17 +02:00
Pascal de Bruijn
e6b8404a04 creality.ini: beta support for CR-10 SMART 2021-06-27 18:51:41 +02:00
Vojtech Bubnik
dc005a2933 Fixing some compiler warnings. 2021-06-27 17:45:41 +02:00
Vojtech Bubnik
05ccafeeb5 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
c5304750d9 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