Commit Graph

1743 Commits

Author SHA1 Message Date
xun.zhang d15fc37ff2 ENH: enhance filament group alogrithm
1. Try to merge filaments before grouping
2. Set max match num for machine filamnet in match mode

jira:STUDIO-10392

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I2451d838e07ee02f493fda4dc702f3d13b2ad37b
2025-03-24 08:34:31 +08:00
zhimin.zeng 0381d5827c FIX: fix wrong retract when change filament
jira: none
Change-Id: I6bf6d4620234d9c7b5246126bfdcdf8b5e1944e3
2025-03-24 08:34:31 +08:00
qing.zhang fb5bf37336 ENH: change infill params' name
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I864f24a335d59b4ee6ae474c9a338cd2fbc2ebf1
2025-03-24 08:34:31 +08:00
jiangkai.zhao ed7bfd3ff6 ENH: add solid infill before nozzlechange
and set the contact surfaces of different material types as solid,
and reduce the nozzlechange speed if it occurs at the contact surface,
and recuce the toolchange speed if it occurs at the contact surface.
jira: none

Change-Id: I884d60f4114544dfa959bd654ecc985f5fb9aac4
2025-03-24 08:34:30 +08:00
jiangkai.zhao 7d48561817 Fix: error wipe when no finish_block_tcr
jira: none

Change-Id: I0890089661a719f728c5fbc5254cf53f047d7248
2025-03-24 08:34:30 +08:00
zhimin.zeng fde94de17b FIX: error travel when start print TPU
jira: none
Change-Id: I0ccabf460afca03662249c97d6f2e01e05120509
2025-03-24 08:34:30 +08:00
Arthur 93d98a6a69 FIX: crash when raft = 1 && has wipe tower
jira: STUDIO-10265
Change-Id: I2f932b2cffad6b16075adda95ebd8c453beea753
(cherry picked from commit 27c18dca4130f872ea96dbb3b321b9dcee1f1068)
2025-03-24 08:34:30 +08:00
qing.zhang 872726abed ENH: add cross zag pattern
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If11f423db443b3f31f2181d4b0c56eaeb9a7ca5d
2025-03-24 08:34:30 +08:00
qing.zhang d69fce58cb FIX: error overhang on auto circle compensation
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8281f617cc4dde848d4dd795fe9afc7b2b8c72ce
2025-03-24 08:34:30 +08:00
Arthur 2debc31c4d ENH: fixed crash issue of lightning infill of tree support
Use clipper2 and remove colinear points.
Later on we can try to set lightning infill as the default infill pattern of tree support.

jira: none
Change-Id: Id545b15d778071cec6e56d212ab68db1ab90ad2a
2025-03-24 08:34:30 +08:00
chunmao.guo 0b4795fd10 FIX: get_similar_printer_preset only visit system preset
Change-Id: Ib219e76cba37ace7b81f69e63f4edd1edb25ddc4
Jira: STUDIO-10338
2025-03-24 08:34:29 +08:00
Lukáš Hejl ff7eb25c54 NEW: port Zig Zag infill from Prusa
Thanks to Prusa!
jira: none

original commit message:
ceb13b1faa33ac096fe7ffd89aa222abca119e02
SPE-2405: Add Zig Zag infill that is rectilinear infill but with a consistent pattern between layers.

This Zig Zag infill is inspired by the Zig Zag infill in Cura.

Change-Id: I798affa99f4b5c3bd67f47643e67530fb7c3e0cb
(cherry picked from commit 2808d04d5deef6f99f9618648e46f11de03efc98)
2025-03-24 08:34:29 +08:00
zhou.xu 91df890100 ENH:Fix the issues discovered in the demo
jira: STUDIO-10384 STUDIO-10385 STUDIO-10387
Change-Id: I68f3099b9fbb6d6996373cae07b2e62930ce614c
2025-03-24 08:34:29 +08:00
xin.zhang d30ca5baa0 FIX: update the filament name
jira: [STUDIO-10348]
Change-Id: Id2762188eaf84ad7534a3d6063e0df8c000dd817
2025-03-24 08:34:29 +08:00
xun.zhang 16813aa460 FIX: missing gcode line caused by gcode GCodeEditor
In the original logic, the gcodeEditor did not parse gcode lines with
leading spaces. In recent changes, all leading spaces in gcode lines
were removed, causing all gcode to be parsed. However, some certain cmd
perform additional actions, leading to incorrect state recording. As a
result, based on the erroneous state, some gcode lines that should not
be deleted are being removed.

This logic needs to be optimized in the future.

jira:10357,10367

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If34b9c3b2913768b824030685e0a36708ca3a5ca
2025-03-24 08:34:29 +08:00
Arthur c414e51999 FIX: several auto arranging bugs
1. fill bed crash (jira: STUDIO-10350)
2. reset arranging settings gives wrong sequential printing order (jira: STUDIO-10346)
3. do not show "arranging done" message when there is no model

