Jerin
(Jerin)
February 21, 2022, 9:18am
#1
Hi,
How do I make a much smaller voxel size and a larger voxel size in the following regions as shown?
Do I say based on face area:
If face area is smaller than some value, finer voxel grids?
If this is the case, how do i go about it?
So far, I am only able to create a uniform voxel size throughout. I am unsure of how to change the sizes locally by code.
Thanks.
Hello
you can use voxel subdivision. If I assume you are using cubes, you subdivide cube by 2, so one cube becomes 8 cubes etc. or subdivide by 3, so 27 cubes.
[Problem]
I’m trying to make a definition that subdivides the outer voxels into eight voxels. So far I’ve made a scalable box grid that is culled with a brep so that only the inside remains. Now I’m trying to figure out how to make the outer layer of boxes half size.
Is there a way to change the box size dynamically? Some kind of attractor point or list the outer boxes due to intersection with the brep or something?
Thanks in advance!
and surely others example somewhere