Layer By Layer: Mini OONTZ #3DThurday #3DPrinting

In this weeks Layer by Layer, we’re going to go over the design of the Mini OONTZ enclosure.


To start off, we grabbed the Trellis source files from the github repository. It includes an the eagle CAD of the Trellis board and the STEP file for the elastomers. The Arduino Leonardo eagle CAD file is also available for download. These three source files will help us by providing the exact dimensions of the board and size and position of the mounting holes.


To get the vector paths from eagle to your cad software, you could export the board file as an DXF. This is an AutoCAD drawing format that is 2D vectors that include the dimensions and position of the holes and board. Using Adobe Illustrator, I was able to open the DXF file and keep the paths I only needed (the board and mounting holes). Export as an SVG and imported as a sketch into 123D Design. I extruded the sketch to make a reference of the Arduino Leonardo.


The elastomers are STEP format, which 123D Design can open natively. We’ll use this object as the part that will be subtracted from the cover of the enclosure to make holes for fitting the elastomer buttons.


The overall dimensions of the enclosure is 83mm x 108mm x 34mm. This has enough clearance for the Arduino Leonardo, Trellis PCB, elastomers and potentiometers. The enclosure box has a 2mm shell.


Potentiometers was modeled by using calipers on the actual component and recreated with primitive shapes. Mostly used as a reference object to ensure there is enough clearance in the enclosure.


Used the pattern function in 123D to easily create 3 copies of the potentiometer. Great feature that saves me time!


The enclosure is separated into 3 parts, the cover, bottom and frame. This allows for a convenient build because we can easily get to the components. These three parts will be secured together with machine screws.


The frame has a tab with a cylinder in the center on each corner for fastening screws through.


A tray part will hold the Trellis PCB. Cut outs on all sides of the tray to allow wires to pass through and mounting holes on the for corners.


The tray part slides into the top of the frame and rests on a 2mm extruded ledge. The four top tabs on the enclosure frame keep the tray in place. The tray is secured to the top cover and the frame with screws


The Arduino Leonardo board is mounted to the bottom cover with screws and elevated with build in stand-offs. The bottom cover is secured to bottom of frame with another set of screws. 2mm stand off in the center of each hole adds thickness to mount hole without thickening overall surface.




The final enclosure has beveled applied to the top cover. Each mounting hole has a 2mm chamfer to allow the machine screw to be flush with the surface of the cover. The steps and processes used in this project can easily be replicated in most DIY electronic projects. Reusing objects is always a great way to speed up the progress. Leveraging source files is also awesome way to get exact dimensions.

Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!

Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!

The Adafruit Learning System has dozens of great tools to get you well on your way to creating incredible works of engineering, interactive art, and design with your 3D printer! If you’ve made a cool project that combines 3D printing and electronics, be sure to let us know, and we’ll feature it here!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here:

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community!

CircuitPython – The easiest way to program microcontrollers –

Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.