bambulab / BambuStudio

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

Bambu Studio does not display "K" values for filament in AMS after switching to another printer (device) #3376

Open bd34n opened 9 months ago

bd34n commented 9 months ago

Bambu Studio Version

1.8.2.56

Where is the application from?

Bambu Lab Official website

OS version

MacOS 14.2.1

Additional system information

Software:

System Software Overview:

  System Version: macOS 14.2.1 (23C71)
  Kernel Version: Darwin 23.2.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 3 days, 20 hours, 56 minutes

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: Mac14,6
  Model Number: Z176000HLLL/A
  Chip: Apple M2 Max
  Total Number of Cores: 12 (8 performance and 4 efficiency)
  Memory: 64 GB
  System Firmware Version: 10151.61.4
  OS Loader Version: 10151.61.4

Printer

Bambu Lab X1 series (X1C)

How to reproduce

  1. Add 2 printers to your Bambu Account, "Printer 1", and "Printer 2" (actual printer name doesn't matter)
  2. Ensure each printer has an AMS unit attached, and you have calibrated the "Flow Dynamics" for at least one of the filaments so that the "K" value is displayed within the filament slot in the AMS in the AMS section of the "Device" screen.
  3. Open Bambu Studio and create a 3MF file, ensure "Printer 1" is selected within the "Device" tab of the main screen
  4. Save the file and exit
  5. Open the newly created 3MF file.
  6. Navigate to the "Device" tab / screen and verify that the "K" value you noted in step 2 is displayed.
  7. Now select "Printer 2" on the Device screen. New AMS information should be loaded from Printer 2, replacing that of Printer 1.
  8. Note that Printer 2's AMS information will fill in with previously selected filaments, HOWEVER, the previously "Flow Dynamics" K values are not displayed - they appear as uncalibrated filaments.
  9. Further, when selecting the "pencil" editor for the filament in the AMS for Printer 2, you cannot select the appropriate "PA Profile" for the filament, even though it was previously calibrated. No option to select is displayed on the drop-down.
  10. NOTE that if you save the 3MF file now with Printer 2 selected and quite Bambu Studio, then re-open the file, Printer 2 will still be selected - and it's "K" values will now be displayed correctly.
  11. HOWEVER, if you know select "Printer 1" on the Device page, now it's "K" values are blanked out.
  12. So Bambu Studio appears to only load / display the "K" values for the printer that is selected when Bambu Studio starts, but not when switching from Printer 1 to Printer 2.

Actual results

The behavior is described in "How to reproduce". Summarizing, Bambu Studio appears to only load the "K" values from the printer that is selected when it loads the 3MF file or the last selected printer when Bambu Studio was closed. When you select another printer after that, it does not display the "K" values for the newly selected printer, unless you resave the 3MF file, exit Bambu Studio, and re-open. But then, when you select the first printer that were previously showing K values for the filaments in the AMS slots, those are now blanked out.

Expected results

The expected behavior is that when you have two or more printers with AMSs added to Bambu Studio, that the "K" values are retained and displayed for each printer when one selects a different printer.

Project file & Debug log uploads

The project file is irrelevant to reproduce the bug - this appears to be a communication issue with the printer when changing from one printer to another in the Device tab of the main screen.

Checklist of files to include

zhimin-zeng-bambulab commented 9 months ago

@bd34n Could you reproduce your problem stably? If so, could you upload your log file?

bd34n commented 9 months ago

@zhimin-zeng-bambulab , I have two long running prints going at the moment on both my printers. Those should be completed sometime tomorrow, so I will try then.

Note, since I opened this issue, Bambu Studio has been updated to 1.8.4.51.

Another note - when starting these two long prints a little bit ago, I did switch between printers without exiting Bambu Studio first, and the calibration parameters show up on the newly-switched-to-printer, which is the expected behavior. I was expecting to have to switch to the new printer, observe the filament "K" values being blank in the newly-switch-to-printer, exit Bambu Studio and restart it where it would come up defaulting to the last printer selected, and then see the K values filled in. But it worked that time without having to do that! That is the first time I've observed the correct behavior.

I'll will post more tomorrow once these two long prints finish up as I don't want to perturb them too much.

Thank you!

bd34n commented 9 months ago

@zhimin-zeng-bambulab , I cannot reproduce the problem using 1.8.4.51 (recent update after this issue was opened, originally I was using 1.8.2.56).

So it appears that this issue was corrected with the 1.8.4.51 update. The behavior I see is the expected behavior, that is, on the Device tab of Bambu Studio, when switching between one 3D printer and another, the filament calibrations in the AMS reload and are displayed as expected. Previously, only the printer that was selected when Bambu Studio was initially started filled in the filament calibrations / K values. Subsequent switching to the second printer did not display the K values and you couldn't edit them, either.

This now appears to be working correctly with the latest update to Bambu Studio. So I believe this issue can closed.

bd34n commented 9 months ago

Actually, please don't close yet. Started a print on the second printer. At the time, "K" values were showing for both printers in the AMS section. I switched back to the first printer, and now it does not show "K" values. So the problem is still there in 1.8.4.51. Attaching screenshot - where it shows filament type, just moments ago there were "K" values there before switching to the second printer and then back to the first. This screenshot is from the first printer.

Screenshot 2024-01-24 at 3 42 15 PM

EDIT: when clicking the "pencil" to edit, it still shows the filament type, but the "PA Profile" dropdown is empty, so I can't select the PA profile and fill in the K value:

Screenshot 2024-01-24 at 3 46 48 PM

Switching back to printer 2, the "K" values show as normal. Then switch back to printer 1, and the "K" values are still blanked out and the PA Profile is not selectable, as above in the screenshots:

Screenshot 2024-01-24 at 3 50 27 PM

bd34n commented 9 months ago

Perhaps the problem only occurs when the printer(s) is busy printing?

zhimin-zeng-bambulab commented 9 months ago

@bd34n

  1. whether the material "eSUN PLA+" has been calibrated? only if it is calibrated will there be a "PA Profile". (And you can check the k value in the "Manage Result" of Flow Dynamics under the Calibration page.)
  2. The calibration value is not displayed, indicating that the default value is used. Have you set up the PA profile for this material before?
bd34n commented 9 months ago

@zhimin-zeng-bambulab , yes, all filaments in both printers were previously calibrated and have PA profiles. Here's a screenshot from later in the day after exiting Studio and restarting:

image

I'm trying to find the pattern of misbehavior. I did just switch back to the other printer, fully expecting its K values to be blank, and I was going to check out the "Manage Result" of Flow Dynamics under the Calibration page, but they are behaving as expected and filled in.

I will say that it was reliably reproducing before I updated to 1.8.4.51 when it was released. Now the problem appears to be intermittent.

I'll see if I can get a reliable reproduction consistently with the updated Studio, and when I do, I will do a video capture of the screen so it's easier to see exactly what is happening.

bd34n commented 9 months ago

@zhimin-zeng-bambulab , the following is a short video demonstrating the issue. It is a big file, so I uploaded to dropbox. Please let me know if you have any trouble accessing or viewing.

In the video, I start Bambu Studio, you should see the K values filled in for the printer that was "selected/active" when Bambu Studio started. I then switch to a different printer, and you should see the K values blank with the inability to select any PA profiles. I then quit Bambu Studio with that printer active, being the last selected printer. I then start Bambu Studio again with and since the printer that did not show K values was last selected, it is selected when Bambu Studio starts this time, and you can see the K values filled in and selectable. I then switch back to the original printer from the beginning, and now its K values are blank and no PA profiles selectable.

I hope this more clearly demonstrates the issue than my verbal description.

https://www.dropbox.com/scl/fi/81u1ogz5cru0fm3hdrava/bambu-studio-issue-3376-4k.mov?rlkey=enutm76sx29r3wis9jv3ndsjs&dl=0

bd34n commented 8 months ago

@zhimin-zeng-bambulab , just checking to see if you needed anything else from me regarding this issue? Hopefully the video showing the issue was clear enough.

zhimin-zeng-bambulab commented 8 months ago

@bd34n Thanks for your video, we are looking for patterns to reproduce this problem.

BambulabRobot commented 3 months ago

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

zhimin-zeng-bambulab commented 3 months ago

It has been fixed, you can have a try in v1.9.3.50.

RyanEwen commented 4 weeks ago

I run into this issue all the time. To reproduce I simply have to open Bambu Studio, go to Device, and change printers. The PA values are missing, and the PA Profile dropdowns are empty.

To work around it I can then go to Calibration, Manage Result, and then close Manage Result and go back to Device. This seems to prompt the AMS or printer to fetch the profiles which can then be displayed.

RyanEwen commented 4 weeks ago

Here's a video of the issue being reproduced on 1.9.7.52

https://youtu.be/NxPHftNQnvw

zhimin-zeng-bambulab commented 2 weeks ago

@RyanEwen Could you have a try in 1.10 Beta1, we have tried to make some changes for this issue in this version.

RyanEwen commented 2 weeks ago

@zhimin-zeng-bambulab it seems to work properly in 1.10 Beta1 and I like that there's a Default preset. Still wish I could just type in a number manually without needing a preset in certain cases, though

zhimin-zeng-bambulab commented 2 weeks ago

image @RyanEwen You can edit the PA profile you want to modify on the calibration page

RyanEwen commented 2 weeks ago

image @RyanEwen You can edit the PA profile you want to modify on the calibration page

Yes but as mentioned above it's cumbersome to have to do this compared to the old way.

For common filaments I will make profiles in each printer (annoying to have to do this for n printers). For uncommon filaments I just want to input a number without making profiles.