first commit
This commit is contained in:
commit
1383b89eac
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
||||||
|
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)
|
||||||
Loading…
Reference in New Issue