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:
@@ -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
|
||||
|
@@ -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()
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user