GixoXYZ/BlenderGBHTool

refactor: add units to properties

Closed this issue · 0 comments

Description and Problem
[Briefly describe the purpose and context of the refactoring and the problem it aims to address.]

Proposed Changes
Add unit="MASS" ("MASS", "LENGTH", "TIME", etc.), to the properties that use units, instead of only adding the units to their names.
Update the units in the logic and pre-built node groups as well.

Benefits
More unified code and adaptive units.

Tests

  • Test the changed properties in different measuring systems.
  • Make sure that all the leftover units added to the names and layout.lablel( ) are deleted.

Checklist

  • Proposed changes have been reviewed and approved.
  • Code has been reviewed and has passed the tests.
  • Documentation has been updated (if necessary).
  • Code follows coding standards.