Change-Id: Ic1c7eac75e3917b9f1d87ab6acc403f78e0c9f7c
2025-03-24 08:34:27 +08:00
zhimin.zeng 5c56b43166 FIX: fix some wipe tower issue
1. the nozzle change gcode use double perimeter width
2. fix the error layer height for adaptive layer height
3. limit the nozzle change speed to 50 when a bridge is detected
4. fix the error extrusion flow for filament change gcode when a bridge is detected
jira: STUDIO-10269

Change-Id: I580c618555fe19d000a56e2510a42004722c1b8b
2025-03-24 08:34:27 +08:00
xun.zhang 001144400b FIX: some filament group issues
1. Add filament_is_support field. Format the filament type
2. Optimize machine filament info logic

jira:STUDIO-10326

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia8bfc37095339e73c98209b4e3f1e0804e511e88
2025-03-24 08:34:01 +08:00
jiaxi.chen 05365a7a3f FIX: wrong cantilever check of circular ring overhangs
jira: STUDIO-10240
Change-Id: Ic4ff176a017e0aa7333404e1f5eec6cac6700484
2025-03-24 08:34:00 +08:00
jiaxi.chen f2cb4f747c ENH: improve quality of interface
1. change type of transition layers below interface to erSupportTransition,
2. fix the number of transition layer above tree branches,
3. change the default setting of support_interface_pattern to smipRectilinearInterlaced,
4. change the default support_style to HybridTree when interface is soluble
5. FIX: conflict between xy_expansion && split_hole

jira: STUDIO-10239, STUDIO-10314, STUDIO-10319
Change-Id: I3eb392ccd005acedb001aa862d5bf3eb104c5293
2025-03-24 08:34:00 +08:00
xin.zhang e88042bb96 FIX: add compatible codes by xun.zhang
jira: [none]
Change-Id: Ice769643fb8109b60e2f5323286c61bf9c934db1
2025-03-24 08:34:00 +08:00
qing.zhang b7a90c9462 ENH: modify params tooltips
Jira: none

modify tooltips of scarf seam on circles

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I12b836cf95234192c0d91fcd70048ad9877195b7
2025-03-24 08:34:00 +08:00
zhou.xu d2d620f87c ENH:translate text
jira: none
Change-Id: I49ceba7546b6c5e32efd8cc040b090b63f076886
2025-03-24 08:32:53 +08:00
Arthur c486b42e9c ENH: update Clipper2 to 1.5.2
Clipper2 has added a lot of features in the past 2 years, including "offset to polytree" which is very useful for expolygons.

jira: none
Change-Id: I6f51e243656312d8c7693e1c9f5c52cf2f0034d1
2025-03-24 08:30:17 +08:00
jiangkai.zhao 0a20f1fe6d ENH: Change the collision calculation
of the wipe tower's outer wall to use the actual outer wall path.

jira: none
Change-Id: Ib45ecbc328c88c1abe6d9e8567f715331a3ddd37
2025-03-24 08:30:17 +08:00
zhimin.zeng 31b8eae044 FIX: modify the name for filament ramming length
jira: none
Change-Id: I3533c86ad7901282866074a7a8e4909c360055a6
2025-03-24 08:30:17 +08:00
xun.zhang a4e05afd03 FIX: wrong gcode line id after first process
1. The line id in filament block and exturder block
is assigned during first gcode process. So we should
add offset caused by gcode processor to line id

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6a24b052fdf0daa3506c5f0982b521e85107f193
2025-03-24 08:30:17 +08:00
xun.zhang c7f80cb611 ENH: add some missing change for params
1. Add more change for ensure vertical shell
thickness

jira:none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0bd575ab3cb314c0276faf9a91da1c7744e66da6
2025-03-24 08:30:17 +08:00
qing.zhang b9a835efd7 FIX: scarf seam inner walls option not work
Github: 5748

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8e1240b4621ce166c49b2ca08a1509503aae3158
2025-03-24 08:30:16 +08:00
qing.zhang c0a2982c79 FIX: error speed while flush to infill
Jira: 10094

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I335d664fd28355cfeadd42be52f8c646f249eab0
2025-03-24 08:30:16 +08:00
qing.zhang faec4160d5 ENH: change param name
Jira: none

change filament category to filament adhesiveness category

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I267d71b2f968becf4e8f434daafdf1a70c36a823
2025-03-24 08:30:16 +08:00
guanyun 52d6e2f46e NEW: disable dgpu by default
jira: STUDIO-10068 / STUDIO-9387

