Skip to content

Commit

Permalink
mirror convention for which way the warding is specified (it is now s…
Browse files Browse the repository at this point in the history
…pecified as if you are looking down a keyway)
  • Loading branch information
ervanalb committed Jun 17, 2017
1 parent 19aef33 commit 096f831
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 59 deletions.
12 changes: 6 additions & 6 deletions fm.gen.scad

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions fm.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions keygen.scad
Expand Up @@ -17,7 +17,7 @@ module key_blade(warding, plug_diameter=0) {
// optionally intersected with the plug cylinder
// to round the bottom
intersection() {
rotate(90, [1, 0, 0])
rotate(180, [0, 0, 1]) rotate(90, [1, 0, 0])
linear_extrude(height=2*$inf, center=true)
polygon(warding);

Expand All @@ -42,7 +42,7 @@ module key_x_line(length) {

module key_warding_cutter(warding, blade_height, cutter_radius, left) {
neg = left ? -1 : 1;
translate([neg * -cutter_radius, 0, 0])
translate([neg * cutter_radius, 0, 0])
rotate_extrude($fn=$fn ? 4*$fn : 48)
translate([neg * cutter_radius, 0])
difference() {
Expand Down
18 changes: 0 additions & 18 deletions sc4.gen.scad

This file was deleted.

33 changes: 16 additions & 17 deletions sc4.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion schlage.scad
Expand Up @@ -66,4 +66,6 @@ module schlage_classic(bitting="",
}
key_bitting(heights, cut_locations, .7874);
}
}
}

schlage_classic("25467");

0 comments on commit 096f831

Please sign in to comment.