Commit Graph

13084 Commits

Author SHA1 Message Date
595f707f22 Fix linux crashing when opening EditGcodeDialog 2024-01-21 00:40:52 +00:00
95adb899a4 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-15 22:35:36 +08:00
1615832236 fix precedence errors (#3611)
Fix a handful of precedence errors and 1 logic/precedence error.  None of the code will compile as intended without these changes.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 22:35:08 +08:00
f4cf1c706b fix(TemperaturesCalibration): typo in end_temp_string (#3680)
* fix(TemperaturesCalibration): typo in end_temp_string

* Update po files

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 22:33:17 +08:00
1ffa32beed Fix painting Gizmo rendering on AMD Vega GPUs (#3663)
* Fix painting gizmo rendering on AMD Vega GPUs

* Fix issue that support & seam painting gizmo rendering issue if wireframe is enabled in MMU gizmo
2024-01-15 22:19:50 +08:00
b25617892e Update for colpic thumbnails background color to match Elegoo theme (#3647)
Update Thumbnails.cpp

Changed background color from white to a dark gray to match the rest of the Elegoo touch screen theme
2024-01-15 22:17:54 +08:00
698aba3570 [Bug fix] Fixes retraction on layer change being performed when retract travel threshold is set to 0 (#3614)
Fixes retraction on layer change being performed when retract travel threshold is set to 0
2024-01-15 21:22:00 +08:00
1cdd31fa99 Fix garbled text when display scalling > 300% (#3402)
* Fix garbled text when display scalling > 300%

On Windows, if your display scaling is greater than 300%,
the text rendered by imgui will be garbled. Allowing imgui
to do the scaling instead of making the font to large
corrects the issue.

* Only use modified scaling on Windows

And only if the system's scaling factor is greater than 300%.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 21:01:43 +08:00
a996188e38 [Bug fix] Fixes lightning infill with sparse infill width set to 0 causes "divide by zero" fatal error (#3592)
* Fix issue #3567 - Lightning infill with sparse infill width set to 0 causes "divide by zero" fatal error

* Merge branch 'SoftFever:main' into Fix-#3567---Lightning-infill-with-sparse-infill-width-set-to-0-causes-divide-by-zero-fatal-error

* Merge branch 'main' into Fix-#3567---Lightning-infill-with-sparse-infill-width-set-to-0-causes-divide-by-zero-fatal-error
2024-01-14 23:38:34 +08:00
0af1b9b958 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-14 03:54:27 -05:00
b7b22eb78f Support custom IP camera (#3415)
* Support custom IP camera

Allow adding custom IP camera source while keeping possible
built-in bambulab camera also functional and add button to
switch between them.

This uses WebView widget to show the stream. Upon loading the
page, javascript is used to remove native controls and scroll-
bars for aesthetic reasons.

* Add partial support for PiP video

HTMLVideoElement supports picture-in-picture video
but the dedicated control is hidden in this implementation
to have more integrated look in OrcaSlicer. Add right-click
listener to the camera switch icon that opens the video element
in a PiP window.

Only works when the video is in <video> HTML element, so for
example MJPEG streams in <img> element won't work.
2024-01-14 16:18:30 +08:00
d26513e635 Pressure advance Line: support different nozzle sizes 2024-01-14 10:07:50 +08:00
f7b92d9813 [Feature] Introduced option to control amount of internal bridging, fixing internal bridge missing for some sloped surfaces (#3319)
* ENH: Improve internal bridge detection for sloped surfaces

* Moved lightning detection out of the parallel threads

* Naming conventions

* Revised approach - use reduced expansion multipliers

* Further reduce filtering, flagged option as experimental

* Corrected code comment

* Updated tool tip

* Introduced filtering drop down option
2024-01-13 23:20:08 +08:00
7dd7b301e1 Remove Resizeable Border
Helps with previous commit
DataView currently doesn't resize vertically
Also, at the moment, the resize grabber is not respecting dark mode and this solves that too.
2024-01-11 06:46:04 -05:00
aef74ab005 Hardcode Location of Add Button
Hardcoding it prevents the add button from jumping around when switching between parameters with single-line and multi-line descriptions
2024-01-11 06:03:20 -05:00
3252e1c228 Append extra parameters from preset
If an option is not under a category in the tab but is part of the preset, it is added to the dataview.
2024-01-10 21:33:53 -05:00
8de9d97cd8 Add search term highlighting to EditGCodeDialog
Now leaves text stored in ParamsNode un-formatted and uses flags to determine the formatting. The GetFormattedText function now returns the markup text.
2024-01-10 07:22:36 -05:00
22302a0f10 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-10 07:18:47 -05:00
b4925363d6 Display accurate precision for percent config values (#3466)
Percent config values are managed as float types, but decimal precision
is not displayed in the GUI. This change uses the `double_to_string()`
converstion rather than casting to an int when retrieving the config
option value.
2024-01-09 21:56:17 +08:00
0bf78f8e9e Bug: Fix retraction issues with PA pattern calibration (#3314)
* Attempt to fix retraction issues with PA pattern calibration

* PA pattern test fix - retract and wipe on layer change

* Naming convention

* fix crash
2024-01-09 21:55:11 +08:00
d5ee4ff1ab Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-08 22:41:35 -05:00
068b888199 Implement Search for GCode DataView 2024-01-08 18:00:32 -05:00
5aae123cbb Bug: Corrected monotonic lines not respecting user infill / wall overlap setting (#3388)
Bug: Correct monotonic lines not respecting user infill / wall overlap setting

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-06 13:44:33 +08:00
67de85ba43 Fix an issue when loading older 3mf project 2024-01-06 11:21:46 +08:00
793a753cfc Fixed an issue that Orca project can't be loaded in dev branch 2024-01-06 10:13:34 +08:00
43417b0f63 fix linux compilation 2024-01-05 21:01:45 -05:00
c02d2c4db3 Added an option to enable multiple bed type support for printers 2024-01-06 09:22:44 +08:00
c4538ae0a4 Fixed crashes when send gcode to BBL printers 2024-01-06 09:22:44 +08:00
67547d1037 fix object exclusion regression on BBL printers 2024-01-06 09:22:44 +08:00
0e16ad4fbf skip writting object info for BBL printers 2024-01-06 09:22:44 +08:00
907b160007 Merge remote-tracking branch 'origin/enh-port-edit-gcode-dlg' into enh-port-edit-gcode-dlg 2024-01-05 06:06:40 -05:00
50b7b3d073 Remove unused code 2024-01-05 06:03:34 -05:00
a8c3377d9b Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-05 05:59:43 -05:00
4abca6a091 Override full config defs in non-preset categories 2024-01-05 05:58:44 -05:00
ecd20184f9 Add the rest of the param defs
Also added temperatures category to handle them
2024-01-05 05:24:53 -05:00
e713849fed QoL: Keyboard shortcuts updates & fixes (#3457)
* Bring back the shortcut to zoom in & out

* Update keyboard shortcut info

* Update keyboard shortcut info

* Different handling of shortcut 'T' for emboss text

Cherry-picked from prusa3d/PrusaSlicer@58e3143ad8

Co-authored-by: Filip Sykala - NTB T15p <Filip.Sykala@prusa3d.cz>

---------

Co-authored-by: Filip Sykala - NTB T15p <Filip.Sykala@prusa3d.cz>
(cherry picked from commit 002208fc8c952a6a4c132fa7977a7bbdbc7a348d)
2024-01-04 19:36:04 +08:00
9d59cd66c4 Feature/update deps (#3445)
* update deps

* fix win build errors

* fix mac build

* update linux

(cherry picked from commit 77b6225060fd1b6cbc32865b6397363befd2af1d)
2024-01-04 19:36:04 +08:00
1ea33f0919 Fix NaN when adding negative part (#3423) (#3431) 2024-01-02 20:48:25 +08:00
02258b4391 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-02 18:23:52 +08:00
70c282667f Fix wrong option order 2024-01-02 16:02:51 +08:00
712478c240 Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425) 2024-01-02 16:01:05 +08:00
b619e5bf8e Merge remote-tracking branch 'origin/enh-port-edit-gcode-dlg' into enh-port-edit-gcode-dlg 2024-01-02 00:58:44 -05:00
42e6b18149 Check if cmake option is truthy rather than defined 2024-01-02 00:56:30 -05:00
9e443baf95 Improve rendering quality when model color is pure black 2024-01-02 13:14:46 +08:00
209e9a2bb9 Add configurable short wall/perimeter cleaning for Arachne (#2790)
* add feature to add configurable value to clean/remove short un-closed walls/perimeters, to improve print times and reduce stringing (and generally lead to a cleaner print).

* fixes to short wall removal, which no longer affects bottom or top surfaces. allowed adjusting Top-surface threshold (renamed from One wall threshold for clarity) when short wall removal value is configured above default of 0.5.

* small fix for toggle_line for min_width_top_surface, to only be visible if min_length_factor > 0.5 and arachne is enabled.

* Use copy of input_params

* revert `One wall threshold"` string change

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-01 22:21:36 +00:00
a8148d8ee6 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-01 11:01:22 -05:00
23942781ff fix spacing in tooltip 2024-01-01 10:58:27 -05:00
7f1f94d531 Subgroup presets by page 2024-01-01 10:58:26 -05:00
7297997837 Add defs for custom gcode 2024-01-01 10:58:25 -05:00
2235371f91 Don't show option if defined with type coNone 2024-01-01 10:58:24 -05:00