Commit Graph

63 Commits

Author SHA1 Message Date
xun.zhang 56a7d295c7 ENH: enhance check for only one wall top
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia5f326416516a73111e37ba75bc673e69f0f99a5
2025-03-24 09:04:23 +08:00
qing.zhang bd2843ce51 FIX: can't detect overhang degree on classic
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I299995c61c2f458bdca95b6f4ae06d87a718b350
2025-03-24 08:40:50 +08:00
Arthur 519ceaad5a ENH: increase top_area_threshold to 200%
100% is too small and causes too many problems.

jira: STUDIO-9641
Change-Id: I7699a31beea24d079c7ef05467a5d0fde4d6911b
2025-03-23 20:29:34 +08:00
Arthur b9ec612416 ENH: draw thin walls after normal walls
jira: STUDIO-9642
Change-Id: I8e8fc58f1c7e4ae4bb2a59ec8dd200a016b64568
2025-03-23 20:20:35 +08:00
xun.zhang 663fb0d613 FIX: revert outer wall contour strategy
1.Outer wall contour strategy can cause bead with different idx to
link. Temperoraily revert it to avoid the issue
2.Only seperate wall generation if needed

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If53fcd4fe6bd81bb9621b8e1917e299abc83f41b
2025-03-23 20:18:02 +08:00
xun.zhang 6018d326f4 ENH: generate outer wall contour paths in arachne
1. Add OuterWallContourStrategy class to generate outer wall contour paths.
2. Fix top one wall issue in arachne

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I44574df765cdd0d0d3fc4f6c3f7b846dfb4fa21f
2025-03-23 20:15:01 +08:00
zhimin.zeng 1ae969d08f FIX: error circle compensation for hole
jira: none
Change-Id: Icd6549e745f29d93e7f0a87984136de16f575182
2025-03-23 20:14:41 +08:00
xun.zhang cf00527ef0 ENH: support hole compensation for Arachne
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iaaca3a27f44e13049088480a9946117e984d5b5a
2025-03-22 22:14:56 +08:00
xun.zhang ce30dad82c FIX: unexpected stripe in arachne mode
1.Caused by process_arachne.When generating walls in the Arachne mode,
first generate 1 wall, then generate n-1 walls. It is different from
directly generating n walls

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ifda35a5073531b3a273b9ad416417ca96325ca14
2025-03-22 22:14:56 +08:00
zhimin.zeng 7d44a8bdca ENH: support circle speed compensation
Jira: none

Change-Id: I05f31ff26463cdf6fd900f8f1ca6cf0e0b283925
2025-03-22 22:13:31 +08:00
qing.zhang e7b9e81e84 ENH: smoothing z direction speed
Jira: none

get z direction continuous info
smoothing speed based on the max speed of the loop
rewite the pipeline
set perset param to enable z smoothing function

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib0e6a6a353c92a441a0c99a8d3d7902f7aeae6df
2025-03-22 22:09:16 +08:00
zhimin.zeng dcd9fd5013 FIX: backend get the extruder id based on filament_map
Change-Id: Ib7679c0fc67336e462467dab9f5b4d4684d6eb19
2025-03-22 20:31:44 +08:00
zhimin.zeng 6b09cfee71 FIX: modify parameter type of process preset
jira: none
Change-Id: I5c973a29e5b983e3f480d55aeeb2b14d13e950ee
2025-03-22 20:30:22 +08:00
qing.zhang 3614033fdc ENH: crash on clipper while open fuzziy skin
Jira: 8412

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I27d06f07baf91dd0f5947ebc2925df59f219a0c6
(cherry picked from commit a0a40462acdc52f22a1e49104e40b303a59b2f32)
2024-10-15 15:50:26 +08:00
qing.zhang 872978d61b ENH: Revert z smoothing function
Jira: none

Change-Id: I067033c3beb4b29b8da11ff0c9f12b126bcf61dc
2024-10-15 15:50:26 +08:00
qing.zhang 6008a584aa FIX: error overhang detect for short line
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If2e60a9f049bd3437d5bb2f6c7ed8af382f352d8
2024-10-15 15:50:26 +08:00
qing.zhang be413220df ENH: replace clipper by clipper2
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0a0d8981ba9f9e9757408cb346ef3a99201cb072
2024-10-15 15:50:26 +08:00
qing.zhang b52a9de509 ENH: smooth z dir speed and layer time
Jira: none

