forked from familab/simple-syringe-pump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
syringePumpConstants.scad
75 lines (58 loc) · 1.72 KB
/
syringePumpConstants.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
72
73
74
75
$fs = 0.1;
inch = 25.4; //for mm conversion
/* === Project-universal Constants === */
//Not all of these variables are used in this specific model,
//but the same variable set is used across all models in this project.
//todo parameterize based on motor type and barrel diameter
// motor_width = 42; // NEMA 17
motor_width = 28.5; // NEMA 11
//width of base
// 8020 profile is 1 inch wide
//baseSizeY = 2*inch;
//screwPlateSize = 25;
//screwRadius = 3.5;
// OpenBeam is 15mm wide
baseSizeY = 2*15;
screwPlateSize = 15;
screwRadius = 1.5;
centerY = baseSizeY / 2; //both axes go right down the middle of the base
//stepper motor
stepperZSize = 42;
stepperYSize = 42;
//608 bearing
bearing608Height = 8.5;
bearing608Diameter = 22.5;
//height of holder for 80/20 screws
mountPlateHeight = 5;
//axis heights
//threadedAxisHeight = stepperZSize/2 + mountPlateHeight + 4;
threadedAxisHeight=0;
space_above_floor = 0;
echo("threadedAxisHeight ", threadedAxisHeight);
smoothAxisHeight = (threadedAxisHeight-6.6) / 2;
smoothRodRadius = 4.2;
//syringe properties
//barrelDiameter = 25;
//
//barrelSlotThickness = 3;
//barrelSlotHeight = 28;
// 20ml BD plastic disposable syringe REF 302830
barrelDiameter = 21.5;
barrelSlotThickness = 3;
barrelSlotHeight = 28;
syringeCenterHeight = threadedAxisHeight + bearing608Diameter/2 + 4 + barrelDiameter/2;
//fixes render oddities
floatCorrection = 0.001;
floatCorrection2 = 2*floatCorrection;
barrelDiameter = 21.4;
barrelSlotThickness = 3;
plungerTravel = 85;
extrusionThickness = 14.8;
wallThickness = 3;
barrelTabsMin = 24.5;
nemaWidth=28.5;
barrelTabsMax = 38.0;
barrelTabsThickness = 2.0;
//screwRadius=3.2;
//screwRadius=3.875; //wtf where did that come from?
extrusionTabWidth=wallThickness*1.5;