-
Notifications
You must be signed in to change notification settings - Fork 4
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>
LizardSingle()LizardTriangle()HexagonalTesselationTriangle()LizardSingleOutline()LizardRepeatAtLocation()LizardRepeat()LizardHexTesselation()
Description:
Creates a single lizard.
Arguments:
| By Position | What it does |
|---|---|
size |
the size of the lizard |
Example 1:
include <boardgame_toolkit.scad>
LizardSingle(size=20);
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:
include <boardgame_toolkit.scad>
LizardTriangle(size=20, thickness=2);
Example 2:
include <boardgame_toolkit.scad>
LizardTriangle(size=20, thickness=2, outer_offset=0.1);
Example 3:
include <boardgame_toolkit.scad>
LizardTriangle(size=20);
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:
include <boardgame_toolkit.scad>
HexagonalTesselationTriangle(size=20)
LizardHexTesselation(radius=10, thickness=1);
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:
include <boardgame_toolkit.scad>
LizardSingleOutline(size=20, thickness=1);
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:
include <boardgame_toolkit.scad>
LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1);
Example 2:
include <boardgame_toolkit.scad>
LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1, outer_offset=0.1);
Example 3:
include <boardgame_toolkit.scad>
region(LizardRepeatAtLocation(x=0, y=0, size=20, thickness=1));
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:
include <boardgame_toolkit.scad>
LizardRepeat(rows=4, cols=4, size=20, thickness=1);
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:
include <boardgame_toolkit.scad>
LizardHexTesselation(radius=29);
Example 2:
include <boardgame_toolkit.scad>
region(LizardHexTesselation(radius=29));
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
Boxes:
- cap_box.scad
- cap_box_polygon.scad
- filament_hinge_box.scad
- hinge_box.scad
- inset_box.scad
- magnetic_box.scad
- no_lid.scad
- sliding_box.scad
- sliding_catch_box.scad
- slipover_box.scad
- slipover_path_box.scad
Basics:
Dividers:
Shapes:
Slicing:
CardLibrary:
Miscellaneous: