-
Notifications
You must be signed in to change notification settings - Fork 4
flags.scad
This file has all the modules needed to make some fun flags.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Topics: Flags
Description:
Makes a background to the flag with the specified border. The first child is used to subtract from the background while the second child renders the inside of the flag.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the background |
height |
height of the background |
background_color |
color of the background |
width |
width of background (default length/2) |
background |
generate the background (default true) |
border |
size of border to generate (default 0) |
solid_background |
generate a solid background for MMU (default false) |
grid_spacing |
spacing for the striped grid (default 1.5) |
Topics: Flags
Description:
Flag of the St Andrews Cross to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
height |
height of the cross |
Example 1:
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);
Example 2:
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);
Example 3:
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);
Topics: Flags
Description:
Flag of the St Patricks Cross to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
height |
height of the cross |
Example 1:
include <boardgame_toolkit.scad>
StPatricksCross(100, 5);
Example 2:
include <boardgame_toolkit.scad>
StPatricksCross(100, 4);
Example 3:
include <boardgame_toolkit.scad>
StPatricksCross(100, 4);
Topics: Flags
Description:
Flag of the St Georges Cross to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
white_height |
height of the white parts |
red_height |
height of the red parts |
Example 1:
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);
Example 2:
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);
Example 3:
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);
Topics: Flags
Description:
Flag of Great Britan to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
white_height |
height of the white parts |
red_height |
height of the red parts |
background |
put in a blue background with stripes (default true) |
border |
border to put on the flag (this goes outside the length) (default 0) |
Example 1:
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4);
Example 2:
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4, border = 1);
Example 3:
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4, background = false);
Topics: Flags
Description:
Flag of Australia to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
white_height |
height of the white parts |
red_height |
height of the red parts |
blue_height |
height of the blue parts |
border |
border to put on the flag (this goes outside the length) (default 0) |
background |
put in a blue background with stripes (default true) |
solid_background |
generate the flag for an mmu, solid background (default false) |
Example 1:
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, 1);
Example 2:
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, 1, border = 1);
Example 3:
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, 1, background = false);
Example 4:
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, 1, border = 1, solid_background = true);
Topics: Flags
Description:
Flag of Sweden to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
height |
height of the flag |
background |
put in a blue background with stripes (default true) |
border |
border to put on the flag (this goes outside the length) (default 0) |
solid_background |
generate a solid background for MMU (default 0) |
layer_thickness |
thickness of layers for MMU (default default_slicing_layer_height) |
Example 1:
include <boardgame_toolkit.scad>
SwedenFlag(100, 4);
Example 2:
include <boardgame_toolkit.scad>
SwedenFlag(100, 4, border = 1);
Example 3:
include <boardgame_toolkit.scad>
SwedenFlag(100, 4, background = false);
Topics: Flags
Description:
Flag of the united states to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
white_height |
height of the white parts |
red_height |
height of the red parts |
blue_height |
height of the blue parts |
background |
put in a blue background with stripes (default true) |
border |
border to put on the flag (this goes outside the length) (default 0) |
solid_background |
a solid background (setup for mmu) |
layer_thickness |
thickness of layers for MMU (default default_slicing_layer_height) |
Example 1:
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2, 1);
Example 2:
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2, 1, border = 1);
Example 3:
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2, 1, background = false);
Topics: Flags
Description:
Flag of Portugal to use for anything.
Arguments:
| By Position | What it does |
|---|---|
length |
length of the flag |
height |
height of the flag |
background |
put in a green/red background with stripes (default true) |
border |
border to put on the flag (this goes outside the length) (default 0) |
Example 1:
include <boardgame_toolkit.scad>
PortugeseFlag(100, 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: