Skip to content

fix: add missing filament_density to Snapmaker base filament profiles#188

Closed
kbaker827 wants to merge 24 commits intoSnapmaker:mainfrom
kbaker827:fix/snapmaker-filament-density
Closed

fix: add missing filament_density to Snapmaker base filament profiles#188
kbaker827 wants to merge 24 commits intoSnapmaker:mainfrom
kbaker827:fix/snapmaker-filament-density

Conversation

@kbaker827
Copy link
Copy Markdown

Summary

Fixes #114 and #103 — filament density showing as 0 and filament weight displaying as 0g after slicing.

Root Cause

12 Snapmaker/PolyLite base filament profiles were missing the filament_density field. Since PrintConfig.cpp defaults filament_density to 0.0, and weight is calculated as volume × density × 0.001, the weight always evaluated to 0g.

Other vendor profiles (e.g. Bambu) explicitly set filament_density in their base profiles. The Snapmaker profiles inherited the 0 default instead.

Changes

Added filament_density to the following base profiles:

File Density (g/cm³) Reference
Snapmaker ABS @base.json 1.04 Industry standard
Snapmaker ASA @base.json 1.05 Matches Bambu ASA @base
Snapmaker PA-CF @base.json 1.09 Matches Bambu PA-CF @base
Snapmaker PET @base.json 1.25 Matches Bambu PETG Basic @base (fdm_filament_pet)
Snapmaker PETG @base.json 1.27 Industry standard
Snapmaker PLA @base.json 1.24 Industry standard
Snapmaker PLA Eco @base.json 1.24 Same as PLA
Snapmaker PLA Silk @base.json 1.24 Same as PLA
Snapmaker PLA-CF @base.json 1.30 CF-reinforced PLA standard
Snapmaker PVA @base.json 1.19 Industry standard
Snapmaker TPU @base.json 1.22 Matches Bambu TPU 95A @base
PolyLite PLA @base.json 1.24 Industry standard

Profiles already containing correct density values were left unchanged: Snapmaker Breakaway Support @base, Snapmaker PETG-CF @base, Snapmaker PLA Matte @base, Snapmaker PLA SnapSpeed @base, PolyTerra PLA @base.

Test plan

  • Load any of the fixed filament profiles (e.g. Snapmaker PLA) in the slicer
  • Slice a model
  • Verify filament weight is non-zero in the print statistics
  • Verify density field shows correct value in Filament Settings → Advanced

Closes #114
Closes #103

kbaker827 added 24 commits March 9, 2026 08:57
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker ABS @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker ASA @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PA-CF @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PET @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PETG @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PLA @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PLA Eco @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PLA Silk @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PLA-CF @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker PVA @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: Snapmaker TPU @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where filament density was missing (defaulting
to 0), causing filament weight to always display as 0g after slicing.

File: PolyLite PLA @base.json
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
Fixes issues Snapmaker#114 and Snapmaker#103 where missing density (defaulting to 0)
caused filament weight to display as 0g after slicing.
@kbaker827 kbaker827 closed this Mar 11, 2026
@kbaker827 kbaker827 deleted the fix/snapmaker-filament-density branch March 11, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v2.2.1 Snapmaker Orca doesn't show the weight of filament used Snapmaker Filament Profile incorrect

1 participant