Commit Graph

17194 Commits

Author SHA1 Message Date
Noisyfox
4b739539a4 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
44e53c90f0 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
862acea2af 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
3a43050ad1 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
d7789282b9 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
27ec1980bc 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
3b73ad875d fix: create custom filament (#7477) 2024-12-15 00:49:28 +08:00
xiaoyeliu
1af51d66c6 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
ef28de69a5 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
25b1ec6843 [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
97c60be44b Fix some broken assertions (#7716)
Fix broken asserts
2024-12-14 11:17:20 +08:00
SoftFever
d74a2990ec 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
8ce992b640 Merge branch 'main' into dev/bbs-measure 2024-12-01 21:33:20 +08:00
xiaoyeliu
484c43ca4d 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
ae07f17ca0 Differentiates beta releases. Always shows release notes as text. (#7067) 2024-12-01 20:44:43 +08:00
Noisyfox
09c115afb3 Fix overlapping regions caused by "Make Overhangs printable" (SoftFever/OrcaSlicer#7622) 2024-12-01 19:53:02 +08:00
xiaoyeliu
2a61ceae5b 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
c899c3ea6e 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
4f9e946dfb 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
89cf7f87bf 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
3b1c4f9ee4 Do not create raycaster when loading the gcode preview (#7596) 2024-11-30 21:36:22 +08:00
Vasily Khoruzhick
16e532f73e 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
508d0e6334 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
565619a216 fix filename encode issue when download chinese filename (#7542) 2024-11-28 20:39:53 +08:00
LyricWulf
ac5eaa3829 fix: ImageGrid download button would delete instead (#7413) 2024-11-27 22:28:36 +08:00
Noisyfox
b38b9132f4 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
4c78d687a0 Added LDO as a Filament vendor (#7587)
* Added LDO as a Filament vendor
2024-11-27 20:35:27 +08:00
Noisyfox
3666f84e65 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
ca35ba4107 Retract on top layer option. (#6188)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-11-23 23:23:04 +08:00
Vovodroid
717fe35ebd 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
b3b0961d91 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
cdb38d918b 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
f38825a538 Update button to Orca color scheme. Update a typo. 2024-11-07 09:58:17 +08:00
Noisyfox
ceeebda1dc Fix null pointer issue 2024-11-06 23:38:33 +08:00
Noisyfox
3d45414b71 Assembly: Port BBS' assembly gizmo
Co-authored-by:  zhou.xu <zhou.xu@bambulab.com>
2024-11-06 23:38:17 +08:00
Noisyfox
e3b1e30387 Disable right-click menu display in gizmo 2024-11-06 22:08:46 +08:00
Noisyfox
6e9257c8ac 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
65157da466 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
cf6d9c77ff 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
661efa733e 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
2348928b25 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
ae31f4fb1f 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
983f1a827e 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
be5bc632ad 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
Noisyfox
6169b4fa2a Fix issue when the extruder do not have any adjustable extrusion 2024-10-24 21:27:46 +08:00
Noisyfox
4bb6525c4f Fix issue that total_time is not updated after slowing down 2024-10-24 21:27:03 +08:00
Noisyfox
dc943eddaf Exclude movements before first extrusion from layer time calculation when dealing with layer cooling (SoftFever/OrcaSlicer#7171)
If layer starts with a color change, the full layer time will be much longer, which will trick the slicer to think this layer has enough cooling time.
However the actual filament extrusion time (the real "printing" part) won't necessarily have enough time to cool down, so if we don't do extra slowing down
before starting next layer, the filament could still be soft and lead to worse surface quality.
2024-10-24 17:24:09 +08:00
Philipp
425d9c97e4 Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled (#7161)
Update DeviceManager.cpp
2024-10-22 23:13:34 +08:00
Ioannis Giannakas
c0ce64ce55 Bug fix: Inner Outer Inner wall ordering mode failed to reorder in certain edge cases with arachne (#7134)
* Bug fix: Inner Outer Inner failed to reorder in certain edge cases

* Fixing IOI proximity search spacing calculations
2024-10-22 23:02:44 +08:00
SoftFever
5cf16b9b5d Add Creality Print support (#6928)
# Description

Added support for Creality Print (E.g. Orca can upload and print
directly to Ender 3 V3 KE)

# Screenshots/Recordings/Graphs

Video: https://www.youtube.com/watch?v=ONzaMJhj_Hk

## Tests

Tested in the video above on a Macbook Pro, Ender 3 V3 KE.
It should also be tested on Windows but I don't have a windows computer.
2024-10-21 23:36:09 +08:00