Skip to content

flags.scad

pinkfish edited this page Nov 12, 2024 · 5 revisions

LibFile: 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>

File Contents

  1. Section: Flags

Section: Flags

Module: FlagBackgroundAndBorder()

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:


Module: StAndrewsCross()

Topics: Flags

Description:

Flag of the St Andrews 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:

StAndrewsCross() Example 1
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);



Example 2:

StAndrewsCross() Example 2
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);



Example 3:

StAndrewsCross() Example 3
include <boardgame_toolkit.scad>
StAndrewsCross(100, 4);




Module: StPatricksCross()

Topics: Flags

Description:

Flag of the St Patricks 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:

StPatricksCross() Example 1
include <boardgame_toolkit.scad>
StPatricksCross(100, 5);



Example 2:

StPatricksCross() Example 2
include <boardgame_toolkit.scad>
StPatricksCross(100, 4);



Example 3:

StPatricksCross() Example 3
include <boardgame_toolkit.scad>
StPatricksCross(100, 4);




Module: StGeorgesCross()

Topics: Flags

Description:

Flag of the St Georges Cross to use for anything.

Arguments:

By Position What it does
length lenght of the flag
white_height height of the white parts
red_height height of the red parts

Example 1:

StGeorgesCross() Example 1
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);



Example 2:

StGeorgesCross() Example 2
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);



Example 3:

StGeorgesCross() Example 3
include <boardgame_toolkit.scad>
StGeorgesCross(100, 5, 4);




Module: UnionJack()

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

Example 1:

UnionJack() Example 1
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4);



Example 2:

UnionJack() Example 2
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4, border = 1);



Example 3:

UnionJack() Example 3
include <boardgame_toolkit.scad>
UnionJack(100, 5, 4, background = false);




Module: AustralianFlag()

Topics: Flags

Description:

Flag of Australia to use for anything.

Arguments:

By Position What it does
length lenght of the flag
white_height height of the white parts
red_height height of the red parts

Example 1:

AustralianFlag() Example 1
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4);



Example 2:

AustralianFlag() Example 2
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, border = 1);



Example 3:

AustralianFlag() Example 3
include <boardgame_toolkit.scad>
AustralianFlag(100, 5, 4, background = false);




Module: SwedenFlag()

Topics: Flags

Description:

Flag of Sweden 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:

SwedenFlag() Example 1
include <boardgame_toolkit.scad>
SwedenFlag(100, 4);



Example 2:

SwedenFlag() Example 2
include <boardgame_toolkit.scad>
SwedenFlag(100, 4, border = 1);



Example 3:

SwedenFlag() Example 3
include <boardgame_toolkit.scad>
SwedenFlag(100, 4, background = false);




Module: UnitedStatesFlag()

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

Example 1:

UnitedStatesFlag() Example 1
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2);



Example 2:

UnitedStatesFlag() Example 2
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2, border = 1);



Example 3:

UnitedStatesFlag() Example 3
include <boardgame_toolkit.scad>
UnitedStatesFlag(100, 4, 2, background = false);




Clone this wiki locally