slightly less black
This commit is contained in:
parent
5403237597
commit
c7c33b920d
1 changed files with 5 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ from importlib import import_module
|
|||
|
||||
from solid import cube, text, union, difference, linear_extrude, scad_render_to_file, OpenSCADObject, translate, color, \
|
||||
polygon, circle
|
||||
from solid.utils import Black, White, Green, Aluminum, Cyan
|
||||
from solid.utils import BlackPaint, White, Green, Aluminum, Cyan
|
||||
|
||||
|
||||
def roundrect(width, height, radius):
|
||||
|
|
@ -177,7 +177,7 @@ def keymat() -> OpenSCADObject:
|
|||
)
|
||||
)
|
||||
|
||||
return color(Black)(
|
||||
return color(BlackPaint)(
|
||||
union()(
|
||||
# mat
|
||||
cube([
|
||||
|
|
@ -227,11 +227,11 @@ def pcb() -> OpenSCADObject:
|
|||
color(Green)(cube([123, 49, 0.6])),
|
||||
# ATMEGA32U4
|
||||
translate([13, 36, 0.6])(
|
||||
color(Black)(cube([7, 7, 1]))
|
||||
color(BlackPaint)(cube([7, 7, 1]))
|
||||
),
|
||||
# Crystal
|
||||
translate([23, 35.75, 0.6])(
|
||||
color(Black)(cube([2.5, 2, 0.55]))
|
||||
color(BlackPaint)(cube([2.5, 2, 0.55]))
|
||||
),
|
||||
*switches
|
||||
)
|
||||
|
|
@ -266,7 +266,7 @@ def mkbd65() -> OpenSCADObject:
|
|||
return union()(
|
||||
internals(),
|
||||
pcb(),
|
||||
color(Black)(translate([0, -1, fr4 + switch])(keymat())),
|
||||
color(BlackPaint)(translate([0, -1, fr4 + switch])(keymat())),
|
||||
color(Aluminum)(translate([0, -1, fr4 + switch + keymat_thickness])(top_plate()))
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue