Skip to content

Commit

Permalink
Version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Molodos committed Sep 2, 2023
1 parent bf7adf1 commit 86e12a5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[3.2.1]
- Fixed a bug, that sometimes caused display errors for filament cost

[3.2.0]
- Added option to add extended Klipper thumbnails
- Minor other fixes
Expand Down
2 changes: 1 addition & 1 deletion package_plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"display_name": "Elegoo Neptune Thumbnails",
"package_id": "ElegooNeptune3Thumbnails",
"package_type": "plugin",
"package_version": "3.2.0",
"package_version": "3.2.1",
"sdk_version": 8,
"sdk_version_semver": "8.0.0",
"website": "https://github.com/Molodos/ElegooNeptuneThumbnails"
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Elegoo Neptune Thumbnails",
"id": "neptune_thumbnails",
"author": "Molodos",
"version": "3.2.0",
"version": "3.2.1",
"description": "Adds Elegoo Neptune printer thumbnail to G-code. Contains options to display parameters like estimated print time or model height on the thumbnail",
"supported_sdk_versions": ["8.0.0", "8.1.0", "8.2.0", "8.3.0", "8.4.0"],
"api": 8
Expand Down
2 changes: 1 addition & 1 deletion tools/thumbnail_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _generate_option_lines(cls, slice_data: SliceData) -> list[str]:
lines.append(f"⭱ {round(slice_data.model_height, 2)}mm")
elif option == "filament_cost_estimate":
currency: str = Application.getInstance().getPreferences().getValue(cls.CURRENCY_PREFERENCE)
lines.append(f"⛁ {round(slice_data.filament_cost, 2)}{currency}")
lines.append(f"⛁ {round(slice_data.filament_cost, 2):.02f}{currency}")
elif option == "filament_meters_estimate":
lines.append(f"⬌ {round(slice_data.filament_meters, 2):.02f}m")
return lines
Expand Down

0 comments on commit 86e12a5

Please sign in to comment.