Erroneous geometry beyond body of 1u
BenBreaksThings opened this issue · comments
This artifact is due to the lip needing too more vertical space than the height of the bin. However, a bin of gridz =1
is useless, the height is like 1 mm taller than the base. For now your workaround would be to disable the lip and probably add 1 to gridz to make the bin usefull.
We can go forward with this artifact multiple ways here.
- Disable the creation of bins where
gridz <= 1
. They are useless as the base is almost the same height - Shorten the base in the z height. Keep in might this might break compatibility with custom created bins as the is always the same.
- Add the missing height by removing the lip to the wall when lip is disabled. This keeps the total height of a bin created with
enable_lip = 0
the same size as a bin created withenable_lip = 1
which makes a bin of 1u not useless anymore. - set
enable_lip = 0
by default whengridz <= 1
- Add a cut which cuts everything below the minimal allowed bin height (without base) which allows the user to create anything they want, even a 1u bin with a (partial) lip.