Commit Graph

6245 Commits

Author SHA1 Message Date
test
13c47bb24f WIP: Drag and drop of G-codes on OSX onto Docker icon 2020-10-06 09:56:36 +02:00
Vojtech Bubnik
3968e70189 Open G-code viewer on drag & drop to the slicer window. 2020-10-06 08:50:58 +02:00
YuSanka
0ef3c67089 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
8e6613ff19 OSX: Changing gcode in Info.plist to Viewer mode, not Editor 2020-10-05 17:25:27 +02:00
Vojtech Bubnik
05d388483c Renamed monotonous infill to monotonic. 2020-10-05 16:38:28 +02:00
enricoturri1966
10a5c9ece4 Fixed crash when starting gcode viewer on Linux 2020-10-05 16:06:14 +02:00
enricoturri1966
ac0b160612 AppConfig modified to generate a separate config file for the standalone gcodeviewer 2020-10-05 15:42:35 +02:00
David Kocik
acc79d5fa4 instance check: do not perform for gcode viewer 2020-10-05 14:55:31 +02:00
Lukas Matena
3e093bb97d Changed cmake minimal version to 3.13 (#4720) 2020-10-05 12:10:19 +02:00
David Kocik
85f342f94e filament selection: bug fix - * sign is again visible at profiles 2020-10-05 09:48:55 +02:00
enricoturri1966
f1e5dcf73f Follow-up of 8df01818dd -> GCodeProcessor uses new Machine Limits limitations 2020-10-05 09:15:43 +02:00
David Kocik
02eb5ca97d Correct strings in configWizard 2020-10-04 21:11:56 +02:00
YuSanka
5f60e6e1fe Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +02:00
YuSanka
6b0131e0b4 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
b2fb9064f5 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
54506d4f89 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
9d3ca1ca4f ENABLE_SLOPE_RENDERING set as default
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
enricoturri1966
ce6aed9691 New image for gcode viewer splash screen 2020-10-02 13:20:48 +02:00
enricoturri1966
9de63936b8 Orange background for imgui buttons 2020-10-02 13:02:56 +02:00
YuSanka
db754ce870 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
enricoturri1966
4d09c999e0 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
02ba48ebc8 notifications: avoid collision with gizmos on same position by moving to left 2020-10-02 10:27:31 +02:00
David Kocik
9bc0bc823c notifications: sla supports outside error appearing/disappearing 2020-10-02 10:27:31 +02:00
enricoturri1966
b005962ba7 Progress dialog while generating toolpaths to render enabled only for standalone gcode viewer 2020-10-02 10:26:27 +02:00
Lukas Matena
0d90082b9f 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
b0a6c11d9e Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING 2020-10-02 09:14:43 +02:00
YuSanka
265b556507 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
YuSanka
081330f0fd use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
Lukas Matena
2a90f8c5f4 Fix build with wxWidgets 3.0 2020-10-02 00:11:44 +02:00
YuSanka
e90cc1c1f7 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
fddbd20570 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
bubnikv
c53e14d6d4 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
Vojtech Bubnik
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
bubnikv
b1ce406f33 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
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
cc6a96164e Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 15:12:19 +02:00
bubnikv
140cf15222 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
8346bd3679 fix in ConfigWizard.cpp 2020-10-01 09:46:00 +02:00
enricoturri1966
46a8596bbc Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-01 09:33:20 +02:00
enricoturri1966
3020a12d0e Improved performance of progress dialog shown while generating toolpaths for render 2020-10-01 09:33:05 +02:00
David Kocik
630859ef39 notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview. 2020-10-01 09:30:11 +02:00
David Kocik
03feeed8c9 notification orange color for hypertext 2020-10-01 09:30:11 +02:00
David Kocik
39d44ecc6c Filament selection in configuration wizard:
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
enricoturri1966
28070e012c Fixed typo 2020-10-01 08:34:16 +02:00
Lukas Matena
a186a4cafc Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
Lukas Matena
f54bb097ff Cache raycast results so they don't have to be repeated on the same mouse pos
Fixed incorrect handling of clipping plane with multiple volumes - only the first volume was correctly clipped by the painter.
2020-10-01 00:05:59 +02:00
Lukas Matena
9c3877fde1 Moved the raycasting query in painting gizmos to a separate function
This way it can be called when rendering the spherical cursor and when processing the mouse clicks/drags
2020-10-01 00:05:18 +02:00
Lukas Matena
9de2729ff2 Slight refactoring 2020-10-01 00:05:12 +02:00
Lukas Matena
1b6c75e98f Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
Lukas Matena
0097301194 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00