Commit Graph

13475 Commits

Author SHA1 Message Date
4e1e971ca6 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-14 03:54:27 -05:00
1f85b2fb23 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
2e44e7ab90 Pressure advance Line: support different nozzle sizes 2024-01-14 10:07:50 +08:00
07aba0666b [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
391c6a3979 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
525ac275de 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
40c0adbdc4 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
4fe6d3dd6e 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
dab218ba71 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-10 07:18:47 -05:00
19d2e8decb 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
9eeca0c781 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
97cadad401 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-08 22:41:35 -05:00
76275a5334 Implement Search for GCode DataView 2024-01-08 18:00:32 -05:00
a66468aea7 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
6de898fb91 Fix an issue when loading older 3mf project 2024-01-06 11:21:46 +08:00
5eaf6ce8fc Fixed an issue that Orca project can't be loaded in dev branch 2024-01-06 10:13:34 +08:00
5f08f28266 fix linux compilation 2024-01-05 21:01:45 -05:00
a6ad56d07a Added an option to enable multiple bed type support for printers 2024-01-06 09:22:44 +08:00
bb938e2f91 Fixed crashes when send gcode to BBL printers 2024-01-06 09:22:44 +08:00
ce9591301f fix object exclusion regression on BBL printers 2024-01-06 09:22:44 +08:00
3bc2f96184 skip writting object info for BBL printers 2024-01-06 09:22:44 +08:00
94ed5b830c Merge remote-tracking branch 'origin/enh-port-edit-gcode-dlg' into enh-port-edit-gcode-dlg 2024-01-05 06:06:40 -05:00
87dad990cf Remove unused code 2024-01-05 06:03:34 -05:00
cb758c7643 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-05 05:59:43 -05:00
b2dd075fce Override full config defs in non-preset categories 2024-01-05 05:58:44 -05:00
01571e58aa Add the rest of the param defs
Also added temperatures category to handle them
2024-01-05 05:24:53 -05:00
9c80e9ccd3 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
7e38552e98 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
ef873a5429 Fix NaN when adding negative part (#3423) (#3431) 2024-01-02 20:48:25 +08:00
1054cf0c5f Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-02 18:23:52 +08:00
371baee5cb Fix wrong option order 2024-01-02 16:02:51 +08:00
d659301b9a Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425) 2024-01-02 16:01:05 +08:00
b34c3f2d3e Merge remote-tracking branch 'origin/enh-port-edit-gcode-dlg' into enh-port-edit-gcode-dlg 2024-01-02 00:58:44 -05:00
2f3daceb50 Check if cmake option is truthy rather than defined 2024-01-02 00:56:30 -05:00
d36e35d961 Improve rendering quality when model color is pure black 2024-01-02 13:14:46 +08:00
fb861cda28 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
c89aa495f5 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-01 11:01:22 -05:00
bee540ffd6 fix spacing in tooltip 2024-01-01 10:58:27 -05:00
258426aebb Subgroup presets by page 2024-01-01 10:58:26 -05:00
98d1ca142e Add defs for custom gcode 2024-01-01 10:58:25 -05:00
33507d3c15 Don't show option if defined with type coNone 2024-01-01 10:58:24 -05:00
370cc25f37 Use proper config when checking for custom gcode
make sure that the local copy of the config is being used when checking if there is custom gcode otherwise it would be possible it doesn't get run during testing
2024-01-01 10:58:23 -05:00
4594c00cb4 Make Compatible with wx 3.1.5
This should be reverted when wxWidgets 3.2.1 is re-implemented
2024-01-01 10:58:22 -05:00
2c862be564 Merge branch 'main' into enh-port-edit-gcode-dlg
# Conflicts:
#	src/slic3r/GUI/OG_CustomCtrl.cpp
#	src/slic3r/GUI/OG_CustomCtrl.hpp
2024-01-01 10:58:04 -05:00
d677dbcb41 Improve checking placeholders
Dialog now shows all issues within the same dialog

If a custom gcode value is not specified within the config, a testing value is added. This ensures that (most) of the custom gcode is parsed, and thus checked against the definitions.
2024-01-01 10:57:23 -05:00
df64824db7 Remove SlicingState Options that aren't in Orca
Also organized and added missing options to `s_CustomGcodeSpecificPlaceholders`
2024-01-01 10:57:22 -05:00
c79bb78d16 Update Icons
Add new icons from PS and update to use Orca color scheme

Original Commit: prusa3d/PrusaSlicer@37afe79

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-01 10:57:21 -05:00
bd0d4b49d6 Fix duplicate else statement 2024-01-01 10:57:19 -05:00
5430f25c53 Remove extraneous options 2024-01-01 10:57:18 -05:00
f30115ae2f Add fix for linux
Original Commit: prusa3d/PrusaSlicer@361ef22

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-01 10:57:17 -05:00