mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-23 07:13:51 -05:00
Fixed fan guard regression.
This commit is contained in:
parent
50d3570be4
commit
0976e8098f
@ -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 |
@ -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 |
Loading…
Reference in New Issue
Block a user