# ros-industrial/noether architecture

> Architecture diagram of the GitHub repository ros-industrial/noether, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ros-industrial/noether
- Repository: https://github.com/ros-industrial/noether

## Overview

Noether plans tool paths over arbitrary mesh surfaces. The principal workflow is to configure mesh preprocessing, choose a planner, and apply path modifiers; the runtime pipeline executes those stages for each resulting mesh. The GUI exposes plugin-backed configuration and YAML load/save. The tree and README establish broader mesh-processing, edge/raster planning, and path-modification capabilities, but most implementations were not sampled, so those branches are shown at subsystem level. Evidence for runtime sequencing and GUI configuration comes from the sampled pipeline files; other links are omitted where wiring was not shown.

Main entry points: [`noether_gui/src/widgets/tpp_pipeline_widget.cpp`](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/widgets/tpp_pipeline_widget.cpp) (Pipeline editor), [`noether_tpp/src/core/tool_path_planner_pipeline.cpp`](https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/core/tool_path_planner_pipeline.cpp) (Pipeline executor), [`noether_tpp/src/tool_path_planners/raster`](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster) (Raster planners), [`noether_gui/src/tpp_app.cpp`](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/tpp_app.cpp) (Planning GUI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gui["GUI configuration"]
  node_gui_app["Planning GUI<br/>[tpp_app.cpp]"]
  node_pipeline_widget["Pipeline editor"]
  node_config_widget["YAML configuration"]
  node_gui_plugins["GUI plugin catalog<br/>[plugins.cpp]"]
  node_gui_mesh_widgets["Mesh modifier widgets"]
  node_gui_planner_widgets["Planner widgets"]
  node_gui_path_widgets["Path modifier widgets"]
end

subgraph group_core["Pipeline runtime"]
  node_pipeline["Pipeline executor"]
  node_runtime_plugins["Runtime plugin catalog<br/>[plugins.cpp]"]
end

subgraph group_mesh["Mesh processing"]
  node_mesh_modifiers["Mesh modifiers"]
  node_subset_extraction["Mesh subset extraction"]
  node_primitive_generator["Primitive mesh generator"]
end

subgraph group_planning["Path planning"]
  node_edge_planner["Boundary edge planner"]
  node_raster_planner["Raster planners"]
  node_direction_generators["Raster directions"]
  node_origin_generators["Raster origins"]
end

subgraph group_modifiers["Path modification"]
  node_path_modifiers["Tool path modifiers"]
end

node_user(("Engineer"))

node_user -.->|"configures"| node_gui_app
node_gui_app -.->|"hosts"| node_pipeline_widget
node_pipeline_widget -->|"queries plugins"| node_gui_plugins
node_pipeline_widget -.->|"loads widgets"| node_gui_mesh_widgets
node_pipeline_widget -->|"creates planner UI"| node_gui_planner_widgets
node_pipeline_widget -.->|"loads widgets"| node_gui_path_widgets
node_config_widget -->|"configures and saves"| node_pipeline_widget
node_pipeline_widget -->|"creates pipeline"| node_pipeline
node_pipeline -->|"creates components"| node_runtime_plugins
node_pipeline -->|"modifies meshes"| node_mesh_modifiers
node_pipeline -->|"plans paths"| node_raster_planner
node_pipeline -.->|"plans paths"| node_edge_planner
node_pipeline -->|"modifies paths"| node_path_modifiers
node_raster_planner -.->|"uses directions"| node_direction_generators
node_raster_planner -.->|"uses origins"| node_origin_generators

click node_gui_app "https://github.com/ros-industrial/noether/blob/master/noether_gui/src/tpp_app.cpp"
click node_pipeline_widget "https://github.com/ros-industrial/noether/blob/master/noether_gui/src/widgets/tpp_pipeline_widget.cpp"
click node_config_widget "https://github.com/ros-industrial/noether/blob/master/noether_gui/src/widgets/configurable_tpp_pipeline_widget.cpp"
click node_gui_plugins "https://github.com/ros-industrial/noether/blob/master/noether_gui/src/plugins.cpp"
click node_pipeline "https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/core/tool_path_planner_pipeline.cpp"
click node_runtime_plugins "https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/plugins.cpp"
click node_mesh_modifiers "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/mesh_modifiers"
click node_subset_extraction "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/mesh_modifiers/subset_extraction"
click node_primitive_generator "https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/app/mesh_primitive_generator.cpp"
click node_edge_planner "https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/tool_path_planners/edge/boundary_edge_planner.cpp"
click node_raster_planner "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster"
click node_direction_generators "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster/direction_generators"
click node_origin_generators "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster/origin_generators"
click node_path_modifiers "https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_modifiers"
click node_gui_mesh_widgets "https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/mesh_modifiers"
click node_gui_planner_widgets "https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/tool_path_planners"
click node_gui_path_widgets "https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/tool_path_modifiers"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gui_app,node_pipeline_widget,node_config_widget,node_gui_plugins,node_gui_mesh_widgets,node_gui_planner_widgets,node_gui_path_widgets toneBlue
class node_pipeline,node_runtime_plugins toneAmber
class node_mesh_modifiers,node_subset_extraction,node_primitive_generator toneMint
class node_edge_planner,node_raster_planner,node_direction_generators,node_origin_generators toneRose
class node_path_modifiers,node_user toneIndigo
```

## Components

### GUI configuration

- [Planning GUI](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/tpp_app.cpp): `noether_gui/src/tpp_app.cpp`
- [Pipeline editor](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/widgets/tpp_pipeline_widget.cpp): `noether_gui/src/widgets/tpp_pipeline_widget.cpp`
- [YAML configuration](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/widgets/configurable_tpp_pipeline_widget.cpp): `noether_gui/src/widgets/configurable_tpp_pipeline_widget.cpp`
- [GUI plugin catalog](https://github.com/ros-industrial/noether/blob/master/noether_gui/src/plugins.cpp): `noether_gui/src/plugins.cpp`
- [Mesh modifier widgets](https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/mesh_modifiers): `noether_gui/src/widgets/mesh_modifiers`
- [Planner widgets](https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/tool_path_planners): `noether_gui/src/widgets/tool_path_planners`
- [Path modifier widgets](https://github.com/ros-industrial/noether/tree/master/noether_gui/src/widgets/tool_path_modifiers): `noether_gui/src/widgets/tool_path_modifiers`

### Pipeline runtime

- [Pipeline executor](https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/core/tool_path_planner_pipeline.cpp): `noether_tpp/src/core/tool_path_planner_pipeline.cpp`
- [Runtime plugin catalog](https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/plugins.cpp): `noether_tpp/src/plugins.cpp`

### Mesh processing

- [Mesh modifiers](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/mesh_modifiers): `noether_tpp/src/mesh_modifiers`
- [Mesh subset extraction](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/mesh_modifiers/subset_extraction): `noether_tpp/src/mesh_modifiers/subset_extraction`
- [Primitive mesh generator](https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/app/mesh_primitive_generator.cpp): `noether_tpp/src/app/mesh_primitive_generator.cpp`

### Path planning

- [Boundary edge planner](https://github.com/ros-industrial/noether/blob/master/noether_tpp/src/tool_path_planners/edge/boundary_edge_planner.cpp): `noether_tpp/src/tool_path_planners/edge/boundary_edge_planner.cpp`
- [Raster planners](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster): `noether_tpp/src/tool_path_planners/raster`
- [Raster directions](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster/direction_generators): `noether_tpp/src/tool_path_planners/raster/direction_generators`
- [Raster origins](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_planners/raster/origin_generators): `noether_tpp/src/tool_path_planners/raster/origin_generators`

### Path modification

- [Tool path modifiers](https://github.com/ros-industrial/noether/tree/master/noether_tpp/src/tool_path_modifiers): `noether_tpp/src/tool_path_modifiers`

### Other components

- **Engineer**

## Connections

- Engineer → Planning GUI: configures
- Planning GUI → Pipeline editor: hosts
- Pipeline editor → GUI plugin catalog: queries plugins (evidence: `noether_gui/src/widgets/tpp_pipeline_widget.cpp`)
- Pipeline editor → Mesh modifier widgets: loads widgets
- Pipeline editor → Planner widgets: creates planner UI (evidence: `noether_gui/src/widgets/tpp_pipeline_widget.cpp`)
- Pipeline editor → Path modifier widgets: loads widgets
- YAML configuration → Pipeline editor: configures and saves (evidence: `noether_gui/src/widgets/configurable_tpp_pipeline_widget.cpp`)
- Pipeline editor → Pipeline executor: creates pipeline (evidence: `noether_gui/src/widgets/tpp_pipeline_widget.cpp`)
- Pipeline executor → Runtime plugin catalog: creates components (evidence: `noether_tpp/src/core/tool_path_planner_pipeline.cpp`)
- Pipeline executor → Mesh modifiers: modifies meshes (evidence: `noether_tpp/src/core/tool_path_planner_pipeline.cpp`)
- Pipeline executor → Raster planners: plans paths (evidence: `noether_tpp/src/core/tool_path_planner_pipeline.cpp`)
- Pipeline executor → Boundary edge planner: plans paths
- Pipeline executor → Tool path modifiers: modifies paths (evidence: `noether_tpp/src/core/tool_path_planner_pipeline.cpp`)
- Raster planners → Raster directions: uses directions
- Raster planners → Raster origins: uses origins
