> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lattice Pore Size

## About this Block

This block calculates the pore diameters of any graph lattice. This is useful for verifying the pores are large enough for powder removal, as well as other applications such as filtration analysis. Pore diameter is defined as the diameter of the largest sphere that fits inside a pore without overlapping the structure. The output is a Point Map that contains each sphere’s center point and diameter. Depending on the size and complexity of your lattice, the calculation may be CPU intensive.

Visualize the pore diameters by following these steps:

* Add a **Sphere** block

* Input the **Pore Diameters from Lattice** points properties into the Center point input

* Add a **Divide** block to the Radius input (we need to divide the values by 2 since we are using diameters)

* In Operand A input the **Pore Diameter from Lattice** values properties

* In Operand B type in 2

These steps are shown in the image below:
![Pore Diameters from Lattice Visualize](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/pore_diameter2.jpg)

## Example File

Download Example: [Pore Diameters from Lattice](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/pore_diameter.ntop)

*In this example, create a point map of pore diameters and visualize them using spheres.*

![Pore Diameters from Lattice](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/pore_diameter.jpg)

***

Calculates the pore diameters of any graph lattice. Pore diameter is defined as the diameter of the largest sphere that fits inside a pore without overlapping the structure. The output is a Point Map that contains each sphere's center point and diameter. Depending on the size and complexity of your lattice, the calculation may be CPU intensive.

### Inputs

| Name               | Type                                                                 | Description                                                                                                                                                                                                                  |
| ------------------ | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Lattice            | [Lattice](../../../../block-documentation/types/lattice)             | The Lattice from which to calculate pore diameters.                                                                                                                                                                          |
| Smallest pore size | [Scalar](../../../../block-documentation/types/scalar)               | The smallest anticipated pore size. Pores whose diameters are smaller than this value will be ignored and not included in the output. Must be greater than 0. As this value decreases the block will take longer to compute. |
| Domain             | [Implicit Body](../../../../block-documentation/types/implicit-body) | Optional boundary volume within which to calculate pores.                                                                                                                                                                    |
| Allow overlap      | [Bool](../../../../block-documentation/types/bool)                   | Option to allow overlapping pores. If true, spheres created from the resulting Point Map may intersect.                                                                                                                      |

### Outputs

| Type                                                                       |
| -------------------------------------------------------------------------- |
| [Scalar Point Map](../../../../block-documentation/types/scalar-point-map) |
