> ## 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.

# Max Evenly Spaced Points

> AI context for Max Evenly Spaced Points. Not linked in navigation.

> This page is for AI assistant context only. To use this package, visit [community.ntop.com](https://community.ntop.com/packages/ntop/max-evenly-spaced-points).

## Summary

This custom block creates almost evenly spaced points on a body based on a desired point spacing using a hexagonal packaging approach.

## Package Details

| Field            | Value                                                                      |
| ---------------- | -------------------------------------------------------------------------- |
| **ID**           | `max-evenly-spaced-points`                                                 |
| **Type**         | Block                                                                      |
| **Author**       | nTop                                                                       |
| **Version**      | 1.0.0                                                                      |
| **nTop Version** | 5.43+                                                                      |
| **Domain**       | Geometry                                                                   |
| **Complexity**   | Beginner                                                                   |
| **Tags**         | `evenly-spaced`, `points`, `hexagonal-packing`, `distribution`, `sampling` |
| **License**      | MIT                                                                        |
| **Verified**     | Yes                                                                        |

***

This custom block creates almost evenly spaced points on a body based on a desired point spacing using a hexagonal packaging approach.

## Installation

Clone this repo or copy the package folder into your nTop workspace:

```bash theme={null}
git clone https://github.com/nTopology/Utilities.git
```

The package lives at `packages/ntop/max-evenly-spaced-points/`.

## Inputs

| Name                    | Type          | Description                                                           |
| ----------------------- | ------------- | --------------------------------------------------------------------- |
| `Mesh`                  | Mesh          | A Mesh of the part (or Mesh of a Surface)  you want to put points on. |
| `Point spacing (mm)`    | Scalar        | Desired spacing between points.                                       |
| `Body`                  | Implicit Body | The Implict Body you want to put points on.                           |
| `Relaxation iterations` | Integer       | Number of iterations to evenly distribute the points on the mesh.     |
| `Random seed`           | Integer       | Seed value to generate randomness.                                    |

## Outputs

| Name             | Type                              | Description |
| ---------------- | --------------------------------- | ----------- |
| `Closest Points` | list\<closest\_point\_properties> | Output.     |

## License

MIT.

***

## Source

[https://community.ntop.com/packages/ntop/max-evenly-spaced-points](https://community.ntop.com/packages/ntop/max-evenly-spaced-points)
