bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.17k stars 290 forks source link

count of tool changes without wipe tower #3222

Open Lyxar13 opened 10 months ago

Lyxar13 commented 10 months ago

Bambu Studio Version

1.8.2.56

Where is the application from?

Bambu Lab Official website

OS version

Windows 11

Additional system information

No response

Printer

Snapmaker J1

How to reproduce

I make a new Printer IDEX Snapmaker J1. If I use 2 colors the printer should make 2 purge lines at the beginning.

Start GCODE: {if total_toolchanges==0} T{initial_extruder} G92 E0 G1 F1200 X5 Z0.5 G1 F600 X100 E20 G1 F600 Z2 G92 E0 G1 F1200 E-6 {if initial_extruder==0}G0 X-20 F12000 ; park T0 {endif} {if initial_extruder==1}G0 X350 F12000 ; park T1 (old 345) ; park T0 {endif} {endif} {if total_toolchanges>0} T0 G92 E0 G1 F1200 X5 Z0.5 G1 F600 X100 E20 G1 F600 Z2 G92 E0 G1 F1200 E-6 G0 X-20 F12000 ; park T0 T1 G92 E0 G1 F1200 X295 Z0.5 G1 F600 X200 E20 G1 F600 Z2 G92 E0 G1 F1200 E-6 G0 X350 F12000 ; park T1 (old 345) {endif}

If there is 1 or more toolchanges the printer should do 2 purge lines. This only work if the wipe tower is enabled. If not, "total_toolchanges" didn't work. This was also a bug in prusa and is fixed since version 2.7.0.

You can try it with a default benchy, make some color lines in it and try to print...

Actual results

With wipetower = 2 purge lines (correct) Without wipetower = 1 purge line (NOT correct)

Screenshot_WithoutWipetowerOnlyonePurgeLine Screenshot_WithWipetowerTwoPurgeLines

Expected results

With and without wipetower should the value of total_toolchanges be correct so I have 2 purge lines with and without wipetower! Screenshot_WithWipetowerTwoPurgeLines

Project file & Debug log uploads

log.zip 3DBenchy.zip

Checklist of files to include

BambulabRobot commented 3 months ago

This issue has been marked as inactive due to no response for 90 days.

XunZhangBambu commented 3 months ago

@Lyxar13 Not a bug , this behavior depends on the custom G-code of the third-party printer