2 // GNU AGPLv3 (or later at your option)
3 // project available at these locations:
4 // https://gitorious.org/ozzloy/challenge-bot
5 // https://github.com/waynegramlich/challenge-bot
7 include
<wire
-jig
-dimensions
.scad
>
12 module
wire_channel_groove_2d(width
, height
, wire_radius
) {
14 square([width
, height
]);
15 translate([width
/ 2, height
/ 2]) {
16 rotate(a
= 90, v
= [0, 0, 1]){
17 nut_2d(wire_diameter
); } } } }
20 wire_channel_groove_2d(wire_channel_width,
25 module
wire_channel_groove(width
, height
, wire_radius
, length
){
26 rotate(a
= 90, v
= [1, 0, 0]){
27 linear_extrude(height
= length
){
28 wire_channel_groove_2d(width
, height
, wire_radius
); } } }
30 for(ii
= [0:len(wire_lengths
) - 1]) {
31 translate([ wire_channel_width
* ii
, 0, 0]) {
32 #wire_channel_groove(wire_channel_width
,
35 wire_lengths
[ii
]); } }