24732 Commits

Author SHA1 Message Date
YuSanka
ae81e7de0e WIP: Fix for filaments selection from Connect 2024-04-24 14:01:47 +02:00
David Kocik
13a5404c3a Partial remove of obsolete printer_type 2024-04-24 14:01:47 +02:00
David Kocik
72fa3da675 Fix of gcode viewer crash.
Bind Account events only if editor.
2024-04-24 14:01:47 +02:00
David Kocik
63e25828ae Fixes in selecting printer and filament 2024-04-24 14:01:47 +02:00
David Kocik
58cd6c5a09 Selecting SLA printer on Connect upload 2024-04-24 14:01:46 +02:00
David Kocik
13ac78f8e9 Trim trailing zeros in nozzle string from connect. 2024-04-24 14:01:46 +02:00
David Kocik
a2568c3449 Additional data check 2024-04-24 14:01:46 +02:00
David Kocik
ab4c1b2f91 Fix of upload.
Wrong address of connect.
2024-04-24 14:01:46 +02:00
David Kocik
d4a794e42a Show error page in webviewPanel 2024-04-24 14:01:46 +02:00
David Kocik
1d71b5338a Webview loading html page 2024-04-24 14:01:46 +02:00
David Kocik
8ee04288fb Select filament from connect. 2024-04-24 14:01:46 +02:00
David Kocik
7b9d9a33a4 Remove static run_script function. 2024-04-24 14:01:45 +02:00
David Kocik
d72794bde8 Remove FakeWebView 2024-04-24 14:01:45 +02:00
David Kocik
25b36dec14 Added choose_account=1 to redirect url 2024-04-24 14:01:45 +02:00
David Kocik
fd4e2a19f9 if 0 login dialog 2024-04-24 14:01:45 +02:00
YuSanka
f49b85ab68 Fixed a crash on GCodeViewer start: Update mode just for Editor 2024-04-24 12:28:46 +02:00
Lukas Matena
65f0806ef5 Merge branch 'ys_dbl_sl_pure' 2024-04-24 10:54:47 +02:00
YuSanka
0bb9233da7 ImguiDoubleSlider: Respect to "Collapse sidebar" button
+ use scale from canvas Size
2024-04-24 10:54:12 +02:00
YuSanka
b02e0e6fd1 ImguiDoubleSlider: Notifications placement to avoid overlapping with sliders 2024-04-24 10:54:12 +02:00
YuSanka
f90ea2e8be ImguiDoubleSlider: Improvements and bug fixes
* Discard all custom changes button - click area is out of icon
* Properties info table expand button doesn't work - when pointer moves by mouse
* When some custom g-code/ pause is added then icons aren't visible well
2024-04-24 10:54:12 +02:00
YuSanka
8a78ab1ce8 ImguiDoubleSlider: WIP: ImGui implemented "jump to layer" 2024-04-24 10:54:12 +02:00
YuSanka
785ad4ce95 ImguiDoubleSlider: WIP: Functions which was related to manipulate with ticks are moved into TickCodeInfo
* TickCodeInfo is renamed to TickCodesManager and moved to separate files
 * Added more callbacks to avoid use of wxWidgets
 * Added function for color picker rendering

 * For string formatting is used Slic3r::format instead of GUI::format (To avoid including wx/string)
 * All code related to DoubleSlider extracted from Slic3r name space
2024-04-24 10:54:12 +02:00
YuSanka
6b83f135c9 ImguiDoubleSlider: WIP: Slider Manager is moved to ImGuiDoubleSlider and some values and methods are renamed
+ "DoubleSlider: file is split to DoubleSliderForGcode and DoubleSliderForLayers in separate files
 + Suppress to add/delete ticks on update layers_slider from canvas when an application is a GCodeViewer
 + epsilon() is moved from DoubleSlider name space to CustomGCode
2024-04-24 10:54:12 +02:00
YuSanka
56a3740fe4 ImguiDoubleSlider: WIP: Control is split to DSManagerForGcode and DSManagerForLayers (both are derived from template class)
+ GLCanvas3D: refactoring for handle of events related to the manipulation with sliders
 + use callbacks to process navigation in sliders instead of wxEvents
2024-04-24 10:54:12 +02:00
YuSanka
6ea3dc6c27 ImguiDoubleSlider: WIP: All data, related to Slider are in ImGuiControl now
+ code cleaning to avoid of use wxWidgets to render DoubleSlider
2024-04-24 10:54:12 +02:00
YuSanka
d06ef37df9 ImguiDoubleSlider: WIP: Set scale in respect to Retina displays
+ request one more frame for redraw, if value was changed with mouse wheel
 + some code cleaning
