Klemmen toegevoegd
This commit is contained in:
37
multiconnect/connectorHoleLockingPin.py
Normal file
37
multiconnect/connectorHoleLockingPin.py
Normal file
@@ -0,0 +1,37 @@
|
||||
from ocp_vscode import *
|
||||
from build123d import *
|
||||
set_port(3939)
|
||||
|
||||
tt = thickness_toolboard = 0.8
|
||||
lsp = length_straight_part = 5.0
|
||||
tb = thickness_bevel = 2.5
|
||||
teub = thickness_edge_until_board = 0.5
|
||||
wbs = width_board_side = 15.0
|
||||
ttc = thickness_total_connector = 4.0
|
||||
cw = clamp_width = 9.8
|
||||
rc = rotation_clamp = 45.0
|
||||
dc = depth_clamp = 4.0
|
||||
dcs = depth_clamp_space = 1.6
|
||||
tlp = thickness_locking_pin = cw*0.25
|
||||
lcr = length_clamp_room = cw+5
|
||||
|
||||
pts = [
|
||||
(0, 0),
|
||||
((tlp+2.5), 0),
|
||||
((tlp+2.5), dcs),
|
||||
(tlp, dcs),
|
||||
(tlp, (dc+tt+ttc)),
|
||||
(0, (dc+tt+ttc)),
|
||||
(0, 0)
|
||||
]
|
||||
|
||||
with BuildPart() as clampLock:
|
||||
with BuildSketch() as sk_clampLock:
|
||||
with BuildLine() as ln_clampLock:
|
||||
Polyline(pts)
|
||||
make_face()
|
||||
extrude(amount = cw)
|
||||
fillet(clampLock.edges(), radius = 0.2)
|
||||
|
||||
export_step(clampLock.part, "connectorHoleClampLock.step")
|
||||
show_all()
|
||||
Reference in New Issue
Block a user