I 3D Scanned My Mini PC to Fix a Cooling Problem

I’ve been using this GMKtec NucBox K10 in my homelab builds for a while now and, although it’s a pretty powerful mini PC, its original cooling arrangement isn’t particularly well suited to being installed in a rack like this.

It mainly draws air in through the ventilation grille on the top, but that’s inside the homelab rack, so the air is already warm from the other equipment and the intake can be restricted by whatever is installed above it. It then exhausts out the back, but the exhaust stops short of the back of the rack, so a lot of that hot air ends up circulating around inside the rack, which adds to the problem.

You can see this quite clearly in the above thermal image. The whole area behind the mini PC gets a lot warmer than the front of the rack.

This also means that I always install it at the top of the rack, where there is a bit more headroom for the cooling fan, but that limits my layout options and blocks a large portion of the 120mm fan on the top of the rack.

So, in this project, I’m going to try to improve on this by designing and 3D printing a new custom rackmount enclosure that draws air in through the front and exhausts it directly out the back of the rack.

I’m also going to incorporate a small display into the front panel so that I can keep an eye on the computer’s performance metrics and the Docker containers running on it.

Here’s my video of the project, read on for the write-up:

Where To Buy The Parts For This Project

Tools & Equipment Used:

Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this channel, at no additional cost to you.

Baseline Test and Design Method

In addition to taking some thermal images like the one shown earlier, I’ve also run a ten-minute CPU stress test using stress-ng with the original enclosure to establish a baseline for thermal and CPU performance. This will give us something to compare our end results with.

To help with the design, I’m going to use the Revopoint MetroY Ultra 3D scanner to scan the motherboard and cooling assembly rather than trying to measure up all of these components individually.

Revopoint sent this scanner to me to try out as it looks particularly useful for these sorts of projects, where complex geometry makes taking manual measurements difficult or quite time-consuming. It’s well suited to scanning intricate details and features on smaller objects like a mini computer’s motherboard.

Disassembling the NucBox K10

To start off, we need to open up the K10 and see what we need to design the new enclosure around. It’s quite an easy mini PC to open up as it’s got toolless thumbscrews on both the bottom cover plate and the top half of the enclosure.

With the covers removed and the board unscrewed from the base, we can get a better look at the motherboard and cooling system.

We’ve got a blower-style CPU cooler on top, with the fan drawing air in around the centre and pushing it through the heatsink and out towards the back of the computer.

Top of K10 PCB

The RAM and NVMe drives are mounted underneath the motherboard, and there doesn’t appear to be much airflow over these components in the original enclosure.

Bottom of K10 PCB

Why Use a 3D Scanner?

I could measure up the motherboard, work out where all of the mounting holes and ports are, and then use those dimensions to build a model in Fusion.

But for something like this, where there aren’t any readily available drawings and we’ve got a lot of I/O ports, different height components, expansion PCBs and the cooler geometry to measure, that becomes quite a time-consuming process.

In particular, I want to be able to design the airflow path around the cooler without restricting its intake or interfering with the components around it. So it’s a bit more involved than just getting a few mounting holes to line up.

This is where a 3D scanner is really useful. By scanning the whole assembly, I can bring a model directly into Fusion and then design the new enclosure around it.

Scanning the Motherboard With the Revopoint MetroY

The Revopoint MetroY Ultra is a blue laser 3D scanner designed for scanning smaller mechanical parts with relatively intricate geometry and good accuracy.

I’ve set up the motherboard on the included turntable, for which I’ve 3D printed a larger base and some stands. I’ve also covered the setup with tracking markers.

3D Scanning Setup To Scan Top

These give the scanner high-contrast reference points to work from, allowing the software to better keep track of its position relative to the object as it builds up the point cloud.

For this scan, I’m using marker tracking with the cross-line laser scanning mode. The scanner projects multiple intersecting blue laser lines onto the surface of the object. The cameras then look at how these lines hit the different surfaces and components, and the software uses triangulation to calculate the position of thousands of points. These points make up a point cloud that forms the shape of the object.

I started by scanning the top of the motherboard, which includes the CPU cooler and the ports around the edges.

3D Point Cloud 3D Scanning

Once I had scanned the top, I flipped the board over and started a new scan of the underside to capture the RAM, NVMe drives and the components mounted on the bottom surface of the board.

With both scans complete, I then aligned and merged them in Revopoint’s software to create a single model of the assembly.

Removing Scanner Bed From Model

I then converted the point cloud into a mesh, which is essentially an outer surface made up of thousands of small triangles.

