-
Notifications
You must be signed in to change notification settings - Fork 0
/
penta_connector.scad
41 lines (35 loc) · 1.02 KB
/
penta_connector.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
include <pentagon_plate.scad>
include <vertex_connector.scad>
module PanelSubConnectors(array=[1, 1, 1, 1, 1], notch_secure=[0, 0, 0, 0, 0], vertex_cutoff=0.0, clearance_scale=1.0)
{
for (i = [0:5])
{
if (array[i])
{
rotate([0, 0, 72*i]) translate([inner_panel_radius, 0, 0]) rotate([0, -tetra_a, 0]) rotate([0, 0, 180+30]) scale(clearance_scale) VertexNotch([0, 0, 1], notch_secure[i], vertex_cutoff);
}
}
}
module PanelSubConnectorsDocks(array=[1, 1, 1, 1, 1], clearance = 0.0)
{
for (i = [0:5])
{
if (array[i])
{
rotate([0, 0, 72*i]) translate([inner_panel_radius, 0, 0]) rotate([0, -tetra_a, 0]) rotate([0, 0, 180+30]) VertexPlatformDockNotch([0, 0, 1], clearance);
}
}
}
module PanelSubConnectorsDockHoles(array=[1, 1, 1, 1, 1])
{
for (i = [0:5])
{
if (array[i])
{
rotate([0, 0, 72*i]) translate([inner_panel_radius, 0, 0]) rotate([0, -tetra_a, 0]) rotate([0, 0, 180+30]) VertexPlatformDockHole([0, 0, 1]);
}
}
}
// Swap VertexPlatformDock/Screw temporarily
//PanelSubConnectors();
//PanelSubConnectorsDockHoles([1, 1, 1, 1, 1]);