1 / 4
konfigurierbares Raspberry-Pi Gehäuse (OpenSCAD) — image 1
1 / 4

konfigurierbares Raspberry-Pi Gehäuse (OpenSCAD)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Raspberry-Pi Gehäuse für 1B: Original Pi 1 B Rev. 2, 1A+, 1B+, 2B, 3B (auch 3B+), 3A+, 4B, 5

Rating
0 / 5
Likes
1
Downloads
2
Makes
0
Views
22
Reviews
0

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Attribution — Share Alike

Parametrisches Raspberry-Pi-Gehäuse (OpenSCAD)

Konzept
Das Gehäuse besteht aus Unterteil und Deckel. Die Verschraubung läuft durch die Montagelöcher des Pi: Schraube, Boden, Abstandshalter, Platine, Deckelsäule. So braucht das Gehäuse keine Schraubohren an den Ecken, bleibt kompakt, und die Platine sitzt beim Zuschrauben fest eingespannt. Deckel und Unterteil schließen über eine umlaufende Falz mit Lippe (3 mm hoch, 0,25 mm Spiel), die beide zentriert. Die Trennfuge liegt standardmäßig auf Höhe der Platinenoberseite. Die Bilder zeigen einen Raspberry-Pi 1B und 3B.

Unterstützte Modelle (Parameter model)

  • 1B: Original Pi 1 B Rev. 2 mit nur 2 Montagelöchern, Cinch-Video, Klinke oben, Power und SD an der kurzen Seite.

  • 1A+, 1B+, 2B, 3B (auch 3B+), 3A+, 4B, 5.

  • custom: eigene Maße, Bauteilhöhe und optional eigene Lochpositionen (custom_holes).

Jedes Modell bringt Platinenmaße, Lochbild, Bauteilhöhe und Anschlusspositionen mit. Das Gehäuse passt sich daran an.

Maße und Aufbau (Standard, Beispiel 4B)

  • Außenmaß etwa 91 × 62 × 27,7 mm.

  • Wandstärke, Boden und Deckel je 2,4 mm.

  • Spiel Platine–Wand 0,6 mm.

  • Abstandshalter 4,5 mm hoch, 1 mm Luft über dem höchsten Bauteil.

  • Eckenradius 6 mm, Kantenrundung 1,5 mm (Unterkante und Deckeloberseite).

  • Mit extra_height schaffst du zusätzlichen Platz für HAT oder Kühler.

Verschraubung

  • M2.5, Standard: Schraubenkopf unten in einer Senkung im Boden (screw_from, alternativ von oben).

  • Die Deckelsäulen haben Sacklöcher für selbstschneidende Schrauben (2,2 mm) oder optional Gewindeeinsätze (use_inserts).

  • Schraubenlänge bei den Standardwerten M2.5 × 16 mm (von oben etwa × 25 mm). Die Konsole gibt den genauen Wert aus.

  • Beim 1B gibt es nur 2 Schrauben und 2 Abstandshalter, bei den anderen Modellen 4.

Anschlüsse und Ausschnitte

  • Seitenausschnitte für Ethernet, USB, HDMI, Strom, Audio, Video und SD. Jede Gruppe lässt sich einzeln abschalten, Rand und Eckenradius sind einstellbar (port_margin, port_round).

  • Im Deckel reichen die Ausschnitte nach unten bis zum Rand (lid_ports_open). Das entfernt das Band unter den Anschlüssen. Die Zwischenstege bleiben stehen.

  • GPIO-Leiste wahlweise als Fenster im Deckel, als Schlitz in der Seitenwand oder geschlossen.

  • Optional Schlitze für Kamera- und Display-Flachbandkabel (CSI/DSI).

  • Eigene Zusatzausschnitte über extra_cutouts (Seite) und extra_top_cutouts (Deckel).

Zusatzfunktionen

  • Lüftungsschlitze im Deckel (optional auch im Boden), Bereich und Raster einstellbar.

  • Eingravierte Beschriftung im Deckel, Text und Position wählbar.

  • Optional zwei Befestigungsohren außen am Unterteil für M3-Schrauben (Wandmontage): an den kurzen oder langen Seiten, mit Senkung und verschiebbar (mount_ears).

