-
Notifications
You must be signed in to change notification settings - Fork 0
/
funrap.scad
44 lines (35 loc) · 1.01 KB
/
funrap.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
/*
* Main file for generating the FunRap model.
* Tune the parameters here.
*
* Originally by Hans Häggström, 2010.
* Licenced under Creative Commons Attribution-Share Alike 3.0.
*/
// Includes
include <units.scad>
include <materials.scad>
include <beam.scad>
include <stepper.scad>
include <structure.scad>
// Size
machineWidth = 50.5*cm;
machineDepth = 52.5*cm;
machineHeight = 43.9*cm;
// Size of wooden beams used
frameBeam = [45*mm, 33*mm];
motorPlatformBeam = [70*mm, 10*mm];
// Stepper motor
stepperMotorModel = Nema23;
// Support configuration
// (How far out the ends of the top support should be,
// expressed in fraction of machine width.
// Use a negative value to put the top ends of the supports inside the machine).
topSupportSpread = -0.3;
// Create the model
FunRap( xSize=machineWidth,
ySize=machineDepth,
zSize=machineHeight,
frameBeam=frameBeam,
motorBeam=motorPlatformBeam,
motorType=stepperMotorModel,
topSupportSpread=topSupportSpread);