Logo di Procedural Geometry

Procedural Geometry

Community
lukapiskorec
procedural-geometry

Use when writing or revising Blender Python that generates construction geometry, before placing members by hand-typed coordinates.

Panoramica

Pubblicato dalukapiskorec
Repositorycraftbot
Nome della skillprocedural-geometry
Stelle
191
Fork
29
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da lukapiskorec su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Procedural Geometry in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/lukapiskorec/craftbot/tree/main/skills/procedural-geometry
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lukapiskorec/craftbot.git /tmp/craftbot
mkdir -p .claude/skills
cp -r /tmp/craftbot/skills/procedural-geometry .claude/skills/procedural-geometry
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Procedural Geometry in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Procedural Geometry non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Procedural Geometry non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Procedural geometry

Overview

The model hangs off a small set of derived expressions, not a table of constants. Everything below serves two goals: a parameter change propagates instead of breaking hand-entered numbers, and the geometry stays checkable by a numeric overlap test. If a collision check script exists in the repo's tools, use it to verify model intersections; otherwise, check element intersections directly by examining the model file.

Single source of truth

  • Derive every level and position from parametric functions. One roof-plane function fixes purlin centres, ridge levels and strut targets; changing pitch regenerates a consistent frame. Never type a number twice.
  • One shared surface function for every member that meets that surface. Write the roof plane once as a function of position and derive trays, bevels, ceiling, post tops and cladding from it; coplanarity becomes structural instead of something to re-check.
  • One parametrized constructor per member family. All wall bays from one wall function, every sloped roof element from one profile-extrusion helper; a family fix becomes a one-function fix.
  • Generate a derived feature list once and pass it everywhere. Calling a seeded feature generator twice yields two different sets and cuts cladding where the wall behind is solid. A seed does not guarantee agreement; a single call does.
  • Address openings by slot index, not metric position on gridded walls, so an opening always occupies whole panels and the structural bands inside a hole become mullions by construction.
  • Derive secondary members (blocking, noggins, rims) from the list of members actually placed, never from the nominal grid, so they fit real bays including doubled members and skip openings.

Cutting and joining

  • Build long and clip with half-spaces; never type endpoints. Each facet carries a fixed plane list; one call produces a common, a jack or a cripple rafter depending only on where the member line sits. The rejected alternative, solving endpoints analytically per case, multiplies formulas.
  • Split members at discontinuities instead of branching on a straddle predicate. A piece crossing the ridge is split plumb into two parallelograms; boundary predicates on float comparisons fail exactly at the members sitting on the boundary, which are usually the important ones.
  • Keep every solid convex. The separating-axis check is exact only on convex solids. A bird's mouth splits the rafter into body plus tail sharing a face; a wall with a hole becomes pier, sill and lintel pieces, which also matches how the panel is fabricated. Choose the decomposition to keep the checker valid rather than relaxing the check.
  • Corners resolve by one stated rule: long members run full length, cross members run between them, applied at every scale. In layered walls the caller states each layer's extents; corners are never resolved by magic inside the function, because the correct answer depends on neighbours the function cannot see.
  • Work in the assembly's own coordinate frame. Roof covering expressed in (distance up slope, height normal to roof) turns trigonometry into offsets and removes drift.
  • Compute outline vertices as plane intersections, evaluated at two offset levels (underside and top), so a shared edge between facets is the same edge for both and adjacent pieces share one end face exactly. Correctness comes from the construction, not from a tolerance check afterwards.
  • Prism profiles cannot slope across their own thickness. A wall running along X cannot express a roof-cut top in its profile plane; it gets a flat top plus a separate wedge, one wedge per wall segment so the wedge never runs into a crossing element.

Dimension chains and counts

  • Close the dimension chain. Tune one genuinely free parameter so a run of repeated elements lands exactly: a stair going chosen so treads plus landings fill the core, an overhang trimmed so the roof is a whole number of trays.
  • int(round(length / module)) silently drops a partial module. Derive counts with an explicit ceiling and a stated remainder policy, or adjust a free dimension until the division comes out whole.

Conventions that prevent whole bug classes

  • Axes: one convention (X along the building, Y across the span, Z up, slab top at z = 0), kept identical across experiments so numbers stay comparable and helpers move between scripts without rework.
  • Depth axis always points up in the member helper, enforced in code. A one-sided error pattern (overlaps on one slope of a symmetric roof only) is the diagnostic signature of a missing orientation convention.
  • Normalize winding inside the prism helper, so no caller needs to know the handedness of its axis mapping. Unexpectedly dark surfaces are a normals bug, not a lighting problem.
  • Qualify object and collection names with their parent. Bare-name lookup can merge four walls' cladding into one collection, and a name collision can silently overwrite geometry. Uniqueness is a construction rule, not a hope.
  • Carry the toolkit forward. Start from the previous experiment's helpers (box, prism, clip, strip, spacing), name the inherited kit and the delta separately, and promote a helper into a shared library once a second building has needed it.

Provenance

Distilled from the Fable design rationale documents of experiments 01, 02, 03, 04, 06, 08, 09, 11 and 13 in the CraftBot repo (https://github.com/lukapiskorec/craftbot).

Domande frequenti

Cosa fa la skill IA Procedural Geometry?

Use when writing or revising Blender Python that generates construction geometry, before placing members by hand-typed coordinates.

Perché usare Procedural Geometry su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Procedural Geometry è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Procedural Geometry in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/lukapiskorec/craftbot/tree/main/skills/procedural-geometry. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Procedural Geometry?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Procedural Geometry?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Procedural Geometry: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Procedural Geometry è gratuita?

È pubblicata su GitHub da lukapiskorec. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