Commit Graph

1912 Commits

Author SHA1 Message Date
jiangkai.zhao 99af2382c4 Fix: modify tpu travel speed to 2 times
because of 2x nozzlechange width
jira: none

Change-Id: I3a9af777551c54b8bac273bf1f6e06c9f36673bb
2025-03-24 09:10:29 +08:00
jiangkai.zhao d5b570d8dc ENH: adjust wipe_tower depth interpolation
because [0,0] will cause the wipetower to disappear in low-layer-height models with enable smooth timelapse type.
jira: none

Change-Id: I6fe3d4128e9b284ae7660f7e0f9f8b62f74cf427
2025-03-24 09:10:29 +08:00
jun.zhang 9f060f9135 NEW: cherry-pick rendering-stuff to github branch
jira: no-jira

Change-Id: If615d572b2021e707cc9ff037fefeabf46dacfa4
2025-03-24 09:04:57 +08:00
jiaxi.chen 3366b13fd6 FIX: wrong number of outer_walls
1. when some area is need_extra_wall, the whole layer has double walls.
2. set circles above soluble interface with double walls

jira: STUDIO-10505
Change-Id: I5846c712a36e2e5bfc5018013b44e2712229b6ad
(cherry picked from commit 5675d9c14e57c4615249ec665603dd662a9a7ee3)
2025-03-24 09:04:49 +08:00
zhimin.zeng 66d8c73275 FIX: the circle parameter is filament parameter
jira: none
Change-Id: Ifcf26f0a8ace77392094f05eecc03ed664d67f5c
2025-03-24 09:04:49 +08:00
xun.zhang b2f32e5010 FIX: wrong value in param
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3521005617f414f57247599f3211e87f576a28e5
2025-03-24 09:04:48 +08:00
zhimin.zeng 6e312e2027 ENH: add circle parameter for posSlice
jira: none
Change-Id: Ib95f2a2de4251f8dcf419e2241d83c9095651382
2025-03-24 09:04:48 +08:00
zhimin.zeng 52e05ed0d9 FIX: fix the error scale of circle compensation
jira: none
Change-Id: I5c27ef8312e75666dc1c5c2c7dedf3f7e4831497
2025-03-24 09:04:48 +08:00
zhimin.zeng c782fbb8d9 ENH: Separate the number of color bleed layers from top_shell_layers
jira: none
Change-Id: I32c14be306ad3fa5970f8c8af8622e086cbca3d9
2025-03-24 09:04:48 +08:00
xun.zhang a13c472816 ENH: handle legacy for ASA-Aero
1.Change ASA-Aero to ASA-AERO

jira:none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I49c4c31b9928e07b67b9893a4b204c2418089f17
2025-03-24 09:04:47 +08:00
xun.zhang e79ba2f1ec FIX: wrong bed temp in placeholder
1.Also add a new field to mark whether enable high low temp mix

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I208e0e7a4ce75feccc8659ecf940447e591d9505
2025-03-24 09:04:47 +08:00
zhou.xu 43617a96df FIX:add "Slic3r::Emboss::union_with_delta" api for single ExPolygons
and add_indice api
jira: STUDIO-10576

Change-Id: I85086552bb7eec0118e00299d4c07fbde7cc4aed
2025-03-24 09:04:47 +08:00
tao wang 01918affdf ENH:fixed incorrect prompt for glow material
jira:[STUDIO-10574]

