vector76 / gridfinity_openscad

MIT License
281 stars 50 forks source link

Added support for chamber labels #22

Closed ostat closed 1 year ago

ostat commented 1 year ago

Extending the labels to support chamber specific labels. Using a chamber specific label results in one label per chamber. withLabel now has "leftchamber", "rightchamber", "centerchamber" options. Changed labelWidth from 0.1 to 0.01 precision, to better support smaller labels.

I considered how this might impact, custom chamber sizes. One option was to change withLabel to be a percentage of the container. But doing this you would likely need min size, or you might get silly sized label. In the end I left it as is. I did limit the labels max size to the containers size, just in case a label is too large to fit.

image image image

vector76 commented 1 year ago

Looks good! Thanks!