update
This commit is contained in:
@@ -3,33 +3,22 @@ from build123d import *
|
|||||||
set_port(3939)
|
set_port(3939)
|
||||||
|
|
||||||
tt = thickness_toolboard = 0.8
|
tt = thickness_toolboard = 0.8
|
||||||
wc = width_connector = 20.0
|
|
||||||
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
|
ttc = thickness_total_connector = 4.0
|
||||||
cw = clamp_width = 9.8
|
bh = board_hole = 9.8
|
||||||
rc = rotation_clamp = 45.0
|
|
||||||
dc = depth_clamp = 4.0
|
dc = depth_clamp = 4.0
|
||||||
dcs = depth_clamp_space = 1.6
|
dcs = depth_clamp_space = 1.6
|
||||||
|
lcr = length_clamp_room = bh+5
|
||||||
lp1 = line_point_1 = (cw+5)*0.75
|
tc = thickness_clamp = bh*0.75
|
||||||
lp2 = line_point_2 = ttc+dc
|
|
||||||
lp3 = line_point_3 = cw
|
|
||||||
lp4 = line_point_4 = dc
|
|
||||||
lp5 = line_point_5 = cw*0.75
|
|
||||||
lp6 = line_point_6 = ttc+tt
|
|
||||||
|
|
||||||
pts = [
|
pts = [
|
||||||
(0, 0),
|
(0, 0),
|
||||||
(cw, 0),
|
(bh, 0),
|
||||||
(cw, dc-0.5),
|
(bh, dc-0.5),
|
||||||
(cw-1.2, dc),
|
(bh-1.2, dc),
|
||||||
(lp5, dc),
|
(tc, dc),
|
||||||
(lp5, (dc+tt+ttc-dcs)),
|
(tc, (dc+tt+ttc-dcs)),
|
||||||
(lp5+(5/2), (dc+tt+ttc-dcs)),
|
(tc+2.5, (dc+tt+ttc-dcs)),
|
||||||
(lp5+(5/2), (dc+tt+ttc)),
|
(tc+2.5, (dc+tt+ttc)),
|
||||||
(0, (dc+tt+ttc)),
|
(0, (dc+tt+ttc)),
|
||||||
(0, 0)
|
(0, 0)
|
||||||
]
|
]
|
||||||
@@ -39,7 +28,7 @@ with BuildPart() as clamp:
|
|||||||
with BuildLine() as ln_clamp:
|
with BuildLine() as ln_clamp:
|
||||||
Polyline(pts)
|
Polyline(pts)
|
||||||
make_face()
|
make_face()
|
||||||
extrude(amount = cw)
|
extrude(amount = bh)
|
||||||
fillet(clamp.edges(), radius = 0.2)
|
fillet(clamp.edges(), radius = 0.2)
|
||||||
|
|
||||||
export_stl(clamp.part, "connectorHoleClamp.stl")
|
export_stl(clamp.part, "connectorHoleClamp.stl")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
ISO-10303-21;
|
ISO-10303-21;
|
||||||
HEADER;
|
HEADER;
|
||||||
FILE_DESCRIPTION(('Open CASCADE Model'),'2;1');
|
FILE_DESCRIPTION(('Open CASCADE Model'),'2;1');
|
||||||
FILE_NAME('Open CASCADE Shape Model','2024-12-21T17:15:55',('Author'),(
|
FILE_NAME('Open CASCADE Shape Model','2024-12-22T18:39:06',('Author'),(
|
||||||
'Open CASCADE'),'Open CASCADE STEP processor 7.7','Open CASCADE 7.7'
|
'Open CASCADE'),'Open CASCADE STEP processor 7.7','Open CASCADE 7.7'
|
||||||
,'Unknown');
|
,'Unknown');
|
||||||
FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
|
FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
|
||||||
|
|||||||
@@ -3,13 +3,8 @@ from build123d import *
|
|||||||
set_port(3939)
|
set_port(3939)
|
||||||
|
|
||||||
tt = thickness_toolboard = 0.8
|
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
|
ttc = thickness_total_connector = 4.0
|
||||||
cw = clamp_width = 9.8
|
cw = clamp_width = 9.8
|
||||||
rc = rotation_clamp = 45.0
|
|
||||||
dc = depth_clamp = 4.0
|
dc = depth_clamp = 4.0
|
||||||
dcs = depth_clamp_space = 1.6
|
dcs = depth_clamp_space = 1.6
|
||||||
tlp = thickness_locking_pin = cw*0.25
|
tlp = thickness_locking_pin = cw*0.25
|
||||||
|
|||||||
Reference in New Issue
Block a user