zwave-2002-lock/scad/servo_adapter.scad
2018-02-15 16:24:51 +01:00

19 lines
987 B
OpenSCAD

diameter = 20;
mounting_cc = 14.6;
mounting_diameter = 2;
mounting_depth = 12;
base_mounting_diameter = 8;
base_mounting_height = 2;
lock_rod = 5.2;
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);
}