Commit Graph

49 Commits

Author SHA1 Message Date
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
qing.zhang fdd659cefe ENH: speed up the wall generator process by using bounding box
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ifccbb33bc6df28136746f98020ef2cad002b5868
2023-04-17 15:39:02 +08:00
qing.zhang db873eb99b ENH: inner-out-inner wal seq
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idd2205f2b72a8f471927c9e3a38415013548f09e
2023-02-01 16:24:44 +08:00
salt.wei 70a0f09ea2 ENH: disable clipper2 in perimeter generator
Clipper2 doesn't solve wrong line issue for some
specific model and sometimes has performance issue.

Return to clipper1.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I906f8b81083ac8c03ecc9fe3e8d2ade20be95c04
2023-01-10 19:08:26 +08:00
salt.wei ebaae57b01 ENH: disable slow down for overhang when fuzzy skin is used
When fuzzy skin is used, it's unmeaning to calculate
the overhang degree of extrusion line, because there
are a lot of random fuzzy point which change the line.

Disable in this case. This can also speed slicing up
when fuzzy skin is used.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia65e20e24fd7a5cd224635fd69a272387135ba12
2023-01-10 19:08:26 +08:00
qing.zhang afcb41f821 FIX: fix the empty gap infill when open top one wall
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib36c06ecd6986fbe8a726e0aaa34ca02b275064e
2022-12-15 04:38:15 -05:00
salt.wei 6551b86230 ENH: enable arachne for wall
Refer to prusa and enable arachne for wall.

Arachne also has corner case and cause strange
slicing result and bad quality when print, while
class engine is much better for these cases.

Provide option for user to choose.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ieb3a1c6a457ca610561f8734de4a122d74165afd
2022-12-15 04:38:15 -05:00
qing.zhang 6bc580930e FIX: fix the error path when it is bridge & top
if the region is top surface as well as bridge
use bridge path

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ia23910e4c49daeacf12d2f40d21a7ca319ddcfb7
2022-12-15 04:33:48 -05:00
salt.wei e863d1054a ENH: add clipper2 for preparing
Add clipper2 code into repo

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib98ea3085055db7d125a92879c46b54e39bdc6b1
(cherry picked from commit 7398e71236a300531a172163c71f15440c37bd5e)
2022-12-15 04:33:48 -05:00
salt.wei fd0f22b771 ENH: don't calculate overhang degree if disable overhang slow down
When the model has no overhang, user may disable overhang
slowing down.
In this case, it's unnecessary to calculate overhang
degree which make slicing slow when model is complex.

This is improvement for github issue #331.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2eaeca3ee4068f76709fe97535bbf05c0d27c062
2022-10-20 19:34:37 +08:00
salt.wei d4854c0df7 ENH: fix empty infill layers
This is fix for github issue #216 that
sometimes the infill layer is empty.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ie3be08b75506e48f5ae9dd6aae2ae729ba666e01
2022-09-15 16:03:53 +08:00
salt.wei d6a6fad04e ENH: topmost layer can be controlled by only_one_wall_top
For github issue #124

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ieb4a2c0cdb185d1cc565a20754327eeb1c599237
2022-08-26 09:25:59 +08:00
lane.wei e9e4d75877 Update the codes to 01.01.00.10 for the formal release
1. first formal version of macos
2. add the bambu networking plugin install logic
3. auto compute the wipe volume when filament change
4. add the logic of wiping into support
5. refine the GUI layout and icons, improve the gui apperance in lots of
   small places
6. serveral improve to support
7. support AMS auto-mapping
8. disable lots of unstable features: such as params table, media file download, HMS
9. fix serveral kinds of bugs
10. update the document of building
11. ...
2022-07-22 20:35:34 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00