Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

gauge-materials

/gauge-materials

Buduje i sprawdza materiały PBR w Blenderze jako grafy węzłów: presety metalu, plastiku, szkła i drewna oraz bramkę przestrzeni barw.

Repozytorium
blender-gauge ↗
Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
6
Skrypty
5
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 5 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/gauge.py, scripts/make_material.py, scripts/material_gate.py, scripts/presets.py, scripts/swatch_sheet.py

Co robi i kiedy

Buduje i sprawdza materiały PBR w Blenderze jako grafy węzłów: presety metalu, plastiku, szkła i drewna oraz bramkę przestrzeni barw.

Oryginalny opis (EN)

Build and check PBR materials in Blender as node graphs - presets for metal, brushed metal, plastic, ceramic, rubber, glass, emissive, wood, concrete, a spec-based node builder, and a gate for colour spaces, albedo range, metallic and roughness. Use for any shader or material work.

Jak działa

  1. Make
  2. Read before you edit
  3. Gate
  4. Judge the look
  5. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 32 linii, 304 słów
Podgląd SKILL.md
---
name: gauge-materials
description: Build and check PBR materials in Blender as node graphs - presets for metal, brushed metal, plastic, ceramic, rubber, glass, emissive, wood, concrete, a spec-based node builder, and a gate for colour spaces, albedo range, metallic and roughness. Use for any shader or material work.
---

# Gauge materials

Materials are node graphs; Gauge writes them as **specs** (plain dicts), builds them with `gauge.node_build`, and reads any existing graph back with `gauge.node_dump` / `gauge.node_text`. A spec round-trips: build -> dump -> build gives the same graph.

## Make
```
run_blender_script path=skills/gauge-materials/scripts/make_material.py
  args={"name":"mat_steel","preset":"brushed_metal","color":"#b9bec6","assign_to":"Housing","overrides":{"Roughness":0.3}}
```
Presets (`scripts/presets.py`): `metal`, `brushed_metal` (anisotropic streaks, procedural), `plastic`, `ceramic`, `rubber`, `glass`, `emissive`, `wood`, `concrete`. Procedural ones use object coordinates, so they need no UVs. Re-running with the same name rebuilds in place and every user keeps it. `color` is an sRGB hex; `overrides` are Principled inputs by name.

Custom graph: write a spec `{"nodes": {key: {"type", "set", "in", "at"}}, "links": [["a.Out","b.In"]]}`; colours as `"#rrggbb"` are converted to linear for you; datablock sockets take names.

## Read before you edit
`gauge.node_text(material.node_tree)` (or the MCP `get_node_tree`) prints data-flow order with only the values that differ from a fresh node. `gauge.node_dump` gives the JSON spec.

## Gate
`scripts/material_gate.py` -> gate `material-health`.
- **Errors:** invalid links, output not connected, Image Texture without an image, data textures (roughness, metallic, normal, height) not in `Non-Color`.
- **Warnings:** unused nodes, muted nodes, albedo outside sRGB 30-240, metallic strictly between 0.05 and 0.95, roughness below 0.02, empty material slots.

## Judge the look
`scripts/swatch_sheet.py` renders one sphere per preset on a neutral studio and checks that no two look the same. Run it headless; a quick live check should use `percent` 40.

## Rules
- Metallic is a class: 0 or 1, blend with a mask. Dielectric albedo stays between sRGB 30 and 240.
- Roughness carries most of the realism: vary it with a noise or map range instead of a constant.
- Colour data (base colour, emission) is sRGB; everything else is Non-Color.
- Do not set `material.use_nodes` (deprecated in 5.x; node trees exist by default).
- Name by purpose: `mat_brushed_steel`, not `Material.003`.
Pliki w paczce (6)
  • SKILL.md 3 KB
  • scripts/gauge.py 47 KB
  • scripts/make_material.py 1 KB
  • scripts/material_gate.py 3 KB
  • scripts/presets.py 7 KB
  • scripts/swatch_sheet.py 6 KB

Wersje

W bazie nie ma innych skilli o nazwie gauge-materials.

Migawka bazy z 13.11.2026 · wersja paczki 1d437af8ed15 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 4 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100materials
    Tworzy materiały PBR i stylizowane w Blenderze dla metalu, drewna, betonu, tkanin i szkła, z proceduralnymi shaderami przez MCP.
  • 90blender-pbr-materials
    Tworzy i eksportuje materiały PBR w Blenderze 5.2: reguły metalu i chropowatości, przestrzenie barw, pakowanie kanałów i normalne.
  • 90materials-shading
    Tworzy i przypisuje materiały w Blenderze 5.2: presety Principled BSDF, PBR, tekstury proceduralne i sloty dla ścian.
  • 100blender-materials
    Tworzy i przypisuje materiały PBR w Blenderze przez Principled BSDF: metale, szkło, plastik, tkaniny, skórę i organiki, z warstwą coat, sheen, subsurface i wzorami proceduralnymi.
  • 100blender-materials
    Tworzy i przypisuje materiały PBR w Blenderze przez Principled BSDF: metale, szkło, plastik, tkaniny, skóra i organiki, z warstwami Coat, Sheen, Subsurface i Transmission oraz wzorami proceduralnymi, jak drewno i marmur.
  • 90three-d-pbr-materials
    Buduje materiały fizycznie oparte (PBR) z kalibrowanymi kanałami tekstur.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.