Ansichten (part)
Druck-Layout (Deckel gedreht, ohne Stützen druckbar), Zusammenbau, Explosionsansicht, Schnitt, nur Unterteil, nur Deckel. Dazu ein Pi-Geisterkörper zur Kontrolle der Ausschnitte.

Druckhinweise
3 Wände, 4 Deck.-Bodenschichten, 0.2mm, 15% Infill (rect.)
Zum drucken um 180 Grad drehen, so dass die "Fläche" unten ist. Es wird kein Support benötigt. Ich habe es erstmal in PLA gedruckt, empfehle aber PETG oder ABS/ASA.

weitere Hinweise
Ich habe nicht alle Kombinationen (Kamera-Ausschitt, GPIO von der Seite etc.) exportiert, sondern nur je mit Befestigungslöscher und ohne und mit GPIO-Fenster und ohne. Das kann aber leicht mit OpenSCAD (free) und dem integrierten Cusomizer durchgeführt werden.


Parametric Raspberry Pi Case (OpenSCAD)

Concept
The case consists of a base and a lid. The screws pass through the Pi's mounting holes in this order: screw, base, standoff, circuit board, lid pillar. This eliminates the need for mounting tabs at the corners, keeps the case compact, and ensures the board is securely clamped when screwed shut. The lid and base close via a continuous lip-and-groove joint (3 mm high, 0.25 mm clearance) that centers the two parts. By default, the parting line is aligned with the top of the circuit board. The images show a Raspberry Pi 1B and 3B.

Supported models (model parameter)
• 1B: Original Pi 1 B Rev. 2 with only 2 mounting holes, RCA video, top-mounted audio jack, and power/SD ports on the short side.
• 1A+, 1B+, 2B, 3B (including 3B+), 3A+, 4B, 5.
• custom: user-defined dimensions, component height, and optional custom hole positions (custom_holes).

Each model includes specific board dimensions, hole patterns, component heights, and port locations; the case adapts accordingly.

Dimensions and structure (Standard, e.g., 4B)
• External dimensions approx. 91 × 62 × 27.7 mm.
• Wall thickness, base, and lid: 2.4 mm each.
• Clearance between board and wall: 0.6 mm.
• Standoff height: 4.5 mm; 1 mm clearance above the tallest component.
• Corner radius: 6 mm; edge rounding: 1.5 mm (bottom edge and top of lid).
• Use extra_height to create additional space for HATs or heatsinks. Fastening
• M2.5, standard: screw head recessed in the bottom (screw_from; alternatively, from the top).
• Lid pillars feature blind holes for self-tapping screws (2.2 mm) or optional threaded inserts (use_inserts).
• Standard screw length: M2.5 × 16 mm (approx. × 25 mm if inserted from the top). The console outputs the exact value.
• The "1B" model uses 2 screws and 2 spacers; other models use 4.

Ports and Cutouts
• Side cutouts for Ethernet, USB, HDMI, power, audio, video, and SD. Each group can be toggled individually; margin and corner radius are adjustable (port_margin, port_round).
• Lid cutouts extend downwards to the edge (lid_ports_open), removing the strip beneath the ports while retaining the intermediate bars.
• GPIO header: configurable as a lid window, a side-wall slot, or a closed surface.
• Optional slots for camera and display ribbon cables (CSI/DSI).
• Custom additional cutouts via extra_cutouts (side) and extra_top_cutouts (lid).

Additional Features
• Ventilation slots in the lid (optionally in the bottom as well); area and grid spacing are adjustable.
• Engraved lid labeling; text and position are selectable.
• Optional external mounting tabs on the base for M3 screws (wall mounting): positionable on short or long sides, with countersinking (mount_ears). Views (partial)
Print layout (lid rotated, printable without supports), assembly, exploded view, cross-section, base only, lid only. Includes a "ghost" model of the Pi to verify the cutouts.

Printing instructions
3 walls, 4 top/bottom layers, 0.2 mm, 15% infill (rectilinear). Rotate 180 degrees before printing so that the flat surface faces down. No supports are required. I initially printed it in PLA, but I recommend PETG or ABS/ASA.

Additional notes
I haven't exported every possible combination (camera cutout, side GPIO access, etc.); instead, I’ve provided versions with and without mounting holes, and with and without the GPIO window. However, you can easily generate other variations yourself using OpenSCAD (free) and its built-in Customizer.

Tags