Sign in with STEVE

steve/screw-terminal-block

PCB screw terminal block, Phoenix Contact types: MKDS 1,5 (5.0, 5.08 mm), PT 1,5 (3.5 mm), MPT 0,5 (2.54 mm).

v1.1.0 Latest STEVE MIT 0
Isometric
part.py 55 lines · Python · STEVE runtime · checked
Download
1"""PCB screw terminal block, Phoenix Contact MKDS 1,5 (5.0 and 5.08 mm), PT 1,5 (3.5 mm) and MPT 0,5 (2.54 mm) types. Pin 1 is at the origin, the row along +X,
2the housing on the XY plane, the wire entries facing -Y, the screws on top, the solder pins down through the board. Dimensions from Phoenix Contact's data sheets
3in the README."""
4from steve import Model
5
6series = "MKDS 1,5" # Series
7pitch = 5.08 # mm Pitch
8positions = 2 # Positions
9detail = "full" # full: wire entries, screw heads and solder pins; simple: the housing's outline
10
11# series: (pitches, positions, height above the board, length, solder pin length, pin across the row, pin along, pin from the wire-entry face,
12# width past the end pins in all)
13# MKDS 1,5: data sheet MKDS 1,5/ 2-5,08 (1715721), Dimensions p. 4 and dimensional drawing p. 8: width a + pitch, 13.8, 9.8, pins 3.5, 0.9 x 0.9, 4.6.
14# PT 1,5: data sheet PT 1,5/ 5-3,5-H (1984646), Drawings p. 4: width a + 3.5, 9.2, 7.6, pins 4.5, 0.9, 3.1 from the back face.
15# MPT 0,5: data sheet MPT 0,5/ 2-2,54 (1725656), p. 5 and dimensional drawing p. 6: width 5.54 for 2 positions (1.5 past each end pin), 8.5, 6.2,
16# pins 3.5, 0.5 x 0.9, 3.1 from the back face.
17SERIES = {
18 "MKDS 1,5": ((5.0, 5.08), (2, 16), 13.8, 9.8, 3.5, 0.9, 0.9, 4.6, None),
19 "PT 1,5": ((3.5,), (2, 16), 9.2, 7.6, 4.5, 0.9, 0.9, 4.5, 3.5),
20 "MPT 0,5": ((2.54,), (2, 12), 8.5, 6.2, 3.5, 0.5, 0.9, 3.1, 3.0),
21}
22pitches, (low, high), HEIGHT, LENGTH, PIN_LENGTH, PIN_W, PIN_D, PIN_FROM_FRONT, ends = SERIES[series]
23if pitch not in pitches or not low <= positions <= high:
24 raise ValueError(f"{series} comes in pitch {pitches} with {low} to {high} positions.")
25
26width = (positions - 1) * pitch + (ends if ends is not None else pitch)
27x0 = -(width - (positions - 1) * pitch) / 2
28front = -PIN_FROM_FRONT
29# the side profile: the step at the top of the wire-entry face and the sloped back are proportions, for looks
30profile = [(front, 0), (front + LENGTH, 0), (front + LENGTH, 0.72 * HEIGHT), (front + 0.75 * LENGTH, HEIGHT), (front + 0.25 * LENGTH, HEIGHT), (front + 0.25 * LENGTH, 0.8 * HEIGHT), (front, 0.8 * HEIGHT)]
31model = Model()
32model.plane("side_plane", on="YZ", offset=x0, name="Side")
33with model.sketch("body_sketch", on="side_plane", name="Housing") as sk:
34 sk.polyline("body_outline", profile, closed=True)
35model.extrude("body", "body_sketch", distance=width, name="Housing")
36if detail == "full":
37 entry, screw = 0.6 * pitch, 0.55 * pitch # the wire entry and screw head sizes are proportions, for looks
38 model.plane("front_plane", on="XZ", offset=-front, name="Wire entries")
39 with model.sketch("entries_sketch", on="front_plane", name="Wire entries") as sk:
40 for i in range(positions):
41 sk.rect(f"entry_{i}", (i * pitch - entry / 2, 0.25 * HEIGHT), (i * pitch + entry / 2, 0.25 * HEIGHT + entry))
42 model.extrude("entries", "entries_sketch", distance=-0.55 * LENGTH, op="cut", name="Wire entries")
43 model.plane("top_plane", on="XY", offset=HEIGHT, name="Top")
44 with model.sketch("screws_sketch", on="top_plane", name="Screw openings") as sk:
45 for i in range(positions):
46 sk.circle(f"screw_{i}", (i * pitch, front + 0.5 * LENGTH), screw / 2)
47 model.extrude("screws", "screws_sketch", distance=-0.15 * HEIGHT, op="cut", name="Screw openings")
48 model.plane("pin_plane", on="XY", offset=-PIN_LENGTH, name="Solder pins")
49 with model.sketch("pins_sketch", on="pin_plane", name="Solder pins") as sk:
50 for i in range(positions):
51 sk.rect(f"pin_{i}", (i * pitch - PIN_W / 2, -PIN_D / 2), (i * pitch + PIN_W / 2, PIN_D / 2))
52 model.extrude("pins", "pins_sketch", distance=PIN_LENGTH + 1, name="Solder pins")
53model.material("pa6", color="#2f7d4a")
54result = model.result()
55

