Skip to content

Conversation

@dstotz
Copy link
Contributor

@dstotz dstotz commented May 5, 2025

Adds a new label_format option that can be used to specify an option to allow for displaying measurements of a part instead of or in addition to the generators provided label. Made description the default option to preserve existing behavior.

Example of new behavior

image
image
image

Adds a new label_format option that can be used to specify an option to allow for displaying measurements of a part instead of or in addition to the generators provided label. Made description the default option to preserve existing behavior.
@dstotz
Copy link
Contributor Author

dstotz commented May 5, 2025

Wasn't sure what the best formatting here would be for the measurements. Do you have an opinion on if it should be a clamped float like current, rounded to the 2nd or 3rd decimal, or even potentially an integer if it's a round number?

ex alternative format int(n) if n == int(n) else round(n, 3)

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.

1 participant