chiark / gitweb /
wall-cable-hook: with slopy top
[reprap-play.git] / wall-cable-hook.scad
1 // -*- C -*-
2
3 circle_inner_rad = 10;
4
5 thick = 3;
6
7 tab_sz = 15;
8
9 // calculated
10
11 circle_outer_rad = circle_inner_rad + thick;
12
13 module Plan() {
14   difference(){
15     circle(r=circle_outer_rad);
16     circle(r=circle_inner_rad);
17     mirror([1,0]) square([50,50]);
18   }
19   translate([-circle_outer_rad, -0.1])
20     multmatrix([[1,0,0,0],
21                 [-1,1,0,0],
22                 [0,0,1,0],
23                 [0,0,0,1]])
24     square([thick, tab_sz + circle_outer_rad + thick]);
25 }
26
27 Plan();