Логотип Aligning Parts By Connector Constraints

Aligning Parts By Connector Constraints

Організація
runtime-si
aligning-parts-by-connector-constraints

Turns connector statements about a LEGO or DUPLO build - "part P's tubes on base B's studs, P's stud (a, b) over B's stud (i, j), turned r" - into exact plate cells, layers and world poses, solving them in dependency order on the stud lattice (Manual2Skill++'s connector-aware pose alignment, which for studs and tubes reduces to integer lattice arithmetic). A part named by two statements (a bridge over two bases) must come out the same from both. Unsupported parts (on none of the base's studs), overlaps, cycles, unknown bases and parts off the plate are reported. Outputs the steps planning-brick-assembly-order reads and per-part cells for computing-brick-pose-from-stud-grid. Use when a build is described at the connector level (by a VLM reading a manual page, or a person saying "put the 1x2 on the left two studs of the red 2x4") rather than as an LDraw file, and needs exact stud-grid poses.

Огляд

Видавецьruntime-si
РепозиторійRoboSkillHub
Назва навичкиaligning-parts-by-connector-constraints
Зірки
242
Форки
27
Файли в пакеті
2
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: runtime-si. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Aligning Parts By Connector Constraints у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraints
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/aligning-parts-by-connector-constraints .claude/skills/aligning-parts-by-connector-constraints
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Aligning Parts By Connector Constraints в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Aligning Parts By Connector Constraints, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Aligning Parts By Connector Constraints не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

aligning-parts-by-connector-constraints

A manual page or a person describes a build by its connections: this brick on those studs of that one, turned this way. Manual2Skill++ turns such connector statements into 6D part poses by aligning connector frames. For studs and tubes every connector frame is a lattice node with a vertical axis, so the alignment is exact integer arithmetic; this skill does that part.

Statements

{part, on, at: [i, j], rotation, part_stud: [a, b]}: part's stud part_stud (default its stud (0, 0)) goes over the base's stud at, in the base's own stud coordinates (u along its first size number, v along its second), with the part turned rotation degrees (0, 90, 180, 270) about +z relative to the base. on: "plate" (or plate.id) is the baseplate, coordinates (0, 0) at its corner. size "AxB" (or in parts), height_units 3 for a brick and 1 for a plate.

How it solves

  1. Read the statements; a part's size and height come from parts, else from its first statement (a later different size is a conflict).
  2. Repeatedly place every part whose bases are all placed (cycles and unknown bases are reported): the part's stud (0, 0) goes to base.stud(at - R_r(part_stud)), its rotation is the base's plus r, its bottom on the base's top (base z + base height).
  3. Checks: at least min_support (1) of its studs sit over the base's studs; the same cells and height (rotation modulo the brick's symmetry) from every statement that names it; no shared cell with a part whose height range overlaps; inside the plate's stud area.
  4. Out: per part the plate cell of its footprint's corner (cell x, y, layer, rotation), spans, z_units, height_units, kind, step; with plate.origin the footprint centre's world position and yaw (cells to metres by the pitch, 8 mm LEGO / 16 mm DUPLO); steps_json is one step per part in solve order, in planning-brick-assembly-order's format.

Checked

No arm motion, no robot tools. Tests (tests/bundles/test_aligning_parts_by_connector_constraints.py): a turned brick on a brick, a part-stud anchor on a turned base, a bridge spelled from both bases (agreeing and disagreeing), each inconsistency kind, one-stud overhangs and min_support, world poses on a turned plate, plates stacking by their own height, and two LDraw models round-tripped: the hub's brick plans for pyramid.ldr (13 bricks) and the 1869 South African Flag (82 bricks) re-written as connector statements (each brick on the plate or on a brick under it, at that base's stud of its own stud (0, 0)) and solved back - every brick's cells and height identical to the plan - then fed to planning-brick-assembly-order, which places all of them (finger check off).

Limits

  • Stud-to-tube connections only (no SNOT, Technic pins, hinges, jumper half-stud offsets).
  • The statements must already be in stud coordinates; turning a manual page into them is a VLM's job (extracting-a-subassembly-tree-from-manual-pages or a prompt), and its mistakes come out as constraints_inconsistent only when they are inconsistent.
  • No stability analysis (checking-design-connectivity-and-collisions).

Provenance

The connector-alignment idea is Manual2Skill++'s (Tie et al., ICRA 2026). Its repository has no licence, so nothing was copied; for LEGO the solver is a few lines of lattice arithmetic written here. The lattice and cell conventions are computing-brick-pose-from-stud-grid's and planning-brick-assembly-order's.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Aligning Parts By Connector Constraints?

Turns connector statements about a LEGO or DUPLO build - "part P's tubes on base B's studs, P's stud (a, b) over B's stud (i, j), turned r" - into exact plate cells, layers and world poses, solving them in dependency order on the stud lattice (Manual2Skill++'s connector-aware pose alignment, which for studs and tubes reduces to integer lattice arithmetic). A part named by two statements (a bridge over two bases) must come out the same from both. Unsupported parts (on none of the base's studs), overlaps, cycles, unknown bases and parts off the plate are reported. Outputs the steps planning-b...

Навіщо використовувати Aligning Parts By Connector Constraints у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Aligning Parts By Connector Constraints — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Aligning Parts By Connector Constraints у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraints. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Aligning Parts By Connector Constraints?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Aligning Parts By Connector Constraints?

Зі скількома забажаєте. У TypingMind ви можете використовувати Aligning Parts By Connector Constraints із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Aligning Parts By Connector Constraints?

Так. На GitHub цю навичку публікує runtime-si за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