put left motor speed pin on 10 for pwm
[challenge-bot] / 3d-printables / wire-jig-data.scad
CommitLineData
3d90aff0 1$fn = 20;
2
3include <nut-data.scad>
180a0f6f 4wire_channel_width = 14;
5wire_channel_height = 14;
6
7wire_diameter_measured = 1.17;
8// some of this fudge is due to using a hexagon instead of a circle
9wire_diameter_fudge = 1.4;
10wire_diameter = wire_diameter_measured + wire_diameter_fudge;
11wire_radius = wire_diameter / 2;
12
13wire_lengths = [10, //strip wire this much
14 35, //short breadboard wire
15 63, //ground to ground
16 120, //arduino breadboard wire
17 180 //motor wire
18 ];
3d90aff0 19
20module wire_channel_groove_2d(width, height, wire_radius) {
21 difference() {
22 square([width, height]);
23 translate([width / 2, height / 2]) {
24 rotate(a = 90, v = [0, 0, 1]) {
25 nut_2d(wire_diameter); } } } }
26
27module 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); } } }