Commit Graph

52 Commits

Author SHA1 Message Date
1695bc147d Follow-up b3074ad2cc
Change random values of the S and V in HSV colors.
To avoid generation of the extremely light or dark colors we use now generated values from the range [0.65; 0.1]
2021-12-09 14:16:47 +01:00
651b60b899 Fixing clang compiler warnings 2021-11-30 10:50:27 +01:00
4a975dd97a Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas()
 + Added missed include
2021-10-12 15:23:50 +02:00
9b7225cf35 Follow-up cedfc5e3fb - Next code refactoring to avoid inconsistency between AutoColorChangeDetection in Preview and DoubleSlider 2021-10-12 14:18:39 +02:00
f4edcd7458 DoubleSlider: Code refactoring for auto color change 2021-10-12 10:47:21 +02:00
2282973a7a DoubleSlider: Init extruder sequence in respect to the extruders count 2021-08-12 12:40:14 +02:00
cb873bd88c Tech ENABLE_GCODE_LINES_ID_IN_H_SLIDER set as default 2021-07-22 08:35:21 +02:00
c2f2fd0234 Follow up 0b5ea8f429
- Un-select random sequence by default
- Added a check for interval height. It have to be bigger then print layer height
2021-06-16 18:20:26 +02:00
3bf82f2204 Random extruder sequence for MMU.
Related to https://github.com/prusa3d/PrusaSlicer/issues/1866
2021-06-15 12:38:05 +02:00
e72ece183b DoubleSlider: Fixed ruler for sequential print of the object with different heights 2021-05-17 21:12:19 +02:00
1587963354 Fixed "Extruder sequence", when extruder changes are per mm 2021-05-13 09:50:09 +02:00
a5f6f5ef13 DoubleSlider: fix for 1c2d264570 2021-03-26 13:34:37 +01:00
0fe4b5b2bc Follow-up 995512f280 DoubleSlider improvements:
Fixed a case when wipe tower is used to the end of print and there is one layer which is not marked in layers_times statistics
2021-03-22 11:47:05 +01:00
f226272b78 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
8aaaa6b122 Auto color change improvements: Show info notification just ones, if there is new print 2021-03-17 17:11:03 +01:00
96a0654c47 Implemented Auto Color Print 2021-02-23 18:46:05 +01:00
919851b548 #5611 - Added option to show gcode line number on horizontal slider in preview 2021-02-16 10:07:05 +01:00
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
cf36c391e3 Removed unused variables in DoubleSlider::Control 2020-12-10 15:22:18 +01:00
60e2631708 ENABLE_GCODE_VIEWER set as default in:
DoubleSlider hpp/cpp
2020-11-24 11:53:52 +01:00
3f08684873 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
cae3faa526 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
e0962e007f DoubleSlider's ruler is implemented in respect to the use with sequential printing of objects 2020-11-18 05:02:51 -08:00
85cfd6599e Implemented ruler for the vertical DoubleSlider 2020-11-18 05:02:51 -08:00
3f36168b61 "Sequential slider applied only to top layer" parameter from the Preferences is applied just for the horizontal slider now 2020-11-03 15:45:23 +01:00
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
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
a220a34b51 Allow to disable editing of lower thumb in DoubleSlider::Control 2020-10-08 14:40:12 +02:00
ceb83c119e Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview 2020-10-08 14:09:39 +02:00
451320fca0 Extended hover capability in DoubleSlider::Control 2020-08-18 12:39:46 +02:00
250687b71a Fixed conflicts after merge with master 2020-06-12 10:35:18 +02:00
06dacd1c84 Editing of the custom GCodes like ColorChange and PausePrint 2020-06-07 22:42:54 +02:00
3431cfc752 DoubleSlider::Control -> Change text position at the edges of horizontal slider 2020-05-27 11:50:29 +02:00
acd8801d3a Fixed conflicts after merge with master 2020-05-27 10:32:02 +02:00
e8e004ab5e Fixed few warnings 2020-05-26 16:06:11 +02:00
7ff678eefa Fixed selection of thumbs into gcode sequential view slider 2020-05-21 13:07:55 +02:00
c6c3207bee Tech ENABLE_GCODE_VIEWER -> Adapting DoubleSlider::Control for sequential view 2020-05-15 17:57:47 +02:00
de9294daab Tech ENABLE_GCODE_VIEWER -> Refactoring and code cleanup 2020-05-15 12:25:38 +02:00
7c725d73ee GCodeViewer -> Imgui slider for sequential view replaced by DoubleSlider::Control (wip) 2020-05-15 09:22:51 +02:00
614aa63d50 2nd attempt to fix build on OsX 2020-05-07 13:07:56 +02:00
0b86338edf DoubleSlider: Changed behavior of thumbs. New rule: Only active thumb is moving to the new place. 2020-02-14 16:44:49 +01:00
a615a540c3 DoubleSlider:colored_band: Fixed get a correct color for extruder, when it's changed from Settings Tab 2020-02-14 09:52:27 +01:00
2291a52444 DoubleSlider: Suppressed manipulation for sequential print.
+ some code refactoring

 + experiment with alignment of several options inside the Line
2020-02-14 09:52:27 +01:00
f3df32b089 DoubleSlider: Implemented tick hovering
+ Linux: fixed empty menu showing
2020-02-06 18:52:52 +01:00
8084745202 DoubleSlider: Implemented "Jump to print Z" functionality on Cog icon click OR using "Shift+G"
+ One more big code refactoring
2020-02-05 22:56:00 +01:00
27ce95e617 DoubleSlider: SingleExtruder mode: Implemented editing of color from colored band, using RightMouseClick on it. And added corresponding tooltip 2020-02-04 17:44:44 +01:00
feb3389f90 Show tooltip for all hovered ticks, not just for a selected one 2020-02-04 14:53:17 +01:00
5a783fb868 DoubleSlider: Added using of default colors for color changes in SingleExtruder Mode (#3449)
+ added missed input parameter to the BitmapCache::mksolid() which was cause a wrong drawing of the Extruder selector under OSX
2020-02-03 21:28:55 +01:00
1a6c8d786e Mark a tick as a conflict, if it has a ToolChange to the same extruder 2020-02-02 21:20:48 +01:00
4d3a297874 Implemented upgrade_text_entry_dialog() fuction to avoid a getting an empty string from wxTextEntryDialog (disable OK button, if TextCtrl is empty)
All mode conflicting or meaningless ticks are marked by "exclamation" icon and described in tooltip.
2020-01-27 14:36:32 +01:00