3D models: where to get them
Use manufacturer models first. They are usually exact and coloured, and they come with dimensions you can check against the datasheet. Draw your own only when there is none. Always check the placement with Model check and a kicad-cli pcb render.
Phoenix Contact
No account is needed. Product URLs look like https://www.phoenixcontact.com/en-us/products/printed-circuit-board-terminal-mkds-1-8-35-1751303 (…-mkds-1-<n>-35-<PN>).
- On the product page, under the product pictures, click 3D view and CAD download. This opens Phoenix's embedded TraceParts viewer.
- Set File format to STEP AP214 and click Download. A Friendly Captcha runs automatically (proof of work, no puzzle). The browser gets a ZIP with
pxc_<PN>_<rev>_<name>_3D.stpand<PN>.txt(TraceParts metadata). - The same format list also offers KiCad footprints and symbols (SamacSys, SnapMagic) and many other formats.
Some product pages have a direct button named after the .stp file. It requests a signed product-download.phoenixcontact.com link that curl can fetch, with no ZIP or captcha.
Scripted access:
- phoenixcontact.com answers
curland plain HTTP fetchers with 403 (bot protection). A real browser (e.g. Playwright) works. - A cookie banner covers the page. Driving the Downloads controls through the DOM avoids clicking it: select the
<select>option, thenbutton.click(). - The download is a signed S3 link (
traceparts-cache.s3.eu-west-1.amazonaws.com/..., valid for 6 h) thatcurlcan fetch.
Model frame (MKDS 1, probably the same for Phoenix terminal blocks in general):
- Origin at a body corner: x 0…length, y 0…depth (3D, y up), board surface at z = 0, pins below.
- The wire entry is the y = 0 face, pin 1 at x = 2.0 mm, pin row at y = 3.6 mm.
- For a KiCad-generator-style footprint (pin 1 at the origin, wire entry at +Y), the model needs offset (−first pin x, −pin row y, 0) and no rotation, e.g.
(xyz -2 -3.6 0). - The file is an assembly (about 25 solids with colours, about 3 MB), which
tools/model_check.pyrefuses. Check a flattened copy instead (see Model check), and keep the original in the library for its colours.
easyeda2kicad conversions
Their offsets and rotations are often wrong. Check every converted model with Model check.
