24757 Commits

Author SHA1 Message Date
YuSanka
9b6b20070a Fix for SPE-2170 : Incorrectly imported settings/overrides from g-code file.
Write to G-code whole filament overridden even if some of then are NAN.
2024-04-30 12:44:05 +02:00
Lukas Matena
d586870feb Bumped up version to 2.8.0-alpha4 2024-04-25 13:36:09 +02:00
David Kocik
da9588607b Fix of crash when wrongly reading nozzle_diameter from config
+ Treat 0.0 nozzle diameter from Connect as no nozzle
2024-04-25 13:31:52 +02:00
Lukas Matena
5ca91d7959 Merge branch 'ys_dbl_sl_pure_next' 2024-04-25 10:28:17 +02:00
YuSanka
c3e0312b12 Fixed min size of application 2024-04-25 10:28:03 +02:00
YuSanka
44d5862667 DoubleSliderForLayers: Suppress to edit and show ticks in SLA mode 2024-04-25 10:28:03 +02:00
YuSanka
2b93bd97c6 Topbar: do not redraw the buttons all the time 2024-04-25 10:28:03 +02:00
YuSanka
2b4a962154 ImguiDoubleSlider: Extentions for ImGuiControl.draw_label()
Added possibility to mirror of the label and add the border
2024-04-25 10:28:03 +02:00
YuSanka
320d11d5db ImguiDoubleSlider: Change layout of horizontal slider and position_window 2024-04-25 10:28:03 +02:00
Lukas Matena
eada1893e6 Merge remote-tracking branch 'private/dk_web' 2024-04-25 09:35:15 +02:00
David Kocik
2fcb5b2c2c Perform refresh when test connection fails. 2024-04-24 16:17:09 +02:00
David Kocik
cb80309535 Delete leftovers from printer_type implementation. 2024-04-24 15:40:03 +02:00
David Kocik
ffeb068452 Change printer maps data from model to model nozzle pair 2024-04-24 15:40:03 +02:00
David Kocik
b402c42e75 Do not show error page when not webview shown. 2024-04-24 14:57:09 +02:00
David Kocik
dbb298e1be Sending only first nozzle diameter. 2024-04-24 14:08:01 +02:00
David Kocik
5e171ccfe7 Improvement of Printer status polling.
Define polling action that changes when uuid->printer_model map is filled. Also serves to turn off polling.
2024-04-24 14:08:01 +02:00
David Kocik
fd8a580dee WebviewDialog minimal size. 2024-04-24 14:08:01 +02:00
David Kocik
d3d16aa964 Error to Debug log fix. 2024-04-24 14:08:01 +02:00
David Kocik
5e48e0a5a6 Printer_model reading when uploading to Connect. 2024-04-24 14:08:00 +02:00
YuSanka
403a3ec095 Follow up 2c0f826d - Call update of "Physical printer" tab visibility on Edit of physical printer
or change of physical printers with same printer model
2024-04-24 14:08:00 +02:00
David Kocik
5d293dc9fc Do not show Physical Printer Webview tab for Connect. 2024-04-24 14:08:00 +02:00
David Kocik
7bc73be0c9 Runscript only if tab with webview is shown.
Fixes premature script running on sys_color_changed. This can be solved more elegantly.
2024-04-24 14:08:00 +02:00
David Kocik
b05d438fc6 Changes in Connect Printer Status.
First use endpoint PrinterModels to get uuid to model map, than get statuses for uuids from Status endpoint.

Lang code trimmed to 2 chars.
2024-04-24 14:08:00 +02:00
David Kocik
a474d36bfb Printer_model when requesting printer filtering in PrinterPick. 2024-04-24 14:01:47 +02:00
David Kocik
b7b97ee320 Comparing filament types before upload 2024-04-24 14:01:47 +02:00
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