# noam76tr/slicyweb architecture

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

- Interactive diagram: https://gitdiagram.com/noam76tr/slicyweb
- Repository: https://github.com/noam76tr/slicyweb

## Overview

SlicyWeb is an under-development AI-assisted 3D-print preparation desktop platform. Its intended user workflow is to import an STL or 3MF model, manage and visualize objects, analyze and classify the model, then obtain recommendations and optimization guidance informed by printer, material, filament, and preset profiles; users can also estimate cost and manage projects. The graph preserves README capabilities and substantial indexed modules. Solid edges reflect shown calls; dashed, evidence-free links indicate documented capabilities or likely integration points whose wiring was not shown.

Main entry points: [`src/gui/App.tsx`](https://github.com/noam76tr/slicyweb/blob/main/src/gui/App.tsx) (GUI Workspace), [`src/recommendation_engine`](https://github.com/noam76tr/slicyweb/tree/main/src/recommendation_engine) (Recommendations), [`src/project/ProjectManager.ts`](https://github.com/noam76tr/slicyweb/blob/main/src/project/ProjectManager.ts) (Project Lifecycle), [`src/model_analysis`](https://github.com/noam76tr/slicyweb/tree/main/src/model_analysis) (Geometry Analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Workspace"]
  node_gui["GUI Workspace<br/>[App.tsx]"]
  node_renderer["3D Renderer<br/>[Renderer.ts]"]
  node_scene["Scene Manager<br/>[SceneManager.ts]"]
end

subgraph group_model["Model Preparation"]
  node_import["Model Import<br/>[ImportManager.ts]"]
  node_object["Object Manager<br/>[ObjectManager.ts]"]
  node_transform["Transform Tools"]
end

subgraph group_intelligence["Print Intelligence"]
  node_analysis["Geometry Analysis"]
  node_classification["Object Classification"]
  node_optimization_classification["Optimization Classification"]
  node_recommendations["Recommendations"]
  node_optimization["Print Optimization"]
  node_cost["Cost Estimation"]
end

subgraph group_profiles["Print Profiles"]
  node_printers["Printer Profiles<br/>[PrinterManager.ts]"]
  node_materials["Material Profiles<br/>[MaterialManager.ts]"]
  node_filaments["Filament Profiles<br/>[FilamentManager.ts]"]
  node_presets["Print Presets<br/>[PresetManager.ts]"]
end

subgraph group_project["Projects and Persistence"]
  node_project_manager["Project Lifecycle<br/>[ProjectManager.ts]"]
  node_storage_service["Storage Service<br/>[StorageService.ts]"]
  node_storage[("Project and Cache Storage<br/>[StorageManager.ts]")]
  node_recovery["Session Recovery<br/>[RecoveryManager.ts]"]
end

node_user(("User"))

node_user -.->|"uses"| node_gui
node_user -.->|"imports model"| node_import
node_import -->|"creates object"| node_object
node_object -.->|"manages objects"| node_scene
node_scene -.->|"renders scene"| node_renderer
node_gui -.->|"shows workspace"| node_renderer
node_gui -.->|"edits transforms"| node_transform
node_gui -.->|"requests analysis"| node_analysis
node_analysis -.->|"provides features"| node_classification
node_classification -.->|"informs classification"| node_optimization_classification
node_optimization -->|"uses analysis"| node_analysis
node_optimization -.->|"supports estimates"| node_cost
node_gui -.->|"presents guidance"| node_recommendations
node_recommendations -.->|"uses profiles"| node_printers
node_recommendations -.->|"uses profiles"| node_materials
node_recommendations -.->|"uses profiles"| node_filaments
node_recommendations -.->|"selects presets"| node_presets
node_gui -.->|"manages project"| node_project_manager
node_project_manager -.->|"persists project"| node_storage_service
node_storage_service -->|"delegates storage"| node_storage
node_project_manager -.->|"restores session"| node_recovery
node_project_manager -.->|"serializes project"| node_storage

click node_gui "https://github.com/noam76tr/slicyweb/blob/main/src/gui/App.tsx"
click node_renderer "https://github.com/noam76tr/slicyweb/blob/main/src/renderer/Renderer.ts"
click node_scene "https://github.com/noam76tr/slicyweb/blob/main/src/scene/SceneManager.ts"
click node_import "https://github.com/noam76tr/slicyweb/blob/main/src/importer/ImportManager.ts"
click node_object "https://github.com/noam76tr/slicyweb/blob/main/src/object_manager/ObjectManager.ts"
click node_transform "https://github.com/noam76tr/slicyweb/blob/main/src/transform/TransformManager.ts"
click node_analysis "https://github.com/noam76tr/slicyweb/tree/main/src/model_analysis"
click node_classification "https://github.com/noam76tr/slicyweb/blob/main/src/classification_engine/ClassificationEngine.ts"
click node_optimization_classification "https://github.com/noam76tr/slicyweb/blob/main/src/optimization_engine/ClassificationEngine.ts"
click node_recommendations "https://github.com/noam76tr/slicyweb/tree/main/src/recommendation_engine"
click node_optimization "https://github.com/noam76tr/slicyweb/blob/main/src/optimization_engine/OptimizationEngine.ts"
click node_cost "https://github.com/noam76tr/slicyweb/tree/main/src/cost_engine"
click node_printers "https://github.com/noam76tr/slicyweb/blob/main/src/printer_database/PrinterManager.ts"
click node_materials "https://github.com/noam76tr/slicyweb/blob/main/src/material_database/MaterialManager.ts"
click node_filaments "https://github.com/noam76tr/slicyweb/blob/main/src/filament_database/FilamentManager.ts"
click node_presets "https://github.com/noam76tr/slicyweb/blob/main/src/preset_engine/PresetManager.ts"
click node_project_manager "https://github.com/noam76tr/slicyweb/blob/main/src/project/ProjectManager.ts"
click node_storage_service "https://github.com/noam76tr/slicyweb/blob/main/src/services/StorageService.ts"
click node_storage "https://github.com/noam76tr/slicyweb/blob/main/src/storage/StorageManager.ts"
click node_recovery "https://github.com/noam76tr/slicyweb/blob/main/src/recovery/RecoveryManager.ts"

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,node_renderer,node_scene,node_user toneBlue
class node_import,node_object,node_transform toneAmber
class node_analysis,node_classification,node_optimization_classification,node_recommendations,node_optimization,node_cost toneMint
class node_printers,node_materials,node_filaments,node_presets toneRose
class node_project_manager,node_storage_service,node_storage,node_recovery toneIndigo
```

## Components

### Workspace

- [GUI Workspace](https://github.com/noam76tr/slicyweb/blob/main/src/gui/App.tsx): `src/gui/App.tsx`
- [3D Renderer](https://github.com/noam76tr/slicyweb/blob/main/src/renderer/Renderer.ts): `src/renderer/Renderer.ts`
- [Scene Manager](https://github.com/noam76tr/slicyweb/blob/main/src/scene/SceneManager.ts): `src/scene/SceneManager.ts`

### Model Preparation

- [Model Import](https://github.com/noam76tr/slicyweb/blob/main/src/importer/ImportManager.ts): `src/importer/ImportManager.ts`
- [Object Manager](https://github.com/noam76tr/slicyweb/blob/main/src/object_manager/ObjectManager.ts): `src/object_manager/ObjectManager.ts`
- [Transform Tools](https://github.com/noam76tr/slicyweb/blob/main/src/transform/TransformManager.ts): `src/transform/TransformManager.ts`

### Print Intelligence

- [Geometry Analysis](https://github.com/noam76tr/slicyweb/tree/main/src/model_analysis): `src/model_analysis`
- [Object Classification](https://github.com/noam76tr/slicyweb/blob/main/src/classification_engine/ClassificationEngine.ts): `src/classification_engine/ClassificationEngine.ts`
- [Optimization Classification](https://github.com/noam76tr/slicyweb/blob/main/src/optimization_engine/ClassificationEngine.ts): `src/optimization_engine/ClassificationEngine.ts`
- [Recommendations](https://github.com/noam76tr/slicyweb/tree/main/src/recommendation_engine): `src/recommendation_engine`
- [Print Optimization](https://github.com/noam76tr/slicyweb/blob/main/src/optimization_engine/OptimizationEngine.ts): `src/optimization_engine/OptimizationEngine.ts`
- [Cost Estimation](https://github.com/noam76tr/slicyweb/tree/main/src/cost_engine): `src/cost_engine`

### Print Profiles

- [Printer Profiles](https://github.com/noam76tr/slicyweb/blob/main/src/printer_database/PrinterManager.ts): `src/printer_database/PrinterManager.ts`
- [Material Profiles](https://github.com/noam76tr/slicyweb/blob/main/src/material_database/MaterialManager.ts): `src/material_database/MaterialManager.ts`
- [Filament Profiles](https://github.com/noam76tr/slicyweb/blob/main/src/filament_database/FilamentManager.ts): `src/filament_database/FilamentManager.ts`
- [Print Presets](https://github.com/noam76tr/slicyweb/blob/main/src/preset_engine/PresetManager.ts): `src/preset_engine/PresetManager.ts`

### Projects and Persistence

- [Project Lifecycle](https://github.com/noam76tr/slicyweb/blob/main/src/project/ProjectManager.ts): `src/project/ProjectManager.ts`
- [Storage Service](https://github.com/noam76tr/slicyweb/blob/main/src/services/StorageService.ts): `src/services/StorageService.ts`
- [Project and Cache Storage](https://github.com/noam76tr/slicyweb/blob/main/src/storage/StorageManager.ts): `src/storage/StorageManager.ts`
- [Session Recovery](https://github.com/noam76tr/slicyweb/blob/main/src/recovery/RecoveryManager.ts): `src/recovery/RecoveryManager.ts`

### Other components

- **User**

## Connections

- User → GUI Workspace: uses
- User → Model Import: imports model
- Model Import → Object Manager: creates object (evidence: `src/importer/ImportManager.ts`)
- Object Manager → Scene Manager: manages objects
- Scene Manager → 3D Renderer: renders scene
- GUI Workspace → 3D Renderer: shows workspace
- GUI Workspace → Transform Tools: edits transforms
- GUI Workspace → Geometry Analysis: requests analysis
- Geometry Analysis → Object Classification: provides features
- Object Classification → Optimization Classification: informs classification
- Print Optimization → Geometry Analysis: uses analysis (evidence: `src/optimization_engine/OptimizationEngine.ts`)
- Print Optimization → Cost Estimation: supports estimates
- GUI Workspace → Recommendations: presents guidance
- Recommendations → Printer Profiles: uses profiles
- Recommendations → Material Profiles: uses profiles
- Recommendations → Filament Profiles: uses profiles
- Recommendations → Print Presets: selects presets
- GUI Workspace → Project Lifecycle: manages project
- Project Lifecycle → Storage Service: persists project
- Storage Service → Project and Cache Storage: delegates storage (evidence: `src/services/StorageService.ts`)
- Project Lifecycle → Session Recovery: restores session
- Project Lifecycle → Project and Cache Storage: serializes project
