Giant robots from a shape grammarRobot giganti da una grammatica di forme

Each seed gives a different robot. A grammar rewrites the robot into legs, pelvis, torso, head and arms, and these into armour, joints and details, choosing among a few alternatives at every rule; every part is a superquadric, the solid that goes from a box to a cylinder and an ellipsoid as two exponents change, and the left side is the mirror image of the right one.

Ogni seme dà un robot diverso. Una grammatica riscrive il robot in gambe, bacino, torso, testa e braccia, e queste in corazza, giunti e dettagli, scegliendo fra poche alternative a ogni regola; ogni parte è una superquadrica, il solido che passa da una scatola a un cilindro e a un ellissoide al variare di due esponenti, e il lato sinistro è l'immagine speculare del destro.

The robot of the seed: frame in grey, armour in violet, joints dark, lights in gold; drag to turn.Il robot del seme: telaio in grigio, corazza in viola, giunti scuri, luci in oro; trascina per ruotare.

Its derivationLa sua derivazione

The next seedsI semi successivi

Barr (Superquadrics and angle-preserving transformations, IEEE Computer Graphics and Applications 1, 1981) defined the superquadric by the inside-outside function \[ F(x, y, z) = \Big( \big|\tfrac{x}{a}\big|^{2/\varepsilon_2} + \big|\tfrac{y}{b}\big|^{2/\varepsilon_2} \Big)^{\varepsilon_2/\varepsilon_1} + \big|\tfrac{z}{c}\big|^{2/\varepsilon_1}, \] which is smaller than 1 inside; \(\varepsilon_1\) shapes the profile along the axis and \(\varepsilon_2\) the section across it, both near 0 giving a box, both 1 an ellipsoid, and \(\varepsilon_1\) near 0 with \(\varepsilon_2 = 1\) a cylinder. The solid of the robot is the union of its parts, i.e., the smallest of the functions \((F^{\varepsilon_1/2} - 1)\min(a, b, c)\) of the parts, whose zero set is traced by marching tetrahedra. The grammar follows the shape grammars of Stiny and Gips (1972), in which rules replace a shape by an arrangement of smaller ones, in the form that Müller, Wonka, Haegler, Ulmer and Van Gool (Procedural modeling of buildings, ACM Transactions on Graphics 25, 2006) gave them for buildings: a nonterminal is a box with a label, and its rule places the boxes of its parts; here each rule has two to four alternatives, the seed picks one at every rule and draws the proportions, and the symmetry rule copies the left side onto the right. With 3 · 3 · 3 · 3 · 4 · 3 · 2 · 3 = 5832 derivations and continuous proportions, two seeds rarely give the same robot.

Barr (Superquadrics and angle-preserving transformations, IEEE Computer Graphics and Applications 1, 1981) ha definito la superquadrica con la funzione dentro-fuori \[ F(x, y, z) = \Big( \big|\tfrac{x}{a}\big|^{2/\varepsilon_2} + \big|\tfrac{y}{b}\big|^{2/\varepsilon_2} \Big)^{\varepsilon_2/\varepsilon_1} + \big|\tfrac{z}{c}\big|^{2/\varepsilon_1}, \] che è minore di 1 all'interno; \(\varepsilon_1\) dà forma al profilo lungo l'asse e \(\varepsilon_2\) alla sezione, entrambi vicini a 0 danno una scatola, entrambi 1 un ellissoide, e \(\varepsilon_1\) vicino a 0 con \(\varepsilon_2 = 1\) un cilindro. Il solido del robot è l'unione delle sue parti, cioè la più piccola delle funzioni \((F^{\varepsilon_1/2} - 1)\min(a, b, c)\) delle parti, il cui insieme di zeri si traccia con i tetraedri marcianti. La grammatica segue le grammatiche di forme di Stiny e Gips (1972), in cui le regole sostituiscono una forma con una disposizione di forme più piccole, nella versione che Müller, Wonka, Haegler, Ulmer e Van Gool (Procedural modeling of buildings, ACM Transactions on Graphics 25, 2006) ne hanno dato per gli edifici: un non terminale è una scatola con un'etichetta, e la sua regola dispone le scatole delle sue parti; qui ogni regola ha da due a quattro alternative, il seme ne sceglie una a ogni regola ed estrae le proporzioni, e la regola di simmetria copia il lato sinistro sul destro. Con 3 · 3 · 3 · 3 · 4 · 3 · 2 · 3 = 5832 derivazioni e proporzioni continue, due semi danno di rado lo stesso robot.

Download for 3D printingScarica per la stampa 3D

A 3D print of this robotUna stampa 3D di questo robot

The robot above can be ordered as a 3D print, as one figure on a base or as four parts (body, head and two arms) joined by pins, so that the arms and the head turn. The request sends the link with the seed, which gives the same robot again.

Puoi ordinare il robot qui sopra come stampa 3D, come una figura su una base o come quattro pezzi (corpo, testa e due braccia) uniti da perni, così che le braccia e la testa girino. La richiesta manda il link con il seme, che dà di nuovo lo stesso robot.

One body: a single closed solid as tall as the size, standing on an oval plate into which the feet are sunk (or cut flat underneath without the plate). Four parts: the body, the head and two arms side by side on the bed, as separate solids. The arms are cut 0.6 mm outside the torso and carry a pin of the given radius on the axis of the shoulder, which enters a hole in the torso; the head sits on a pin that rises from the neck. The holes are wider than the pins by the clearance: 0.15 to 0.25 mm gives a joint that turns and holds its pose on most FDM printers, 0.3 mm or more a loose one, and less than 0.1 mm usually needs sanding. The arms are printed lying on their side with the pin up, the body and the head standing; arms held out and shoulder plates overhang, so that tree supports are usually needed under them.

Un corpo: un solo solido chiuso alto quanto la dimensione, in piedi su una base ovale in cui affondano i piedi (o tagliato in piano sotto, senza base). Quattro pezzi: il corpo, la testa e le due braccia affiancati sul piano, come solidi separati. Le braccia sono tagliate 0.6 mm fuori dal torso e portano un perno del raggio dato sull'asse della spalla, che entra in un foro nel torso; la testa sta su un perno che sale dal collo. I fori sono più larghi dei perni del gioco: da 0.15 a 0.25 mm dà un giunto che gira e tiene la posa sulla maggior parte delle stampanti FDM, da 0.3 mm in su un giunto lasco, e meno di 0.1 mm di solito richiede di carteggiare. Le braccia si stampano coricate sul fianco con il perno in alto, il corpo e la testa in piedi; braccia scostate e spallacci sporgono, così che di solito servono supporti ad albero sotto di essi.