Skip to content

Re: Doubts – Prepare Geometry – Cylinder3d

#2344
thomas
Member

Hi Alejandro,rnrnyou use a spacing of h=0.01. During voxelization the geometry is shifted by h/4 to overcome some issues with floating point numbers. Thats why you get such crooked numbers.rnrnIf you look at the y- and z limits for material 1, you get a width of 0.4075-0.0075 = 0.4. Adding h/2 for each half-way bounce back boundary leads to 0.41, which is what you want.rnrnRegardsrnThomasrnrnrn