-
Notifications
You must be signed in to change notification settings - Fork 4
voronoi.scad
pinkfish edited this page Jun 15, 2026
·
1 revision
This file has all the modules needed to make voronoi tesselations.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Description:
Generates a set of Voronoi points to use in the system to make the nice voronoi pattern.
Description:
Normalizes the vector to a size of 1, but keeps the relative sizes.
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 |
Example 1:
include <boardgame_toolkit.scad>
Voronoi(width=100, length=100, thickness=1.5);
Example 2:
include <boardgame_toolkit.scad>
region(Voronoi(width=100, length=100, thickness=1.5));
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: