Skip to main content

Module autoprogram

Module autoprogram 

Source
Expand description

Automatic programming (lane C13 rows 3 and 4): recognised features -> a setup’s ordered operations through the technology table, tools from the library, feeds from lane C12, generation through the existing strategies, program assembly, and the report of what was recognised, programmed and skipped.

Ordering: facing, roughing by descending cutter diameter, finishing (including chamfers), then holes: spotting, drilling, tapping/thread milling. Tool reuse is stable within a phase and cannot override roughing diameter or hole dependencies. Tool number and ID break ties deterministically.

Re-exports§

pub use report::report;
pub use report::Report;

Modules§

access
Protect open-edge extensions against the complete part above the floor.
binding
Durable identity of an automatically programmed feature. Geometry is refreshed from exact bodies after edits; a lost or ambiguous feature is refused rather than silently machining a different region.
multi
Additional fixed-axis setups are proposals, certified by fresh recognition. A refusal is never converted into machinable geometry by rotating its label.
report
The report for the UI (lane C13 row 4): what was recognised, what was programmed with which operations and tools, what was skipped and why, and how each generated operation ended.

Structs§

AutoInput
What the planner reads.
GeneratedOperation
One operation’s generation outcome. Drilling keeps its canned cycles in toolpath and the expanded motions in expanded (for simulation).
Plan
PlannedOperation
Skipped

Enums§

OperationGeometry
The geometry a planned operation is generated from.

Functions§

cutter_of
The cutter of a planned operation’s tool (for simulation).
generate
Generate every planned operation through its strategy. Per-operation failures are recorded, not fatal; cancellation is.
plan
Plan the setup’s operations.
program_input
The program input of the generated operations (failed ones left out), ready for program::assemble and the posts.