chiark / gitweb /
laptop-camera-tripod-bracket: wip
[reprap-play.git] / laptop-camera-tripod-bracket.scad
1 // -*- C -*-
2
3 laptop_w       = 310;
4 laptop_th_rear  = 14;
5 laptop_th_front = 11;
6
7 include <utils.scad>
8
9 bar_w = 20;
10 bar_th = 10;
11 flex_allow = 3;
12 claw_th = 5;
13 claw_overlap = 10;
14
15 module ClawProfile(laptop_th){
16   laptop_zmin = bar_th + flex_allow;
17   laptop_zmax = laptop_zmin + laptop_th;
18   difference(){
19     rectfromto([-claw_overlap, 0],
20                [claw_th, laptop_zmax + claw_th]);
21     rectfromto([-claw_overlap-1, laptop_zmin ],
22                [ 0, laptop_zmax ]);
23   }
24 }
25
26 ClawProfile(laptop_th_front);