DIN rail mount generator

3D-printable adapters for 35 mm top-hat DIN rails, exported as millimetre STL.

Start from
Mount stylehow it grips the rail
Retention

Screw bar: clamped by two M3 screws, takes up fit play. Snap clip: an integral spring with a 45° insertion ramp and a release tab, strain-screened at design time, but still needing a print test.

Platemm
Width along rail (X)mm
Height across rail (Y)mm
Thicknessmm

Carries the clamp screws.

Plate body

Narrowest width the clips, holes and rail fit still allow.

Mounting holesplain clearance bores
Hole pattern
Spacing X (centre to centre)mm
Spacing Y (centre to centre)mm
Hole diametermm

Modelled size. 3.4 mm takes an M3 screw.

Standoff height above platemm

0 prints a flat plate.

Design filereproducible JSON
Design name (used in file names)

Imported JSON is validated before it is applied; never evaluated as code.

Current parameters (JSON)
{
  "width": 90,
  "height": 66,
  "plateThickness": 4,
  "cornerRadius": 3,
  "lightening": false,
  "slotWidth": 4,
  "ribWidth": 2,
  "pattern": "rectangle",
  "pitchX": 70,
  "pitchY": 44,
  "holeDiameter": 3.4,
  "standoffHeight": 6,
  "standoffWall": 2,
  "holes": [
    {
      "x": -35,
      "y": -22,
      "diameter": 3.4,
      "slotLength": 3.4,
      "slotAxis": "x",
      "standoffHeight": 6
    },
    {
      "x": 35,
      "y": -22,
      "diameter": 3.4,
      "slotLength": 3.4,
      "slotAxis": "x",
      "standoffHeight": 6
    },
    {
      "x": -35,
      "y": 22,
      "diameter": 3.4,
      "slotLength": 3.4,
      "slotAxis": "x",
      "standoffHeight": 6
    },
    {
      "x": 35,
      "y": 22,
      "diameter": 3.4,
      "slotLength": 3.4,
      "slotAxis": "x",
      "standoffHeight": 6
    }
  ],
  "railWidth": 35,
  "railHeight": 7.5,
  "flangeThickness": 1,
  "fitClearance": 0.3,
  "hookOverlap": 2,
  "hookDepth": 6,
  "clipWidth": 26,
  "clipCount": 1,
  "clipSpacing": 50,
  "clampHoleDiameter": 3.4,
  "nutAcrossFlats": 5.8,
  "nutDepth": 2.6,
  "segments": 64,
  "retention": "screw",
  "snapBladeThickness": 1.2,
  "snapFreeLength": 22
}
Loading the 3D preview…

Export STL

0 separate parts

Separate STL per part, in the suggested print orientation, sitting on Z=0. Import as millimetres. The grey rail is preview-only.

Parts
  • Waiting for the first model…
Hardware and dimensions

Waiting for the first model…