generate continuitious outer wall speed in z dir
generate continuitious layer time in z dir

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0ade543d2f9ee40f5cd65c533eb261d85e5eaa34
2024-10-15 15:50:26 +08:00
qing.zhang 4ed1cd9cb9 FIX: regular vertical texture on fuzzy skin outlook
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I27a7596290ecdb741f2ede084093b6eee1ac49c5
2024-10-15 15:50:26 +08:00
qing.zhang 94d1d62340 FIX: no overhang wall on bridge
while on the one top wall mode, extra overhang wall loop may produced
on bridge. this commit fix that.

Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I469ffae57016db523a1b42442adf156dfbd82d45
2024-10-15 15:50:26 +08:00
qing.zhang 61481700a4 FIX: can not set 0 wall on arachne mode
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iaf84d5bd6cb58dbcdfe30ad81aeda33c19a89421
2024-10-15 15:50:26 +08:00
qing.zhang 9845767295 FIX: wrong wall order
Github: 4139

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ibc2c433b3de5a0c5e7cd2edcd4f9e91956645e88
(cherry picked from commit d4282d26cbbfbbfacf7352c5e45c078eb3ef14f8)
2024-10-15 15:50:26 +08:00
Bastien Nocera 93e2d68412 Fix missing std::thread declaration
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp: In function ‘double Slic3r::random_value()’:
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:31:76: error: ‘thread’ is not a member of ‘std’
   31 |     thread_local std::mt19937 gen(rd.entropy() > 0 ? rd() : std::hash<std:🧵:id>()(std::this_thread::get_id()));
      |                                                                            ^~~~~~
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:15:1: note: ‘std::thread’ is defined in header ‘<thread>’; did you forget to ‘#include <thread>’?
   14 | #include "libslic3r/AABBTreeLines.hpp"
  +++ |+#include <thread>
   15 | static const int overhang_sampling_number = 6;
2024-09-06 15:08:20 +08:00
qing.zhang 0efa2db823 ENH: imprve overhang quality
Jira: none

add speed transition between discontinuity speed
detect bridge-wall and only use bride speed on bridge wall
fix the bug that not use overhang speed while support z
distance is 0 on arachne mode

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I72a1504544fe1ed7bd184ca073bd1b52cd2dcd75
2024-08-26 17:23:33 +08:00
SeaRyanC 70a0f0a447 ENH: C++11 random number generator for fuzzy skin
Github: 4253

Change-Id: Ib58022485c131b6c28f4bd1e78a3bf6e1188cf23
(cherry picked from commit 6dd9ceb6065aa6eb664acf7ba3d1510f31407258)
2024-08-26 17:23:33 +08:00
qing.zhang bcdcea2bfe FIX: lower overhang speed to get better cooling
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I79235fac75d6601da13d55ddc7d8602f88b1a462
2024-06-21 09:15:34 +08:00
Noisyfox ad89f63fce ENH: Merge Scarf seam method from orca
Jira:none

BBL:Merged scarf seam and
add imorovemnt to improve seam on defalue setting
--as default setting wipe before rectract get good seam on end
--clip slope at start and end
--clip more on inner wall slope start than outer wall
--slowdown slope speed to get better sea
--todo-slope path had error double dE
  reduce it could improve seam,but slope could not stick well.
--check slope path overhang and avoid it while on conditional scarf mode

Co-authored-by: qing.zhang <qing.zhang@BambuLab.com>

Change-Id: I583a1c25e534b2aa5c9d710dcf207aefbea64347
2024-03-25 15:29:19 +08:00
qing.zhang 9b3d7c36ff FIX: error overhang degree mapping
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ifa24aa0cad0a06b09ee62a8be8781188a765d1d0
2024-03-25 15:29:19 +08:00
qing.zhang eace110b33 ENH: update overhang degree method on calssic mode
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I90f6e4c2ef618fdaef00bdaf1ca309893f484c1e
2024-03-25 15:29:19 +08:00
qing.zhang c5f1c22c51 ENH: put wall order to object level
Jira: [new]

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idda8b1351ac880602f5da518d1146042dcd77795
(cherry picked from commit c6a5c8233bb013f6e272fef4f6e77748549d81e4)
2023-11-09 10:09:10 +08:00
qing.zhang fe076075df FIX: inner wall width error on top one wall mode
under arachne mode
Jira: 4646

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iea09e12b9ab2ed6cbd3c7bef23f0acdbeb1e3017
2023-11-01 09:33:21 +08:00
igiannakas 7b33a7e86b ENH: fix conner case of sandwich wall order
Updated sandwich mode code to cater for edge case where two sets of internal perimeters were causing the perimeters of another island to not be re-ordered correctly.

