ink.parts

Omron D2HW-A211D sealed PCB microswitch, hinge lever

Omron · MPN D2HW-A211D · snap-action-switch

Use it

(import "parts/switch/OMRON-D2HW-A211D.ink" as p)

In a design on ink.build: ask your agent for it by name, or by what it must be.

Parameters

Its model's, at their defaults.

travel0

Dimensions

geometry.width5.3
geometry.boss-radius0
geometry.actuator-code1

Frame of reference

Case centre in x,y, underside z=0, actuator +z, pins -z. Native x reverses the manufacturer side drawing: COM at+x, NC at-x. pcb frame sits at case underside, z out -z.

Frames

Where it connects: each frame sits on the face it connects by, z out of the part, in the part's own coordinates.

OfFrameOriginxz
partpcb(0, 0, 0)(1, 0, 0)(0, 0, -1)
partcom(5.08, 0, -2.5)(1, 0, 0)(0, 0, -1)
partno(0, 0, -2.5)(1, 0, 0)(0, 0, -1)
partnc(-5.08, 0, -2.5)(1, 0, 0)(0, 0, -1)
partactuator(6.5463, 0, 11.4896)(0.9309, 0, 0.3654)(-0.3654, 0, 0.9309)
All 14 numbers in its record
geometry.width5.3
geometry.boss-radius0
geometry.actuator-code1
geometry.plunger2.65, 1.7, 1.7, 10.4, 6.8, 1
geometry.lever13, 3.4, 0.3, -5.5, 6.6, 11.5
electrical.current-A2
electrical.voltage-VDC12
electrical.operating-force-max-N0.75
motion.default-mm0
motion.maximum-depression-from-OP-mm1.5
motion.nominal-OP-mm11.5
pcb.terminal-pitch-mm5.08
pcb.recommended-hole-diameter-mm1
pcb.terminal-section-mm0.6, 0.5

ink.parts is the parts catalog of ink.build, an engineering design toolkit for agents. Connect yours:

claude mcp add --transport http ink https://ink.build/mcp

Then type /mcp, pick ink, and choose Authenticate.

codex mcp add ink --url https://ink.build/mcp

Then sign in when it asks.

https://ink.build/mcp

Add it as a custom connector (a remote MCP server).

For agents, every page here is also JSON: add ?format=json to its address.