Vojtech Bubnik
fb9d537b58
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-03-15 10:36:22 +01:00
Vojtech Bubnik
ba5e8860cb
Fixing some compilation warnings
2021-03-15 10:36:03 +01:00
Oleksandra Yushchenko
e002f0066f
Ys code refactoring ( #6227 )
...
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.
Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
(Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash
* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected
* Fixed OSX build
* Added menu item "Split to Objects" for multipart objects
+ Fixed bug: Add 2 parts,
Add some settings for one part
Delete part without settings => Single part object without settings, but settings are applied for the object.
+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
Vojtech Bubnik
95c5763b83
Fixed typo in previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
932336612c
Full screen toggle
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
75ad7f262e
Linux with precompiled headers wants Config.hpp header in PrintConfig.cpp
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
33b63b35a2
Added detection of Microsoft WSL/WSL2 Linux flavors.
...
Added tracing of the platform detection.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2c76c42baa
Linux/OSX don't like an "BSD" symbol?
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
8b4b6afd7b
Fix of previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
a9c3d270e6
ConfigOptions: GUI type as enum, not string.
...
Fixing compilation error in the new Platform code.
Fixing one issue in FDM support after splitting the top/bottom
interface layers.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
051ba0e6f4
New files missing from the previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
ca8cf0a9f1
Detecting platform, namely reading /proc/version to detect Chromium OS.
...
Disabling Eject on Chromium, detecting removable media the Chromium way.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2b19708720
Further ChromeOS support: Detect removable media mounted through ChromeOS
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
9c80c6a4af
Disable multi-sampling with virgl (VirtualGL) on Linux.
...
Namely, on ChromeOS virgl flips red/blue channels at least on some computers with multi-sampling enabled.
It seems it is sufficient to disable multi-sampling after the OpenGL context is created.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2494a8f384
Allowing ints with open enums in combo boxes.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
73b88e6ce0
Splitting FDM support gap to top / bottom, introducing
...
support_material_bottom_contact_distance
Fixing Crash in support generation after fcb714c
(repro attached) #6195
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
f3f10ff002
Follow up on https://github.com/prusa3d/PrusaSlicer/pull/5219#issuecomment-794515454
...
Initializing random generator in PlacholderParser from system clock.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
00db3dc419
WIP: Splitting the number of top / bottom support interface layers.
...
If the new support_material_bottom_interface_layers is left at default -1,
then support_material_interface_layers is used for both top and bottom
interface layers.
If support_material_interface_layers == 0, then neither top nor bottom
interface layers are being extruded.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
adcbe4347c
Fixed unit tests.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
f01f02154c
Reworked the "new" bridging to respect the bridge_flow_ratio
...
by maintaining extrusion spacing, but modifying the extrusion width
and / or height.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
8e27e355c2
Fixing unit tests.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
ceea9de8b8
WIP: Refactored bridging flow from normal flow, new config value
...
'thick_bridges' to switch between the Slic3r vs. S3D/Cura/Ideamaker
way of printing 1st object layer over supports.
Simplified the PresetHints.
2021-03-15 09:55:56 +01:00
YuSanka
1569dad5de
Auto color change: Fixed show/hide for the notification.
2021-03-15 09:54:24 +01:00
David Kocik
ffb13767f4
typo correction
2021-03-14 18:35:36 +01:00
David Kocik
972dbe238f
preventing hidden notification to show when updated and close them correctly.
2021-03-14 18:01:10 +01:00
YuSanka
5f6253390f
Implemented suggestion of the auto color change, if model looks like sign
2021-03-12 16:35:07 +01:00
Lukas Matena
c18ad5f9d6
Added a missing include (gcc)
...
Removed several includes, hopefully they're not needed on any other platform.
2021-03-12 11:31:05 +01:00
David Kocik
98b5397245
Merge branch 'dk_notifications'
2021-03-12 10:32:46 +01:00
David Kocik
15765eb99b
Commented Print host upload notification until its tested
2021-03-12 10:32:26 +01:00
David Kocik
62c2095fe8
Print host upload notification with more info and cancel button
2021-03-12 10:32:26 +01:00
David Kocik
44bfb914ab
progress bar notification - percentage text
2021-03-12 10:32:26 +01:00
David Kocik
6716492efa
Printhost upload progress bar notification
2021-03-12 10:32:26 +01:00
David Kocik
bf032524eb
notifications - minor changes in logic
2021-03-12 10:32:26 +01:00
David Kocik
6e325ee322
cleanup
2021-03-12 10:32:26 +01:00
David Kocik
bad12b5683
cleanup
2021-03-12 10:32:26 +01:00
David Kocik
80f0d305c1
request frame change in notification
2021-03-12 10:32:26 +01:00
David Kocik
32dd1f6e7c
notification time correction
2021-03-12 10:32:26 +01:00
David Kocik
c41df487bb
Notifications management and rendering refactoring.
...
With warning notification Model out of bed reworked to not show after dismiss.
2021-03-12 10:32:26 +01:00
Lukáš Hejl
08a826d237
Added a missing includes
2021-03-12 10:30:06 +01:00
David Kocik
4834c58545
Merge branch 'dk_printhost'
2021-03-12 09:17:18 +01:00
David Kocik
58733e6807
print host upload queue dialog - precision in size column
2021-03-11 16:32:20 +01:00
David Kocik
b8adfbda66
saving size and position of print host queue dialog, added size column, sorting
2021-03-11 13:36:36 +01:00
tamasmeszaros
913152d609
Merge branch 'tm_disable_wxmediactrl'
2021-03-10 23:24:09 +01:00
tamasmeszaros
158413f4c4
Disable wxMediaCtrl in wxWidgets build
...
We don't need it. Building on Linux causes problems with gstreamer.
fixes #5815 , #6160
2021-03-09 12:37:17 +01:00
tamasmeszaros
6d11c50ba5
Merge branch 'tm_remove_inside_triangles'
2021-03-08 17:48:15 +01:00
tamasmeszaros
3c2d0b7c6e
Tiny cosmetics
2021-03-08 17:38:10 +01:00
tamasmeszaros
33d6655f26
Clean up hollowing test
...
Needs rethinking anyway
2021-03-08 17:38:10 +01:00
tamasmeszaros
a62262666a
Exclude triangles of original interior mesh and drillholes from trimming
2021-03-08 17:38:10 +01:00
tamasmeszaros
fbc758642b
Fix crash when the interior is corrupted
2021-03-08 17:38:10 +01:00
tamasmeszaros
4374716bfb
Triangle trimming should handle drilled meshes separately
2021-03-08 17:38:10 +01:00