Skip to content

lizard.scad

pinkfish edited this page Jun 15, 2026 · 1 revision

LibFile: lizard.scad

This file has all the modules needed to make lizard tesselations.

To use, add the following lines to the beginning of your file:

include <boardgame_toolkit.scad>

File Contents

Module: LizardSingle()

Description:

Creates a single lizard.

Arguments:

By Position What it does
size the size of the lizard

Example 1:

LizardSingle() Example 1
include <boardgame_toolkit.scad>
LizardSingle(size=20);




Function/Module: LizardTriangle()

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 hex
outer_offset how much padding on the outside

Example 1:

LizardTriangle() Example 1
include <boardgame_toolkit.scad>
LizardTriangle(size=20, thickness=2);



Example 2:

LizardTriangle() Example 2
include <boardgame_toolkit.scad>
LizardTriangle(size=20, thickness=2, outer_offset=0.1);



Example 3:

LizardTriangle() Example 3
include <boardgame_toolkit.scad>
LizardTriangle(size=20);




Function/Module: HexagonalTesselationTriangle()

Description:

Makes the triangle that can be used to fill in the hexagonal rotated.

Arguments:

By Position What it does
size size the hex
pts points to use (only in function)

Example 1:

HexagonalTesselationTriangle() Example 1
include <boardgame_toolkit.scad>
HexagonalTesselationTriangle(size=20)
   LizardHexTesselation(radius=10, thickness=1);




Module: LizardSingleOutline()

Description:

Creates a single lizard with an outline.

Arguments:

By Position What it does
size the size of the lizard
thickness the thickness to use

Example 1:

LizardSingleOutline() Example 1
include <boardgame_toolkit.scad>
LizardSingleOutline(size=20, thickness=1);




Function/Module: LizardRepeatAtLocation()

Description:

Used to create an 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
outer_offset extra space to put around the shape.

Example 1:

LizardRepeatAtLocation() Example 1
include <boardgame_toolkit.scad>
LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1);



Example 2:

LizardRepeatAtLocation() Example 2
include <boardgame_toolkit.scad>
LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1, outer_offset=0.1);

Example 3:

LizardRepeatAtLocation() Example 3
include <boardgame_toolkit.scad>
region(LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1));

Module: LizardRepeat()

Description:

Creates an lizard blob that can be repeated.

Arguments:

By Position What it does
rows number of rows to generate
cols number of columns to generate
size the size of the lizard
thickness the thickness of the lines
outer_offset offset for the outer edge

Example 1:

LizardRepeat() Example 1
include <boardgame_toolkit.scad>
LizardRepeat(rows=4, cols=4, size=20, thickness=1);




Function/Module: LizardHexTesselation()

Description:

A hex tesselation of the esched lizard, this can be rotated and used to fill in hex spaces when doing tesselations.

Arguments:

By Position What it does
thickness thickness of the lines
outer_offset extra space to put around the shape
radius the radius of the hex to use

Example 1:

LizardHexTesselation() Example 1
include <boardgame_toolkit.scad>
LizardHexTesselation(radius=29);



Example 2:

LizardHexTesselation() Example 2
include <boardgame_toolkit.scad>
region(LizardHexTesselation(radius=29));




Clone this wiki locally