Fixed degenerate triangles.

This commit is contained in:
Chris Palmer 2019-06-22 14:04:47 +01:00
parent 13624eb9bd
commit 9cb0b78bb7

View File

@ -121,7 +121,7 @@ module ssr_shroud(type, cable_d, name) { //! Generate the STL file for a spec
ssr_shroud_hole_positions(type) ssr_shroud_hole_positions(type)
hull() { hull() {
translate_z(-height + boss_h2) { translate_z(-height + boss_h2) {
cylinder(h = eps, r = boss_r); cylinder(h = eps, r = boss_r - eps);
translate([0, -$side * (boss_r - 1)]) translate([0, -$side * (boss_r - 1)])
cube([2 * boss_r, eps, eps], center = true); cube([2 * boss_r, eps, eps], center = true);