zaczalem z clamp_base
This commit is contained in:
1 parent
a38240068a
commit
80c323ee6f
4 files changed
+25
-4
No files matched your search
@@ -0,0 +1,23 @@
|
||||
from build123d import *
|
||||
from ocp_vscode import *
|
||||
|
||||
set_defaults(helper_scale=1, transparent=False, reset_camera=Camera.KEEP)
|
||||
|
||||
|
||||
with BuildPart() as p:
|
||||
with BuildSketch(Plane.XZ) as s:
|
||||
with BuildLine() as line1:
|
||||
Polyline((0, 0), (95 / 2, 0), (95 / 2, 34), close=False)
|
||||
offset(amount=16, side=Side.LEFT)
|
||||
make_face()
|
||||
mirror(about=Plane.YZ)
|
||||
extrude(amount=34)
|
||||
e1 = p.faces().sort_by(Axis.X)[0].edges().sort_by(Axis.Z)[0]
|
||||
e2 = p.faces().sort_by(Axis.X)[-1].edges().sort_by(Axis.Z)[0]
|
||||
eplus = e1 + e2
|
||||
fillet(eplus, 18)
|
||||
|
||||
show_all()
|
||||
# show(t1)
|
||||
|
||||
# show(p)
|
||||
Reference in new issue
Block a user