diff --git a/fan_guard.scad b/fan_guard.scad index 7fc10fc..348d8a2 100644 --- a/fan_guard.scad +++ b/fan_guard.scad @@ -48,7 +48,7 @@ module fan_guard(type, name = false, thickness = fan_guard_thickness(), spokes = spoke_start = grill && rings > 1 ? inner_ring + ring_pitch : inner_ring; rounding = grill ? 1.5 : 0; - extrude_if(thickness) { + extrude_if(thickness, center = false) { difference() { offset(-rounding) offset(rounding) { difference() { diff --git a/gallery/IOT_50V_PSU.png b/gallery/IOT_50V_PSU.png index 9cc1fcf..23b2740 100644 Binary files a/gallery/IOT_50V_PSU.png and b/gallery/IOT_50V_PSU.png differ diff --git a/gallery/Laser_load.png b/gallery/Laser_load.png index 1278f15..55450fe 100644 Binary files a/gallery/Laser_load.png and b/gallery/Laser_load.png differ diff --git a/tests/fan_guard.scad b/tests/fan_guard.scad index 4ac5c8b..a47f7bb 100644 --- a/tests/fan_guard.scad +++ b/tests/fan_guard.scad @@ -24,6 +24,6 @@ include <../vitamins/fans.scad> module fan_guards() layout([for(f = fans) fan_width(f)], 10) - color(pp1_colour) fan_guard(fans[$i], spokes = fan_width(fans[$i]) > 40 ? 8 : 4); + color(pp1_colour) fan_guard(fans[$i], spokes = fan_width(fans[$i]) > 60 ? 8 : 4); fan_guards(); diff --git a/tests/png/fan_guard.png b/tests/png/fan_guard.png index 05fc2b8..7c9d5fe 100644 Binary files a/tests/png/fan_guard.png and b/tests/png/fan_guard.png differ