Modelita

Modelita cheatsheet

top, rim, edge, merged side, tube, face tent, inner, vertex, flip reshaped untouched

Each picture colours only what its last step made. Click a word to open it in the playground.

Words

x[+z] Cread right to left; the seed is last
x[sel]the faces it acts on; all if left out
x(0.6)numbers; any left out take the defaults
x{roof}label every face this step makes
x^3repeat the step
a + bshapes side by side: several bodies
name = worda name for a shape, or for steps
name(h) = wordsteps with a parameter, used as name(1.2)
name[s] = wordsteps with a selector, used as name[top]; all if left out
; notea comment, to the end of the line
export "f.obj" wordwrite the shape as OBJ

Seeds

C(w, d, h)

box, 2 × 2 × 2

T(r)

tetrahedron

O(r)

octahedron

I(r)

icosahedron

D(r)

dodecahedron

P5(r, h)

prism, any n ≥ 3

A5(r, h)

antiprism

Y5(r, h)

pyramid

T O I D have circumradius √3, like the cube.

Modelling

x(1) extrude

a block on each face: side top

lift(1)

one block per connected region

i(0.3) inset

a face inside each face: rim inner; below 1

k(0) kis

a tent on each face: tent

h bridge

a tube between two faces: tube

scale(0.5)

each region about its centre

push(0.5)

faces along their normals

merge

undo a kis: merged

flip

turn the edge between two triangles

Symmetry

mirror[seam]

join the shape to its reflection across the seam: build half, get the whole

Transforms

move(x, y, z)

shift; numbers left out are 0

turn(z, y, x)

degrees about each axis, z first: counterclockwise from above

stretch(x, y, z)

along each axis; numbers left out are 1

Without a selector, the whole shape; with one, the picked faces' corners. turn and stretch act about each region's centre, and each body is a region of its own.

Copies

array(n, x, y, z)

n in a row, each moved (x, y, z); 2, 1, 0, 0

spin(n)

n around the vertical through the origin; 6

Conway

d dual

a face for each corner: vertex edge

a ambo

cut every corner to the middle

t(0.3) truncate

cut every corner; up to 0.5

g gyro

pentagons in a pinwheel: face

r reflect

mirror across x = 0; every face

s snub

one of the letters made from others:

n kdz dkj dae aa
o daam kdab tas dg

With a selector they act on part of the shape: d[top] x[+z] C

Selectors

+x -x +y -y +z -zfaces facing that way
top roofa role, or a label
all newevery face; what the last step made
n4 #3faces with 4 corners; face number 3
a&b a|bboth; either
!a ~anot; the faces bordering a
( )grouping; ! ~ bind tightest, then &, then |