Logo di Aligning Parts By Connector Constraints

Aligning Parts By Connector Constraints

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

Panoramica

Pubblicato daruntime-si
RepositoryRoboSkillHub
Nome della skillaligning-parts-by-connector-constraints
Stelle
242
Fork
27
File inclusi
2
LicenzaApache-2.0
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.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da runtime-si su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Aligning Parts By Connector Constraints 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/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraints
  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/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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Aligning Parts By Connector Constraints 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 Aligning Parts By Connector Constraints 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 Aligning Parts By Connector Constraints 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à.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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...

Perché usare Aligning Parts By Connector Constraints su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Aligning Parts By Connector Constraints è 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 Aligning Parts By Connector Constraints in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/runtime-si/RoboSkillHub/tree/main/skills/aligning-parts-by-connector-constraints. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Aligning Parts By Connector Constraints?

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 Aligning Parts By Connector Constraints?

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

La skill IA Aligning Parts By Connector Constraints è gratuita?

Sì. È pubblicata su GitHub da runtime-si con licenza Apache-2.0. 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 👇