forked from rohieb/bottle-clip-name-tag
-
Notifications
You must be signed in to change notification settings - Fork 1
/
examples.scad
54 lines (42 loc) · 1.84 KB
/
examples.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Examples for bottle clip name tags.
* Copyright (C) 2013 Roland Hieber <[email protected]>
*
* You can simply comment out one of the examples, adapt it to your needs and
* render it, or use it to build your own variant.
*
* The contents of this file are licenced under CC-BY-SA 3.0 Unported.
* See https://creativecommons.org/licenses/by-sa/3.0/deed for the
* licensing terms.
*/
/*
* Set the color to render and export.
* ALL will render all colors.
*/
//CURRENT_COLOR = "ALL";
//CURRENT_COLOR = "black";
//CURRENT_COLOR = "green";
include <bottle-clip.scad>
$fn=50; // approximation steps for the cylinders
// one name tag for 0.5l Club Mate and similar bottles
bottle_clip(name="Zero Cool");
// one default name tag with a different logo.
//bottle_clip(name="Acid Burn", logo="thing-logos/glider.dxf");
// ...or with a different font:
//bottle_clip(name="Acid Burn", font="write/Letters.dxf");
// ...or with a differnet logo and a different font... you get it.
// ...or with a different gap angle of 45 instead of 90 degrees:
//bottle_clip(name="Crash Override", gap=45);
// Now for something completely different: Longneck bottles.
//bottle_clip_longneck(name="Tom Anderson", logo="thing-logos/glider.dxf");
// ...or DIN 6199 ("Steinie") beer bottles. Note that these have no logo.
//bottle_clip_steinie(name="ohbier");
// ...or just do your own variant: Measure the diameter of your bottle at two
// different heights, and pass those as parameters rl (lower radius), ru
// (upper radius) and ht (height) to the bottle_clip() module. You can also
// use the other parameters from above, if you set logo="", then only the text
// is rendered.
//bottle_clip(name="Niobe", rl=15, ru=12, ht=16, logo="");
// With color:
//bottle_clip(name="Zero Cool", bg_color="black", text_color="green", logo_color="green");
// vim: set noet ts=2 sw=2 tw=80: