Commit Graph

13645 Commits

Author SHA1 Message Date
Noisyfox
fede4cea02 Revert the changes BBL made for diagram fix, because this happens! (SoftFever/OrcaSlicer#7815) 2024-12-22 18:53:36 +08:00
Noisyfox
a3d59ff8f0 Update to latest PS code 2024-12-22 18:52:23 +08:00
Noisyfox
aab1e79ef5 Apply fix includes.
Cherry-picked from prusa3d/PrusaSlicer@919740fb3e

Co-authored-by: Martin Šach <martin.sachin@gmail.com>
2024-12-22 18:50:00 +08:00
Noisyfox
b41ffd9a92 SPE-1950: Optimization of computation complexity of perimeter ordering for Arachne generator.
The previous implementation during the grouping of perimeters using depth-first searches unnecessarily searched nodes that had no impact on grouping, which significantly increased the search space.

Cherry-picked from prusa3d/PrusaSlicer@86309ba939

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 18:36:06 +08:00
Noisyfox
a852e7e4c2 SPE-1963: Improve ordering of perimeters with Arachne perimeter generator
Especially in cases when the object is composed only of 2 external perimeters and 1 or 2 internal perimeters, the order of perimeters wasn't optimal and differed from the Classic perimeter generator. That caused unnecessary long travels before the external contour was printed.

The ordering of perimeters is slightly inspired by the latest changes in CuraEngine.

Cherry-picked from prusa3d/PrusaSlicer@10875082de

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 18:36:06 +08:00
Noisyfox
686cb18839 SPE-2298: Add detection of Voronoi diagram with parabolic edge without a focus point.
Cherry-picked from prusa3d/PrusaSlicer@c44ffed475

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 17:01:54 +08:00
Noisyfox
a79c9c76ad Add missing header guards to VoronoiVisualUtils.
Cherry-picked from prusa3d/PrusaSlicer@34d9b0678b

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:45:37 +08:00
Noisyfox
aec6adeb92 SPE-2298: Fix crash caused by a numerical issue during testing if a Voronoi vertex is inside a corner of a polygon.
Cherry-picked from prusa3d/PrusaSlicer@669c931b77

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:44:36 +08:00
Noisyfox
3143c71d0d Remove some unused functions from Arachne perimeter generator.
Cherry-picked from prusa3d/PrusaSlicer@e704d8216d

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:32:24 +08:00
Ioannis Giannakas
0ba4b03511 Fixes for Xcode 16.0 debugger crashing (with relwithdebinfo) (#6932)
* Fixes for XCode 16.0

* Merge branch 'main' into Xcode-16-debug-fixes

* Merge branch 'SoftFever:main' into Xcode-16-debug-fixes

* Merge branch 'main' into Xcode-16-debug-fixes

* Merge branch 'SoftFever:main' into Xcode-16-debug-fixes

* Merge branch 'SoftFever:main' into Xcode-16-debug-fixes

* Merge branch 'SoftFever:main' into Xcode-16-debug-fixes

* Merge branch 'main' into Xcode-16-debug-fixes
2024-12-21 22:39:21 +08:00
Noisyfox
8fae2c8123 Arachne: Fix an arithmetic overflow that causing extra points outside plate (#7330)
* Arachne: Fix an arithmetic overflow that causing extra points outside the plate (SoftFever/OrcaSlicer#7321)

* Better way of avoiding overflow, works in Release mode as well

* Fix debug build

* Fix build
2024-12-18 21:32:41 +08:00
xiaoyeliu
8bc3181e82 fix: create custom filament (#7477) 2024-12-15 00:49:28 +08:00
xiaoyeliu
aa7e91209a Fix: Switching between multi-extruder printers using tabs can cause t… (#7483)
fix: Switching between multi-extruder printers using tabs can cause the filament count to be incorrect.
2024-12-14 14:38:35 +08:00
discip
f50e975564 reordering and renaming certain menu items (#7573)
* reordered Z-Hop settings

* Update Tab.cpp

* Update PrintConfig.cpp

* reordering **`Compare presets`** to match the layout in the sidebar
2024-12-14 14:34:08 +08:00
f0x52
5df5cc1549 [feature] Add Bambu Cool Plate SuperTack (#7670)
* ENH: add supertrack plate

Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I89017c9933597ee035aa20ba3852db6f629f5e20
(cherry picked from commit 78572cbff864e5e78255f2e0eb6e40237bc0bab9)

* NEW:add SuperTack svg

jira: none
Change-Id: Id6153f76f8634d1f00485991b75cbe526fb64adc
(cherry picked from commit 6404f06e79d38ffa8f7f296b10af2af1c2a3974d)

---------

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2024-12-14 14:16:24 +08:00
Adam Johnston
79a5a6bbe1 Fix some broken assertions (#7716)
Fix broken asserts
2024-12-14 11:17:20 +08:00
SoftFever
a7536f7df3 Fix overlapping regions caused by "Make Overhangs printable" (#7630)
Fix #7622

Old:

![image](https://github.com/user-attachments/assets/141476b5-6c1d-4c49-8a64-b02c19a27161)
New:

![image](https://github.com/user-attachments/assets/f58e634b-380c-4b26-9c76-96813e2c55bf)

![image](https://github.com/user-attachments/assets/2633d03a-d66c-4b66-af22-8c03d521cb25)
2024-12-12 22:07:48 +08:00
SoftFever
c2d39f43d1 Merge branch 'main' into dev/bbs-measure 2024-12-01 21:33:20 +08:00
xiaoyeliu
3009d16bdc Feature: set different colors to tools on devices with multitools (#7125)
For devices with multitools, set the default colors of filaments for each tool to different colors
2024-12-01 20:49:55 +08:00
Victor Usoltsev
b8a32fa4c1 Differentiates beta releases. Always shows release notes as text. (#7067) 2024-12-01 20:44:43 +08:00
Noisyfox
1945b150ad Fix overlapping regions caused by "Make Overhangs printable" (SoftFever/OrcaSlicer#7622) 2024-12-01 19:53:02 +08:00
xiaoyeliu
88a77ef259 Fix: The "Unsaved Changes Dialog" pops up, but the content display section is empty. (#7482)
fix:The Unsaved Changes Dialog pops up, but the content display section is empty.
2024-11-30 22:23:07 +08:00
discip
4f4d42be9b don't create HEADER_BLOCK_START if using BTT_TFT thumbnails (#7488)
* don't create HEADER_BLOCK_START if using BTT_TFT thumbnails

* Update GCode.cpp
2024-11-30 21:43:02 +08:00
Noisyfox
f1540b3c67 Fix bug ShortestPath.cpp (#13331) (#7615)
Accessing a moved object.
Also this method create an unused "out" variable by removing from the parameter.
I guess It should update the parameter object?
Anyway, seems very wrong

(cherry picked from commit 534792e249da3efb83a62279f532b6690d028592)

Co-authored-by: Merill <merill@free.fr>
2024-11-30 21:38:59 +08:00
hadess
bb0c5dc303 Mouse3DController: Add SpaceMouse Wireless BT support (#7618)
Update the device list to match the upstream spacenavd one.
2024-11-30 21:37:39 +08:00
Noisyfox
8bbe6b7e36 Do not create raycaster when loading the gcode preview (#7596) 2024-11-30 21:36:22 +08:00
Vasily Khoruzhick
e50c348e55 libslic3r: include tbb/spin_mutex to fix compilation error (#7505)
PrintObject.cpp references tbb::spin_mutex, thus it needs to include
tbb/spin_mutex. Otherwise compilation fails with:

error: ‘spin_mutex’ is not a member of ‘tbb’

Supersedes #7057
2024-11-28 22:32:54 +08:00
Ioannis Giannakas
784aa3a4bc Integrate external purge estimates (eg Blobifier) to the filament consumption UI (#7508)
Integrate external purge estimates to the filament consumption UI
2024-11-28 22:26:49 +08:00
zlbruce
fa07992747 fix filename encode issue when download chinese filename (#7542) 2024-11-28 20:39:53 +08:00
LyricWulf
1e89bd101b fix: ImageGrid download button would delete instead (#7413) 2024-11-27 22:28:36 +08:00
Noisyfox
4ebda18350 Fix 3mf object type to conform the 3mf core spec (#7586)
Fix 3mf object type. Always use "model" instead of "other" for modifiers, to conform the 3mf core spec (SoftFever/OrcaSlicer#7574)
2024-11-27 20:39:57 +08:00
camerony
06f0c74179 Added LDO as a Filament vendor (#7587)
* Added LDO as a Filament vendor
2024-11-27 20:35:27 +08:00
Noisyfox
5eebdcddb7 Fix PA pattern crash if default/first layer line width is percentage (#7592)
Fix PA pattern crash if default/first layer line width is percentage (SoftFever/OrcaSlicer#7569)
2024-11-27 20:25:57 +08:00
Vovodroid
792e84c115 Retract on top layer option. (#6188)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-11-23 23:23:04 +08:00
Vovodroid
fad6af058f Fix no overhang reverse in Arachne (#5964)
* Fix no overhang revert in Arachne

* Merge branch 'main' into fix-no-revert-arachne-pr
2024-11-22 21:44:38 +08:00
Vovodroid
829a007b86 Adaptive layers - respect layer height range modifiers. (#5941)
* Adaptive layers - respect layer height range modifiers.

* Remove #pragma optimize
2024-11-21 21:40:51 +08:00
Noisyfox
7514c411ca Allow clicking the toolbar icon multiple times without moving the cursor (#7267)
Revert "FIX:fix Gizmo tooltop disply"

This reverts commit a26c573b1b.
2024-11-12 00:09:15 +08:00
Noisyfox
791f6ede61 Update button to Orca color scheme. Update a typo. 2024-11-07 09:58:17 +08:00
Noisyfox
9df82d7f16 Fix null pointer issue 2024-11-06 23:38:33 +08:00
Noisyfox
76ba4e5108 Assembly: Port BBS' assembly gizmo
Co-authored-by:  zhou.xu <zhou.xu@bambulab.com>
2024-11-06 23:38:17 +08:00
Noisyfox
34ef17d282 Disable right-click menu display in gizmo 2024-11-06 22:08:46 +08:00
Noisyfox
f73686e60a Measure: Port of BBS' improved version of measure gizmo
Co-authored-by:  zhou.xu <zhou.xu@bambulab.com>
2024-11-06 20:19:52 +08:00
Noisyfox
3c8d4ddc80 Fix crash when extruder 16 is used in color painting (#7200)
Fix crash when extruder 16 is used in color painting (SoftFever/OrcaSlicer#7198)
2024-10-27 22:48:01 +08:00
Fritz Webering
2f8230785e Avoid collisions when moving Z down (#7208)
Avoid collisions with previous extrusions in the same layer when moving Z down in an XYZ move.
This happens for example when starting a scarf joint after another perimeter was already printed.

Fixes SoftFever#7191

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-10-27 22:24:49 +08:00
Noisyfox
39cc37ae84 Fix crash when doing PA calib using pattern method from calib tab (#7248)
* Fix crash when doing PA calib using pattern method from calib tab
2024-10-26 22:13:30 +08:00
Noisyfox
3dab25a884 Fix crash when loading gcode file twice (#7217)
* Fix ASAN use-after-free error when loading 3mf file with gcode by drag-and-drop

* Fix crash when loading gcode file twice
2024-10-26 21:29:03 +08:00
Noisyfox
89abc5f2fc Fix issue that thumbnail color not updated properly when AMS slot mapping changes (#7194)
* Fix issue that thumbnail color not updated properly when AMS slot mapping changes
2024-10-25 23:25:17 +08:00
Dima Buzdyk
3d06279915 pa calib: print flow value and acceleration (#7178)
* pa calib: print flow value and acceleration

Print flow value and acceleration for PA pattern calibration.
This should help keep track during adaptive PA calibration.

* pa pattern: fix legent section too wide in some cases

Rework pa pattern legent generation to correctly estimate
width of the legend section.

Current flow value now has variable length which is a longest of
PA value and the acceleration for a given test.

Few examples:
1. PA value are 4 characters:        0.04
   Acceleratioion 3 chars:           400
   Flow value will be 4 chars long:  7.98, or 11.3

2. PA:      0.018
   Accel:   1000
   Flow:    12.35, or 6.345

3. PA:      0.04
   Accel:   15000
   Flow:    34.34, or 4.567

Rework number-to-string conversion flow to correctly round values at
given precision.
2024-10-24 23:41:51 +08:00
Noisyfox
3809586dc9 Fixed Clipper library (our own fork of it) when working with Z coordinate (#7180)
Fixed Clipper library (our own fork of it) when working with Z coordinate:
The Eigen vector type compares all components, while the ClipperLib
own IntPoint type compared x and y only.
Fixed by overriding the ==/!= operators to compare just x and y components
for Eigen types.

Cherry-picked from prusa3d/PrusaSlicer@0202eec4b7

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2024-10-24 22:26:40 +08:00
Philipp
0b616c22a9 Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled (#7161)
Update DeviceManager.cpp
2024-10-22 23:13:34 +08:00