Computer-Controlled Machining

This week focuses on CNC machining — designing, milling, and assembling something big using computer-controlled subtractive manufacturing. For my project, I'm building the roof and inner cover for my Smart Beehive final project, designed to fit on a traditional 10-frame Langstroth box.

Assignment Requirements

Group Assignment:

Individual Project:

Project Documentation

V1 — First Cut (Plywood Test)

Our lab uses a ShopBot Alpha CNC router. For the first version of the roof I used plywood to test the design before committing to the nice cedar. The roof uses dowel joints — the holes on the sloped gable sections are cut on the CNC, with 3 dowels per corner at a ¼" hole size.

Cutting beehive roof V1 on the ShopBot Alpha CNC router

V1 Test Fit

I test fit the roof on an empty hive that I have ready for this upcoming season and noticed that it's about ¼" too long — you can see the gap by looking at the bottom edge in the photo below.

Hive roof V1 test fit on empty hive body

Roof V1 test fit — about ¼" too long, visible gap at the bottom edge

After noticing the overhang, I decided to take actual measurements of the hive box I'm fitting to. This box has been sanded and finished, so it's probably a little smaller than a brand new one would be — but only by a small amount.

Hive box dimension measurement 1

Measuring the existing hive box — width

Hive box dimension measurement 2

Measuring the existing hive box — length


Sourcing Cedar

After testing with plywood, it was time to move to the real material. I bought 6 cedar boards from Lowe's at $18.27 each. Usually, select cedar boards with no knots are very expensive, so instead of paying the premium I decided to go in person and inspect each board individually, only buying the ones with very little to no knots. Knots are weak points in the wood — they can crack, fall out over time, or create gaps that let moisture and pests into the hive.

Clean cedar boards with minimal knots

Hand-selected cedar boards with minimal knots

I measured the thickness at about 0.85", and I only need 0.75" for standard hive wall thickness. This is good because when I join the boards I'll need to plane them, so the extra material gives me room to work with.

Joining the Boards — Tongue & Groove

I needed a way to join these boards into wider panels and I didn't want to go out and buy a very expensive joiner tool. Instead, I bought a router bit from Rockler — specifically the 1-7/8" D × 1/4" H × 1/4" Shank Rockler 3 Wing Slotting Cutters Bit for $54.99. Much better than a $260 joining tool. I used this bit to make tongue and groove joints — cutting a centered tongue on one board edge and a matching groove on the adjacent board so they interlock.

Router bit attached to router table

Rockler 3 Wing Slotting Cutter bit attached to the router table

I attached the bit to my router table and cut the boards. It took lots of trial and error to get the fit right, but thankfully I didn't ruin any of the boards.

Tongue and groove joint in cedar boards

Tongue and groove joint cut into the cedar boards

Glue-Up & Planing

The next step was to glue the boards up. I used Titebond III wood glue, which is waterproof and rated for outdoor use — important for a beehive that sits outside year-round. I could only do one board at a time since I didn't have a lot of clamps.

After they were all glued up, the boards had a small but noticeable bump where they were joined. I anticipated this — first I used a hand planer to remove the bulk of the material, also clearing off glue residue as I went. After getting it as good as I could by hand, the boards obviously weren't perfectly flat, so I brought them to the lab and used the thickness planer.

Running cedar boards through the thickness planer

Running the joined cedar panels through the thickness planer at the lab

After a few passes and adjustments, running both sides of the boards through, I was able to get a very nice smooth flat surface.


V2 — Design Changes & Second Cut

Based on the V1 test fit, I made several design changes for V2:

  • Reduced the lengths of the rectangular side boards of the roof
  • Decreased the height of the gable sides, which lessens the slope
  • Made the ends not straight on purpose — this increases the amount the roof has to sit on, makes it easier to pick up, eliminates a 90-degree corner (which hides drilling error on the rectangular side boards), and I think it looks good

Cutting the V2 roof design on the ShopBot

After the roof was cut out I sanded each part and was very happy with the result, then took everything back home.


3D Printed Drill Jig & Side Board Problem

I 3D printed a jig to drill the dowel holes and align them up on the rectangular side boards. This is when I noticed the first problem — after getting the sides of the roof and a drill, I tried to place the jig on the wood and noticed that the side boards were cut too small. I think the CNC cut them on the inside of the vector instead of the outside. I checked the dimensions of the gable side and it matched up perfectly — all those cuts were on the same toolpath, so I find it strange that it cut on the inside for the sides and on the outside for the gable sides.

I was determined to get this done, and being on spring break meant I wouldn't be able to get back to the lab for over a week. So I decided to re-cut the side boards using my table saw at home. I used the board that was already cut for the roof since I didn't want to take material off one of the new boards. I ran one side of the previously cut board down the table saw, setting the fence to the correct size.

Measuring the re-cut side boards

Re-cut side board measuring 2.0095" — almost perfect

I was able to get it almost perfect in size at 2.0095 inches. Then I cut the long strip into the correct length sections using the small miter saw I have at home. I was able to get 4 pieces from that — two more than what I needed, so that's a bonus.

I slid on the 3D printed jig and it fitted perfectly. I pushed the dowels into the gable side of the roof (the holes were already drilled on the CNC), then measured the amount sticking out and put a piece of tape around my drill bit so I'd know the depth I needed to drill to. I used the jig to drill the holes, then took the jig off and drilled to the correct depth using the tape as reference.

3D printed drill jig on side board

3D printed jig clipped onto the side board for precise hole alignment

Drill bit with tape depth marker

Tape on the drill bit as a depth reference

