get_location_voxels#
- get_location_voxels(location: dict, region: str | None = None) list[tuple[int, int, int]] [source]#
Get list of voxels from location for specified region.
If region is not given, all voxels in the location are returned, even if those voxels are divided into separate regions. If region is given, only voxels in that region are returned.
- Parameters:
location – Location object.
region – Location region.
- Returns:
List of x, y, z voxels.