-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3dPrintBed.scad
More file actions
37 lines (34 loc) · 916 Bytes
/
3dPrintBed.scad
File metadata and controls
37 lines (34 loc) · 916 Bytes
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
footToMillimeters=304.8;
module hotPlate(length=1, width=1, height=10) {
color("grey",1.0) {
translate([0,0,-height]) {
cube([length*footToMillimeters, width*footToMillimeters, height]);
}
}
}
module gridPlate(length=1, width=1, height = 9) {
// For grid X
for(i = [0 : 2]) {
translateX = i*(304.8/4);
translate([0,footToMillimeters/4 + translateX, -height]) {
gridX();
}
}
// For grid Y
for(i = [0 : 2]) {
translateY = i*(304.8/4);
translate([footToMillimeters/4 + translateY, 0, -height]) {
gridY();
}
}
}
module gridY(length=1, width=1, height=10) {
color("LimeGreen", 1.0) {
cube([1, width*footToMillimeters, height]);
}
}
module gridX(length=1, width=1, height=10) {
color("Crimson", 1.0) {
cube([length*footToMillimeters, 1, height]);
}
}