-
Notifications
You must be signed in to change notification settings - Fork 7
/
generate_stl.scad
71 lines (64 loc) · 1.83 KB
/
generate_stl.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
* This script generates STL files for thingiverse
* To export all these files in one go, I use a openscad_exporter:
*
* openscad_exporter generate_stl.scad
*
* The openscad_exporter script is available here:
* wget https://github.com/adgaudio/OpenSCAD-Tools/blob/master/openscad_exporter
*/
use <connector.scad>;
use <tjoint.scad>;
use <corner_bracket.scad>;
module corner_bracket_101o() { // make me
corner_bracket(1,0,1,bolt_hole_offset=4);
}
module corner_bracket_12012o() { // make me
corner_bracket([1,2],0,[1,2], bolt_hole_offset=4);
}
module corner_bracket_222o() { // make me
corner_bracket(2,2,2,bolt_hole_offset=4);
}
module corner_bracket_210o() { // make me
corner_bracket(2,1,0,bolt_hole_offset=4);
}
module tjoint_3130o() { // make me
tjoint([3,1], [3,0], bolt_hole_offset=4);
}
module tjoint_3030o() { // make me
tjoint([3,0], [3,0], bolt_hole_offset=4);
}
module tjoint_5353o() { // make me
tjoint([5,2], [5,2], bolt_hole_offset=4);
}
module tjoint_3131o() { // make me
tjoint([3,1], [3,1], bolt_hole_offset=4);
}
module tjoint_321222o() { /// make me
tjoint([[3,2],1], [[2,2],2], bolt_hole_offset=4);
}
module connector_2() { // make me
connector(2, bolt_diameter=m5_hole_loose);
}
module connector_3() { // make me
connector(3, bolt_diameter=m5_hole_loose);
}
module connector_4() { // make me
connector(4, bolt_diameter=m5_hole_loose);
}
module connector_22() { // make me
connector([2,2], bolt_diameter=m5_hole_loose);
}
module connector_23() { // make me
connector([2,3], bolt_diameter=m5_hole_loose);
}
module connector_24() { // make me
connector([2,4], bolt_diameter=m5_hole_loose);
}
module connector_33() { // make me
connector([3,3], bolt_diameter=m5_hole_loose);
}
module connector_44() { // make me
connector([4,4], bolt_diameter=m5_hole_loose);
}
include <_defaults.scad>