Commit Graph

13856 Commits

Author SHA1 Message Date
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
Lukas Matena
dd94b34a8d Fixed missing include on Linux, printf format string fix
boost/format.hpp was missing in the header
2020-10-02 09:32:50 +02:00
enricoturri1966
1130778d5e Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING 2020-10-02 09:14:43 +02:00
YuSanka
3ec462e8f5 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
YuSanka
1fb400a091 use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
Lukas Matena
f1c24e6a8c Fix build with wxWidgets 3.0 2020-10-02 00:11:44 +02:00
YuSanka
2bba0e3131 Physical printers: Implemented import/export to/from the ConfigBundle.
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
Vojtech Bubnik
94a9820661 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
bubnikv
50293c0f86 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
Vojtech Bubnik
ee58ab4e2d Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
bubnikv
f35efb8fe5 Win32 specific: Workaround for tooltips over Tree Controls displayed
over excessively long tree control items, stealing the window focus.

In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.

The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
Vojtech Bubnik
b17c829c9a Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
0bdfb6ab92 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 15:12:19 +02:00
bubnikv
b71e5c2763 Maybe one day we will be able to run PrusaGCodeViewer, but for now the Apple notarization
process refuses Apps with multiple binaries and Vojtech does not know any workaround.
Just run PrusaSlicer and give it a --gcodeviewer parameter.
2020-10-01 15:11:56 +02:00
David Kocik
6a46708608 fix in ConfigWizard.cpp 2020-10-01 09:46:00 +02:00
enricoturri1966
74dba68340 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-01 09:33:20 +02:00
enricoturri1966
8ded9dc0fd Improved performance of progress dialog shown while generating toolpaths for render 2020-10-01 09:33:05 +02:00
David Kocik
b8cf929532 Merge branch 'dk_notifications' into master 2020-10-01 09:31:02 +02:00
David Kocik
661534042b notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview. 2020-10-01 09:30:11 +02:00
David Kocik
a47178557f notification orange color for hypertext 2020-10-01 09:30:11 +02:00