]> www.fi.muni.cz Git - things.git/blob - picamp-knob.scad
Motor holder for Hydrofoam RC plane
[things.git] / picamp-knob.scad
1 // knob for the Meva Picamp gas cooker
2
3 infty = 100;
4 eps = 0.01;
5
6 wall = 2;
7
8 knob_d = 35;
9 knob_h = 10 + wall;
10
11 hole_d = 7 + 0.3;
12 hole_cut = 6.3 - 0.2;
13 hole_cut_d = 10;
14
15
16 module body() {
17         cylinder(r = knob_d/2, h = knob_h, $fn = 6);
18         /* for (angle = [0:60:360]) {
19                 rotate([0, 0, angle])
20                 translate([knob_d/2-wall, 0, 0])
21                 cylinder(r = grip_d/2, h = knob_h);
22         } */
23 }
24
25 difference() {
26         body();
27         translate([0, 0, wall]) difference() {
28                 cylinder(r = hole_d/2, h = infty);
29                 // translate([hole_cut - hole_d/2, -infty/2, -eps])
30                 //      cube(infty);
31                 translate([hole_cut - hole_d/2 + hole_cut_d/2, 0, -eps])
32                         cylinder(r = hole_cut_d/2, h = infty);
33         }
34 }
35
36