ad-si / brickify

Speed up 3D printing using LEGO® bricks
9 stars 1 forks source link

YAVI (Yet Another Voxelizer Issue) #731

Open stuikomma opened 9 years ago

stuikomma commented 9 years ago

Found this special case: If two faces meet in an acute angle and they face in opposing directions, preferring to close voxels can lead to the wrong result. voxelizer-assumptions

Both voxels would be closed. in the first voxel the assumption is correct, in the other one it's wrong.

Maybe it's enough to consider the normal with the greater absolute value in z direction, because a lot is already known: The two faces meet at a point within the voxel and this point is both faces' highest point.. @Steditor What do you think? Is this plausible?

stuikomma commented 9 years ago

If it's not two faces that meet within the voxel but faces that both cross the top of the voxel it doesn't matter because the voxel above will be a hull voxel, too.