-
Notifications
You must be signed in to change notification settings - Fork 2
/
_prints.scad
48 lines (37 loc) · 1.07 KB
/
_prints.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
include <_setup.scad>;
use <antenna mount.scad>;
use <canopy.scad>;
use <camera mount.scad>;
include <frame.scad>;
use <motor mount.scad>;
$fs = 0.5;
echo(str("$fa = ", $fa, ", $fn = ", $fn, ", $fs = ", $fs));
echo(str("Booms = ", BOOM_DIM));
echo(str("Struts = ", STRUT_DIM));
*rotate([180, 0])
canopy();
frame_bot();
*translate([0, 0, -FRAME_HEIGHT + FRAME_CLAMP_DEPTH + FRAME_CLAMP_THICKNESS])
frame_top();
// front motor clamp (left/right)
*mirror([0, 1]) // for right
rotate([0, 0, 180 - BOOM_ANGLE])
pos_motor(i = -1, z = false)
motor_clamp(struts = [true, false]);
// rear motor clamp (x2)
*rotate([0, 0, 180 - BOOM_ANGLE])
pos_motor(i = -1, z = false)
motor_clamp();
// front motor mount (left/right)
*mirror([0, 1]) // for left
rotate([0, 0, -BOOM_ANGLE])
translate([0, 0, FRAME_HEIGHT + FRAME_CLAMP_NUT_DIM[2]])
mirror([0, 0, 1])
pos_motor(i = -1, z = false)
motor_mount(struts = [true, false]);
// rear motor mount (x2)
*rotate([0, 0, 180 - BOOM_ANGLE])
translate([0, 0, FRAME_HEIGHT + FRAME_CLAMP_NUT_DIM[2]])
mirror([0, 0, 1])
pos_motor(i = -1, z = false)
motor_mount();