1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-09-09 06:31:32 +02:00

Fixed brass nut colour

This commit is contained in:
Chris Palmer
2019-06-10 20:21:28 +01:00
parent fe27391aff
commit b8cd97ff99
7 changed files with 7 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ module nut(type, nyloc = false, brass = false, nylon = false) { //! Draw specifi
if(exploded() && nyloc)
cylinder(r = 0.2, h = 10);
color(brass? brass : nylon ? grey30: grey70) translate_z((exploded() && nyloc) ? 10 : 0) {
color(brass ? "gold" : nylon ? grey30: grey70) translate_z((exploded() && nyloc) ? 10 : 0) {
linear_extrude(height = thickness)
difference() {
circle(outer_rad, $fn = 6);