Added lock adapter scad

This commit is contained in:
2018-02-06 20:40:06 +01:00
parent 0f30c28480
commit 4e94ed1198
2 changed files with 7132 additions and 0 deletions

18
scad/lock_adapter.scad Normal file
View File

@@ -0,0 +1,18 @@
diameter = 20;
mounting_cc = 14.6;
mounting_diameter = 2;
mounting_depth = 12;
base_mounting_diameter = 8;
base_mounting_height = 2;
lock_rod = 5;
height = 25;
difference(){
cylinder(r = diameter/2, h = height, center = true, $fn = 100);
cube([lock_rod,lock_rod,height], center = true);
translate([0,0,-height/2+base_mounting_height/2])cylinder(r = base_mounting_diameter/2, h = base_mounting_height, center = true, $fn = 30);
translate([mounting_cc/2,0,-height/2+mounting_depth/2])cylinder(r = mounting_diameter/2, h = mounting_depth, center = true, $fn = 30);
translate([-mounting_cc/2,0,-height/2+mounting_depth/2])cylinder(r = mounting_diameter/2, h = mounting_depth, center = true, $fn = 30);
translate([0,mounting_cc/2,-height/2+mounting_depth/2])cylinder(r = mounting_diameter/2, h = mounting_depth, center = true, $fn = 30);
translate([0,-mounting_cc/2,-height/2+mounting_depth/2])cylinder(r = mounting_diameter/2, h = mounting_depth, center = true, $fn = 30);
}