2024-04-24 10:54:12 +02:00
YuSanka
8e749734ff ImguiDoubleSlider: WIP: For vertical slider are added :
* actions buttons and theirs process
 * rendering of ticks and theirs info buttons
 * show label with estimated time on mouse moving

+ ImGuiWrapper::image_button is extended for highlight_on_hover parameter to enable/disable highlighting on the hover
+ Show and process some icon/buttons in respect to the application mode (if is Editor or Viewer)
2024-04-24 10:54:12 +02:00
YuSanka
ab9923eee6 ImguiDoubleSlider: WIP: Implemented "pure" ImGuiControl
+ For ImGuiControl implemented adding of callbacks for get_label and draw_scroll_line
2024-04-24 10:54:12 +02:00
YuSanka
a26d17d689 ImguiDoubleSliser: WIP: Some of code is ported from BambuStudio (state of 96707fc4b4b40c30b7e5610d2489ef283fe952a4)
* Code improvements :
    + added render_button()
    + added draw_hexagon()
2024-04-24 10:54:12 +02:00
YuSanka
a5322ef970 DoubleSlider: ImGui rendering (WIP) 2024-04-24 10:54:12 +02:00
Lukas Matena
46e08ca9f1 Merge branch 'ys_tb_layout' 2024-04-24 10:50:17 +02:00
YuSanka
a62a90decf TopBar: Collapse/Expand "Workspace mode" and "Account" buttons in respect to the window size 2024-04-24 10:49:22 +02:00
YuSanka
835c24cfc1 Insert "Connect" tab to position next to "Printer" tab 2024-04-24 10:49:22 +02:00
YuSanka
0848fecb02 TopBar: Search improvements to respect to the ESettingsLayout::Dlg 2024-04-24 10:49:22 +02:00
YuSanka
9beef5e847 TopBar: Added "Show settings" button 2024-04-24 10:49:22 +02:00
YuSanka
cd5d30d3b1 Menus related to the TopBar's buttons are extracted to the separate class.
+ Updated top bar layout in respect to the mode
+ Linux specific: Don`t show down arrow for buttons with PopupMenu
+ MainFrame: Use TopBar instead wxBookCtrlBase
2024-04-24 10:49:22 +02:00
YuSanka
c95bc97435 Deleted unused UI-settings ("Set settings tabs as menu items" and "New layout, access via settings button in the top menu") 2024-04-24 10:49:22 +02:00
Lukas Matena
45899c8c19 Merge branch 'et_spe2218' 2024-04-24 10:25:18 +02:00
enricoturri1966
87e1341e6f SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view 2024-04-24 10:25:09 +02:00
enricoturri1966
473f58c4e6 SPE-2218 - libvgcode - Fixed detection of fan speed range 2024-04-24 10:25:09 +02:00
enricoturri1966
f848f00ec2 SPE-2218 - libvgcode - Fixed detection of temperature range 2024-04-24 10:25:09 +02:00
enricoturri1966
95b39425c2 SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view 2024-04-24 10:25:09 +02:00
enricoturri1966
d81a3c055b SPE-2214 - Fixed detection of toolpaths bounding box in GCodeViewer 2024-04-24 10:22:29 +02:00
enricoturri1966
6dcd97356b SPE-2206 - Modified LibBGCode.cmake to get latest version of libbgcode which fixed parsing of gcode lines G4 2024-04-24 10:19:31 +02:00
Filip Sykala - NTB T15p
005f65a3b2 Do not store current changes when delete style
(cherry picked from commit 1b1e14a2bc1ae0536dc2d5f395605d303aaa4ca2)
2024-04-24 10:09:10 +02:00
Lukas Matena
6495bb6ece Merge branch 'lh_single_perimeter' 2024-04-24 10:07:08 +02:00
Lukáš Hejl
a3190d94d0 SPE-1804: Single perimeter for top and bottom layers working with both perimeter generators.
Co-authored-by: supermerill <merill@free.fr>
Co-authored-by: Morton Jonuschat <mjonuschat@gmail.com>
Co-authored-by: Vovodroid <vovodroid@users.noreply.github.com>
Co-authored-by: qing.zhang <qing.zhang@bambulab.com>
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-04-24 10:06:56 +02:00
Lukas Matena
d383e59438 Merge branch 'ys_user_presets_fixes' 2024-04-17 12:33:58 +02:00
YuSanka
61834d3fdb SavePresetDialog: Fixed preset name validation.
Prevent saving a new preset with a name that differs from an existing preset only in a case-sensitive manner.

Related to #6798 - Printer profile gone again and print settings gone again: Profile name differing in case only
2024-04-17 12:33:24 +02:00
YuSanka
3d4d840a90 Fix for #10716 - Saving a modified preset with another name that matches an existing preset does not save the changes 2024-04-17 12:33:24 +02:00