Change-Id: I4475eb527ffbc8cc6d72405445552971d062b45e
2025-03-24 09:04:47 +08:00
jiaxi.chen 5728474378 FIX: dont need roof1stlayer if there is no roof above
jira: STUDIO-10573
Change-Id: Ie6ef6e3321f076511f0caf24b906f75761aacfc8
2025-03-24 09:04:23 +08:00
jiaxi.chen 1a58c3f1c8 FIX: when params change, clear detected overhangs
jira: STUDIO-10575
Change-Id: If38fc21a97657980b4dfae17699f3fb41a46fa0a
2025-03-24 09:04:23 +08:00
zhimin.zeng 01460cae76 ENH: support skip timelapse gcode when skip all object
jira: none
Change-Id: I31586b1885e92e0eb0005b458e1dbc19f945a929
2025-03-24 09:04:23 +08:00
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
zhimin.zeng 22499a552e FIX: the timelapse gcode is not generated in spiral vase mode
jira: none
Change-Id: Ibb73fab7f51e5a81bd32b6e5df18a095f2aa30d3
2025-03-24 09:04:23 +08:00
xun.zhang 69c2947daf ENH: add new way to set bed temperature
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I99a9f67e9b13b2137ad371b22cf0999ccf9c096d
2025-03-24 09:04:22 +08:00
jiangkai.zhao 4fadeab450 ENH: Modify extra_rib_length can be a negative value.
jira: STUDIO-10535
Change-Id: Icd6134a96c1f32111f908e87acda8c5132dcd73c
(cherry picked from commit cbf4b3eafff29ad961deec6acad5104e34a57481)
2025-03-24 09:04:22 +08:00
jiangkai.zhao 8d32d29016 Fix: crashes when slicing small objects with wipe_tower.
jira: STUDIO-10572
Change-Id: I37312673a87e542120ee7282c22f80e16c894cd9
2025-03-24 09:04:22 +08:00
jiangkai.zhao e71adc067c ENH: set max prime_tower_extra_rib_length to 300
jira: STUDIO-10569
Change-Id: Iad518db29206d16bb59b5a938623d351862a190a
2025-03-24 09:04:22 +08:00
jiaxi.chen f61beec992 FIX: fix for the previous changes
1. keep growing when collison do not contain the circle of the node.
2. when contact_node is nullptr,  cannot assign it a type.

jira: none
Change-Id: I6168a3a19ceec087e93c919625c0c3b654fc7d7e
2025-03-24 09:04:22 +08:00
lingdong.gu d9ad4e81e9 NEW:Add pre-start fan gcode for overhang lines.
when encountering overhang paths and the current fan speed is low, the fan is set to start 2 seconds earlier by default. This prevents cooling issues caused by delays in fan acceleration.

Change-Id: I9e9267b77f1e4d9a2b81bda16c1441703a7b28e7
2025-03-24 09:04:15 +08:00
zhou.xu bcbb08c303 FIX:HeightRange must use world cs
jira: none
Change-Id: Ib0d1efa0a5b2f389d3ec0ff68f82af503084605a
2025-03-24 09:04:15 +08:00
zhimin.zeng ca5ec101f9 FIX: the nums of filament_type in plater config is incorrect
2. Improve the judgment and display of the extruder printing area
jira: none

Change-Id: Ie9e1991904bfbc5bffceedb7810b1d1fa598933b
2025-03-24 09:04:15 +08:00
jiaxi.chen 6266a987d4 FIX: first layer overlaps
still need to check if layers' bottom_z is under initial_layer_height since z_heights[0] is fixed to it.

jira: STUDIO-10282
Change-Id: Ia2d0565039389c8eb7edbb6b5403996b5ee412c2
2025-03-24 09:03:27 +08:00
Arthur f65f5fc208 FIX: Rectilinear Interlaced pattern not working
Rectilinear Interlaced interface pattern not working for normal support.

jira: STUDIO-8847
github: #5307
Change-Id: Ia17c9a0f8f20e3ac7a98ce13b1ea5065c200ac3a
2025-03-24 09:03:27 +08:00
wintergua e684f8fcc6 FIX: wipe tpwer should be no_brim_area
jira-id: none
Change-Id: Ia8b9c1639a62d90421932594b3709eba71b5e723
(cherry picked from commit 68eb40bc74d75fece451ed3b4b4b767b46c238b3)
2025-03-24 09:03:27 +08:00
jiangkai.zhao 7e0078b24e FIX: add gcode reserved tag
and fix block.finish_depth error

jira: none
Change-Id: If272b181430aa79a88ff0cb79670cf2c62a06020
(cherry picked from commit 0f4516f78186fb2a13b245eb38d13dfc2fce8bfc)
2025-03-24 09:03:27 +08:00
zhimin.zeng 03c5905608 FIX: Int32 out-of-bounds problem
jira: none
Change-Id: I1dfc611b214e6e4c6641b8de90920e5a5881373f
2025-03-24 09:03:26 +08:00
jiaxi.chen adb3fbcfcf Fix: only one overlapping area can be added to cluster
1. Wrong generation of cluster when there are multiple overlapping areas in one layer.
2. set interface_bottom_spacing = interface(_top)_spacing.

