Fixed fan guard regression.

This commit is contained in:
Chris Palmer 2019-06-10 00:56:09 +01:00
parent 50d3570be4
commit 0976e8098f
5 changed files with 2 additions and 2 deletions

View File

@ -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() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 KiB

After

Width:  |  Height:  |  Size: 296 KiB

View File

@ -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();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB