Skip to main content

Enclosures & electronics STL guides ·

DIN-Rail PCB Enclosure STL: Create a Custom-Size 3D Model

Create a custom-size DIN-Rail PCB enclosure STL for your own 3D printer. Check the model controls, measure the fit and buy the generated digital file.

DIN-Rail PCB enclosure STLcustom DIN-Rail PCB enclosureparametric 3D model
Custom DIN-Rail PCB Enclosure — configurable 3D model for a custom-size STL
Custom DIN-Rail PCB Enclosure — configurable 3D model for a custom-size STL

Configure a robust PCB enclosure for a 35 mm DIN rail. Enter the circuit-board size, component heights above and below the PCB, and the rectangular mounting-hole pattern. The number and width of side openings for pluggable or screw terminals are adjustable. The enclosure automatically grows with the PCB, hole pattern and terminal row. Internal height, standoffs, M3 case bosses, lid fit and reinforcements are derived automatically. A separately printable 35 mm slide shoe attaches underneath with two M3 screws, keeping the enclosure serviceable and allowing the rail adapter to be replaced independently. Optional lid ventilation is dimensioned automatically.

With the Custom DIN-Rail PCB Enclosure template, you can turn those measurements into a custom-size STL. Review controls such as pcb width, pcb length, top component height, check your model in the preview and choose the digital file. You buy the generated STL and print it on your own 3D printer, using your preferred filament and slicer settings.

Start with my measurements

Measurements for your DIN-Rail PCB enclosure STL

The product page exposes the following useful geometry controls. Work from your measured parts and check the displayed units and the preview before entering final values.

Model controlWhat to check
PCB WidthMeasure across the named feature and allow space for the neighbouring parts.
PCB LengthCheck both endpoints of the named feature, including its working reach or engagement.
Top Component HeightMeasure from the relevant seating surface and check the available vertical clearance.
Bottom Component HeightMeasure from the relevant seating surface and check the available vertical clearance.
Hole Spacing XMeasure centre to centre. Keep the hole size separate from the distance between holes.
Hole Spacing YMeasure centre to centre. Keep the hole size separate from the distance between holes.
PCB Hole DiameterMeasure the mating shaft or fastener and decide what type of fit the opening needs.
Terminals per SideCheck this feature against the matching component and confirm its effect in the 3D preview.
Terminal Opening WidthMeasure across the named feature and allow space for the neighbouring parts.
Lid VentilationCheck this feature against the matching component and confirm its effect in the 3D preview.

Check usable space as well as outside size

Start with the contents and the way they will enter the enclosure. Leave room for connectors, wiring bends and any separately fitted hardware that the specific design requires. Check the lid or cover travel and access for assembly in the preview. Scaling the outside dimensions also changes openings, walls and fixing features; use the available parameters to control the features that matter.

Configure the model, buy the STL and print locally

  1. Open the DIN-Rail PCB enclosure product page and compare the model preview with your application.
  2. Enter the relevant measurements. Use the units displayed beside each input; convert inch measurements before using a millimetre field.
  3. Review the complete geometry and keep a record of your parameter values. Check small openings, mating features and remaining wall thickness.
  4. Choose the digital STL purchase option and review the current price and order details before payment.
  5. After receiving the STL, open it in your slicer, confirm the imported dimensions and inspect the layer preview before printing.

Configure my DIN-Rail PCB enclosure STL

Check a first print before making more

A CAD dimension and a printed dimension can differ. Print a fit sample or one prototype before making a batch, and check the features that contact other parts. Choose print orientation, supports and material for the actual geometry and application. There is no universal clearance or print profile that guarantees the fit on every machine.

Before you choose your STL

Why configure the model instead of scaling a download?

Uniform scaling changes all dimensions together. Here you can work with the available controls, including pcb width, pcb length, top component height, and check the result before purchase. Keep your input values for later revisions: the downloaded STL contains the final mesh, rather than the original parametric editing history.

What do I buy?

Select the digital STL option for the file you will print yourself. Review the current price and selected configuration before paying. Ordering a finished print is a separate option.

Make the next print fit your project

Have your measurements ready? Open the DIN-Rail PCB enclosure template, adjust the model and inspect the preview. When the geometry matches what you need, choose your STL and take it to your own printer.

Next step

Ready for the next step?

Minimum order value not yet reached

Physical 3D prints require a minimum order value of €10.00. You still need . Digital STL files and shipping costs do not count toward the minimum order value.

You can select more products or increase the quantity of an existing 3D print.

Photo to 3D

What would you like to create? Choose an option – you will upload your source on the next page.

Example of a 3D relief created from a photo Photo to ReliefTurn your photo into a tactile 3D relief.Proven relief configurator · STL or printed partStart now → Example of a personalized 3D figurine created from a photo Photo to FigurineTurn your photo into a full 3D figurine.Request a quote → Floor plan and the spatial 3D model created from it Floor Plan to 3DTurn a floor plan into a spatial wall and opening preview.Request a quote → Technical drawing and the 3D part created from it Drawing to 3DCreate a 3D part from a technical drawing.Request a quote →