It’s actually pretty impressive how detailed this scan is. Even the tiny surface-mount components and the labels on the RAM and NVMe drive are quite clearly visible.

I then exported the model as an STL file, which can be imported into Fusion and used as a reference for the design of the new enclosure.

Designing a Custom 1U Rackmount Enclosure

For the enclosure design, I’ve started off with one of my existing Lab Rax shelves and imported the scanned motherboard into the design.

This gives me the rack mounting dimensions and the available space to work with, so I can start building the enclosure around the board. I’m keeping the shelf to a single rack unit, which makes things a little more difficult because there isn’t a lot of vertical space to work with.

I’ve designed the enclosure in two main parts, similar to the original NucBox design. The bottom section forms the shelf and supports the motherboard, while the top cover closes it up.

Top and Bottom Enclosure Halves

This design makes it easy to assemble and gives me access to the motherboard if I need to make any changes later.

Providing Access to the RAM and NVMe Drives

I’ve made a cutout in the bottom of the shelf to access the RAM and NVMe drives mounted underneath the motherboard.

Bottom of PCB Through Cutout

Ideally, it would have been nice to have a separate airflow channel running underneath the board to cool these components, but there isn’t enough room in 1U to have a decent airflow path both above and below the motherboard without closing off the top of the CPU cooler.

So instead, I’ve opened up the bottom of the shelf. This leaves the RAM and NVMe drives accessible from underneath and exposed to the surrounding air. They can tolerate running reasonably warm and were boxed in within the original case too.

Improving Airflow Through the CPU Cooler

The main improvement I’m concentrating on is the airflow through the CPU cooler. I’ve added a series of ventilation holes across the front of the shelf to allow cool air to enter at the front of the rack. Then, at the back, I’ve designed a duct that connects to the CPU cooler’s exhaust and extends all the way to the rear of the rack.

Back of Computer Duct

The hot exhaust air should now be directed mostly out of the rack rather than being released into the space behind the computer and circulating around inside the rack.

I’ve also added a small airflow baffle into the top cover. The fan isn’t completely ducted to the front intake, so it can still draw some air in from around the ports and other openings in the enclosure.

The baffle just helps direct more air to flow in from the front, across the components and into the fan.

Adding a System Monitoring Display

The other thing I wanted to incorporate into the new enclosure is a small display. This computer runs Ubuntu and hosts a number of Docker containers, but it’s not normally connected to a monitor. So I’ve put together a little system monitoring program that shows things like CPU and memory usage, system uptime and whether the Docker containers are running properly.

It’s quite handy having this information displayed directly on the front of the rack so that I can quickly see how the computer is doing without having to connect to it from another device.

Small Stats Display Holder

That pretty much finishes off the enclosure design. We’ve got the original motherboard mounted inside a 1U shelf, front-to-back ventilation, a ducted rear exhaust and a built-in status display.

Now we can get the parts printed and see how well they all fit together.

3D Printing and Assembling the Enclosure

The parts have all been designed with 3D printing in mind, so they don’t need a lot of supports. I printed them out in black PETG with the mini PC name in bright green. I printed the button in clear PETG so that it lights up when powered like the original.

With the three components printed out, I can start assembling the enclosure.

I’ve used a few threaded brass inserts for the screws that secure the motherboard and hold the two halves of the enclosure together. These are just melted into place using a soldering iron.

These give us a more durable thread rather than screwing directly into the plastic, especially on something like this where the cover is likely to be installed and removed over and over.

Next, I can mount the motherboard onto the shelf using four M3x8mm screws.

Screwing Motherboard Into New Enclosure Base

With the motherboard installed, I can then install the small Waveshare display into the front panel. These are held in place with four M2 screws into the threaded standoffs on the display PCB.

Screwing Small Display Into Place

The display plugs into one of the computer’s USB ports using a ribbon-style cable, which keeps the wiring neatly inside the enclosure. Mine is a bit too long for the enclosure but the excess can just be wrapped up and pushed to one side under the cover.

Ribbon Cable To Connect Display

I can then fit the top cover and secure it with six more M3x8mm screws.

Screw Rear Duct Screws Into Place

And that’s the new rackmount enclosure finished. You can now see how useful it was to have the 3D scan of the board. The ports at the front and back all line up perfectly, and I was able to avoid clashes internally around the display, all without having to take loads of measurements directly from the components.

Even things like the RAM holders and the surface-mount components on the bottom of the motherboard could have interfered with parts of the enclosure if I hadn’t been able to easily work around them in Fusion.

