1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-12 10:23:58 +02:00

Some more stl_colours.

This commit is contained in:
Chris Palmer
2020-04-06 15:02:50 +01:00
parent d42f99e437
commit 3be88f6517
3 changed files with 3 additions and 3 deletions

View File

@@ -988,7 +988,7 @@ module pcb_assembly(type, height, thickness) { //! Draw PCB assembly with spaces
translate_z(height + pcb_thickness(type))
screw(screw, screw_length);
color(pp1_colour)
stl_colour(pp1_colour)
if(taper)
pcb_spacer(screw, height, taper = 2);
else

View File

@@ -162,7 +162,7 @@ assembly(vero_assembly(type)) {
else
screw_and_washer(screw, screw_length);
color(pp1_colour) pcb_spacer(screw, height);
stl_colour(pp1_colour) pcb_spacer(screw, height);
translate_z(-thickness)
vflip()

View File

@@ -122,7 +122,7 @@ module printed_washer(type, name = false) { //! Create printed washer
t = round_to_layer(washer_thickness(type));
or = washer_radius(type);
ir = washer_id(type) / 2;
color(pp1_colour)
stl_colour(pp1_colour)
linear_extrude(t, center = false, convexity = 2)
poly_ring(or, ir);