Code cleaning + add ears to the bottle clip! #22
1 changed files with 4 additions and 2 deletions
Fix anti-aliasing problem in preview
Was solve previously with magic value and was not documented.
commit
f91c00bd74
|
|
@ -209,8 +209,10 @@ module bottle_clip(ru=13, rl=17.5, ht=26, width=2.5, name="c3cat", font="write/o
|
||||||
}
|
}
|
||||||
cylinder(r1=rl+width/2, r2=ru+width/2, h=ht);
|
cylinder(r1=rl+width/2, r2=ru+width/2, h=ht);
|
||||||
}
|
}
|
||||||
translate([0, 0, -1])
|
|
||||||
cylinder(r1=rl, r2=ru, h=ht+2);
|
clear_anti_aliasing = 0.01; // The margin to avoid empty surfaces in the preview.
|
||||||
|
translate([0, 0, -clear_anti_aliasing/2])
|
||||||
|
cylinder(r1=rl, r2=ru, h=ht+clear_anti_aliasing);
|
||||||
// finally, subtract a cube as a gap so we can clip it to the bottle
|
// finally, subtract a cube as a gap so we can clip it to the bottle
|
||||||
rotate([0, 0, 45])
|
rotate([0, 0, 45])
|
||||||
translate([0, 0, -1])
|
translate([0, 0, -1])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue