Commit Graph
13035 Commits
Author SHA1 Message Date
Leland LuciusandSoftFever 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
Ioannis Giannakas 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
Tuomas Salokanto 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
SoftFever d26513e635 Pressure advance Line: support different nozzle sizes 2024-01-14 10:07:50 +08:00
Ioannis Giannakas 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
gswatkins 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
Ioannis Giannakas 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
Ioannis GiannakasandSoftFever 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
SoftFever 67de85ba43 Fix an issue when loading older 3mf project 2024-01-06 11:21:46 +08:00
SoftFever 793a753cfc Fixed an issue that Orca project can't be loaded in dev branch 2024-01-06 10:13:34 +08:00
SoftFever c02d2c4db3 Added an option to enable multiple bed type support for printers 2024-01-06 09:22:44 +08:00
SoftFever c4538ae0a4 Fixed crashes when send gcode to BBL printers 2024-01-06 09:22:44 +08:00
SoftFever 67547d1037 fix object exclusion regression on BBL printers 2024-01-06 09:22:44 +08:00
SoftFever 0e16ad4fbf skip writting object info for BBL printers 2024-01-06 09:22:44 +08:00
Noisyfox 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 002208fc8c)
2024-01-04 19:36:04 +08:00
SoftFever 9d59cd66c4 Feature/update deps (#3445)
* update deps

* fix win build errors

* fix mac build

* update linux

(cherry picked from commit 77b6225060)
2024-01-04 19:36:04 +08:00
Noisyfox 1ea33f0919 Fix NaN when adding negative part (#3423) (#3431) 2024-01-02 20:48:25 +08:00
SoftFever 70c282667f Fix wrong option order 2024-01-02 16:02:51 +08:00
Noisyfox 712478c240 Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425) 2024-01-02 16:01:05 +08:00
SoftFever 9e443baf95 Improve rendering quality when model color is pure black 2024-01-02 13:14:46 +08:00
Scott MudgeandSoftFever 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
SoftFever 4d1885e7a4 fix intermittent crashes caused by detect_overhang_wall 2024-01-01 19:30:55 +08:00
SoftFever 5683729b17 Fxied a regression that wall order can't be set in height modifier 2024-01-01 18:21:19 +08:00
SoftFever 2f916f5ee9 Fixed crashes caused by pressure eq when support is used (#3407)
Fixed crashed caused by pressure eq when support is used
2024-01-01 17:05:40 +08:00
SoftFever a36df66083 Revert "Improve ExtrusionLine::simplify, eliminating many very-short extrusion segments which led to blemishes in thin-wall models sliced with Arachne (#3014)"
This reverts commit 3ca290d503.

Fixed #3340 #3375
2024-01-01 14:20:47 +08:00
Noisyfoxandliz.li 8fd4477110 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
SoftFever 074490491e fixed a crash bug when switching to Bambu device page too fast 2023-12-31 13:31:58 +08:00
Noisyfox a8ade1554f 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
SoftFever 1d8cdf04d2 remove P1P-P1S warning 2023-12-30 15:22:18 +08:00
SoftFever 527aefc6fb preset export small tweak 2023-12-30 10:29:32 +08:00
kpishereandSoftFever 044e25d1cf 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
SoftFever d5210c9fc9 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
SoftFever ec9030e0ef create datadir folder if not exist 2023-12-29 22:49:45 +08:00
Thomas e3f08c544b Changed Slic3r mentions (#3344) 2023-12-29 20:18:46 +08:00
SoftFever 63f9b3b1ba check for new version rework, support "check for stable updates only" mode 2023-12-29 12:04:40 +08:00
SoftFever f89932f63e make exclude_object off by default 2023-12-29 09:21:49 +08:00
Thomas c1bb9ecc43 Fixed typo (#3331)
* Fixed typo

* An other swtitch

* Main-i-fold(tm)
2023-12-29 00:02:45 +08:00
SoftFever b51856faff fix/update locale 2023-12-28 00:23:42 +08:00
SoftFever bab1a79511 Fixed a regression bug that --datadir was broken
fixed #3191
2023-12-28 00:23:42 +08:00
7ab2fabe6a 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
SoftFever 3086875c51 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
SoftFever 2f17c1915d Fixed a regression that Turkish lang option was missing
Fixed #3278
2023-12-26 23:41:56 +08:00
SoftFever 0325e28b50 Layer height can't be zero. Fixed #3268 2023-12-26 23:14:53 +08:00
SoftFever 9e4c332df2 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
NoisyfoxandSoftFever 35d5b62604 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
SoftFever 68e1722e97 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
Noisyfox e034af7050 Trigger task progress update on paint event as well (#3237) 2023-12-23 22:35:07 +08:00
SoftFever c5df337f01 use ankerl::unordered_dense instead of std::unordered_set/map 2023-12-23 19:29:10 +08:00
Lukáš Hejl f2c3174896 Fixed asserts and calculations in calculateExtrusionAreaDeviationError.
The previous method worked just for near collinear edges. But it was also used for sharp corners, and for those sharp corners, there was an overflow in the computation of weighted width.
Also, the computation of deviation error was wrong for those sharp corners.

(cherry picked from commit 89b9f702d6cd59bc64c93687bc086f17a206cd0b)
2023-12-23 19:29:10 +08:00
SoftFever 374f78c768 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