Builtin Library
README.md
attribute
Reading, writing and moving the per-element columns a mesh carries.
The definitions live in proc.ops.attribute; this pack is what puts them
in the op registry, so procgen.searchNodes("", { pack = "attribute" }) lists the family
and procgen.describeNode("op.<id>") describes any one of them.
Ops
attribute.set— Set a named attribute on a domain class (point/vertex/edge/primitive/detail)attribute.labels— An attribute's values as a per-element field, and the indexlabelnames among them — what field.compare reads to keep the points of one nameattribute.remove— Remove a named attribute from a domain classattribute.transfer— Transfer a point attribute from a source domain to a target by nearest point, on the deviceattribute.statistics— Measure a scalar attribute column into a Data table:count,min,max,mean,median,stddev(over the whole population),sum, andpercentiles— the nine decilesp10throughp90, each interpolated ...attribute.normalize— Normalize a scalar attribute column to [0,1] by its own min/max or rank → a new column
attribute.capture answers as attribute.set: a graph naming it cooks attribute.set.