/
configuration.scad
73 lines (61 loc) · 1.75 KB
/
configuration.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
//------------------------------------
//-- Miniskybot 2 configuration file
//------------------------------------
//-- drills
drill_M3 = 4;
//-- captive Nuts
nut_h = 3.4;
nut_radius = 8/2;
//------------------------------------------------
//-- Servo parameters
//-- See the doc/futaba-doc2.dxf file
//------------------------------------------------
//-- Servo futaba 3003 dimensions
servo_c1 = 20;
servo_c2 = 7.5;
servo_c3 = 29;//CGS MOD
servo_c4 = 41; // CGS MOD
servo_c5 = 30.3;
servo_c6 = 10;
servo_c7 = 11.6;
servo_c8 = 4.1;
servo_c9 = 5.2;
servo_c10 = 9.6;
//-------------------------------------------
//-- Battery holder parameters
//-- See the doc/battery_holder.dxf file
//-------------------------------------------
battery_c1 = 49;
battery_c2 = 51.5;
battery_c3 = 12;
battery_ear_diam = 9;
battery_ear_h = 3;
battery_top_gap = 1;
//-- Real battery height whith batteries inserted
battery_height = battery_c3 + battery_top_gap;
//----------------------------------
//-- Rear part parameters
//-- See the doc/rear-doc.dxf file
//----------------------------------
rear_c1 = servo_c2 + 3;
rear_c2 = servo_c3*2;
rear_c3 = servo_c1 + battery_height -battery_ear_h;
rear_edge_rad = 3;
//-- Ball caster parameters
WallThickness = 2.25; //thickness of the retaining wall
BallSize = 16.2; //diameter of your ball bearing.
Airgap = .65; // Gap between ball and wall
BallProtrude = .35; //percentage of ball radius sticking out
WheelDiameter = 56; //what size wheels you will use.
//-- Wheels parameters
wheels_diam = 56;
wheel_height = 6;
wheel_gap = 1;
//-- ultrasounds
ultrasound_hole = 16.5;
ultrasound_base_lx = 24+1;
ultrasound_base_ly = 20+1;
ultrasound_base_lz = 3;
ultrasound_length = 12.5;
ultrasound_drill_1 = [-9,7,0];
ultrasound_drill_2 = [9,-8,0];