Here is a script that reproduces the bug. The problem is that the spacing returned is 1e-10 when I specified 1e-5. The issue is with line 72 of _bcc.py file. It multiplies the current spacing by the spacing, not realizing that the spacing was already applied correctly on line 50 above. I am making a PR.
import openpnm as op
# make BCC network
spacing = 1e-5
net = op.network.BodyCenteredCubic([5, 3, 3], spacing=spacing)
print(net['pore.coords'])
Here is a script that reproduces the bug. The problem is that the spacing returned is 1e-10 when I specified 1e-5. The issue is with line 72 of _bcc.py file. It multiplies the current spacing by the spacing, not realizing that the spacing was already applied correctly on line 50 above. I am making a PR.