RAM and NVMe Cutout

We’ve managed to keep everything within a single rack unit, we’ve added the display and, hopefully, we’ve also improved the cooling arrangement.

The next step is to install it back into the rack and see whether the changes we’ve made to the airflow actually work.

Screw New Enclosure Into Place

This shelf design also has the added benefit of supporting the whole PC at both the front and back of the rack, so we’re not putting a lot of stress on the front supports. These are optional, you can leave them off if you’d like to, but they make the shelf a lot more sturdy.

Testing the New Rackmount Enclosure

I’ve loaded a Python script onto the PC that sends its utilisation metrics and some information about the Docker containers to the display every second in JSON format. The ESP32 on the display listens for this information and updates the display each time new information is received. So I’ve now got a useful way to keep an eye on this computer without needing to log into it or connect a monitor.

To test the new enclosure, I’m going to repeat the same ten-minute stress test that I ran on the original NucBox.

I’ve kept the workload and test duration the same, and I’m monitoring the CPU temperature throughout the test so that we can compare the results.

CPU Temperature and Performance

After ten minutes, the CPU temperatures are actually quite similar.

CPU Temperature New and Old

The original enclosure reached a maximum temperature of 90°C, while the new enclosure reached a maximum of 89°C. Both also maintained essentially the same CPU clock speed throughout the test.

So there’s no significant improvement in CPU cooling, but at least closing up the top air intake and redirecting the airflow through a longer exhaust channel hasn’t made things worse either.

NVMe Drive Temperatures

One thing that has improved slightly is the NVMe drive temperature.

NVMe Drive Temperature New and Old

The drive ran at a much more consistent temperature in the new enclosure, whereas it heated up by 5°C over the duration of the test in the old enclosure.

I assume this is due to the more open design of the underside of the new enclosure, which exposes the drive to the surrounding air.

Comparing Thermal Images of the Homelab Rack

The main reason for doing this project was to stop the computer from dumping hot air into the rest of the rack, affecting both itself and the surrounding components, particularly when it’s boxed in without any headroom above it.

Looking at the thermal images, we can see that this has improved quite a lot.

The old enclosure heated up the whole area at the back of the rack, with the rack frame itself getting up to 40°C.

With the new duct extending out the back, the hottest point on the rack itself is now under 30°C and, although the computer’s enclosure is still warm, the surrounding rack isn’t.

So, although the CPU temperatures haven’t changed significantly, we’ve managed to change where the heat ends up without impacting CPU performance, which is exactly the result I was hoping to achieve.

New Enclousre Front Thermal Image

I can now install this computer in other positions in the rack without having to worry as much about it heating up itself or the surrounding components.

Final Thoughts on the New Enclosure and Using a 3D Scanner

This has been a useful project to improve my homelab, and I think it’s a good example of how a 3D scanner can make modelling a complex part a lot easier.

For simpler parts, where I’ve got drawings or just a few dimensions to measure up, I’d still do that manually. But for more complicated shapes, particularly circuit boards with different height components and assemblies where there aren’t any drawings available, being able to scan the hardware and design around it is really useful.

I’m also planning to use the MetroY Ultra to improve some of my existing Lab Rax designs, especially the ones with unique geometry, like my GL.iNet Slate 7 router and JetKVM.

Check out Revopoint’s online store if you’d like to find out more about the Revopoint MetroY Ultra. And use my referal code REVOPRMIKL for an extra 2%-7% off on all scanners!

I’d also be interested to hear what you think of this enclosure and whether there are any other devices or modifications you’d like to see incorporated into the Lab Rax system. Let me know in the comments section below.

Michael Klements
Michael Klements
Hi, my name is Michael and I started this blog in 2016 to share my DIY journey with you. I love tinkering with electronics, making, fixing, and building - I'm always looking for new projects and exciting DIY ideas. If you do too, grab a cup of coffee and settle in, I'm happy to have you here.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest posts

Using a Locally Running AI Agent to Build an Entire Home Server

This is the Olares One, a pretty serious piece of hardware that's designed specifically for running AI locally. Inside, it's got an Intel Core...

UGREEN HomeAgent HA100 – A NAS, Smart Home Hub and Local AI Assistant in One

The UGREEN HomeAgent HA100 is quite a bit more than your typical NAS. It's a personal cloud server, smart home hub, home security system...

GL.iNet Mango 2 – A Tiny Travel Router With Some Big Features

When you're travelling, connecting to WiFi usually involves finding the hotel's network and then connecting your phone, laptop and tablet individually, often going through...

Related posts