jira: STUDIO-10241, STUDIO-10506, STUDIO-10507
Change-Id: Ic7a0d61e43c5cd8d8094cb75ac257f83bc2952b6
2025-03-24 09:03:26 +08:00
jiangkai.zhao 2421cd430d ENH: update translation
jira: none
Change-Id: Iceeaf2d9bb93fcee4fadfdfc2a5f1f7ab4a0b684
2025-03-24 09:00:57 +08:00
jiangkai.zhao 81ad7bdde0 Fix: modify the rules of get_wall_filament_for_all_layer
jira: none
Change-Id: I6e8655105470dc3eef291d4b6ac1c4447092b21a
2025-03-24 08:40:50 +08:00
jiangkai.zhao b9d07f402e ENH: Remove the solid layer below the fast extrusion
jira: none
Change-Id: Ied59c6f18bc2832be80c105d95f77d5cff119cc3
2025-03-24 08:40:50 +08:00
jiangkai.zhao 147e7bdb50 ENH: modify quick extrude to 2 perimeter width
and use bridge flow for nozzlechange
jira: none

Change-Id: I9bda1b689d7139819607bace09354ef43d27a970
2025-03-24 08:40:50 +08:00
qing.zhang d6c2aef6c5 FIX: infill generate fail
Jira: none

Two intersection points have the same pos, which causes the sort function to fail. Each intersection pair type should be LOW and HIGH, sort fail causes the HIGH point to be put first, so the check step will report fail.

make sort function works on that situation

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I407146e55265c5b55f4e44ac174ce82b2cb0af05
2025-03-24 08:40:50 +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
jiangkai.zhao aad1ab2090 Fix:the missing extrusion issue in the wipe tower
and resolve the infinite loop during multiple material changes when printing TPU.

jira: none
Change-Id: I9d0fb142ced6ba894803fd4c9b9b665e2fa93d92
2025-03-24 08:40:49 +08:00
xun.zhang ec2b5bf690 ENH: add skippable part time for other printers
1. also add a new type: head wrap detect

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8d3056676958245d44171870b6d21ec0ea8bdfe0
2025-03-24 08:40:49 +08:00
jiangkai.zhao b36c41e514 ENH: reopen confilctchecker with adpative height.
and fix conflict checking when the wipe tower's brim fully encloses the model

jira: STUDIO-10237, STUDIO-10296
Change-Id: I6e2a6640c06ddb6b3af700c9048fa26434411631
2025-03-24 08:40:49 +08:00
jiangkai.zhao 939b405c35 Fix: the generation of the skirt does not take the wipe_tower into account.
jira: STUDIO-10381
Change-Id: I523d366d6d569696de48f872be827d73710cb526
2025-03-24 08:40:49 +08:00
xun.zhang f123058322 ENH: enhance auto flush option
1.Support auto flush when change printer and nozzle volume type

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9dfc2fff095bbf1901afe99556d1e57aa225f482
2025-03-24 08:40:49 +08:00
zhimin.zeng 8f92391717 ENH:remove restrictions on mixed use of high and low temp filaments
jira: STUDIO-10482
Change-Id: Ifdf6f11b45f2e6d138ea615a3ad1f23d40ad3fe9
(cherry picked from commit 0178e930809cabcdbc09ab305e70e4323598b343)
2025-03-24 08:37:53 +08:00
zhou.xu d4a39655b0 FIX:Calculating convex hull without reassembling the matrix
jira: [none]

