Lukáš Hejl
1b3b4c5694
Added missing include (GCC 9.3)
2021-03-22 10:30:49 +01:00
enricoturri1966
b6470c3390
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-22 08:39:44 +01:00
Vojtech Bubnik
4745948b84
Fixed compilation on Linux
2021-03-19 11:35:09 +01:00
YuSanka
4602f40813
Next auto color change improvements
2021-03-19 11:11:46 +01:00
YuSanka
995512f280
Fix of #6232 - Layer preview number scale and print time problem.
...
Problem description:
When "Print Settings -> Multiple Extruders -> No sparse layer" is enabled, then "Smart" Wipe Tower is used for wiping.
As a result, each layer with tool changes is splited for min 3 parts: first tool, wiping, second tool ...
But vertical slider wasn't respect to this case.
2021-03-18 18:53:49 +01:00
YuSanka
eda19a7e56
Fixed a crash after switch from Filament Settings Tab to some another, when "Custom G-code" category is active.
2021-03-18 18:53:49 +01:00
David Kocik
bfd87dc93a
cleanup
2021-03-18 13:21:11 +01:00
David Kocik
7c7c355376
Notification manager - apply_in_preview function
2021-03-18 12:42:42 +01:00
YuSanka
a6cf840540
Auto color change improvements: Show info notification just ones, if there is new print
2021-03-17 17:11:03 +01:00
David Kocik
8c075a878f
warning fix
2021-03-17 15:43:41 +01:00
David Kocik
d2ec2b33f9
missing override keyword
...
missing override keyword
2021-03-17 15:40:59 +01:00
David Kocik
5daaaa2845
Fixed upload notification cancel button
2021-03-16 18:44:12 +01:00
YuSanka
80b9a3c62b
Fix of #6212 - Cannot select "New Project" after deleting models in saved project, continuing overwrites old project
2021-03-16 10:32:15 +01:00
tamasmeszaros
96ac6ff2fa
Fix undrillable hole color and picking
2021-03-16 09:31:03 +01:00
tamasmeszaros
4b9de0398f
Drill holes one by one and display warning of any of them fails
...
Drill with cgal::minus for now
2021-03-16 09:31:03 +01:00
Vojtech Bubnik
d0febbec32
Disable the new Toggle fullscreen menu item on OSX, it adds its own.
2021-03-16 08:54:46 +01:00
Vojtech Bubnik
fc0e2d578f
Checking for removable media on Chrome OS.
2021-03-15 17:42:18 +01:00
Vojtech Bubnik
d695e090ef
Changing the Fullscreen hotkey to Ctrl+Cmd+F for OSX
2021-03-15 17:11:36 +01:00
Vojtech Bubnik
01406fd521
Worked around some quirky Linux file system issues. Namely
...
the Chromebooks share their file system to Linux using the 9p file
system, which does not support setting file ownership. Newly PrusaSlicer
will detect platform and it will not panick if copy_file() cannot set
file ownership after copying. It just logs the incident, and on
chromebooks the loglevel for that incident is "Info", not "Error".
Adjusted the full screen mode to contain menu bar.
Moved Platform.cpp/hpp to libslic3r
2021-03-15 16:19:22 +01:00
David Kocik
84a333e4ed
Fixed progress percentage passed to notification
2021-03-15 16:03:51 +01:00
David Kocik
888f331778
Deleted debug print
2021-03-15 14:01:21 +01:00
David Kocik
645c840e5f
Enabled print host upload notifications
2021-03-15 13:07:54 +01:00
enricoturri1966
db71a6308d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-15 11:27:43 +01:00
enricoturri1966
117a6ace5a
G-code window - Fixed file mapping for gcode files generated by other slicers
2021-03-15 11:27:24 +01:00
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
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
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
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
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
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
06bf02df69
Fix Gizmo preview with hollowed mesh
2021-03-08 17:38:10 +01:00
tamasmeszaros
dd202af8cd
Fix stl export with hollowed mesh
2021-03-08 17:38:10 +01:00
YuSanka
7cb3e729ee
Fixed #6182 - First line custom gcode not aligned left in the tool tip
2021-03-08 14:19:58 +01:00
enricoturri1966
14aca210cb
Tech ENABLE_GCODE_WINDOW_USE_MAPPED_FILE merged into ENABLE_GCODE_WINDOW
2021-03-08 10:20:07 +01:00
Vojtech Bubnik
589d2be442
Fix of Repair with Netfabb does not work on builds after 2.3.0 release (Windows 10) #6193
...
This is more a workaround than a fix: Windows 10 3D model fixing API refuses
to load a zip64 encoded 3MF. We need to get in touch with Microsoft on that
issue, for now the 3MFs generated for the Windows 10 3D model fixing API
will be limited to 4GB. Saving a bigger 3MF will fail.
2021-03-08 09:36:21 +01:00
enricoturri1966
5998ee8f2e
Code cleanup
2021-03-08 09:29:47 +01:00
enricoturri1966
9359d6d3d0
Follow-up of 0472c84525
- Fixed syntax errors
2021-03-08 09:01:15 +01:00
enricoturri1966
8027c94a41
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-08 08:35:49 +01:00
enricoturri1966
0472c84525
G-code window uses file mapping
2021-03-08 08:35:32 +01:00
Lukas Matena
1efa9a06f6
Adjustable wipe tower brim
2021-03-05 16:41:02 +01:00
Lukas Matena
c8fdd837ae
Added a missing include for gcc
2021-03-05 11:27:25 +01:00
enricoturri1966
b6634b2ea0
Added progress dialog for adding parts from files
2021-03-04 15:09:50 +01:00
enricoturri1966
b748f36246
Fixed layout of loading file progress dialog
2021-03-04 13:36:07 +01:00
enricoturri1966
252aa9b229
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-04 13:24:08 +01:00
enricoturri1966
cee4ed9ff2
G-code window optimization: parse g-code lines only when needed
2021-03-04 13:23:24 +01:00
Lukas Matena
70573484c2
Show an error notification when attempting to save 3MF while editing SLA support points
...
The notification disappears when it is no longer valid.
2021-03-04 09:35:41 +01:00
Lukas Matena
abd5a9a46e
Add a notification when custom support enforcers are not used due to supports being off
...
It is now emitted from Print::validate and has a hyperlink to enable supports
2021-03-04 09:35:22 +01:00
enricoturri1966
a820e8c22f
Vertically center text in G-code window
2021-03-04 08:37:21 +01:00
enricoturri1966
da7d7ae11b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-03 09:07:28 +01:00
enricoturri1966
f586bb6f9e
Fit G-code window between preview legend and view toolbar
2021-03-03 09:03:07 +01:00
Enrico Turri
91ffd8d501
Custom G-code validation - Do not veto setting tab switch when invalid g-code is found
2021-03-02 17:00:11 +01:00
YuSanka
28b92215c3
Follow-up 409849d238
:
...
Added check for visibility for all loaded presets.
Added notification about this action.
+ PresetComboBox: Fixed update() function for physical printers, when some of related presets are invisible.
2021-03-02 12:19:49 +01:00
enricoturri1966
2c8f385c7f
1st installment of g-code window in preview
2021-03-02 10:01:06 +01:00
YuSanka
70fc0c232c
Linux specific issue: DiffViewCtrl: Fixed scaling of the columns width
2021-03-01 16:01:53 +01:00
enricoturri1966
908c48ae6a
Follow-up of 86d7e1fb90
-> Fixed update after switching tab after editing custom g-code in settings tabs
2021-03-01 13:03:43 +01:00
Lukas Matena
3f1299c9b7
Fix build against wxWidgets older than 3.1.1
2021-03-01 10:03:49 +01:00
Lukas Matena
b10d064a24
Added an empty category icon for Fuzzy Skin to prevent crashes in ObjectList
...
The icon should later be replaced by a proper one.
2021-02-26 16:08:51 +01:00
enricoturri1966
c9666ea257
#4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek
2021-02-26 14:17:53 +01:00
enricoturri1966
2d52e155a5
Follow-up of 86d7e1fb90
-> Fixed update after editing custom g-code in settings tabs
2021-02-26 13:56:51 +01:00
enricoturri1966
8cb8a24ded
Tech ENABLE_CUSTOMIZABLE_FILES_ASSOCIATION_ON_WIN set as default
2021-02-26 10:18:16 +01:00
enricoturri1966
a3b60c09bc
Tech ENABLE_CTRL_M_ON_WINDOWS set as default
2021-02-25 15:22:12 +01:00
enricoturri1966
4146fd337a
Tech ENABLE_HACK_CLOSING_ON_OSX_10_9_5 set as default
2021-02-25 14:28:53 +01:00
enricoturri1966
8f8217723c
Tech ENABLE_OPENGL_ERROR_LOGGING set as default
2021-02-25 13:38:52 +01:00
YuSanka
21b044b556
Fix of #5152 assert ""HasFlag(0x0020)"" failed in GetSelection(): must be single selection listbox
...
This assert was invoked by list_printer->GetSelection() because of list_printer was created with wxLB_MULTIPLE flag.
2021-02-25 04:03:26 -08:00
YuSanka
89f065b57e
Fix of #5510 : ctrlsub.cpp(231): assert "IsValid(n)" failed in GetClientData(): Invalid index passed to GetClientData()
...
BitmapComboBox: Use virtual OnSelect() on wxEVT_COMBO event
Don't save information about preset combobox type to the evt.SetInt(). This information can be received from BitmapComboBox::get_type() now.
2021-02-25 12:55:28 +01:00
enricoturri1966
be7e2f2ae1
Tech ENABLE_WX_3_1_3_DPI_CHANGED_EVENT set as default
2021-02-25 12:40:42 +01:00
Vojtech Bubnik
6f5bf71f11
Fixing some compiler warnings
2021-02-24 19:53:50 +01:00
Vojtech Bubnik
61a5b43ac3
Fix of Add option to change support interface pattern #1197
...
New config field for switching the support interface pattern between
default (rectilinear for non-soluble interface, concentric for soluble interface),
explicit rectilinear and explicit concentric.
Also the config layer was reworked a bit to reduce some switch statements
on ConfigOptionEnum<> templates.
2021-02-24 15:59:18 +01:00
YuSanka
88bd189047
Some code refactoring follow-up 33aa6be7b7
and 92b1302a08
2021-02-24 15:50:18 +01:00
YuSanka
18ac892ed6
OSX specific: Fix of f11e81517d
2021-02-24 15:03:34 +01:00
YuSanka
d209c92c80
Merge remote-tracking branch 'origin/ys_auto_cp'
2021-02-24 14:33:31 +01:00