Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

proc.ops.geometry

Transform and analysis ops over a Geometry. Each reads a Geometry and returns a new Geometry (or a measurement), leaving the one it was handed as it was.

ops(geometry, fields) returns the family as a map of op id to op def; procPacks/geometry.procPack registers it. A graph calls one of its ops as g.op.<id>({ ... }) and a script as proc.ops.<family>.<op>(...); the procgen toolbox's describeNode answers each in full.

Ops: geometry.append, geometry.join, geometry.measure, geometry.merge, geometry.set_material, geometry.set_position, geometry.transform, geometry.triangulate, geometry.voxelize.

Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.ops.geometry.