I test fitted all the parts — a few needed to be drilled out a little more, so I did that until I got a good fit. Then I sanded all the freshly cut sides nicely.


Finishing — Tung Oil

I finished all the parts using tung oil, which is what I use on my cedar bee hives that I don't paint. I like the look of the natural cedar, and it's very weather and rot resistant so it doesn't need paint like pine boxes do. You can still paint cedar if you want, but I prefer the look of the wood.

One important note: you have to use 100% pure tung oil and let it cure for around 30 days if you want to use it for bees. Most "tung oil" isn't really tung oil — anything labeled tung oil at your local hardware store is not likely even tung oil and is not food/bee safe (you need to read the label on the back of the package). I personally use Hope's 100% Pure Tung Oil ($29.99 on Amazon), which I already had on hand.

The best method I found for applying it:

  1. Apply a generous amount to the wood
  2. Leave it in the sun for 20 minutes
  3. Wipe it down
  4. Let it sit in the sun for around 2–3 hours

I repeated this process 3 times and was happy with the result. Note that you have to wait around 30 days for it to fully cure.


Roof Assembly

After applying the 3 coats of tung oil finish, I bought a piece of ¼" lauan plywood from Lowe's to sit in the groove I made in the gable side of the roof. I cut the ply to the correct dimensions on the table saw, slid it in, and glued up all of the sides.

Interior Supports: One thing I should have done was add a groove for the plywood board in the rectangular sides of the roof. Since I hadn't done that, I decided to improvise — I used the previously too-narrow pieces of wood and cut a 15-degree slope on them using the table saw, which was about as close as I could get to match the slope of the roof. I glued them on the inside face and then used the nail gun to put nails from the bottom of the board up into the support. Since these pieces were also not long enough, I used some wedges to get the fit right, then glued up the faces and clamped them together. I used plywood spacers between the clamps and the wood so I wouldn't damage it. This also gives me something I can nail the roof board to and increases the insulation of the beehive since it will be twice as thick in those areas.

Top Support: I also realized I would need to make a top support — something to add strength and also have something to nail the roof board into. The stuff inside the roof doesn't need to look perfect since when I assemble it all it will never be seen. I made the top support from some scrap pine I had laying around. I cut the slope of the roof at the peak, then offset it by the thickness of the roof ridge beams. I used the same pine and cut it in half — most of the cutting for this was done on the miter saw. I glued the supports to the opposing interior faces of the wood, clamped them, and used the nail gun to put nails from the bottom of the board up into the support. Then I nailed the two ridge beams to the angular parts of the support, ensuring they were flush with the CNC-cut slope of the gable sides. This increased the strength of the roof and gives me something to nail the roof board to.

Roof assembly all clamped up

Roof assembly all clamped up with interior supports

After it dried I removed all the clamps and tested the fit on my bee hive box — and it fit perfectly, which I was so happy about.

Roof Board & Copper: After that I got some thicker plywood for the roof, which I hope to wrap with a thin sheet of copper to give it a nice look. The copper will also provide a bit of heat in the winter for the bees, and it looks really cool. More on this will be added in the Final Project — CAD & Build section as I continue the build.


Hive Dimensions

The hive is a 10-frame Langstroth — the most common hive type in the United States. The standard dimensions I'm working with:

  • Deep Hive Body: 9⅝" tall × 16¼" wide × 19⅞" long
  • Medium Super: 6⅝" tall × 16¼" wide × 19⅞" long

Design Files

📦 DXF Cut File (V1) 📦 VCarve Project (V1) 📦 3D Printed Drill Jig (.stl) 📦 DXF Cut File (V2) 📦 VCarve Project (V2)

For the inner cover, I attempted dovetail key miter joints on each corner. All four corner pieces are cut at 45 degrees on the CNC, and each joint has a slot for a separately cut key that locks the miter together. The idea is that the key adds mechanical strength to what would otherwise be a weak glue-only miter joint — the dovetail shape should prevent the joint from pulling apart.

This joint took a very long time to get working. I kept running into problems with the vectors exported from my Fusion file — the toolpaths wouldn't generate cleanly, and I had to go back and fix the geometry multiple times. It was a lot of work just to get the CNC to cut the parts correctly. On top of that, one side of one of the joints didn't even cut properly.

Inner cover V1 with dovetail key miter joints

Inner cover V1 — dovetail key miter joints. The joints came out weaker than expected.

The finished result didn't turn out quite as good as I hoped. The joints came out a bit weak, and after checking and testing tolerances, I think this type of joint requires extreme precision to pull off well on a CNC. The slightest deviation in the miter angle or the key slot dimensions and the joint doesn't seat tightly. For my final project, I think there are much better joint options I could use in place of this — something that's more forgiving and gives a stronger mechanical connection without needing such tight tolerances.

The inner cover also needs a groove around the inside perimeter to hold a flat board that sits inside the frame. I'm laser cutting that board to fit precisely in the groove.

Design Files

The V1 DXF and VCarve files include both the roof and the inner cover miter joint geometry.

📦 DXF Cut File (V1) 📦 VCarve Project (V1)

For the week 7 group assignment, our team completed the lab's safety training and tested runout, alignment, fixturing, speeds, feeds, materials, and toolpaths for our CNC machine. You can view the full group page here: Week 7 Group Assignment.

My Contributions

For this week's CNC assignment, I designed a clearance test piece to determine the optimal fit for a 0.5" wide dogbone joint. Dogbone joints are commonly used in CNC milling because a standard end mill cannot cut perfectly square inside corners — the dogbone shape adds a small circular relief at each corner, allowing flat sheet parts to fit together cleanly.

Useful Links