23 lines
486 B
Python
23 lines
486 B
Python
from build123d import *
|
|
|
|
orange = import_step("./OrangePi-Box.step")
|
|
orange = orange.rotate(Axis.X, -90).move(Location((0, 0, 11)))
|
|
|
|
dlugosc = 112.80
|
|
szerokosc = 87.80
|
|
wysokosc = 54
|
|
scianka = 3
|
|
|
|
|
|
with BuildPart() as box:
|
|
Box(dlugosc, szerokosc, wysokosc)
|
|
front = box.faces().sort_by(Axis.Y)[0]
|
|
with BuildSketch(front) as s1:
|
|
Rectangle(11.68, 17.84)
|
|
# extrude(amount=-scianka, mode=Mode.SUBTRACT)
|
|
|
|
show_object(box)
|
|
# debug(orange)
|
|
# debug(front)
|
|
debug(s1.sketch)
|