# silajit27/original-prusa-i3-resources architecture

> Architecture diagram of the GitHub repository silajit27/original-prusa-i3-resources, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-08-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/silajit27/original-prusa-i3-resources
- Repository: https://github.com/silajit27/original-prusa-i3-resources

## Overview

##### Project type and purpose
- This is an open-source hardware/CAD repository for the Original Prusa i3 MK3S 3D-printer.
- It contains all the parametric SCAD files (source), STEP exports (mechanical CAD), and STL exports (printable parts).
- Its purpose is to let users inspect, customize, regenerate, and print each part of the Prusa MK3S kit.

##### File structure
- Top-level directories:
- Frame/: DXF drawings and extrusion specs for the metal frame
- Printed-Parts/: the heart of the repo, subdivided into
– SCAD/: OpenSCAD source files
– STEP/: exported CAD (neutral format)
– STL/: exported meshes for 3D printing
- README.md: Describes project scope, links to firmware and build manual.
- LICENSE: Open-source hardware license.

##### Key insights from README
- No software stack beyond CAD tools (OpenSCAD, CAD viewers).
- External dependencies: firmware repo, heatbed design, IR-sensor, power-panic modules.

##### Main components
a. Repository (version control)
– SCAD source folder
– Export pipeline
– Frame DXFs
b. CAD export & generation
– SCAD → STEP converter (OpenSCAD or script)
– SCAD → STL exporter
c. Asset types
– Parametric models (SCAD)
– Neutral CAD (STEP)
– Print meshes (STL)
d. External systems
– Firmware (github.com/prusa3d/Prusa-Firmware)
– Assembly manual & BOM
– Other sub-repos (heatbed, IR sensor, power panic)

##### Relationships and data flows
- “SCAD files” → generate → “STEP files”
- “SCAD files” → generate → “STL files”
- “DXF frame drawings” → guide → “Frame assembly”
- “STL files” → input to → “3D printer” → produces → “Physical parts”
- “Physical parts” + “Frame extrusions” + “BOM & firmware” → → “Final Prusa i3 MK3S”

##### Architectural patterns / design principles
- Single-source of truth for each printed part: SCAD parametric geometry
- Automated export pipeline (scriptable CLI or CI job)
- Clear separation of source (SCAD), neutral CAD (STEP), and print outputs (STL)
- Directory-driven modularity: each part exists in parallel representations

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Design Layer
    subgraph "Design Layer"
        SCAD["SCAD Sources"]:::source
        DXF["DXF Frame Drawings"]:::source
        Extrusions["Frame Extrusion Specs"]:::source
        LICENSE["LICENSE"]:::meta
        README["README.md"]:::meta
    end

    %% Export Layer
    subgraph "Export Layer"
        ExportTools["Export Scripts/Tools"]:::tool
        STEP["STEP Artifacts"]:::export
        STL["STL Artifacts"]:::export
    end

    %% Manufacturing Layer
    subgraph "Manufacturing Layer"
        Printer["3D Printer"]:::manufacture
        Physical["Physical Parts"]:::manufacture
        Final["Final Assembled Printer"]:::manufacture
    end

    %% External Systems
    Firmware["Firmware Repository"]:::external
    Manual["Assembly Manual & BOM"]:::external

    %% Connections
    SCAD -->|"OpenSCAD render"| STEP
    SCAD -->|"OpenSCAD render"| STL
    DXF -->|"guide frame assembly"| Final
    Extrusions -->|"guide extrusion assembly"| Final
    STL -->|"print input"| Printer
    Printer -->|"produces parts"| Physical
    Physical -->|"component for"| Final
    Firmware -.->|"dependency"| Final
    Manual -.->|"dependency"| Final

    %% Click Events
    click SCAD "https://github.com/silajit27/original-prusa-i3-resources/tree/MK3S/Printed-Parts/SCAD/"
    click DXF "https://github.com/silajit27/original-prusa-i3-resources/tree/MK3S/Frame/"
    click Extrusions "https://github.com/silajit27/original-prusa-i3-resources/blob/MK3S/Frame/Extrusions.pdf"
    click STEP "https://github.com/silajit27/original-prusa-i3-resources/tree/MK3S/Printed-Parts/STEP/"
    click STL "https://github.com/silajit27/original-prusa-i3-resources/tree/MK3S/Printed-Parts/STL/"
    click LICENSE "https://github.com/silajit27/original-prusa-i3-resources/tree/MK3S/LICENSE"
    click README "https://github.com/silajit27/original-prusa-i3-resources/blob/MK3S/README.md"

    %% Styles
    classDef source fill:#D0E7FF,stroke:#003366,color:#003366
    classDef export fill:#DFF2D8,stroke:#336600,color:#336600
    classDef manufacture fill:#F2F2F2,stroke:#666666,color:#666666
    classDef external fill:#FFE5CC,stroke:#CC6600,color:#CC6600
    classDef tool fill:#E8D0FF,stroke:#663399,color:#663399
    classDef meta fill:#FFF5CC,stroke:#999900,color:#999900
```
