Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite8beb5604c

README.md

points.from_vertices (procNode)

A point at each of a geometry's points, in the geometry's own point order, carrying its N as normal where the geometry carries normals. Use it to stand things on the corners of a mesh.

Reads the point column P (and N when the geometry carries it) and makes Points of that count in the same order. Every other attribute of the geometry is left behind.

Built from: core.points.

Inputs

  • geometry (Geometry). The geometry whose points become the cloud: one point per point, so a corner shared by several triangles yields one point.

Outputs

  • points (Points). P, normal (when the geometry carries N) and id.
local corners = g.points.from_vertices({ geometry = g.mesh.box({}) })