Change-Id: Idee00cb0963d035aa5d70d6796482543cea3061d
2025-03-24 08:29:27 +08:00
jiaxi.chen 4f9f1bbba0 FIX: useless expand for tree nodes
jira: STUDIO-10235
Change-Id: I2a6780b4d010253452249c426437aba2bcc6ff60
2025-03-24 08:29:27 +08:00
jiangkai.zhao 89b59f1c41 ENH: add wipe_tower infll gap
and fix wipe error when enable timelapse and in single color
and set rib wall as default
jira: none

Change-Id: Ic365bb7ee0ee6715c9d4f4f00b4bca9fd472c61a
2025-03-24 08:29:27 +08:00
xun.zhang b47b19ed48 FIX:minimum sparse infill area not work
1. Filter small sparse infil after doing vertical shell detect.To make
sure the params always work, the logic should also be added after doing
internal bridge detect

jira:STUDIO-9872

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9d48303e156125dfab17ef95b73294013ab9fabd
2025-03-24 08:29:27 +08:00
xun.zhang 9a9f634e31 ENH: seperate skippable part time
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8d2117c7a7114298e966d3e043604d738847a72b
2025-03-24 08:29:26 +08:00
xun.zhang f8369e8796 ENH: enhance ensure vertical thickness
This patch support completely disable ensure_vertical_thickness
Cherry-Picked eff2c16ecc2017f8186e5804f9ed4d71d87e9248 from prusa slicer.
Thanks everyone involved

Co-authored-by: SoftFever
Co-authored-by: Vovodroid

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia00b9fb2dc5839d0e7306010260c1276c35c5d66
2025-03-24 08:29:26 +08:00
zhou.xu 288b1eddc5 ENH:add "nozzle_has_ams_then_ignore_ext" deal
jira: STUDIO-10245
Change-Id: I77e49dcbdfc3acd9473ca3885c6cc7eebdd0d3fa
2025-03-24 08:29:26 +08:00
xun.zhang d2ae5ea32c FIX: wrong group result in some cases
1.Caused by too big tolerance

jira:STUDIO-10236

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0ba182991bc70ca2d3a34a85b87fa7539c5e50d9
2025-03-24 08:26:48 +08:00
zhou.xu 068f1d1256 ENH:reopen "enable_merge_color_by_sync_ams" option
jira: STUDIO-10227
Change-Id: If6e070f4daf1f96ec667f65ce4872bd942d866ab
2025-03-24 08:26:47 +08:00
jun.zhang 2353d0366d NEW: add config: prefer_to_use_dgpu
jira: STUDIO-10068 / STUDIO-9387

Change-Id: I78fe0e865e9665bbf3669e4834a39af624cde29e
(cherry picked from commit cc41c008548b4dc2874333afd63ef0035070cda5)
2025-03-24 08:26:41 +08:00
zhimin.zeng d0f89eb862 ENH: Add parameters for extruder page of printer preset
jira: none
Change-Id: I8eb37e41bdc4b2b1f2328acee324c6fad30e391c
2025-03-24 08:26:41 +08:00
jiangkai.zhao 1aad582e08 ENH: add lift after printing the wipe_tower
and reduce the travel speed inside the wipe_tower
jira: none

Change-Id: I3b07ee62623e0cdc2f1824f0011f95776020bee1
2025-03-24 08:26:41 +08:00
jiangkai.zhao 1b467b13c4 ENH: add flat ironing before toolchange
jira: none
Change-Id: Iabe121f9523b662fc90c18365aa642583635a126
2025-03-24 08:26:41 +08:00
zhou.xu b651cee316 ENH:Import 3mf into existing projects and remember previous selection
jira: none
Change-Id: I799c3aa240d614fc4ff7bf8ff02a9879d1a4b459
2025-03-24 08:26:40 +08:00
zhimin.zeng 48368ed472 FIX:Elephant foot compensation simplify expoly leads to contour loss
jira: none
Change-Id: I4df620e1a0c55803499ec979fa3ea22394f32699
2025-03-24 08:25:45 +08:00
qing.zhang 03607bd975 ENH: apply scarf seam on auto compensation circles
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I339acf82ec1af9ed0a8f973e76b73c0eae608767
2025-03-24 08:25:45 +08:00
zhimin.zeng 4715fa14ed FIX: 1.The gcode started by a space cannot be matched
2. use most used extruder for timelapse without wipe tower
3. apply retract_when_changing_layer for multi_extruder
jira: none

Change-Id: I4ff00573fd8a6ee9fa42877e3e7056d547e4d864
2025-03-24 08:24:24 +08:00
jiangkai.zhao 74a4b1bd49 ENH:modify interface of wipe tower brim_width
jira: none
Change-Id: I22e3c30aa6320e7e66316fa15b6c06e26e458a94
2025-03-24 08:24:24 +08:00
jiangkai.zhao 6350ebf9b6 FIX: FIX: fix width error of rib wall
when enable timelapse_print without toolchange;

jira: none
Change-Id: I4c89acc70ee122c0ad504d97c003ebb4016567d1
2025-03-24 08:24:24 +08:00