Change-Id: I6defb793d58762837caeaca58d23ce728461ffd7
2025-03-24 08:37:53 +08:00
jiaxi.chen ab018130d7 FIX: support_on_buildplate_only is not working
jira: STUDIO-10473
Change-Id: I58839e4281089d477087f9cad3db8027ea71cd9e
2025-03-24 08:37:52 +08:00
zhou.xu 2ca82b096e FIX:Avoid array out of bounds
jira: none
Change-Id: I1ef5921a11ec7f9e2fc40edad4e954474628f7b5
2025-03-24 08:37:01 +08:00
jiaxi.chen fe20ab11b9 FIX: useless change of extruder
jira: none
Change-Id: I4331e129d5a1ed79b539946d84ccd3113df93ef0
2025-03-24 08:36:36 +08:00
zhimin.zeng 3309a40d42 FIX: the print_z is incorrect when use 0.8 nozzle printer
jira: none
Change-Id: Ie06c0e1b763be7178246e5dae101e650b8534f4b
2025-03-24 08:36:36 +08:00
xun.zhang 6d1b8f0324 ENH: protect build ams list
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4e8665df0bb24f056f79bd5cabab886bb5ff7921
2025-03-24 08:36:35 +08:00
zhimin.zeng 43d15d9701 FIX: remove not necessary assert
jira: none
Change-Id: I9878671ff2adf898c7ebfea1f3838205c8ad458b
2025-03-24 08:36:11 +08:00
xun.zhang 8b735631b1 ENH: fix unable to load video
1. also  add protect for filament map read

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I321be9f49d7696d02ed7771852713c0cef5d5ebd
2025-03-24 08:36:11 +08:00
zhou.xu aa7590797c ENH:translate text
jira: none
Change-Id: Ib5dbb29be00c5f0dd9b3c278e3f47faf3fbb3c44
2025-03-24 08:36:10 +08:00
zhou.xu c6f7e2e9e0 ENH:add log
jira: none
Change-Id: I95f709399f63a0d5093d4c6a3dd7bc8f5c4f04b0
2025-03-24 08:36:10 +08:00
zhou.xu 4166a156ea ENH:add log
jira: STUDIO-10445
Change-Id: If1c2b41b0f93a2f1f8bde4b3aa543a9ddeaccc08
2025-03-24 08:35:27 +08:00
xun.zhang 4747cbc53a ENH: update translations
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0a7f24dd1538f4baf1b2b56f35233de5937a6d30
2025-03-24 08:35:26 +08:00
jiaxi.chen 2e3edc4518 FIX: wall count fixed && overlapping of interface filling path
jira: STUDIO-10419, STUDIO-10420
Change-Id: Ib7274420ceb8149a02e82d896757ce5ace908fb9
2025-03-24 08:35:26 +08:00
Arthur ef8e81c04a FIX: auto arranging crash due to wrong extruder_ids
jira: STUDIO-10449
Change-Id: Ia4614a67843c714c46e5fbf7c888a1ac45ef378d
2025-03-24 08:35:26 +08:00
xun.zhang 3733f33953 FIX: add some missing translate keys
1. Add missing translation keys
2. Fix filament map dialog can't display in auto mode

JIRA:STUDIO-10216

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0c3927877dd91befc2463a300324bc6823615673
2025-03-24 08:35:25 +08:00
zhimin.zeng 9fccb9bcde FIX: modify quick extrude to 1 perimeter width
jira: none
Change-Id: Ibda111742af2d664088a51e9dd3740f81b4649c7
2025-03-24 08:35:25 +08:00
jiangkai.zhao 58891ce310 FIX:Change the sorting method of the wall filament
and fix wipe_tower's interface bug
jira: none

Change-Id: I3887142bac2d43a4d2b6db65b5a3976bb271cf71
2025-03-24 08:35:25 +08:00
zhimin.zeng 3e0b6eb228 ENH: generate framework for all layers
jira: none
Change-Id: I95f35ba45fe9f544c53bdf0c5a52a70bd45ee7a9
2025-03-24 08:35:25 +08:00
zhimin.zeng d0d5ed2f5e FIX: fix error length for nozzle change
jira: none
Change-Id: I1c9052cadef717888c5f8ff50e0d6e1efce6d73e
2025-03-24 08:35:24 +08:00
jiangkai.zhao 6c5b63db24 ENH: Set the skeleton of contact surface to solid
and fix the nozzlechange's error cleanbox.
and fix some error in interface's nozzlechangle and toolchange.

jira: none
Change-Id: I2fd5c68d90506fcb8f01f09a8246dfb5838baef4
2025-03-24 08:35:23 +08:00
jiangkai.zhao fb9f9f41e6 ENH: change solid layer count
and reduce the toolchange speed if it occurs at the contact surface
jira: none

Change-Id: Ic238671366145bc7bff76d18d20c104a201a1f17
2025-03-24 08:35:23 +08:00
qing.zhang b547933f14 ENH: change param's label
Jira: none

use Smoothing wall speed alone Z for better understanding

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idaa4241feb4bb91d30e94c8522b58f1147c8009e
2025-03-24 08:35:22 +08:00
xin.zhang 45d2d3fc9b FIX: update some translation
jira: [none]
Change-Id: I76afc7adb4f882bcd64c266cb10160333ce439d6
2025-03-24 08:34:32 +08:00
lane.wei bc5514bbab ENH: config: allow invisible preset to be selected
when switch printer, we found some filament preset not visible
and we need to allow it to be selected
jira: STUDIO-9979

