mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-09 17:06:34 +02:00
Fixed fan guard regression.
This commit is contained in:
@@ -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;
|
spoke_start = grill && rings > 1 ? inner_ring + ring_pitch : inner_ring;
|
||||||
rounding = grill ? 1.5 : 0;
|
rounding = grill ? 1.5 : 0;
|
||||||
|
|
||||||
extrude_if(thickness) {
|
extrude_if(thickness, center = false) {
|
||||||
difference() {
|
difference() {
|
||||||
offset(-rounding) offset(rounding) {
|
offset(-rounding) offset(rounding) {
|
||||||
difference() {
|
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()
|
module fan_guards()
|
||||||
layout([for(f = fans) fan_width(f)], 10)
|
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();
|
fan_guards();
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
Reference in New Issue
Block a user