Verbs

Typed calls for agents, and what each one returns.

Typed calls with schemas, for agents. A verb never runs code and never changes the host’s document; the host decides what to commit.

Verb Kind Function What it does
sample_scatter construct samples.scatter Stable, seeded, nested sample points over the faces of a mesh, as Points geometry with ids, anchors, spacing and levels.
sample_frames construct samples.frames A smoothed tangent line field, the principal curvatures and the anisotropy at each sample, from the mesh the samples were scattered on.
sample_rebind construct samples.rebind Samples carried across a re-cook: each follows its face family and three corners, by persistent id, onto the edited mesh.
sample_inspect query samples.inspect One page of samples with their ids and the chosen attributes: positions, normals, frames, anchors, levels or parents.
points_to_hint construct samples.toHint Points geometry as the bytes of a hint IPC points table, for hint’s table_read.
points_from_hint construct samples.fromHint Points geometry from the bytes of a hint IPC points table that hint’s table_write made.
roles_inspect query roles.inspect The roles a value holds with their counts, and one page of points or primitives with their roles.
roles_assign construct roles.assign A copy of a value with host roles added to or removed from chosen points or primitives.
pipeline_check query roles.checkPipeline Whether a planned chain of verbs gets each step the roles it needs, judged from the verbs’ role signatures without running them.
lineage_trace query roles.traceLineage Where chosen elements of a value came from, followed back through the lineage of the values a host keeps.
mesh_boolean construct roles.boolean The exact boolean of two closed meshes that keeps persistent ids and roles, marking faces inside or outside and points on the seam.
form_measure query form.measure Whether a mesh is closed, the shape of each edge, and each face’s planarity and area, every answer with its evidence class.
structure_relate query form.relate How two faces, or two sets of faces, of a mesh relate: touching, adjacent, parallel, orthogonal, coplanar, each with its evidence class and a caption.
source_box construct sources.box An axis-aligned box of eight points and six outward quads, with a flat normal per face and persistent ids.
source_sphere construct sources.sphere A UV sphere of triangles from rings latitude bands and segments longitude divisions, with smooth normals and persistent ids.
source_plane construct sources.plane A flat grid in the XZ plane, width along x and height along z, of quads facing +Y with persistent ids.
source_cylinder construct sources.cylinder A closed faceted cylinder along Y: two flat polygon caps and side quads, with a hard rim and persistent ids.
geometry_translate construct geometryOps.translate A copy of a geometry with every position moved by an offset; normals, ids, roles and topology unchanged.
geometry_transform construct geometryOps.transform A copy of a geometry under an affine map from translate, rotate and scale or a matrix, about a pivot, with normals moved correctly.
geometry_translate_points construct geometryOps.translatePoints A copy of a geometry with chosen points moved by their persistent id, exactly or spread by a falloff; ids, roles and topology unchanged.
geometry_merge construct geometryOps.merge Polygon geometries combined into one in list order, attributes unioned, persistent ids kept unique and roles kept.
mesh_extrude construct meshEdits.extrude A copy of a polygon mesh with chosen faces pushed along their normals, each joined to its old edges by side walls.
mesh_inset construct meshEdits.inset A copy of a polygon mesh with chosen faces shrunk so each edge moves a set distance inward, framed by rings of new quads.
mesh_loop_cut construct meshEdits.loopCut A copy of a polygon mesh with new edge loops through the ring of four-corner faces an edge starts.
mesh_fuse construct meshEdits.fuse A copy of a polygon mesh with points within a distance welded into one and the faces that collapse dropped.
mesh_bevel construct meshEdits.bevel A copy of a polygon mesh with chosen edges between two four-corner faces chamfered, flat or rounded.
mesh_edge_slide construct meshEdits.edgeSlide A copy of a polygon mesh with the points of chosen edges slid along their neighbouring edges; the topology is unchanged.
mesh_subdivide construct meshEdits.subdivide A copy of a polygon mesh subdivided one level, linearly or by Catmull-Clark.
mesh_twist construct meshEdits.twist A copy of a polygon mesh with every point turned about an axis by an angle proportional to its coordinate along it.
mesh_bend construct meshEdits.bend A copy of a polygon mesh bent into a circular arc along an axis, its extent along the axis turning through a set angle.
mesh_copy_to_points construct meshEdits.copyToPoints One copy of a polygon mesh at each point of another geometry, scaled by the point’s pscale and optionally turned to its normal.