Skip to content

Vibe coding a plugin? 😎 Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

ToolPoint

The point under the pointer, snapped the way the built-in tools snap: to endpoints, midpoints, edges and faces, along the axes from PluginTool.reference, and locked to an axis with the arrow keys or to the current inference with Shift.

readonly edge: Edge | null


readonly face: Face | null


readonly inferences: readonly InferenceName[]

What the point snapped to, most specific first.


readonly path: readonly (ComponentInstance | Group)[]

The groups and instances above what the point snapped to, from the model root down.


readonly position: Point3d

In the coordinates of the context being edited, like Model.activeEntities.


readonly vertex: Vertex | null


readonly worldPosition: Point3d

In world coordinates.