Skip to content

tesselations.scad

pinkfish edited this page Jun 21, 2025 · 11 revisions

LibFile: tesselations.scad

This file has all the modules needed to make a variety of tesselations.

File Contents

Module: EscherLizardSingle()

Description:

Creates a single escher lizard.

Arguments:

By Position What it does
size the size of the lizard

Module: EscherLizardTrangle()

Description:

Makes the triangle that can be used to fill in the lizard tesselation in a wider group. This will not need to be rotated.

Arguments:

By Position What it does
size size the lizard
thickness thickness of the walls/edges

Module: EscherLizardSingleOutline()

Description:

Creates a single escher lizard with an outline.

Arguments:

By Position What it does
size the size of the lizard

Module: EscherLizardRepeatAtLocation()

Description:

Used to create an escher lizard at a specific spot in a grid given an x and a y location.

Arguments:

By Position What it does
x the x location to generate at
y the y location to generate at
size the size of the lizard
thickness the thickness of the lines

Module: EscherLizardRepeat()

Description:

Creates an escher lizard blob that can be repeated.

Arguments:

By Position What it does
size the size of the lizard

Function: VoronoiPoints()

Description:

Generates a set of Voronoi points to use in the system to make the nice voronoi pattern.


Function: NormalizeVector()

Description:

Normalizes the vector to a size of 1, but keeps the relative sizes.


Module: Vornonoi()

Description:

Creates a voronoi pattern to use on lids (and elsewhere).

Arguments:

By Position What it does
width width of the space to fill
length length of the space to fill
thickness thickness of the gaps between the shapes
corner_size how much rounding to use in the corners
cellsize the size of the cells in the space
seed the seed to use for the random number (degault default_voronoi_seed)
allowable how much space to randomize within the cell

Clone this wiki locally