From 66a4a0e8a49499fe11df4cc3efc86a8eb05c1cc1 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Mon, 23 Jun 2025 18:50:12 -0700 Subject: [PATCH] Nozzle Diameter is for the Minimum Nozzle Diameter --- BambuLabRfid.md | 2 +- parse.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BambuLabRfid.md b/BambuLabRfid.md index da01ba6..ddcc173 100644 --- a/BambuLabRfid.md +++ b/BambuLabRfid.md @@ -155,7 +155,7 @@ Example Data: | position | length | type | description | | -------- | ------ | ---------- | ----------------------- | | 0 (AA) | 12 | RAW Bin | X Cam info | -| 12 (BB) | 4 | float (LE) | **Nozzle Diameter...?** | +| 12 (BB) | 4 | float (LE) | Minimum Nozzle Diameter | ## Block 9 diff --git a/parse.py b/parse.py index 799140c..83409ec 100644 --- a/parse.py +++ b/parse.py @@ -163,7 +163,7 @@ def __init__(self, filename, data): "spool_width": Unit(bytes_to_int(self.blocks[10][4:6]) / 100, "mm"), "material_id": bytes_to_string(self.blocks[1][8:16]), "variant_id": bytes_to_string(self.blocks[1][0:8]), - "nozzle_diameter": Unit(round(bytes_to_float(self.blocks[8][12:16]), 1), "mm"), + "min_nozzle_diameter": Unit(round(bytes_to_float(self.blocks[8][12:16]), 1), "mm"), "temperatures": { "min_hotend": Unit(bytes_to_int(self.blocks[6][10:12]), "C"), "max_hotend": Unit(bytes_to_int(self.blocks[6][8:10]), "C"),