Free generator · Runs in your browser

Math knot generator Knots, rings and surfaces.

Make torus knots, the trefoil, Borromean rings, Möbius strips and Klein bottles as desk sculptures, pendants and ornaments, with a clearance check, a flat base and an engraved plinth.

  • Private by designNothing leaves this device
  • 20+ shapesKnots, links and surfaces
  • Checked for printingClearance and overhang shown
  • Ready to sliceSTL and 3MF files

Drag to rotate · Scroll or pinch to zoom · Arrow keys when focused

Size
—
Filament
—
Parts
—
Fits
—

Start from

Shape

Make

The crossing number is the fewest crossings any drawing of the knot can have.

3
7

With no common factor (3 and 7, 2 and 5) it is a knot. With a common factor it is a link of separate rings: 4 and 6 give 2.

3
2
7

x = cos(a t + φx), y = cos(b t + φy), z = cos(c t). Use frequencies with no common factor, or the curve meets itself.

0.70
0.20
Rings
3
1

1 is the Möbius strip. Odd numbers give one side and one edge; even numbers give two of each.

24 mm
1.50
1.20

Past about 1.7 the surface would pass through itself.

0.20

The b in the formula: how fast the funnel climbs as it turns.

A real Klein bottle has no inside and outside, and in 3D it must pass through itself. This sculpture shows the classic shape: the neck passes in through the side.

80 mm

The longest side of the model, before any plinth or loop.

Tube or wall

5.0 mm

Strands must stay 0.4 mm apart. The clearance under the preview shows how close they come.

Cross-section
5
3.0
0.00 turns

Turns the cross-section as it goes round. It is rounded so the shape joins itself: halves for a ribbon, quarters for a square.

400

Rings along the path. Downloads use 1.5 times as many.

2.4 mm

The surface is thickened this much along its normals into a closed shell. The Klein bottle sculpture is solid.

120

Grid steps across the surface. Downloads use 1.5 times as many.

Print

Which way up
0 °
0 °

Slices the bottom flat and seals it, for a steady desk piece that sticks to the bed.

2.0 mm

More gives a wider foot. At most 40 % of the height is cut.

A block under the model with the name and formula engraved on the front.

14 mm

Leave the box below empty to use the shape’s own name.

For example a person’s name or a date.

A second, smaller line with the equations.

A flat ring on the edge for a cord or jump ring.

4.0 mm

Colours

Download

Building the preview…

Print it well

    Everything is built on this device. Nothing you type or upload is sent anywhere.

    Advertisement

    The method

    How to make a math sculpture

    Choose a knot, a set of linked rings or a surface, set its size and how thick it is, then choose how it sits on the bed.

    1. Shape: a knot from the list, your own torus or Lissajous knot, linked rings, or a surface.
    2. Tube or wall: the tube radius and cross-section, or the shell thickness. Keep the clearance above 0.4 mm.
    3. Print: which way up, a flat cut base, a plinth with an engraving, or a pendant loop.
    4. Download STL or 3MF. In the 3MF every ring and the plinth are separate parts for colours.

    Shapes

    Knots and links on offer

    ShapeKnotCrossingsFormula
    Trefoil knot3_13x = sin t + 2 sin 2t, y = cos t - 2 cos 2t, z = -sin 3t
    Figure-eight knot4_14x = (2 + cos 2t) cos 3t, y = (2 + cos 2t) sin 3t, z = sin 4t
    Cinquefoil knot5_15Torus knot T(2, 5)
    Three-twist knot5_25Lissajous (3, 2, 7), phases 0.7, 0.2
    Stevedore knot6_16Lissajous (3, 2, 5), phases 1.5, 0.2
    Square knot3_1 # 3_1*6Lissajous (3, 5, 7), phases 0.7, 1
    Knot 8_218_218Lissajous (3, 4, 7), phases 0.1, 0.7
    Torus knot T(p, q)—min(p(q − 1), q(p − 1))r = 2 + cos qt, x = r cos pt, y = r sin pt, z = −sin qt
    Hopf link2 rings2Two circles, each through the other
    Borromean rings3 rings6Three ellipses at right angles

    Knot names follow the Rolfsen table: 5_2 is the second knot with 5 crossings. The square knot is the trefoil joined to its mirror image. The Lissajous coefficients are the published ones listed in the sources. A gyroid or other minimal-surface lattice is made in the lattice generator.

    Options

    What each setting does

    SettingWhat it does
    Tube radiusHalf the tube’s thickness. The clearance check compares it with how close the strands come.
    Thicken to max safeSets the largest tube that keeps every strand at least 0.4 mm from the others and fits the tightest bend.
    Cross-sectionRound, square, star or flat ribbon. A twist turns it along the path.
    Wall thicknessSurfaces are offset half this each way along their normals and closed at the edges.
    Least overhangTries about 100 ways up and picks the one with the least surface facing down past 45°.
    Flat cut baseSlices the bottom off flat at the height you set and seals the cut.
    PlinthA block under the model with the text engraved 0.8 mm deep on the front.
    Pendant loopA flat ring for a cord or jump ring, joined to the edge.

    Printing

    Printing tips

    • Supports: knots and linked rings always have strands passing over others. Use tree or organic supports from the build plate only; the overhang figure under the preview shows how much faces down.
    • Flat base or plinth: a round tube touches the bed along a thin line. A 1 to 3 mm flat cut makes it stick and stand.
    • Linked rings print already linked. Each ring is a separate part, so a multi-colour printer can print each in its own colour.
    • Thin walls: keep surface walls at 1.6 mm or more for a 0.4 mm nozzle.
    • Small pendants: print slowly, with a 0.2 mm or finer layer height.

    The mathematics

    How the tubes join without a seam

    A tube is swept along the knot with a rotation-minimising frame, which turns as little as possible from ring to ring. After one lap it is turned a little from where it started; that turn is undone in small steps along the whole path, so the last ring is exactly the first. A square, star or ribbon cross-section can also be twisted by whole symmetry steps and still join.

    The clearance check measures how close the centre line comes to itself away from each point, less the tube’s thickness, and checks the tightest bend is wider than the tube.

    Questions, answered

    Is it free to use?

    Yes. No account, no watermark, no limits.

    Will it fit my printer?

    Choose your printer below the preview to check it against the bed. The size slider sets the longest side.

    Does it need supports?

    Most knots and rings do, under the strands that cross over others. The overhang figure shows how much. Möbius strips and surfaces on a flat base often need little.

    Why is a Klein bottle different?

    A Klein bottle has only one side. It cannot be built in 3D without passing through itself, so the sculpture shows the neck going in through the side, and its inside is solid.

    Can I sell what I print?

    The designs you make are yours. The plinth font is under the SIL Open Font License, which allows this. We make no other claims, so check anything else you add.

    Sources

    Print advice is a starting point drawn from these references, checked on 2026-11-13. Community posts are one maker's experience, not a specification.

    1. Torus knot Wikipedia
    2. Trefoil knot Wikipedia
    3. Figure-eight knot (mathematics) Wikipedia
    4. Lissajous knot (examples from Cromwell, Knots and Links, 2004) Wikipedia
    5. Borromean rings Wikipedia
    6. Klein bottle Wikipedia
    7. Möbius strip Wikipedia
    8. Enneper surface Wikipedia
    9. Dini’s surface Wikipedia
    10. Seashell Wolfram MathWorld
    11. Computation of rotation minimizing frames (Wang, Jüttler, Zheng and Liu, 2008) ACM Transactions on Graphics
    12. Support material Prusa Research
    13. 3D printing support structures: the ultimate guide All3DP