Describe the bug, what's wrong, and what you expected.
When generating low density skeletal TPMS using cadquery, an error occurs leading to no shape being generated at all. However the error does not occur at higher densities.
Steps to reproduce the bug.
from microgen import Tpms
from microgen.shape.surface_functions import gyroid
density = 0.15
cell_size = 4.0
center = (0.0, 0.0, 0.0)
shape = Tpms(surface_function=gyroid, density=density, cell_size=cell_size, resolution=20).generate(type_part="upper skeletal")
Describe the bug, what's wrong, and what you expected.
When generating low density skeletal TPMS using cadquery, an error occurs leading to no shape being generated at all. However the error does not occur at higher densities.
Steps to reproduce the bug.
System Information
Screenshots