summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
37232cf)
For printing face side down
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
//$fs=1;
module Profile(r) {
//$fs=1;
module Profile(r) {
- prof_r = th/(1-cos(45));
- prof_R = r - prof_r * cos(45);
-
- intersection(){
- hull(){
- translate([0, th-prof_r]){
- translate([1,0])
- square(center=true, 2*[1,prof_r]);
- translate([prof_R, 0])
- circle(prof_r);
- }
- }
- square([r, th]);
- }
+ polygon([ [0, 0],
+ [maj_r, 0],
+ [maj_r-th, th],
+ [0, th] ]);