Change-Id: I9613747a755f449c2f48563082b6893e426f37ea
2025-03-24 08:34:32 +08:00
jiaxi.chen aeba1ebfa2 ENH: set filler_angle of roof layers to interlace with bottom bridge
jira: STUDIO-10239
Change-Id: I8dfebb289b30293a39f9737073e992e97b4b46d4
2025-03-24 08:34:32 +08:00
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
jiangkai.zhao 8ce8c3ffbb FIX: fix error path in wipe_tower
jira: none
Change-Id: Ia13ae92c61de0d5a361e7d00ec85ff21a04dfc6c
2025-03-24 08:24:24 +08:00
zhou.xu 37aba65efe ENH:update and translate text
jira: STUDIO-10214
Change-Id: I36e3613103df7e3f65069415378f492015518e8c
2025-03-24 08:24:23 +08:00
zhou.xu 62fff9dadf FIX:add "read fail" deal for bambuStudio.conf
jira: STUDIO-10215?
Change-Id: Ib6dca514a43f3c91948df56195ba323aa9ce308e
2025-03-24 08:24:23 +08:00
xun.zhang d0bf00d39d FIX: strange offset with gcode in preview
1. some testing code results the strange behavior,
just remove them

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8339473f7f3796d81fe6f1aebcfcff98b3b9f5d8
2025-03-24 08:24:23 +08:00
zhimin.zeng 5c3d804b9f FIX: Detach the timelapse gcode from layer_change_gcode
for X and P machine
2. remove lift and retract in filament_change_gcode and layer_change_gcode
jira: none

Change-Id: I3da2d3ac7f0100d1963dcbb1228323666a060534
2025-03-24 08:24:22 +08:00
Arthur 02b8a79285 ENH: auto arranging won't put more than 1 TPU filament on the same plate
jira: none
Change-Id: I0ac0968ac56f9969f94b73cfacaac3a97a814b2d
2025-03-24 08:24:22 +08:00
Arthur f9a1ed7b24 ENH: rewrite ModelInstance::rotate with rotation matrix
1. Rotation operation should always work on rotation matrix. Euler angles are not reliable.
2. Remove the ambiguous set_rotation on single euler angle.
3. Fix the bug that the rotation of the mirrored object is not correct.
jira: STUDIO-8752

Change-Id: I25d661b732a872b8378af87c0ba52d75afd75c1f
2025-03-24 08:24:22 +08:00
zhimin.zeng fff7873456 FIX: enhance for timelapse gcode
1. support traditional timelapse for H2D when printing by object
2. insert timelapse gcode when close wipe tower
3. remove hard gcode before filament gcode
jira: none

Change-Id: Ib56c21b1f07832f2cbc8ba5ab7f2e8653b3105bf
(cherry picked from commit 7613474cefd210685d16a5585608c0c7cb7efa95)
2025-03-24 08:24:22 +08:00
xun.zhang 6cea772d4f ENH: add eager lift function
1.Immediate do lift in eager_lift function

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I931d22e901e2123bb886c31d8d1a5788fddeed42
2025-03-23 20:31:59 +08:00
Arthur 156f390eea FIX: don't rotate an object if it can't fit
even if "align to Y axis" is on.

github: #5794
Change-Id: I460003588a98aa9ff52fde1dc609d1ed54ea72c8
2025-03-23 20:31:59 +08:00
jiaxi.chen 7745c29c51 FIX: useless expansion of top_interface && hybrid tree may collide with model
1. only expand 2mm for BigFlat/ThinPlate overhangs, unnecessary for tree node overhangs without big areas.
2. avoid the situation that some overhangs are extended to fall on models when smoothing.

jira: STUDIO-10177
Change-Id: Icec0bb59627bb85332ad1435cbe29a07f57f922e
2025-03-23 20:31:58 +08:00
zhou.xu 69f28a711f NEW:Display AMS mapping relationship in override mode
jira: none
Change-Id: Iac0b3563df2f76710a5bc461adab6dd8335ee62d
2025-03-23 20:31:58 +08:00
Arthur 2fbde46b4d ENH: improve align_to_Y_axis of A1 series printers
only rotate the object if its long axis is significanly larger than its short axis (more than 10%)

