3MAH / microgen

Microstructure generation
https://3mah.github.io
GNU General Public License v3.0
65 stars 8 forks source link

Remove 'max' density and fix bounds to compute offset from density #44

Closed kmarchais closed 5 months ago

kmarchais commented 5 months ago

This PR fixes a bug where the bounds used to compute the TPMS offset from the given density were not chosen the right way.

It also removes the "max" option in the density value since it is now possible to generate skeletal parts with negative offset. Now it is possible to generate sheets, lower and upper skeletals in a density range of ]0; 1]

The corresponding tests have been updated.