# santiagogaray/skindesigner architecture

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

- Interactive diagram: https://gitdiagram.com/santiagogaray/skindesigner
- Repository: https://github.com/santiagogaray/skindesigner

## Overview

SkinDesigner is a Grasshopper facade-panelization tool. The principal workflow takes building massing surfaces and user-defined repeating panels, applies layout and panel-design controls, and generates facade geometry. Documented branches cover curved and free-form surface panelization, facade systems and shading, panel inventories, data-driven customization, and export/viewing. The README documents capabilities, while the sampled source excerpts are incomplete; edges without direct evidence are omitted rather than inferred.

Main entry points: [`src/SkinDesigner_SkinGenerator.py`](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinGenerator.py) (Skin generator), [`src/SkinDesigner_SystemsPanel.py`](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SystemsPanel.py) (Panel systems), [`src/SkinDesigner_LayoutFunction.py`](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutFunction.py) (Layout functions), [`src/SkinDesigner_PanelData_Proximity.py`](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelData_Proximity.py) (Proximity data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_generation["Facade generation"]
  node_skin_generator["Skin generator"]
  node_skin_model["Skin model"]
  node_custom_geometry["Custom geometry"]
  node_facade_geometry["Facade geometry"]
end

subgraph group_design["Panel design"]
  node_layout["Layout control"]
  node_layout_functions["Layout functions"]
  node_layout_patterns["Layout patterns"]
  node_row_patterns["Row patterns"]
  node_random_layout["Random layout"]
  node_panel["Panel definitions"]
  node_panel_functions["Panel functions"]
  node_panel_data["Proximity data"]
  node_distance_data["Distance data"]
  node_pattern_data["Pattern data"]
  node_random_data["Random data"]
end

subgraph group_systems["Facade systems"]
  node_systems_panel["Panel systems"]
  node_systems_controller["System controller"]
  node_curtain_wall["Curtain wall"]
  node_wall_system["Wall system"]
  node_shading["Shading"]
end

subgraph group_insight["Analysis and output"]
  node_inventory["Panel inventory"]
  node_viewers["Model viewers"]
  node_export["Component export"]
end

node_designer(("Grasshopper user"))
node_input_surfaces["Massing surfaces"]

node_designer -->|"uses"| node_skin_generator
node_input_surfaces -->|"panelizes"| node_skin_generator
node_skin_generator -->|"generates"| node_facade_geometry
node_designer -.->|"configures"| node_layout
node_designer -->|"defines"| node_panel
node_designer -.->|"configures"| node_systems_panel
node_designer -->|"views"| node_inventory
node_designer -.->|"exports"| node_export
node_skin_generator -.->|"builds"| node_skin_model
node_skin_generator -.->|"uses"| node_layout
node_skin_generator -.->|"applies"| node_panel_functions
node_skin_generator -->|"supports"| node_custom_geometry
node_skin_generator -->|"subdivides curved surfaces"| node_facade_geometry
node_skin_generator -->|"matches free-form surfaces"| node_facade_geometry
node_systems_panel -.->|"configures"| node_curtain_wall
node_systems_panel -.->|"configures"| node_wall_system
node_systems_panel -.->|"configures"| node_shading
node_systems_controller -.->|"controls"| node_systems_panel
node_panel_functions -.->|"uses"| node_panel_data
node_layout -.->|"uses"| node_layout_functions
node_layout_functions -.->|"selects"| node_layout_patterns
node_layout_functions -.->|"selects"| node_row_patterns
node_layout_functions -.->|"selects"| node_random_layout
node_panel_data -.->|"uses"| node_distance_data
node_panel_data -.->|"uses"| node_pattern_data
node_panel_data -.->|"uses"| node_random_data
node_skin_model -.->|"reports panels"| node_inventory
node_skin_model -.->|"supplies data"| node_viewers

click node_skin_generator "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinGenerator.py"
click node_skin_model "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinDesigner.py"
click node_layout "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutController.py"
click node_layout_functions "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutFunction.py"
click node_layout_patterns "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_Pattern.py"
click node_row_patterns "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_PatternByRow.py"
click node_random_layout "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_Random.py"
click node_panel "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Panel.py"
click node_panel_functions "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelFunction.py"
click node_panel_data "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelData_Proximity.py"
click node_distance_data "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_DataGeneratorDistance.py"
click node_pattern_data "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Data_Pattern.py"
click node_random_data "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Data_Random.py"
click node_systems_panel "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SystemsPanel.py"
click node_systems_controller "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SystemsPanelController.py"
click node_curtain_wall "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_System-CurtainWall.py"
click node_wall_system "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_System-Wall.py"
click node_shading "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Shading.py"
click node_custom_geometry "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_CustomGeometry.py"
click node_inventory "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelInventory.py"
click node_viewers "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinDataViewer.py"
click node_export "https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_ExportSkinDesigner.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_skin_generator,node_skin_model,node_custom_geometry,node_facade_geometry,node_designer toneBlue
class node_layout,node_layout_functions,node_layout_patterns,node_row_patterns,node_random_layout,node_panel,node_panel_functions,node_panel_data,node_distance_data,node_pattern_data,node_random_data toneAmber
class node_systems_panel,node_systems_controller,node_curtain_wall,node_wall_system,node_shading toneMint
class node_inventory,node_viewers,node_export toneRose
class node_input_surfaces toneIndigo
```

## Components

### Facade generation

- [Skin generator](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinGenerator.py): `src/SkinDesigner_SkinGenerator.py`
- [Skin model](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinDesigner.py): `src/SkinDesigner_SkinDesigner.py`
- [Custom geometry](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_CustomGeometry.py): `src/SkinDesigner_CustomGeometry.py`
- **Facade geometry**

### Panel design

- [Layout control](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutController.py): `src/SkinDesigner_LayoutController.py`
- [Layout functions](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutFunction.py): `src/SkinDesigner_LayoutFunction.py`
- [Layout patterns](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_Pattern.py): `src/SkinDesigner_LayoutType_Pattern.py`
- [Row patterns](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_PatternByRow.py): `src/SkinDesigner_LayoutType_PatternByRow.py`
- [Random layout](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_LayoutType_Random.py): `src/SkinDesigner_LayoutType_Random.py`
- [Panel definitions](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Panel.py): `src/SkinDesigner_Panel.py`
- [Panel functions](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelFunction.py): `src/SkinDesigner_PanelFunction.py`
- [Proximity data](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelData_Proximity.py): `src/SkinDesigner_PanelData_Proximity.py`
- [Distance data](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_DataGeneratorDistance.py): `src/SkinDesigner_DataGeneratorDistance.py`
- [Pattern data](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Data_Pattern.py): `src/SkinDesigner_Data_Pattern.py`
- [Random data](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Data_Random.py): `src/SkinDesigner_Data_Random.py`

### Facade systems

- [Panel systems](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SystemsPanel.py): `src/SkinDesigner_SystemsPanel.py`
- [System controller](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SystemsPanelController.py): `src/SkinDesigner_SystemsPanelController.py`
- [Curtain wall](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_System-CurtainWall.py): `src/SkinDesigner_System-CurtainWall.py`
- [Wall system](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_System-Wall.py): `src/SkinDesigner_System-Wall.py`
- [Shading](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_Shading.py): `src/SkinDesigner_Shading.py`

### Analysis and output

- [Panel inventory](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_PanelInventory.py): `src/SkinDesigner_PanelInventory.py`
- [Model viewers](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_SkinDataViewer.py): `src/SkinDesigner_SkinDataViewer.py`
- [Component export](https://github.com/santiagogaray/skindesigner/blob/master/src/SkinDesigner_ExportSkinDesigner.py): `src/SkinDesigner_ExportSkinDesigner.py`

### Other components

- **Grasshopper user**
- **Massing surfaces**

## Connections

- Grasshopper user → Skin generator: uses (evidence: `README.md`)
- Massing surfaces → Skin generator: panelizes (evidence: `README.md`)
- Skin generator → Facade geometry: generates (evidence: `README.md`)
- Grasshopper user → Layout control: configures
- Grasshopper user → Panel definitions: defines (evidence: `README.md`)
- Grasshopper user → Panel systems: configures
- Grasshopper user → Panel inventory: views (evidence: `README.md`)
- Grasshopper user → Component export: exports
- Skin generator → Skin model: builds
- Skin generator → Layout control: uses
- Skin generator → Panel functions: applies
- Skin generator → Custom geometry: supports (evidence: `README.md`)
- Skin generator → Facade geometry: subdivides curved surfaces (evidence: `README.md`)
- Skin generator → Facade geometry: matches free-form surfaces (evidence: `README.md`)
- Panel systems → Curtain wall: configures
- Panel systems → Wall system: configures
- Panel systems → Shading: configures
- System controller → Panel systems: controls
- Panel functions → Proximity data: uses
- Layout control → Layout functions: uses
- Layout functions → Layout patterns: selects
- Layout functions → Row patterns: selects
- Layout functions → Random layout: selects
- Proximity data → Distance data: uses
- Proximity data → Pattern data: uses
- Proximity data → Random data: uses
- Skin model → Panel inventory: reports panels
- Skin model → Model viewers: supplies data
