Логотип Procedural Geometry

Procedural Geometry

Сообщество
lukapiskorec
procedural-geometry

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

Обзор

Издательlukapiskorec
Репозиторийcraftbot
Название навыкаprocedural-geometry
Звёзды
191
Форки
29
Файлы в комплекте
Только инструкции
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — lukapiskorec. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Procedural Geometry в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/lukapiskorec/craftbot/tree/main/skills/procedural-geometry
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Procedural Geometry в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Procedural Geometry, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Procedural Geometry не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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).

Часто задаваемые вопросы

Что делает навык ИИ Procedural Geometry?

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

Зачем использовать Procedural Geometry в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Procedural Geometry — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Procedural Geometry в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/lukapiskorec/craftbot/tree/main/skills/procedural-geometry. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Procedural Geometry?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Procedural Geometry?

С любым количеством. В TypingMind вы можете использовать Procedural Geometry с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Procedural Geometry?

Навык опубликован на GitHub. Издатель — lukapiskorec. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