-
Notifications
You must be signed in to change notification settings - Fork 0
/
mp_vc_flat.scad
93 lines (79 loc) · 2.12 KB
/
mp_vc_flat.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
86
87
88
89
90
91
92
93
include <mother_platform.scad>
include <dodecahome_config.scad>
include <vertex_connector.scad>
module PlatformVertexConnectors(connectors, con_color, upper_platform = 0)
difference()
{
union()
{
//color([1.0, 0.0, 1.0, 1.0])
//import ("mothership_connectors.stl");
difference()
{
//color([0.0, 1.0, 1.0, 1.0])
//import ("escape_pod_connectors.stl");
color(con_color)
import(connectors);
union()
{
// TODO: What should be the scale clearance?
translate([0, 0, -0.05]) scale([0.97, 0.97, 1.0]) MotherPlatformBase(0.5+0.1); // Mother platform base with clearance
}
difference()
{
// The upper dock
intersection()
{
PlatformPentaDocks(0.05);
translate([0, 0, surface_bed_z])
MotherPiSections(2);
}
}
}
}
union()
{
if (upper_platform)
{
translate([0, 0, 20]) cube([80, 80, 40], center=true);
translate([0, 0, -20-(7.722)]) cube([80, 80, 40], center=true);
}
if (!upper_platform)
{
translate([0, 0, 20-(7.722)]) cube([80, 80, 40], center=true);
}
translate([0, 0, (7.722)-42]) cube([80, 80, 40], center=true);
}
}
//difference()
//{
//difference()
//{
//PlatformVertexConnectors();
//rotate([0, 0, 180]) translate([0, 0, -0.20]) scale([0.97, 0.97, 1.0]) import("mother_platform.stl");
//}
//
////color([1.0, 0.0, 0.5, 0.5])
////translate([0, 0, -0.25]) scale([0.97, 0.97, 1.0]) import("mother_platform.stl");
//
//rotate([0, 0, 180])
//translate([0, 0, surface_bed_z]) MotherConnectorInsert();
//
//}
// These are notch sections cropped and attached to mothership connectors
//PlatformVertexConnectors("platform_connectors.stl", [0.0, 1.0, 1.0, 1.0], 0);
//PlatformVertexConnectors("platform_connectors.stl", [1.0, 0.0, 1.0, 1.0], 0);
// translate([0, 2, 2]) PlatformVertexConnectors("escape_pod_connectors.stl", [0.0, 1.0, 1.0, 1.0], 1);
intersection()
{
translate([0, 0, 0]) PlatformVertexConnectors("platform_connectors.stl", [1.0, 0.0, 1.0, 1.0], 1);
import("escape_pod_connectors.stl");
}
//color([0.8, 0.8, 0.9, 0.5])
//import("mother_platform_full.stl");
//MotherConnectorAttach();
//rotate([0, 0, 180])
//translate([0, 0, surface_bed_z+0.3])
//MotherConnectorAttach();
//import("mothership_connectors.stl");
//import("mothership_platform_screws.stl");