Commit Graph

9378 Commits

Author SHA1 Message Date
45adde154c Remember the sidebar size (#3700)
Store the current sidebar size using `best_size`
2024-01-17 23:36:43 +08:00
e5b46575c9 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
5133a627f7 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
c29b8b956f 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
2532e03e49 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
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
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
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
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
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
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
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
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
232790aaa7 Fix crash when click the color paint gizmo when object part is selected (#3405)
Fix crash when click the color paint gizmo when object part is selected (#3404)

Cherry-picked from bambulab/BambuStudio@1e99ce9535

Co-authored-by: liz.li <liz.li@bambulab.com>
2024-01-01 13:45:53 +08:00
0d7851af1c fixed a crash bug when switching to Bambu device page too fast 2023-12-31 13:31:58 +08:00
083a6d1929 Fix preview legend window size (#3363)
Fix issue that the legend window expands to all available horizontal space if scrollbar is displayed
2023-12-30 22:02:32 +08:00
16a7a9626a remove P1P-P1S warning 2023-12-30 15:22:18 +08:00
207ffb6763 preset export small tweak 2023-12-30 10:29:32 +08:00
beb7511d6b Feature/build target 10.15 (#3252)
* Set target to 10.15, make porter templates explicit

* CMAKE_OSX_DEPLOYMENT_TARGET refactor

* Update build_release_macos.sh

fix typo

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-30 09:12:06 +08:00
92ec8cacd1 Rename '.bbscfg/bbsflmt' to 'orca_printer/orca_filament' for clarity and to reduce user errors. Note: Configs may no longer be compatible with BS hence the change 2023-12-29 23:36:28 +08:00
2a80456da1 check for new version rework, support "check for stable updates only" mode 2023-12-29 12:04:40 +08:00
71d35f269c Fixed typo (#3331)
* Fixed typo

* An other swtitch

* Main-i-fold(tm)
2023-12-29 00:02:45 +08:00
124b53965c fix/update locale 2023-12-28 00:23:42 +08:00
63fe8e26ec ENH: Port of "wipe inside before extruding an external perimeter" feature from super slicer (#3287)
* Wipe Inside at Start of perimeter

Co-Authored-By: Merill <6536403+supermerill@users.noreply.github.com>

* Cleaned up code and linked it to the wipe on loop parameter

* Trigger build

* Introduced wipe before external loop parameter.

* Removed redundant functions

---------

Co-authored-by: Merill <6536403+supermerill@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-27 11:21:33 +00:00
88eef73efa Fixed a bug that spiral_mode_max_xy_smoothing was not hiden when vase is not enabled 2023-12-26 23:41:57 +08:00
cb1c93c738 Fixed a regression that Turkish lang option was missing
Fixed #3278
2023-12-26 23:41:56 +08:00
a9db1ffbc3 Layer height can't be zero. Fixed #3268 2023-12-26 23:14:53 +08:00
552ea33c2a Don't hide exclude_object option for Marlin/RRF firmwares as Orca now support these firmwares
Fixed #3267
2023-12-25 12:00:32 +08:00
9c047a9df1 Show used filament length and weight per line type (#3246)
Show used filament length and weight per feature

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-24 11:54:55 +08:00
2d8830b339 Fixed an issue that bed texture was not reset when switching to a new printer model that don't have a valid bed texture.
also fix/tweak some printer's bed texture
2023-12-24 11:41:55 +08:00
1bf0b1bfdf Trigger task progress update on paint event as well (#3237) 2023-12-23 22:35:07 +08:00
d4b859f099 Revert to WxWidgets 3.1.5 (#3249)
* revert to WxWidgets 3.1.5

* update nanosvg unicode path
2023-12-23 17:44:09 +08:00
d4546bc59b Add a new option "emit_machine_limits_to_gcode" (#3236) 2023-12-23 15:02:27 +08:00
0c886f6c75 Fix tutk logs location (#3209) (#3248) 2023-12-23 15:02:06 +08:00
9a8a4ccbaf Bug fix: VFA Test fix (#3230)
VFA Test fix
2023-12-22 21:10:36 +08:00
c0ceac0f9c ENH: PR: Alternate extra wall (#3196)
* ENH: PR: Alternate extra wall

* Updated tooltip

* Tooltip spelling correction

* Introduce dialog box to disable ensure vertical shell thickness

* Alternate Extra Wall - automatically disable for Vase mode and revert vase mode toggles

* Corrected invalid push

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-22 08:54:03 +08:00
ac53b7a593 Fix wx issues from upgrade (#3032)
* fix top bar resizing

* Attempt to fix bitmap bundle scaling issues

* Revert "Attempt to fix bitmap bundle scaling issues"

This reverts commit e94ba58d907b1b2da5a9e27ad552e1d7f1288c18.

* Fix AboutDialog and partially fix SwitchButton

* Fix switch button scaling on windows

* Fix dropdown icon size

* fixed sdcard/recording/timelapse icon size in device page

* Set use_legacy_bmp to true by default to it's back compatible

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-21 08:27:02 +00:00
5f6b76bf32 Fix crash on MacOS when clicking filament dropdown in object list (#3205)
* Disable optimization for `RelWithDebInfo` for Clang as well

* Fix crash on MacOS (#3134, #3202)
2023-12-21 14:19:22 +08:00
cab62295a1 Do not limit the max window size (#3149)
Do not limit the max window size (#2889)

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-20 21:09:13 +08:00
fd6e7fc50e Rename bunny to Stanford Bunny 2023-12-20 19:57:30 +08:00
fa0230f38c Add more built-in models: Disc/Torus/Bunny 2023-12-20 17:53:12 +08:00
c53a809240 Another sidebar improvement PR (#3194)
* Show sidebar when opening normal 3mf file

* Retain sidebar size when switching between tabs
2023-12-20 11:21:48 +08:00