Github pull request: #2182

Change-Id: Ib58722db8cb76aa6b6474412c71993bb8e4dc007
2023-11-01 09:11:19 +08:00
igiannakas 4ac098df4d ENH: reorder wall seq for inner outer inner mode
Enhancement on wall ordering for inner outer inner mode

Github pull request: #2182

Change-Id: I0902ea0c728f7e37a1a43f9796997f33d37a9940
2023-11-01 09:11:19 +08:00
qing.zhang 7a7a9f4296 ENH: add top_area_threshold param
Jira: 4136

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic8a3d05cea769ae92dd5f2f2fcd685d660075c95
2023-11-01 09:11:19 +08:00
qing.zhang 536bdeda54 FIX: Revert overhang optimization
Revert overhang degrre split

This reverts commit 7d8c98117ae6b7c2c2d62176d1bf8cf51b28a79b.

Revert "ENH: arachne overhang efficiency optimization"

This reverts commit 7adcceda95fc52be4a37c3e74de1aa776a3c434a.

Change-Id: Ic33a2e8bb11e48b40388706a662267e05508fd25
2023-11-01 09:11:19 +08:00
qing.zhang 8ee88c81c2 ENH: fix arachne wall order
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0f3680ba73689c6fb673c070b0355a84fc25de26
2023-11-01 09:11:19 +08:00
qing.zhang f66f4b5462 ENH: fix overhang degree split
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I81b946f2fab5e561f965df2ab9852c10c61f8480
2023-11-01 09:11:19 +08:00
qing.zhang 0d837e2587 ENH: top one wall for arachne
split to 3 mode
not apply
all top surface
topmost surface

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Id9bb1a6ded7414b2f093ac01e4ecb4b93057d022
2023-11-01 09:11:19 +08:00
qing.zhang 94b4194b11 ENH: arachne overhang efficiency optimization
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9b0954e24867b5f4a29e0e5d24708cd977ec22aa
2023-11-01 09:11:19 +08:00
salt.wei 2fe7629388 ENH: normalize comment from OrcaSlicer
Mark code from OrcaSlicer with same comment tag for follow easily

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If4db502a1b0e6d0648c73f2f383b6d1cc8e1aa01
2023-07-07 17:29:08 +08:00
qing.zhang 739d8c9b28 ENH: filter small gap
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9bffe629419455b2a7b4494aa595b711619939da
2023-07-07 17:29:08 +08:00
salt.wei 68c990a1de ENH: fix one assert in wall generater
Thanks PrusaSlicer

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I39456246c0fa1bde68fdd86690e4ef015a349898
2023-07-07 17:29:08 +08:00
qing.zhang 5ae0adde16 ENH: reorder print area to reduce travel time
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8fd5c505a42ae850d91c061d4df08257fb03c8c8
2023-07-07 17:29:08 +08:00
qing.zhang b5c7532700 NEW: only one wall for first layer
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I4ed31db361230b7192c210e506717e16bd28a6f3
2023-07-07 17:25:51 +08:00
qing.zhang 345536e07f ENH: optimize the process of top-one-wall
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ieee51f872bfbe9d0a56f2231b47a0381aa5b5896
2023-07-07 17:25:51 +08:00
salt.wei 60dd35b4bf ENH: fuzzy skin handling
1 limit the range of setting
2 avoid too dense points when fuzzy skin enabled

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I6691fd03d2aa960b055b68100dfb338b640cb4af
2023-04-17 15:39:02 +08:00
qing.zhang 97179d1378 ENH: arachne + overhang slow down
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic015c1c6d369edabaa1195416942881c0756f839
2023-04-17 15:39:02 +08:00
salt.wei 6ddcc14577 ENH: support fuzzy all wall lines
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If6754b6a958203459882a125048e01b347e0a4db
2023-04-17 15:39:02 +08:00
salt.wei 61b271f379 ENH: fix for STUDIO-881
Thanks prusa

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2e1c1088d29dd5401016ca41d3ed6dec87e0acd1
2023-04-17 15:39:02 +08:00
qing.zhang 0cc953ad41 ENH: speed up one wall top generate
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I141565bea3ca4d3fbcc9569b175af5d4f5cdd40e
2023-04-17 15:39:02 +08:00