Commit Graph

300 Commits

Author SHA1 Message Date
jiaxi.chen fe20ab11b9 FIX: useless change of extruder
jira: none
Change-Id: I4331e129d5a1ed79b539946d84ccd3113df93ef0
2025-03-24 08:36:36 +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 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
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
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
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
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
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
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
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
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
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 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
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
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 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
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
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
jiangkai.zhao 0b4da5ebb7 FIX: fix the error wipe path after nozzlechange
jira: none
Change-Id: I1a724b117dadc76a54f29fd75eb96e82a78f901b
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
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 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
zhimin.zeng baf38583c9 FIX: modify the error code after slice
jira: none
Change-Id: Ie82198d7037d75468d14da435e1df1dbf47d91fc
2025-03-23 20:29:42 +08:00
qing.zhang 9b46d437ba ENH: add filament change length for color change
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I84ab638d6af056ede9b9524d1395eb42fa731150
2025-03-23 20:29:39 +08:00
zhimin.zeng 133fef3b78 FIX: Adjust the depth interpolation of wipe tower
jira: none
Change-Id: I9b4e4b9c0f1fcf260257bf19c7dd4a8a5933b0b6
2025-03-23 20:29:15 +08:00
zhimin.zeng d7acee50e8 ENH: add timelapse warning for multi-extruder printer
jira: none
Change-Id: I09a25f00eef6d3fab6ad948a13c8eb308f134dbb
2025-03-23 20:29:14 +08:00
qing.zhang d43c77fe92 FIX: typo -- GCodeEditer -> GCodeEditor
Jira:none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I3494d28524deeaa65829865d8983f6a047502cb7
2025-03-23 20:29:08 +08:00
xun.zhang dd3e3fe750 FIX: cooling the unused extruder if only using one
1.Always add extruder usage block in filament change and end gcode
2.Modify the heating rate

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I099b306ea6e4c6296ac1dc15bc6a67ed15a29b0f
2025-03-23 20:20:35 +08:00
zhimin.zeng b68a7b3bd6 ENH: add PPS-CF/PPA-CF detection for multi-extruder printer
jira: STUDIO-9660

Change-Id: I1df024e178b8561569b493888d6057d8f96aea3c
2025-03-23 20:19:23 +08:00
xun.zhang c99fcd454c ENH: refine time estimation in filament change
1.Add sync command. Now gcode and dirrectly add time sync command
2.Add support for ceil and floor in placeholder
3.Update change filament gcode for H2D

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6dd97cbd96bae1c2751c08357ff64947876d7471
2025-03-23 20:18:28 +08:00
zhimin.zeng 753e2ac708 FIX: fix bug when enable timelapse
1. the error start position after filament change
2. the error wall depth print with tpu
jira: none

Change-Id: I26d4e1c5c5c3bcae14555f9a875485435cdd6b97
2025-03-23 20:18:27 +08:00
zhimin.zeng 0121cf2d69 FIX: the wrong alignment of wipe tower perimeter for some model
jira: STUDIO-9133
Change-Id: If7771ccaf383e2abb4ff738c83e4b638315f274c
2025-03-23 20:16:03 +08:00
qing.zhang 3520d9d99e ENH: filter scarf seam switch result on z dir
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I54c25d665efda5bb95afb85366e901c52515ac34
2025-03-23 20:16:03 +08:00
jiangkai.zhao cbcee1b798 FIX: fix some bugs in wipe_tower's skip points
jira:none

Change-Id: I387a168ccfe65032b3b926d02d8da4ab7aed317e
2025-03-23 20:15:25 +08:00
zhimin.zeng fce47aa8cb FIX: initialize variables is_tool_change of wipe tower
and and modify the start position for tpu
jira: none

Change-Id: I75b09e7839ddd3b9fffe77392e573e1d8caa00d5
2025-03-23 20:15:08 +08:00