What you'll learn
Design a custom case for the Raspberry Pi 5 single-board computer with Mechanical Engineer Gabe Corbett. This tutorial demonstrates Shapr3D’s versatile tools to create precise enclosures by referencing imported geometry. Follow this step-by-step guide to build a functional and manufacturable case.
Key tools demonstrated include:
- Importing STEP files: Bring in the Raspberry Pi 5 model to use as a reference for your design.
- Sketch tools: Use versatile tools like Circle and Rectangle to efficiently create mounting bosses, port cutouts, and other essential features for the case.
- Offset Edges: Create accurate boundaries around the imported geometry to define case features.
- Extrude tool: Build case walls and features with precise, parameter-driven extrusions.
- Boolean operations: Combine parts using Union and carve out cutouts with Subtract for precise adjustments.
- Visualization: Apply materials and colors to finalize the design’s presentation.
Transcript
00:00
For this project, we're gonna be creating an in-context case for a Raspberry Pi 5 single board computer. Now the Raspberry Pi 5, if you're not familiar with it, is a single board computer. It's wildly popular. There's millions of them out there. And the Raspberry Pi 5 just came out a little while ago. And it'd be great if you can use or create a case for it inside of Shapr3D. Then of course, you can integrate it into your own design. If you have a 3D printer, of course, you can print out the little case and use it. So.
00:29
It'd be really nice to be able to leverage a lot of the data that's inside of the model. Now the model of the Raspberry Pi 5, I just typed in on Google, Raspberry Pi 5 model step file, and there's a bunch of them available. I just downloaded it, and I'm gonna show you exactly how to work with it right now. So the first thing we wanna do is go over here to File, and say New Project. Once we're in New Project, go over here to File, and say Import to Current Project. And right here on the desktop, I've saved this file called Raspberry Pi 5.
00:59
It's a step file, notice it's about 36 megabytes big. It's a pretty good size file. And go ahead and let that import into Shapr3D. Now, Shapr3D is normally a Parasolid-based modeling program. So it's gonna transfer all those step file bodies into Parasolids. You can see it's doing that right now. And as soon as it's given, give the software a little chance to do this, it's gonna open that up and we're gonna have that entire step file imported and ready to work inside of Shapr3D.
01:28
All right, so give it a little bit more time here, and it looks like we're getting pretty close. And there it is. Okay, so here you can see we have a little twirl down, and inside there you have all the different individual files. You can turn them off, show them, and stuff, and so on. And we're gonna use this model as a reference to creating our shape. So let's hold down Shift, spin this thing around here, and I'm gonna choose the bottom surface there. I wanna say, hey, I want us to create a sketch, okay? Now,
01:55
Once I'm in the sketch, notice the line command turns on, I wanna hit Escape, get out of the line command, and I wanna choose the offset edge, right? I'm gonna choose this one here, and I'm gonna zoom in here and choose this line right here. Notice it selects that entire outside of the shape, and then I can just drag this out. I'm gonna type in one millimeter and hit Enter, and that's gonna be that offset edge, okay?
02:21
So that's the first one. And then I wanna do that same thing again. I wanna click on offset loop again and choose that one there and I wanna drag it out two millimeters. Okay, and hit okay. And then hit E on the keyboard for extrude, right? And I'm gonna spin it around in 3D so we can kind of see what's going on here. And that is the actual shape we wanna extrude, right? If I can drag it up, I can drag it down. Now, if you try to drag it up, what it does, it starts trying to cut through the Raspberry Pi. So we don't wanna do that. Let's just go down for right now.
02:51
and then click on Done. The distance doesn't matter. Now over here on the history bar, notice we have extrusion one. If I twirl it down, notice it says distance 23 millimeters. Well, we don't really want to go that distance. We actually wanna go the other way. So I wanna type in negative 20. So the negative is gonna point in the other direction and then hit Enter and notice it does go the other direction here and now we have a shape that we're looking for. So of course you can always go back to the history bar and make some modifications to your design.
03:20
All right, once you have that, let's spin it around. At the bottom, you can see this is pretty much right at the bottom of the thing. So this is kind of sticking down. So that's gonna cause a little bit of an issue for us. So what I'd really like to do is grab that surface there and just bring it up a little bit. I think 25 for a total distance is pretty good. So there's my 25. And now we wanna do is create some type of a feature that's gonna hold on to the shape itself. So you got this board and it's just kind of floating in space.
03:49
inside this current box. How about we use some of these mounting holes that we have in these four corners here, and we create some little bosses that we can put some, you know, like self-tapping screws or something like that into like the plastic piece. So I'm gonna choose the bottom surface again, and choose Sketch, spin it around, and I'm gonna use the circle tool. So I'm gonna hit C for circle on the keyboard, and I'm gonna choose the center point of that hole there, and I'm gonna type in five.
04:17
and then do it one more time, choose the center point, just drag it out and say 2.3, enter. Now this happens to be the perfect size for a self-tapping screw that I chose before, but I'm just gonna go ahead and just type this in. So five and do it again at 2.3.
04:33
Okay, and let's go this other hole over here. Just continuing that same operation. So hit five, hit enter, choose the center point one more time, 2.3. And there it is. And then let's go to that very last hole. And here we go. All right, circle five, boom. And one more time, 2.3. All right, there we have it. Okay, so now hit E.
05:00
And I'm gonna choose these surfaces, right? So I just chose that one, and we chose this guy over here. And we're actually, we didn't choose it, we're choosing it right now. And zoom in here a little bit and see what's going on. I'm gonna spin it around 3D, you can take a look at it. And I'm gonna drag that up, right? And the distance I'm gonna drag it up to, doesn't really matter, right? Because I wanna actually make it in context. So I'm gonna hit done, leave it long right now, and then go over here to the extrusion in the history bar.
05:28
And instead of a distance, again, I wanna go up to Object. And I wanna select that object right over here and choose that surface there. Right, so now it's just gonna automatically come up to the bottom of the box. Okay, now we need a bottom, right? Where's no bottom right now? And we have, individually, we've got this body right here, which we created. And notice we created this feature, this extrusion. And let's see, let's double check that one. So up to a face.
05:59
and we're going to be doing.
06:04
FaceHouse is fine, but we actually go to this extrusion here and notice it did a union. We don't wanna do a union. We wanna create new bodies, right? And so that will give us the new bodies over here. So notice over here, we gotta make sure we're creating new bodies. Otherwise, it's gonna try to blend these new bodies with the Raspberry Pi, right? We don't want that to happen. So these wanna just be floating in space right now without the Raspberry Pi. So I'm gonna hide it for right now. Then let's go over here and choose the bottom.
06:33
Right, and I'm gonna hit Sketch. So I'm spinning it around here, and then I want to select these edges. And I'm gonna select, you know, you can do this, and you can select this edge here. You can hold down Shift on the keyboard, and just zoom in here. I can just kinda select the edges that I wanna bring into the current sketch. That guy, that guy, couple more. So this is really handy to kinda reference geometry that you already have.
07:01
and bring it in the current sketch. And notice if you click on this little twirl down here, you can say project. And it's gonna say, hey, it's gonna project this into our current sketch, that's what we want. Click OK, done, and then hit E for extrude. And I wanna choose that shape I just created, right? So, spin it around 3D, I can say, hey, I wanna go this direction. And two millimeters looks just fine. Click OK, and there we have it, right? So now, we have that other extrusion that's gonna show up right here. We can hide it, we can show it, and there it is.
07:31
But now we have all these individual bodies, right? We don't want all these bodies. We want, I can hide some of these other sketches here so we don't see them. We wanna bring all these things together. And to do that, I'm gonna go over here to, actually the tools, and we wanna use a union, right? And I wanna bring these things together. So I wanna bring that piece together with this green one and this green one, and of course, that green one, that green one, and of course the outside, right?
07:59
All that wants to come together as one shape. And notice now, we've got a shape. There it is. So there's our shape, everything coming together, and here's our body, right? And I can hide the entire body, show it, and so on. Now I can turn the Raspberry Pi back on. So here's the Raspberry Pi inside the body. Everything's looking pretty good. Of course, I could run some screws down here. I could tie that whole thing down. Now what we wanna do is we wanna cut some holes for the different peripherals, right? So we've got this RJ45 jack right over here.
08:27
We've got some USBs and things like that over here. We wanna cut some holes. So I wanna choose this surface right here, start a sketch, and I wanna create some in-context shapes. So I'm gonna choose, turn off the line command, hit escape, hit R for rectangle, and I wanna choose something like this right over here. So click, and I'm just gonna, oh, escape. I don't want a center point rectangle. I want a diagonal rectangle. I'm gonna choose right over here, just kinda outside of this, about the shape I want.
08:58
And it'd be nice to kinda see through this thing. So if I'm gonna go over here, I'm gonna click on this little icon here, go over to appearance, and I'm gonna say, hey, show hidden edges. Okay, once you have that rectangle, then what we wanna do is create a couple dimensions here. I'm gonna choose like a line like this one here, hold down shift, select that line right there, notice it shows up over here. I'm typing one for one millimeter. Gonna do that as we go around them all. So I'm gonna select this one here, select that one there, it pops down here, one millimeter, go for it.
09:26
And down here again, you've got some reference lines that are showing up here, so click on that. Click on that one there, and it should show up somewhere, so it looks like over here now. So one millimeter, and of course the last one, which is gonna be right over here. That guy, and that one, and there it is. Okay, so now we've got a rectangle based around this RJ-45 jack, pretty good. So then, what we wanna do is we wanna do an extrude. I wanna cut this thing through.
09:55
The only problem is if I click on this right now, it's gonna not bring this entire shape through. It's going to try to like bring this kind of weird thing here and that's not really what we wanna do. So what we wanna do is just hide the Raspberry Pi. Right now, I can say, hey, now I wanna do an extrude, no problem, so hit the E. I'm gonna choose that shape, right? That one and make sure you include this one over here. Click on next and how do we got in that? So hit again, extrude.
10:24
That shape, that shape, and then just drag that through, right up to next, click okay, and there it is. So there's my first hole, looking pretty good, in context to that other shape. So bring back that Raspberry Pi, you can see there that it's all looking pretty solid there. And then of course I can do it again. I can click on this surface here, click on sketch, spin it around, grab the rectangle tool, again, drag something out like looks like that, and.
10:52
Again, I'm gonna grab a couple of these reference dimensions. So I'm gonna go from this edge here, shift up to here, one millimeter. And of course you can make this more detailed, right? You don't have to just make a rectangle. You can do whatever you want. But for this example, we're just gonna do a basic in-context rectangle for these shapes. Again, one millimeter. Click there, one millimeter. And finally down here.
11:24
Yeah, where'd it show up? There it is. Okay, here we go. One, boom. And again, hide the Raspberry Pi at that point in time. Hit E for Extrude, that one right there. Spin it around and I'm just gonna drag that right through. Look, okay. Okay, and notice because the Raspberry Pi is not shown, it's only cutting through this one shape here. Now, of course, you don't have to just do this individually one hole at a time. You could go back and you can add to it, right? So over here in Extrusion 5,
11:52
Click on the twirl down, right? And notice over here, my profile, I can say edit the profile, right? And what I wanna bring in. You can also go back and edit that sketch. So here's that sketch, right? That we worked on before. And I can say, hey, I wanna work on that. Again, I wanna click on normal to the sketch, right? I wanna turn the Raspberry Pi back on so I can see it again. And I might wanna create maybe one more rectangle at this point in time. So hit R, come up here with that rectangle.
12:19
Drop that rectangle there. Of course, add the dimensions as needed. And then as soon as you get out of this, right, you're gonna then, you know, now you're, you know, once you've finished making those edits to the shape, notice over here, if you zoom in, zoom out, let's go ahead and hide the edges, right? Now notice it didn't show up. We were saying, hey, well, why didn't that show up? Well, over here, you have to go back to that extrusion in your profile. You have to go select this.
12:49
So it's there, so here it is. You just have to make sure you select it. Make sure you got those edges there, and then bam, there you go. All right, so that's how you can kind of create those in-context models, referencing something like Raspberry Pi or pretty much any design, right? And you're adding dimensions from the features that are imported to your own design. And you can of course continue doing the same type of design as you go around the shape. If you need to add holes for these guys over here, or something on the back.
13:18
Working with the pins, you got a whole bunch of different things you could bring in here. It really depends on what you need because a lot of people are using these and they don't use all this. They're only using maybe just the RJ45 for instance and they maybe just want a hole, they just, just for that, right? And keep everything else covered up, no problem. But to the things that is in-context modeling inside of Shapr3D, obviously you can have multiple, multiple bodies, they all show up over here. You can make these little folders and keep everything organized. You can turn them off and hide them, reference them.
13:46
You can project things, there's a whole bunch of things you can do with in-context modeling. Of course, it is one of the more powerful things that you can do pretty much in any 3D modeling software. Thanks for watching.
Try it yourself
Download ↓
About the instructor
Gabriel Corbett has a bachelor of science degree in mechanical engineering
and has been an active product designer for the past 24 years. He
previously owned a prototype-through-production machine shop that
built parts for notable companies like JPL and Panasonic. By combining
solid design experience with real-world skills in building products,
Gabriel has the unique ability to design products quickly and effectively.
He regularly consults companies on better and more efficient manufacturing
and design methods.
Gabriel has worked with many startups and established companies developing
products for the consumer, industrial, and medical markets. He has
worked on all aspects of product development from product design,
engineering, marketing, sales and management.