Skip to main content

Module tools

Module tools 

Source
Expand description

Tool: a mode in hand while no step is edited, which the events of the viewport go to — the drag tool of an assembly, the pick tool of an inspector (pick).

A tool is no operation: what it does is no step. It may move the program’s state, or ask about the part, and says what it changed as a command does (Changed).

Modules§

pick
The pick tool: an inspector that picks (see crate::output::InspectorInfo::picks) in hand, which picks entities in the viewport, and is asked about them again with every pick.

Structs§

ToolInfo
What a tool is to an editor: the key it is taken in hand by (crate::editor::Command::Tool), and how it is offered. A tool is no operation, so it is offered where the inspectors are — beside what asks about the part — not among the operations a step can be.

Traits§

Tool
A mode in hand while no step is edited: see the module docs. Taken in hand by its key, a fresh one each time (see crate::registry::Registry::tool).