-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXZ axis construction.scad
85 lines (71 loc) · 1.95 KB
/
XZ axis construction.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
76
77
78
79
80
81
82
83
84
85
// Build the model pieces in context
// This file is for educational purposes only
include <Z axis retainer block.scad>
include <thirdparty/prusa/Original-Prusa-i3/Printed-Parts/scad/x-end-idler.scad>
include <thirdparty/prusa/Original-Prusa-i3/Printed-Parts/scad/x-end-motor.scad>
leadScrewHeight = 306;
linearMotionRodHeight = 306;
xRodLength = 362;
constructedUnit();
// #bearing( model= "SkateBearing" );
// pieceHeight - linearRodCutoutDepth - bearingHeight - bearingSpacerBufferHeight - bearingSpacerPlatformHeight
color( "silver" )
translate( [-1 * distanceFromTower, -1 * (bearingOuterDiameter/2) + 1.1, pieceHeight - ((bearingHeight*2) + bearingSpacerBufferHeight)] )
{
// Left side
zBearingsAndRods();
// Right side
translate( [0, -1 * (horizRailLength + railWidth), 0] )
{
rotate( [0, 0, 180] )
{
zBearingsAndRods();
}
}
}
color( "green" )
translate( [-1 * distanceFromTower, 7, 250] )
{
rotate( [0, 180, 0] )
{
x_end_motor();
}
translate( [0, -1 * (horizRailLength + railWidth * 2) - 14, 0] )
{
rotate( [0, 180, 0] )
{
x_end_idler();
}
}
}
color( "silver" )
translate( [-20, 4.6, 244] )
{
rotate( [90, 0, 0] )
{
cylinder( d = 8, h = xRodLength );
translate( [0, -45, 0] )
{
cylinder( d = 8, h = xRodLength );
}
}
}
module zBearingsAndRods()
{
bearingUnit();
translate( [0, 0, bearingHeight + bearingSpacerBufferHeight + bearingSpacerPlatformHeight] )
{
cylinder( d = 8, h = leadScrewHeight );
}
translate( [0, 0, horizRailLength + 8 + ((bearingHeight*2) + bearingSpacerBufferHeight)] )
{
rotate( [0, 180, 0] )
{
bearingUnit();
}
}
translate( [0, distanceBetweenRetainers, ((bearingHeight*2) + bearingSpacerBufferHeight) - linearRodCutoutDepth] )
{
cylinder( d = 8, h = linearMotionRodHeight );
}
}