Commit Graph

14031 Commits

Author SHA1 Message Date
Vojtech Bubnik
44565315bf OSX: Clean-up of opening as G-codeviewer on startup. 2020-10-06 15:43:21 +02:00
test
09755987fe Fix of previous commit 2020-10-06 15:13:04 +02:00
enricoturri1966
286a81b6ff Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-06 15:11:22 +02:00
enricoturri1966
7bee5b5479 Added Preference dialog to standalone gcode viewer 2020-10-06 15:11:08 +02:00
Vojtech Bubnik
eed45eddd6 OSX specific: Switching to a G-code viewer if the Finder opens Slicer
with a G-code file argument.
2020-10-06 15:09:38 +02:00
Lukas Matena
c4951c5efc Fix of a modifier transparency problem in painting gizmos 2020-10-06 14:57:31 +02:00
test
6fc98f05ef OSX specific: Trying to detect opening of files through Finder at the application start to switch to G-code viewer 2020-10-06 14:23:17 +02:00
Lukas Matena
b42a12db66 Fixup of 8df0181 (turning off the export of machine limits)
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
Lukáš Hejl
6ed25f6e1c Fixed avoiding of other printed objects
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature
2020-10-06 13:19:39 +02:00
test
1c43c9b4e1 OSX fixes of docker icon 2020-10-06 12:50:44 +02:00
YuSanka
764565dbc3 Added info message about successfully save of the preset(s) modifications
+ more warnings fixes
2020-10-06 12:32:28 +02:00
Lukas Matena
dbedd3f9b0 Merge branch 'lm_painter_fixes' 2020-10-06 12:09:56 +02:00
Lukas Matena
b155e58a9d Painting gizmos: show painted triangles inside modifier meshes 2020-10-06 12:06:39 +02:00
Lukas Matena
8bcdbb7a60 Painter gizmos should now work with non-uniformly scaled models 2020-10-06 12:06:39 +02:00
Lukas Matena
f4e3eb7482 Painting gizmos fixes:
- modifiers are not rendered in neutral color when a painting gizmo is open, so they are distinguishable from model parts
- modifiers are now correctly handled by clipping plane (the cut was not triangulated for them)
2020-10-06 12:06:39 +02:00
Vojtech Bubnik
e407b79c94 Docker icon on OSX 2020-10-06 12:05:05 +02:00
test
48e5f53663 Fix of an OSX build 2020-10-06 11:18:56 +02:00
YuSanka
19c267e890 Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
cbf36de600 Typo in machine limits usage text. 2020-10-06 11:08:08 +02:00
Vojtech Bubnik
6acc1fc112 WIP: Opening a G-code in PrusaSlicer at Drag & Drop onto
the application icon in Finder.
2020-10-06 11:07:49 +02:00
YuSanka
e16fe96cc6 SplashScreen: Fixed font scaling 2020-10-06 10:33:27 +02:00
Vojtech Bubnik
ecade4ac23 Fixed limitation of acceleration values written into G-code
in case the machine limits are disabled.
2020-10-06 10:24:06 +02:00
test
466f882cd8 WIP: Drag and drop of G-codes on OSX onto Docker icon 2020-10-06 09:56:36 +02:00
Vojtech Bubnik
67d0072bc8 Open G-code viewer on drag & drop to the slicer window. 2020-10-06 08:50:58 +02:00
YuSanka
f47ad1fd94 The scale of a splash screen is rewrote.
But now there is a problem with font scaling.
Function font.Scaled(val) return scaled system font from primary monitor.
That is why application's name and version has so strange scale.
2020-10-05 19:56:23 +02:00
Vojtech Bubnik
dc99bb7617 OSX: Changing gcode in Info.plist to Viewer mode, not Editor 2020-10-05 17:25:27 +02:00
Vojtech Bubnik
7fbdda9080 Renamed monotonous infill to monotonic. 2020-10-05 16:38:28 +02:00
enricoturri1966
8d45b4c468 Fixed crash when starting gcode viewer on Linux 2020-10-05 16:06:14 +02:00
enricoturri1966
c94fb13369 AppConfig modified to generate a separate config file for the standalone gcodeviewer 2020-10-05 15:42:35 +02:00
David Kocik
6a12e75194 Merge branch 'dk_instances' into master 2020-10-05 15:12:17 +02:00
David Kocik
785839685e instance check: do not perform for gcode viewer 2020-10-05 14:55:31 +02:00
Lukas Matena
4d3190f988 Changed cmake minimal version to 3.13 (#4720) 2020-10-05 12:10:19 +02:00
David Kocik
b9d8f30eeb Merge branch 'dk_filaments' into master 2020-10-05 09:49:28 +02:00
David Kocik
878fac4c44 filament selection: bug fix - * sign is again visible at profiles 2020-10-05 09:48:55 +02:00
enricoturri1966
04a928b241 Follow-up of 8df01818dd -> GCodeProcessor uses new Machine Limits limitations 2020-10-05 09:15:43 +02:00
David Kocik
2b24a21098 Correct strings in configWizard 2020-10-04 21:11:56 +02:00
YuSanka
52557b4263 Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +02:00
YuSanka
6255792181 UnsavedChangesDialog improvements:
* Changed some labels on buttons. The Dialog name shows a purpose now
 * SaveDialog is called, when UnsavedChangesDialog is shown.
 * Added prototype for the "exit" icon

+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
YuSanka
48f775decb A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
bubnikv
8df01818dd Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212

WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
enricoturri1966
0f44caa99c ENABLE_SLOPE_RENDERING set as default
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
enricoturri1966
38ddc5fdc4 New image for gcode viewer splash screen 2020-10-02 13:20:48 +02:00
enricoturri1966
1f4010ba4e Orange background for imgui buttons 2020-10-02 13:02:56 +02:00
YuSanka
8459d77959 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
enricoturri1966
97e3100c73 Removed obsolete images for splash screen 2020-10-02 11:42:27 +02:00
enricoturri1966
11d8a2ad8e Start PrusaSlicer in gcode viewer mode when dragging and dropping a .gcode file on the application icon 2020-10-02 11:40:21 +02:00
David Kocik
0435993309 Merge branch 'dk_notifications' into master 2020-10-02 10:28:06 +02:00
David Kocik
092a9f80b6 notifications: avoid collision with gizmos on same position by moving to left 2020-10-02 10:27:31 +02:00
David Kocik
ec6599da98 notifications: sla supports outside error appearing/disappearing 2020-10-02 10:27:31 +02:00
enricoturri1966
3fe61cfec2 Progress dialog while generating toolpaths to render enabled only for standalone gcode viewer 2020-10-02 10:26:27 +02:00