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

# How to create evenly distributed points on a surface

## Objective:

To create evenly distributed points on a surface

## Applies to:

* Latticing

## Solution:

This article uses a Custom Block to create our desired outcome. If you are new to using Custom Blocks, learn how to import, modify, and update them with the following resources:

* **Learning Center course:**
  * [Intro to Automation](https://learn.ntopology.com/intro-to-automation)
* **Articles:**
  * [How to update a Custom Block in an active notebook](/help-articles/knowledge-base/user-interface/how-to-update-a-custom-block-in-an-active-notebook)
  * [How to open up a Custom Block](https://support.ntop.com/hc/en-us/articles/4402068300435)

1. This [Custom Block](https://ntopology.box.com/s/foz8dd0z9i661x1ki94w03coyooi2wh6) runs off of a few required inputs. A few things to note about these are:

* The mesh input must be a surface mesh of the body.
* A unit must be specified in the point spacing input.
* The relaxation iterations input controls the number of iterations that are run to evenly distribute the points
* The random seed input specifies the seed value. Each seed value is essentially a different layout of the points.

![A cube with many points on its surface generated from the Max Evenly Spaced Points custom block](https://files.learn.ntop.com/help-articles/lattices/7187839402515.png)

And that's it! You've successfully created evenly distributed points on a surface.

## Attachment:

* [CB - Max Evenly Spaced Points](https://files.learn.ntop.com/Support%20Article%20Example%20Files/Knowledge%20Base/Lattices/CB%20-%20Max%20Evenly%20Spaced%20Points.ntop)

## Keywords:

*surface points body custom block spacing space equal evenly distributed*
