# zyzzy03/freightlinedeity architecture

> Architecture diagram of the GitHub repository zyzzy03/freightlinedeity, 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/zyzzy03/freightlinedeity
- Repository: https://github.com/zyzzy03/freightlinedeity

## Overview

FLDv036 is a terminal-based 3D project organizer: users create preset project folders, register software and projects, browse scene directories, and prepare Blender exports. The visible setup flow takes project details, uses directory presets, and copies selected exporter scripts. The main module also contains registry operations and freighting logic, but excerpts do not show all command dispatches. Edges are limited to calls or relationships visible in the excerpts and source index; unsampled wiring is omitted.

Main entry points: [`main.py`](https://github.com/zyzzy03/freightlinedeity/blob/main/main.py) (Command interface), [`exporters/SceneExport_character.py`](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_character.py) (Character exporter), [`sheller_mod.py`](https://github.com/zyzzy03/freightlinedeity/blob/main/sheller_mod.py) (Blender launcher), [`TerminalDecor_mod.py`](https://github.com/zyzzy03/freightlinedeity/blob/main/TerminalDecor_mod.py) (Terminal decoration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cli["Terminal interface"]
  node_app["Command interface<br/>[main.py]"]
  node_terminaldecor["Terminal decoration"]
  node_terminalprefix["Terminal prompts<br/>[ter_mod.py]"]
end

subgraph group_projects["Project setup and browsing"]
  node_directorypresets["Directory presets<br/>[dict_mod.py]"]
  node_projectsetup["Project setup<br/>[main.py]"]
  node_sceneview["Scene browser<br/>[tree_mod.py]"]
  node_workspaces["Workspace files"]
end

subgraph group_registry["Software and project registry"]
  node_registrylogic["Registry operations<br/>[main.py]"]
  node_registerdb[("Registry database<br/>[register.db]")]
end

subgraph group_export["Blender export"]
  node_freighting["Export preparation<br/>[main.py]"]
  node_sheller["Blender launcher<br/>[sheller_mod.py]"]
  node_animationexport["Animation exporter"]
  node_characterexport["Character exporter"]
  node_environmentexport["Environment exporter<br/>[SceneExport_env.py]"]
  node_textureexport["Texture exporter"]
  node_genericexport["Generic exporter"]
end

node_user(("User"))
node_blender["Blender"]

node_user -->|"enters commands"| node_app
node_app -->|"renders menus"| node_terminaldecor
node_app -->|"uses prompts"| node_terminalprefix
node_app -->|"routes setup"| node_projectsetup
node_projectsetup -->|"uses presets"| node_directorypresets
node_projectsetup -->|"copies exporter"| node_animationexport
node_projectsetup -->|"copies exporter"| node_characterexport
node_registrylogic -->|"reads and writes"| node_registerdb
node_sheller -->|"launches process"| node_blender
node_blender -->|"runs script"| node_characterexport

click node_app "https://github.com/zyzzy03/freightlinedeity/blob/main/main.py"
click node_terminaldecor "https://github.com/zyzzy03/freightlinedeity/blob/main/TerminalDecor_mod.py"
click node_terminalprefix "https://github.com/zyzzy03/freightlinedeity/blob/main/ter_mod.py"
click node_directorypresets "https://github.com/zyzzy03/freightlinedeity/blob/main/dict_mod.py"
click node_projectsetup "https://github.com/zyzzy03/freightlinedeity/blob/main/main.py"
click node_sceneview "https://github.com/zyzzy03/freightlinedeity/blob/main/tree_mod.py"
click node_workspaces "https://github.com/zyzzy03/freightlinedeity/tree/main/workspaces"
click node_registrylogic "https://github.com/zyzzy03/freightlinedeity/blob/main/main.py"
click node_registerdb "https://github.com/zyzzy03/freightlinedeity/blob/main/register.db"
click node_freighting "https://github.com/zyzzy03/freightlinedeity/blob/main/main.py"
click node_sheller "https://github.com/zyzzy03/freightlinedeity/blob/main/sheller_mod.py"
click node_animationexport "https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_anima.py"
click node_characterexport "https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_character.py"
click node_environmentexport "https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_env.py"
click node_textureexport "https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_b2sub.py"
click node_genericexport "https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_generic.py"

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_app,node_terminaldecor,node_terminalprefix,node_user toneBlue
class node_directorypresets,node_projectsetup,node_sceneview,node_workspaces toneAmber
class node_registrylogic,node_registerdb toneMint
class node_freighting,node_sheller,node_animationexport,node_characterexport,node_environmentexport,node_textureexport,node_genericexport toneRose
class node_blender toneIndigo
```

## Components

### Terminal interface

- [Command interface](https://github.com/zyzzy03/freightlinedeity/blob/main/main.py): `main.py`
- [Terminal decoration](https://github.com/zyzzy03/freightlinedeity/blob/main/TerminalDecor_mod.py): `TerminalDecor_mod.py`
- [Terminal prompts](https://github.com/zyzzy03/freightlinedeity/blob/main/ter_mod.py): `ter_mod.py`

### Project setup and browsing

- [Directory presets](https://github.com/zyzzy03/freightlinedeity/blob/main/dict_mod.py): `dict_mod.py`
- [Project setup](https://github.com/zyzzy03/freightlinedeity/blob/main/main.py): `main.py`
- [Scene browser](https://github.com/zyzzy03/freightlinedeity/blob/main/tree_mod.py): `tree_mod.py`
- [Workspace files](https://github.com/zyzzy03/freightlinedeity/tree/main/workspaces): `workspaces`

### Software and project registry

- [Registry operations](https://github.com/zyzzy03/freightlinedeity/blob/main/main.py): `main.py`
- [Registry database](https://github.com/zyzzy03/freightlinedeity/blob/main/register.db): `register.db`

### Blender export

- [Export preparation](https://github.com/zyzzy03/freightlinedeity/blob/main/main.py): `main.py`
- [Blender launcher](https://github.com/zyzzy03/freightlinedeity/blob/main/sheller_mod.py): `sheller_mod.py`
- [Animation exporter](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_anima.py): `exporters/SceneExport_anima.py`
- [Character exporter](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_character.py): `exporters/SceneExport_character.py`
- [Environment exporter](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_env.py): `exporters/SceneExport_env.py`
- [Texture exporter](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_b2sub.py): `exporters/SceneExport_b2sub.py`
- [Generic exporter](https://github.com/zyzzy03/freightlinedeity/blob/main/exporters/SceneExport_generic.py): `exporters/SceneExport_generic.py`

### Other components

- **User**
- **Blender**

## Connections

- User → Command interface: enters commands (evidence: `main.py`)
- Command interface → Terminal decoration: renders menus (evidence: `main.py`)
- Command interface → Terminal prompts: uses prompts (evidence: `main.py`)
- Command interface → Project setup: routes setup (evidence: `main.py`)
- Project setup → Directory presets: uses presets (evidence: `main.py`)
- Project setup → Animation exporter: copies exporter (evidence: `main.py`)
- Project setup → Character exporter: copies exporter (evidence: `main.py`)
- Registry operations → Registry database: reads and writes (evidence: `main.py`)
- Blender launcher → Blender: launches process (evidence: `sheller_mod.py`)
- Blender → Character exporter: runs script
