Turbocase Generates A PCB Shell For You

An example of the case generated for a simple PCB, being shown in the OpenSCAD viewer

Our PCBs greatly benefit from cases – what’s with all the pins that can be accidentally shorted, connectors that stick out of the outline, and cables pulling the board into different directions. Designing a case for your PCB might feel like a fair bit of effort – but it likely isn’t, thanks to projects like turbocase from [Martijn Braam].

This script generates simple and elegant OpenSCAD cases for your KiCad PCBs – you only need to draw a few extra lines in the PCB Editor, that’s it. It makes connector openings, too – add a “Height” property to your connector footprints to have them be handled automatically. Oh, and there’s a few quality-of-life features – if your project has mounting holes, the script will add threaded-insert-friendly standoffs to the case; yet another argument for adding mounting holes to your boards, in case you needed more.

Installing the script is a single line, running it is merely another, and that will cover an overwhelming majority of boards out there; the code is all open too, of course. Want some more customization? Here’s some general project enclosure tutorials for OpenSCAD, and a KiCad-friendly StepUp tutorial. Oh, and of course, there’s many more ways to enclose PCBs – our own [Bob Baddeley] has written a guide to project enclosures that you are bound to learn new things from.

We thank [adistuder] for sharing this with us!

23 thoughts on “Turbocase Generates A PCB Shell For You

  1. Martijn Braam, I know who that is. He’s very active in the pine community. Super friendly guy. He is/was a part of the pinetab team, if my memory serves me right. He helped me get my pinetab up and running so I could play with it.

          1. if a hack is open-source, it’s usually just that much more interesting to our readers, purely from the perspective of what it lets them do. It’s really cool that people can learn from what we cover, and hack on what we cover.

    1. In addition to what others said, a project being open-source means we can learn from it, modify it, reuse it, and a number of other things – which does make closed-source projects inferior for our readers, as if by definition! However, if you need to see me feature a closed-source project this badly, just see the article before the previous one ;-)

  2. Great to see this pop up on my feed. I just spend all day optimizing the scad model for the 18650 holder and released turbocase 1.6. This adds a bunch of extra parts in a KiCad library to add to the generated case.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.