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

Added copper colour constant.

Copper PCB pads and veroboard tracks now use copper colour.
This commit is contained in:
Chris Palmer
2021-06-06 17:17:33 +01:00
parent f3bfbbfcf2
commit 9cd2dbc316
4 changed files with 6 additions and 4 deletions

View File

@@ -54,9 +54,10 @@ $fs = extrusion_width / 2;
function round_to_layer(z) = ceil(z / layer_height) * layer_height;
// Some additional named colours
function grey(n) = [0.01, 0.01, 0.01] * n; //! Generate a shade of grey to pass to color().
gold = [255/255, 215/255, 0/255];
brass = [255/255, 220/255, 100/255];
silver = [0.75, 0.75, 0.75];
gold = [255, 215, 0] / 255;
brass = [255, 220, 100] / 255;
copper = [230, 140, 51] / 255;
/*
* Enums