PCB screw terminal block of the MKDS 1,5, PT 1,5 or MPT 0,5 type, with wire entries, screw openings and solder pins. Width, height, length and pins from Phoenix Contact's data sheets. See the README.

Screw terminal block

A PCB screw terminal block of the Phoenix Contact MKDS 1,5 (5.0 or 5.08 mm pitch), PT 1,5 (3.5 mm) or MPT 0,5 (2.54 mm) type. Pin 1 is at the origin, the row runs along +X, the housing sits on the XY plane with the wire entries facing -Y and the screws on top, and the solder pins go down through the board.

Source

Phoenix Contact data sheet, PCB terminal block MKDS 1,5/ 2-5,08 (1715721), a copy at https://uploadcdn.oneyac.com/attachments/files/brand_pdf/phoenixcontact/A4/EA/MKDS152-508.pdf (Phoenix Contact's own site refuses automated downloads). The data sheet is for the 2-position, 5.08 mm part. Dimensions (page 4):

  • width a + pitch, where a is the distance between the end pins
  • installed height 13.8, length 9.8
  • solder pins 3.5 long and 0.9 x 0.9

The dimensional drawing (page 8) shows the pins 4.6 from the wire-entry face, and the same housing with 5 and 5.08 mm pitch.

Each data sheet is for one position count; the others follow the drawing's a + pitch rule.

Proportions, for looks only: the side profile's step and slope, and the wire entry and screw opening sizes. The screws and clamps aren't modelled. The housing is PA; the part uses pa6, green.

The 3.81 mm MKDS, PT 1,5 at 5.0 mm and other makers' blocks aren't here yet; see COVERAGE.md.

  1. 1.1.0 Latest Compare with 1.0.0

    PT 1,5 at 3.5 mm and MPT 0,5 at 2.54 mm. MKDS 1,5 parts are unchanged.

  2. 1.0.0
STEVEMIT

steve/pluggable-terminal-header

PCB header for pluggable terminal blocks: right-angle Phoenix Contact MSTBA 2,5 (5.0, 5.08 mm) and MC 1,5 (3.81 mm) types, and vertical MSTBVA 2,5 (5.08 mm), 2 to 16 positions.

0 61 sizes 0 1 hour ago v1.2.0
STEVEMIT

steve/pin-socket

Straight through-hole pin socket, 2.54 mm pitch, one or two rows, 1 to 40 pins per row.

0 81 sizes 0 2 hours ago v1.0.0
STEVEMIT

steve/pin-header

Through-hole pin header, 2.54 mm and 2.00 mm pitch, one or two rows, 1 to 40 pins per row, straight or right-angle.

0 241 sizes 0 2 hours ago v1.1.0
STEVEMIT

steve/jst-xh-header

JST XH shrouded header, 2.5 mm pitch, top entry: B2B-XH-A to B16B-XH-A and B20B-XH-A.

0 17 sizes 0 1 hour ago v1.0.0