Skip to content

hex_tesselation.scad

pinkfish edited this page Jun 26, 2026 · 1 revision

LibFile: hex_tesselations.scad

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

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

include <boardgame_toolkit.scad>

File Contents

Function: generate_hexagon()

Description:

Function to calculate vertices for an irregular hexagon if you give the side_lengths and interor angles.

Arguments:

By Position What it does
side_lengths the lengths of the sides to make the hex for, only 5 specified last one is calculated
interior_angles the interior angles for use inside the hex, only 5 specified last one is caldulated
current_x interal counter
current_y interal counter
current_angle interal counter
num interal counter

Function/Module: FlyingBirdTesselation()

Description:

Makes a hex sized flying bird tesselation.

Arguments:

By Position What it does
size size of the bird
thickness thickness of the bird (default 0)

Example 1:

FlyingBirdTesselation() Example 1
include <boardgame_toolkit.scad>
FlyingBirdTesselation(20);



Example 2:

FlyingBirdTesselation() Example 2
include <boardgame_toolkit.scad>
FlyingBirdTesselation(20, 2);




Module: TesselationFlyingBirdGrid()

Description:

The nice goose shape.

Arguments:

By Position What it does
row number of rows
col number of columns
size size of the goose
thickness thickness of the goose

Example 1:

TesselationFlyingBirdGrid() Example 1
include <boardgame_toolkit.scad>
TesselationFlyingBirdGrid(5, 5, size=30, thickness=1);




Module: TesselationFlyingBirdArea()

Description:

The nice goose shape.

Arguments:

By Position What it does
width width of the space
length length of the space
size size of the goose
thickness thickness of the goose

Example 1:

TesselationFlyingBirdArea() Example 1
include <boardgame_toolkit.scad>
TesselationFlyingBirdArea(200, 100, size=50, thickness=2);




Clone this wiki locally