jira: none
Change-Id: I63fede8a55f8dc82f4388e630d58b2e62f7922b2
2025-03-23 20:31:26 +08:00
zhou.xu e74c9e710b ENH:add "not support bed type" function
jira: STUDIO-9028
Change-Id: Id1c6cc9005fc5073d885274e360d31282063a9a3
2025-03-23 20:31:25 +08:00
xun.zhang 85cb4a41c2 ENH: refine code for gcode line process
1.Add a Trietree to match command instead of the switch sentence.
2.Support VM104 and VM109

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5f6b3d1bf87baebc0a20c2589a5138538469dfec
2025-03-23 20:31:10 +08:00
zhimin.zeng 1b41b9a763 FIX: only check TPU for multi-extruder printer
jira: none
Change-Id: I1fb882c05d43ffbcd42950ca6618d5789f148cd9
2025-03-23 20:31:09 +08:00
qing.zhang 3f2f704676 ENH: add filament category
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0f31a376527bc540d27c49908712d08bdba3d719
2025-03-23 20:31:09 +08:00
jiangkai.zhao 851dd67082 ENH: update prime_tower_brim_width‘s tooltip
jira: none
Change-Id: If085d80bd29a4ed4c95aa8dcdec76608a0f86ae7
2025-03-23 20:31:06 +08:00
jiangkai.zhao 0b4da5ebb7 FIX: fix the error wipe path after nozzlechange
jira: none
Change-Id: I1a724b117dadc76a54f29fd75eb96e82a78f901b
2025-03-23 20:31:05 +08:00
zhimin.zeng 88f2784525 FIX: should not generate timelapse gcode for H2D when by object
jira: none
Change-Id: I7b96d6290632ca40714d5dd06fe801a84924f84d
2025-03-23 20:31:05 +08:00
xun.zhang c6a12c38c5 FIX: wrong filament sequence in some cases
Only update the last group id if there really has filaments

jira:STUDIO-10108

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I646f54c0bc4817f0b64364edc52b7263d2833c3c
2025-03-23 20:31:05 +08:00
qing.zhang be02e769bb ENH:instead of prime_volume by filament_prime_volume
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I96e7d0604da8f90678feed81833e3a634752ffff
2025-03-23 20:31:05 +08:00
jiangkai.zhao 4dd4e9e12c ENH: enhance some functions of the wipe_tower
1.Add automatic calculation of the wipe_tower's brim width by height;
2.modify the min_depth_per_height and the default ridwidth

jira: none
Change-Id: Idd96bc90e8e631aa8481b559e1e9fec24c6b822f
2025-03-23 20:31:04 +08:00
qing.zhang 78079dacd1 ENH: move extra params
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib5c4d203c6585b9946d8703d9f33477780afb275
2025-03-23 20:30:46 +08:00
xun.zhang c54a8333c7 ENH: seperate flush time from other types
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4cfeaec770de678b8dac405617b32738a3f68b3d
2025-03-23 20:30:45 +08:00
jiaxi.chen 90d8a136f9 FIX: wrong number of interface_layer && add brim to ePolygon nodes
Change-Id: I4842dec3534713f48dad07637ff31b045599f67c
2025-03-23 20:30:30 +08:00
zhimin.zeng 55772c5912 EMH: enhance for rib wall wiper tower
1. fix the slice error status
2. add rendering for wiper tower
3. modify the wipe tower start pos for rib wall wipe tower
jira: none

Change-Id: If554ca0fb30f6c7ce9641014c0ed4a7f23afd6f4
(cherry picked from commit 3ae08b458dea1d04cad33b2787d98407111b038c)
2025-03-23 20:30:29 +08:00
jiangkai.zhao 1f4d2cf714 ENH: adjust the interaction of the rib_wall
jira: none
Change-Id: I2462240304fc4ce4a1047d7c8ac818c209f15200
(cherry picked from commit 6567642e938a4edd4197535418aeb8be0bbc7c55)
2025-03-23 20:30:29 +08:00
jiangkai.zhao 1d33d1c37d ENH:add rib wall wipe tower
jira: none

Change-Id: I9699cc74e206851284949f89230e986435b9e1b7
(cherry picked from commit eabfa6b272590698886ecec33b89207605b91993)
2025-03-23 20:30:29 +08:00
zhou.xu a1de92523f FIX:All plates share the current mapping
jira: STUDIO-10008
Change-Id: I5d04c95dea7bd6b56c97258863a190f0f0c3b4e6
2025-03-23 20:30:27 +08:00
zhou.xu a3a54934e0 FIX:not map for unknown material
jira: STUDIO-9960
Change-Id: Ifd1b5f42676e9aa127805caa919ed2e3ef3f2900
2025-03-23 20:30:10 +08:00