 Hey, what's up folks and we'll go back to another layer by layer in today's tutorial We're gonna take a look at the cyberdeck plate for the Raspberry Pi 400. So let's jump into the learn guide So if folks want to check out This project it uses the cyberdeck for made-of-root To create a little expansion plate so you can add breakout boards like this AMG 8833 To your Pi 400. So if you got yourself a Pi 400 check out the cyberdeck plate It's a great way to get your Pi accessories to work with it So I created this mounting plate and the thing with the mounting plate is that it has these two rails Where you can attach these extra breakout boards and it's really easy to plug them in with this stem a QT cable So infusion 360 I have this set up and I needed to make it so that it could be 3d printed Laser cut or CNC milled. I originally designed it so that it was pretty long and my printer is bigger than my CNC mill So I need to make it so that I could change the length of the plate so that it would fit my CNC machine So let's take a look at the user parameters that I've set up So I have this one called slot length and this is going to change the length of the slot here So if I change this to something bigger, you'll can see that it dynamically updates I just added 800 which is way too long That shouldn't be physically possible, but you can do it and infusion doesn't care It's just like yeah, whatever. That's the number you want. Let me go to 80. That's a little bit more of what the 3d printed version was It was around 80 But it this was too big to fit on my CNC mill. So I was like, all right. Well, I got to make this user User parametric. So here I have it set to 46 which fits my CNC machine Some other things that I changed is like the mounting holes So if I want to change the diameter of the slot make it four that changes as well as well If I wanted to use different material thickness Let's say I don't want it to be three millimeters. Maybe I have a Something a little bit thicker like six millimeters the design updates to so those are kind of the main things that I wanted to be able To change is the thickness of the plate the length of the slot in the diameters of the mounting holes in the slot So if I hide the electronics here, you can see how It's kind of built and also go into the component and show kind of the sketch that drives it, right? So here's the sketch that drives it You can see I have some fixed numbers the fixed numbers are really the distances between these mounting holes So let's take a look at the learn guide for the cyber deck hardware and then see The screenshot here from Eagle CAD So instead of like downloading Eagle CAD and opening it up and all that I just want to show you the screenshot so you can look at the dimensions that that are set here So you see there's four mounting holes I'm rolling over them with the cursor and There are some dimensions that are set here So you can see that the distance between these two mounting holes going on the up and down y-axis is 49 and Then the distance between these two mounting holes going on the x-axis is around 58 I'm gonna round it up to 58. So that's what they are You also get the hole diameter here But I actually made my plate a little bit bigger so I can fit and three holes or whatever So that those are the numbers those are the fixed numbers that we have to work around in order to make our mounting plate fit our hardware So let's jump back into fusion and then use that use those numbers again 58 across And 49 up and down. So let's let's do that. So let me create a new sketch I'll hide my bodies. I'm in my component. I'll just draw it here on the front plane So I got to start with a rectangle So I got my rectangle tool using the R key for the hot the hot keys are on your keyboard And I'll just draw something like this, but I won't actually click yet. I want to add those numbers So again the up and down was 49 and the left and right Horizontals 58 So those are locked in you can hit tab to switch between those two Dimensions and then to accept it or append it hit the enter key. There we go Cool now those are the distances between those mounting holes So I'm going to use a circle tool to create those mounting holes and instead of drawing I'm going to draw directly On top of this corner here and that little square lets me know it's going to be coincidentally constrained to it So whenever I move this square the circle will move with it because it's going to be kind of locked to this corner So I'll click and then instead of just clicking away I need to add the number so I already have my user parameter set up for the mounting holes and I called it m holes so you can just Type it out and then use the arrow keys to pull out which one I want. It's the m holes So I will accept that sweet So now I have one mounting hole it's going to drag this up here so I can see it better and We need to create three more of these right so instead of creating three manually I can show y'all how to use the mirror command to kind of mirror this to this other side and to mirror these two that would That will eventually be here and then mirroring it down So I use construction lines to create a midpoint Between any two of these perpendicular lines, so I'll start with the top here So grab a line tool and as I roll over my cursor I get this triangle and the triangle lets me know that is the middle of that line and if I click on that It's now Gonna do two things As I move it as I move this line notice what happens when I get a straight line I get that little icon up there right here and it looks like a square Right that lets me know that that is going to apply a Perpendicular constraint and that's what I want. I want these two lines to be perpendicular I'm not going to click yet because you can do something a little bit intuitive here So if I start to roll over this line Fusion thinks about it and says hey, you're gonna eventually hit boom right there that midpoint line That is where I want the second line to be so I'm going to start to move and notice that fusion is now creating These dotted lines it's not going to create a line, but it's just telling me that hey You are this is guiding me to be as straight as possible and as I keep going I'm going to keep going until I hit that Perpendicular constraint that we chatted about at the above there. So that's where I want it to be right right there Click and now I can make this new line follow that dotted line And then I'll end it up here where that midpoint triangle is so I'll click there And now what's fusion has done is applied for of the maybe even five five of these maybe even six a bunch of Co-in a bunch of constraints that make this exactly what we want. So this line Has a well rather this dot here This this this point has a midpoint constraint to this line and it has a perpendicular the line is perpendicular with this line Basically the same thing up here. We're in the middle of this line and we're perpendicularly constrained to it so with that now I can use These lines to to be mirrors. I can use them to mirror this this circle here So I got the circle. I selected it I'll bring up my sketch Shortcuts with the s key and I can use a mirror So with that selected I can select this here the mirror line And then you just select this line as the mirror line you get a little preview here Let's you know that that's what it's going to be and that's exactly where one so hit okay now that set up I can create another mirror. Let's do a mirror and then select these two circles Doesn't matter which order you do them and then we need to select our mirror line It'll be this one here going horizontally and you can see that there is where our lines are going to be our circles Excellent, so I hit okay. So now we have our our setup Kind of baseline for creating our mounting plate So the next thing we need to do to wrap this up is really to you see how I'm clicking around and you can These are entities inside your profile inside your sketch and these can be used to extrude things extrude shapes But we actually don't want these lines to be regular lines We want to turn them into construction lines so that they don't intersect Our shapes because right now like if I want to select a circle, I'd have to select Both of these entities here by holding down shift So to clean that up we can double click on any one of these lines and it'll select the whole rectangle And now you can do is you can hit the X key on your keyboard, which is the hot key for Construction line you can turn any line into a construction line and any construction line back into a regular line But just hitting the X key once it's selected So now I have these two lines here that I also want to turn into construction lines I held down shift to select both of them And they hit the X key and then bam There's also a line type here options in their sketch palette And that's the construction line can turn it off or on toggle on or off So there you go So now you can see that there's nothing I can't select anything in here because that's what we want You can only select these circles, which is the behavior that we want Excellent. So then to kind of create the plate We'll use another rectangle and then I'll draw the rectangle kind of encompassing all this stuff inside So I'll start somewhere over here and somewhere over here And I don't want it to be I don't I didn't add any dimensions because I want this to be Kind of parametric the the only hard-quoted Dimensions that I have here is the holes because those are Relative to the hardware. They're not going to change the plate will change So what I need to do is I need to create some Dimensions that will define some distance between these these construction lines So I can hold down shift select these two lines Create a Dimension by hitting the D key on my keyboard now. I can say let's say I want this to be five millimeters Okay, now I can do that to the other side here. So I can say this right here should be five millimeters away from this one Cool. So I got that set up excellent So now the only thing I need to change is is to make this corner kind of be the same But instead of adding five here and then five here again I can just create some construction lines that will create a A midpoint constraint connecting these two lines together or these two lines Yeah, connecting these two together with a line in between them two So pretty much kind of how we we built this construction line that creates a midpoint constraints We're gonna do the same But to these two edges here. So here's what I'll do I want to create a line That will connect to the middle of this So I can roll over this line and I get my midpoint constraint So click there and then I'll roll over this line and do kind of similar and then click that So now those two are connected and and then all I have to do to kind of shift this into place Is to tell this line to be horizontally or vertically constraint This is going to be a vertically constraint one. So pull up the S key I have this in my in my my shortcuts. So I'll just click that and it squares it out Sweet. So now we just need to do it to either this side or this side I'm gonna do it to this side because it seems a little bit cleaner So again bring my line tool roll over Get that triangle click do the same to this line roll over get the triangle click You can see that they're there and now I only need to just click on that line and then say hey You need to be horizontally constrained or vertically constrained And there it is. So now we have So now this edge over here, let me move this this right here These two lines now have five millimeters You can see the distance there and then same thing here five millimeters away Well, why is that was because we created these lines that have those two constraints They're horizontally constrained and yet they still have midpoint constraints across this too And that's what allows this thing to be squared around all the edges So now I can select these and do some construction line work here and then just making construction lines sweet, sweet, so that helps you just use the least amount of sketch dimensions It kind of it kind of optimizes a bit so you don't have so many of them all over the place So now you have this whole set this whole rectangle you can move it around and what I like to do Is I like to add this to the center Sketch origin and that locks it in the place and now everything in the center is perfect And I can use mirrors and things if I if I need them So now I want to build the slot like the extra piece I don't I could use another rectangle, but then I would have like too many lines Like I don't need that extra line. So I'm just gonna use the line tool to create this This kind of rectangle. I'm just gonna free form it out See this right here Want to make that a Perpendicular constraint and then right here cool So now I have this this piece here now. I don't have a dimension yet So I'm gonna draw my slot and use a rectangle to draw the slot I'm just gonna kind of play around so right here. It looks good again. No dimensions yet I do want to add a dimension to these two lines here this right here I'm gonna make this the diameter or rather the m-holes So it'll have that same diameter and then I will add some sketch constraints to tell these two Edges here to be perpendicular or rather not perpendicular. It's just to have some distance between them So I'll do three and then also do this side here. So from here to here will also be three And then why not do this right here as well this and that are also three Sweet now this can move around this this is as I move it around you can see that okay These two lines are always gonna be three millimeters away from each other It's same thing with these two lines and these two over here cool. Now. How do I apply a? Parametric like where should I apply it to well? It's up to you You can either apply it to this piece or the actual line here that creates the slot So I'm gonna apply it to the actual slot with it selected I'll hit the D key and then here I'll put in the slot length Because it's a user parameter you have set up so you see it switched back to it got shrunk down because that's the number that we Have and now we can go inside of our user parameters and update this as we want so You both 60 80 and it's gonna keep updating it Now it's it's taking a little bit for fusion because like I already have a design in the background That's driving that so that is actually updating so if I pull up my body to see that oh it's actually changing that Maybe I could have used a different one I could let me go back to the user parameters window create a new parameter call it new length And then put 50 in it hit okay Now that I have that I can hit okay, and then let's update this sketch dimension Let's change that slot length to a new length, and then that's how you can change that out pretty simple All right, so that's pretty much how I crafted this This this plate now we can like extrude these two right and give it that thickness use a parameter that we set up and Show the bodies because I'm hiding them and there we go. There's our plate That's it's very very simple. You can add fillets and all that stuff is which what I did, but hey look at that We can change this now 60 and that changes super easy And it's really helpful especially when you want to translate the design to different mediums or just have different sized stock so That's how I got this driven so with a little bit of extra detail and stuff You can apply a second one a second rail and you can offset a little bit here with these kind of fun angles I have these models available to download if folks want to get the cyberdeck model I have it linked in that learn guide and also the pi tft as well So there you go That's one of the one of the ways to use user parameters to create these kind of scalable mounting plates I hope you guys learned something. Let me know what you think until next one until the next one Remember to make a coincidence day. Bye folks