Commit Graph

326 Commits

Author SHA1 Message Date
YuSanka
893db4d89b OSX specific, related to the wxWidgets 3.1.4: Fixed wrong UI-scaling
(wxWidgets 3.1.4 can binding of wxEVT_DPI_CHANGED now, so it was called msw_rescale() for most of the controls redundantly)

+ Fixed update of the DoubleSlider after changing of the system color
2021-01-22 21:44:15 +01:00
Vojtech Bubnik
e4bfe8093a Fix of [prusa3d/PrusaSlicer] Remove unnecessary null pointer checks (#5813)
Don't use
if (ptr)
	delete ptr;
call
delete ptr;
directly, it contains the test for null ptr.
2021-01-18 09:33:19 +01:00
Vojtech Bubnik
6bdbe0ffb4 Replaced __linux macro with __linux__ 2021-01-11 13:31:30 +01:00
enricoturri1966
b9ae4fcbcf Faster toolpaths refresh when changing options selection in preview 2020-12-11 14:59:58 +01:00
enricoturri1966
8884afb65d Tech ENABLE_SHOW_WIPE_MOVES set as default 2020-12-07 10:29:50 +01:00
enricoturri1966
36efbb8295 #5080 - Reworked logic for automatic selection of current view type in preview 2020-12-04 12:31:50 +01:00
Vojtech Bubnik
3515c01e0f Preview class refactoring: Moved initialization of member variables
to header.
2020-12-02 11:38:10 +01:00
enricoturri1966
3ccd122727 #5333 - Reworked navigation of preview's sliders using the keyboard 2020-12-01 08:33:06 +01:00
enricoturri1966
202ce88445 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves 2020-11-23 10:11:04 +01:00
Vojtech Bubnik
dcc2f75e05 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
enricoturri1966
50d757f601 Preview - Visualization of wipe mones 2020-11-21 10:36:10 +01:00
YuSanka
afba189df2 Font of the DoubleSliders is changes to default (#5121) 2020-11-20 17:27:44 +01:00
YuSanka
3f08684873 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
enricoturri1966
b866618272 ENABLE_GCODE_VIEWER set as default in:
GLCanvas3D hpp/cpp

GUI_Preview hpp/cpp
2020-11-19 12:29:19 +01:00
YuSanka
cae3faa526 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
enricoturri1966
a5ab490dd9 Code cleanup 2020-11-13 11:50:52 +01:00
enricoturri1966
087a4f10e0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential 2020-11-13 10:46:41 +01:00
enricoturri1966
21aedc156e Removed the legacy PreviewData.cpp,hpp 2020-11-11 16:38:51 +01:00
enricoturri1966
7ab33750d1 WIP - Sequential print visualization using vertical slider in preview (missing travel moves) 2020-11-11 16:22:09 +01:00
enricoturri1966
554e0918d3 GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
YuSanka
c204e90ecc Localization:
Some phrases are corrected in the code
The POT-file is updated
2020-11-05 22:17:49 +01:00
YuSanka
f7d607fa5d Removed cog icon from the horizontal slider.
+ Shortcut "Shift+G" works from the Preview canvas now (not just from the focused slider as before)
2020-11-04 07:30:33 -08:00
enricoturri1966
c6e2515b18 GCode tool marker set as visible by default 2020-11-03 09:27:18 +01:00
enricoturri1966
6ac531785e Improved handling of loading invalid .gcode files 2020-11-02 11:59:37 +01:00
enricoturri1966
3fae9b7d58 Fixed editable lower thumb of sequential slider when changing settings in preference dialog while the preview is hidden 2020-10-26 13:52:51 +01:00
enricoturri1966
408d16d274 Fixed color of layer containing pause prints in non-gcode preview 2020-10-22 12:55:13 +02:00
enricoturri1966
125b9dfdb0 #4888 - Fixed jerky movements in Preview when using 3D mouse 2020-10-19 12:34:33 +02:00
Vojtech Bubnik
aa2a116532 Unifying "unretraction" and "deretraction" #3862
Deretraction or unretraction? #3541
2020-10-17 21:23:31 +02:00
enricoturri1966
cff1cbf20f Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer 2020-10-17 14:01:45 +02:00
enricoturri1966
e0e10eec47 Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-16 14:08:24 +02:00
enricoturri1966
a3f8f65158 Added option to apply the sequential slider in preview to top layer only or to whole gcode toolpaths 2020-10-15 10:25:13 +02:00
enricoturri1966
9c48a5de5d Tech ENABLE_GCODE_APP_CONFIG as default 2020-10-12 12:38:34 +02:00
enricoturri1966
69be5bfb7a Added menu command Configuration/Language to standalone gcode viewer 2020-10-12 08:39:40 +02:00
enricoturri1966
1485a211ba Horizontal slider in preview applied only to top layer 2020-10-09 08:45:48 +02:00
enricoturri1966
a220a34b51 Allow to disable editing of lower thumb in DoubleSlider::Control 2020-10-08 14:40:12 +02:00
enricoturri1966
ceb83c119e Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview 2020-10-08 14:09:39 +02:00
enricoturri1966
a13899aa1c Modified rendering of DoubleSlider::Control when disabled 2020-10-08 12:50:29 +02:00
enricoturri1966
d35499d466 Fixed crash when moving horizontal slider thumb in preview with no toolpath active 2020-10-07 13:38:21 +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
77787e36ad Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default 2020-09-10 08:49:50 +02:00
enricoturri1966
0b88b32141 GCode viewer using the proper layout when started as a standalone application 2020-09-08 11:40:06 +02:00
enricoturri1966
886731a6d4 Code cleanup 2020-09-01 09:28:02 +02:00
enricoturri1966
71bd4c4281 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00
enricoturri1966
9b00880871 GCodeViewer -> Changed layout of sliders in preview 2020-08-19 12:59:50 +02:00
enricoturri1966
02f159fa99 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-10 14:22:46 +02:00
enricoturri1966
c332b9aff5 GCodeViewer -> Estimated printing times shown in the legend 2020-08-06 10:15:34 +02:00
enricoturri1966
90b78deae6 Refactoring to allow to quickly build the various options to show the estimated printing time in gcode viewer scene 2020-08-05 15:43:46 +02:00
enricoturri1966
dfed8d8d83 Tech ENABLE_GCODE_VIEWER_AS_STATE set as default 2020-08-03 15:00:19 +02:00
enricoturri1966
2b2091d46c Modal estimated printing time dialog
Fixed conflicts after merge with master
2020-07-27 14:53:17 +02:00
YuSanka
03e7a20e87 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00