Spread Points

Spreads an exact number of points evenly over a surface: a mesh, or a Solid's surface. Each point moves to the centre of the part of the surface nearest to it, again and again, until no point moves or the settle steps run out. The same inputs give the same points, every run. Nearness is measured in straight lines, so where two parts of the surface lie closer together than the spacing (the two sides of a thin wall), their points share regions.

Inputs

Surface Mesh or Solid

The surface to spread the points over: a mesh, or a Solid, whose surface is meshed finely for the spreading and the points then placed exactly on it. Required.

Takes: any block that gives Mesh (116 blocks)
Count Number

How many points, from 1 to 100,000; exactly this many come out (a fraction is rounded).

Seed Number

Where the points start. Another seed gives another even layout; the same seed always gives the same points.

Settle steps Number

How many times each point moves to the centre of its region, from 0 to 1,000 (200 unless set). The spreading stops earlier once no point moves.

Spacing field Number

Optional field: the wanted distance between points. Points sit closer where it is smaller. The count stays as asked, so the field sets where the points gather, not how many there are. It must be above zero on the surface.

Takes: any block that gives Number (102 blocks)

Output

List of Point

Used by: any block that takes Point (58 blocks)

Properties

Values the block gives besides its output. The editor lists them under Properties, and an input can read one by reference.

Count Number

How many points the list holds.

BoundingBox Bounding Box

The axis-aligned extent of all the points.

In the demos

What implicit modeling is

Clever Design GmbH · Einsiedeln, SwitzerlandPrivacy · Imprint