mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-01-29 03:08:03 +01:00
Fixed brass nut colour
This commit is contained in:
parent
fe27391aff
commit
b8cd97ff99
Binary file not shown.
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
Binary file not shown.
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 62 KiB |
@ -35,7 +35,7 @@ rad_len = 26;
|
||||
nozzle_h = 5;
|
||||
|
||||
module e3d_nozzle(type) {
|
||||
color("gold") {
|
||||
color(brass) {
|
||||
rotate_extrude()
|
||||
polygon([
|
||||
[0.2, 0],
|
||||
|
@ -49,7 +49,7 @@ insulator_dia = 12;
|
||||
module heater_block(type, resistor, thermistor) {
|
||||
h = heater_height(type);
|
||||
|
||||
color("gold") {
|
||||
color(brass) {
|
||||
render() difference() {
|
||||
rotate([90, 0, 0])
|
||||
linear_extrude(height = heater_width(type), center = true) difference() {
|
||||
|
@ -22,7 +22,7 @@
|
||||
//
|
||||
include <../core.scad>
|
||||
|
||||
microswitch_contact_color = "gold";
|
||||
microswitch_contact_color = brass;
|
||||
|
||||
function microswitch_thickness(type) = type[2]; //! Body thickness
|
||||
function microswitch_width(type) = type[3]; //! Body width
|
||||
|
@ -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);
|
||||
|
@ -29,11 +29,11 @@
|
||||
// u u a a
|
||||
// d r r d d
|
||||
//
|
||||
M2x16_brass_pillar = ["M2x16_brass_pillar", "nurled", 2, 16, 3.17, 3.17, 0, 0, "gold", "gold", 3,-3];
|
||||
M2x16_brass_pillar = ["M2x16_brass_pillar", "nurled", 2, 16, 3.17, 3.17, 0, 0, brass, brass, 3,-3];
|
||||
M3x13_hex_pillar = ["M3x13_hex_pillar", "hex", 3, 13, 5/cos(30), 5/cos(30), 6, 6, "silver", "silver", -6, 6];
|
||||
M3x20_hex_pillar = ["M3x20_hex_pillar", "hex", 3, 20, 5/cos(30), 5/cos(30), 6, 6, "silver", "silver", -6, 6];
|
||||
M3x20_nylon_pillar = ["M3x20_nylon_pillar", "nylon", 3, 20, 8, 5/cos(30), 0, 6, "white", "yellow", -6, 6];
|
||||
M4x17_nylon_pillar = ["M4x17_nylon_pillar", "nylon", 4, 20, 8, 5/cos(30), 0, 6, "white", "yellow", -6, 6];
|
||||
M3x20_nylon_pillar = ["M3x20_nylon_pillar", "nylon", 3, 20, 8, 5/cos(30), 0, 6, "white", brass, -6, 6];
|
||||
M4x17_nylon_pillar = ["M4x17_nylon_pillar", "nylon", 4, 20, 8, 5/cos(30), 0, 6, "white", brass, -6, 6];
|
||||
M3x20_nylon_hex_pillar = ["M3x20_nylon_hex_pillar", "nylon", 3, 20, 8/cos(30), 8/cos(30), 6, 6, grey20, grey20, -6, 6];
|
||||
M3x10_nylon_hex_pillar = ["M3x10_nylon_hex_pillar", "nylon", 3, 10,5.5/cos(30),5.5/cos(30),6, 6, grey20, grey20, -6, 6];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user