Log inGet started
Package

geometry.nodebox

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

geometry.rings

Make the points a surface built ring by ring stands on: rings rings of size points each, ring after ring. Answers the points, the ring each point belongs to and its place along that ring, so a node writes each point's position as a formula over the two numbers.

Inputs

  • rings (Number, default 2, at least 1). How many rings there are: a Number, or a live count.
  • size (Number, default 3, at least 1). How many points each ring holds.

Outputs

  • surface (Geometry). rings * size points and no primitives.
  • ring (Column<Int>). The ring each point belongs to, from 0.
  • along (Column<Int>). The place of each point along its ring, from 0.
local lattice = g.geometry.rings({ rings = 4, size = 8 })