3 include
<nut
-data
.scad
>
4 wire_channel_width
= 14;
5 wire_channel_height
= 14;
7 wire_diameter_measured
= 1.17;
8 // some of this fudge is due to using a hexagon instead of a circle
9 wire_diameter_fudge
= 1.4;
10 wire_diameter
= wire_diameter_measured
+ wire_diameter_fudge
;
11 wire_radius
= wire_diameter
/ 2;
13 wire_lengths
= [10, //strip wire this much
14 35, //short breadboard wire
15 63, //ground to ground
16 120, //arduino breadboard wire
20 module
wire_channel_groove_2d(width
, height
, wire_radius
) {
22 square([width
, height
]);
23 translate([width
/ 2, height
/ 2]) {
24 rotate(a
= 90, v
= [0, 0, 1]) {
25 nut_2d(wire_diameter
); } } } }
27 module
wire_channel_groove(width
, height
, wire_radius
, length
) {
28 rotate(a
= 90, v
= [1, 0, 0]) {
29 linear_extrude(height
= length
) {
30 wire_channel_groove_2d(width
, height
, wire_radius
); } } }