~kennylevinsen/skadis-brackets

c057e0b70e3200e5ee6739a1b2bc0a3197c4d036 — Kenny Levinsen 1 year, 14 days ago e6a4343
Fix indenting
M common.scad => common.scad +0 -1
@@ 1,4 1,3 @@

module backTabs(short=false) {
    holeBore = 2.45;
    depth = 11;

M hook-straight.scad => hook-straight.scad +3 -3
@@ 1,6 1,6 @@
$fn = 100;

include  <common.scad>;
include <common.scad>;

module frontHook(hook_length=50, hook_angle=45) {
    radius=2.45;


@@ 20,7 20,7 @@ module frontHook(hook_length=50, hook_angle=45) {
            }
            translate([0, 8, -9.6])
                cylinder(h=hook_length+9.6, r=radius);
            

            translate([0,8+10,hook_radius-10+hook_length]) {
                union() {
                    rotate([90,180+secondhook_angle,90])


@@ 59,4 59,4 @@ module frontHook(hook_length=50, hook_angle=45) {
union() {
    backTabs();
    frontHook(hook_length=40);
}
\ No newline at end of file
}

M hook.scad => hook.scad +3 -3
@@ 1,10 1,10 @@
$fn = 100;

include  <common.scad>;
include <common.scad>;

module frontHook(hook_angle=160, hook_radius=10) {
    radius=2.45;
    

    union() {
        translate([0,-7.5, 12.4-radius]) {
            translate([0,0,hook_radius-7.5]) {


@@ 43,4 43,4 @@ module frontHook(hook_angle=160, hook_radius=10) {
union() {
    backTabs();
    frontHook(hook_radius=15);
}
\ No newline at end of file
}

M plug.scad => plug.scad +2 -1
@@ 1,4 1,5 @@
$fn=100;

difference() {
    difference() {
        union() {


@@ 10,4 11,4 @@ difference() {
            cylinder(h=8, r=2.45);
    }
    cylinder(h=8, r=1.25);
}
\ No newline at end of file
}

M powerdrill-bracket.scad => powerdrill-bracket.scad +3 -3
@@ 1,6 1,6 @@
$fn = 360;

include  <powerdrill-common.scad>;
include <powerdrill-common.scad>;

union() {
    translate([0, -20, 0])


@@ 9,6 9,6 @@ union() {
        backTabs();
    translate([20, 0, 0])
        backTabs();
    

    frontPowerDrillBracket(10, 22, 11);
}
\ No newline at end of file
}

M powerdrill-common.scad => powerdrill-common.scad +1 -1
@@ 1,4 1,4 @@
include  <common.scad>;
include <common.scad>;

module frontPowerDrillBracketCyl(bore, r, girth, h, minDist) {
    translate([0, bore, r+minDist]) {

M powerdriver-bracket.scad => powerdriver-bracket.scad +3 -3
@@ 1,6 1,6 @@
$fn = 360;

include  <powerdrill-common.scad>;
include <powerdrill-common.scad>;

union() {
    translate([0, -20, 0])


@@ 9,6 9,6 @@ union() {
        backTabs();
    translate([20, 0, 0])
        backTabs();
    

    frontPowerDrillBracket(15, 19.5/2, 20);
}
\ No newline at end of file
}

M screwdriver-bracket.scad => screwdriver-bracket.scad +6 -7
@@ 1,6 1,6 @@
$fn = 100;

include  <common.scad>;
include <common.scad>;

module prism(l, w, h){
   polyhedron(


@@ 21,14 21,14 @@ module frontScrewDriverBracket() {
                translate([0, 40.5, 0])
                    cylinder(h=5, r=bore);
            }
            

            hull() {
                translate([0, -5, 0])
                    cylinder(h=5, r=bore);
                translate([-bore, -5, 5])
                    prism(bore*2, 20, 40);
            }
            

            hull() {
                translate([0, 40.5, 0])
                    cylinder(h=5, r=bore);


@@ 46,9 46,8 @@ module frontScrewDriverBracket() {
            translate([0, 22.5, -9.5])
                cylinder(h=10, r=3.5);
        }
        
        
        // bottom screw hole

	// bottom screw hole
        translate([0, 11, 15])
            rotate([90, 0, 180]) {
                translate([0, 22.5, 0])


@@ 66,4 65,4 @@ union() {
    translate([0, 40, 0])
        backTabs();
    frontScrewDriverBracket();
}
\ No newline at end of file
}