 Hey, what's up, folks? Welcome back to another layer by layer. In today's tutorial, we're going to take a look at generating components for PCBs. So in some of the latest versions of Fusion 360, they've added some new templates for generating parts for your PCBs. So recently, I made a Raspberry Pi bonnet, and I needed to create a part for the GPIO header. So Raspberry Pi has that 2 by 20 GPIO header, and I needed to make an SMT version, a surface-mounted version of it. So this is a part that was automatically generated in Fusion 360 using the electronics tools. So real quick, this is the GPIO header that we'll be making. It's a surface mount, of course, and it's for the Raspberry Pi. It's a short header, so you've got a really nice low profile when you're building Raspberry Pi projects with these. And they're in several of Adafruit's bonnets. Here's another one that I used. This is the Adafruit 1.3 inch TFT bonnet. It's got a couple of buttons, a joystick, a display, and of course that 2 by 20 surface-mounted header. So let's go ahead and figure out how to build one in Fusion. So it's in the latest version of Fusion. Just check your updates if you need an update. It should be around here, but we should be good, right? So let's go ahead and click on File up here and your want to do is click on New Electronics Library. So let's click on that. And then from here, we want to click on this button called Create New Package. So this will bring us into a new tab and now we have our package generator. So there's a lot of new components here, a lot of new templates to play around with. So definitely check those out. They all have their own set of variables of things. So let me scroll down here and look for the SMT, the surface mount, receptacle header, female straight. So there's a couple of different ones here. There's a male version and this one here is really nice. So let's go ahead and click on that one. And here are all of the options. So you have the option to do a single or a double row. Ours is a 2 by 20, so let's stick with double row. Number of columns is going to be 20. And then we have some options if we want to use Eagle Cads integration to do like pin numbering for our silk screen. You can play around with those if you'd like. I'm going to leave it by default. And the pad shape, you can also change that too. That's again for making footprints for PCBs themselves. We're making a 3D model, so I'm not going to worry about that. But all of these labels here have a nice description and a visual cue that are all labeled here. So you can just kind of reference that. And our spacing here for this one is 2.5 millimeters, which turns out to be 0.1, 0.1 inch. That's 2.5 millimeters. So I just did a quick conversion there. And now we have a couple of things we want to change. Namely, label D, which is really the length of our header. It's right now, it's set to 12, which is a default value, but that won't work. So what we need to do is do a little bit of math. So we'll take our columns, that's 20, and we'll multiply that by our pitch, right? Our pin spacing. So that would be 2.54. And that gives us a number of 50.8. So that's what we need to enter. So 50.8 will be our length, 50.8. And then let's do that for the minimum and the maximum here. So let's go ahead and 50.8. And that's really it. That's all you need to do. If you just want the 3D model, that's really it. We don't need to play around with any of the other kind of labels here, the width of it is fine because we have two rows, so we don't have to worry about that. But the length is really the one we wanted to play with. If you wanted to change the height and you want to make it a little bit bigger, you can change that as well. But it's set by default here, so you can leave that alone. And there's some more stuff here in the footprint. If you do want to make a footprint for your PCB silkscreen, that's how you would be able to do that. We don't need to play around that if you just want the 3D model. So with that, let's go ahead and hit add. If you're just gonna go ahead and generate that for us, hopefully we did the right numbers. And there it is. You get our, you can always go back and modify it. So if you click on this again, it will just bring that up. And then there's an update button. You hit cancel. And if you close this out, you have the timeline here. So if you are capturing your timeline, you can double click on that feature in the timeline and it'll bring up our panel with all the values that were in here and we can update it if we got the length wrong or something. So let's go ahead and do that. So it was default by 12. Let's see what happens when we update it. It says error, we can't do it because it's just not matching. So maybe in future updates, future will be nice if this automatically updated per the columns, but it's just how it is right now. So let's put it back to 5.8. I'll go ahead and copy that value and paste it in. So a little bit easier, hit update. Well, we didn't really have to do anything. I gotta just hit cancel. And here it is. So here's the structure of it. We have a sketches folder where you have these sketches here and therefore equal CAD if you want to do some silk screen stuff and footprints for the part. I'm not gonna be doing that. I just want the 3D model. So I like that there is a model component here and then from here you have your own sketches and you can modify those if you want, but you don't need to. Here's all the bodies and things. There's some construction planes as well. We don't need to play with those, but just knowing what the structure of your part is like kind of helps, right? But that's all the things we need. You can change the colors around by opening the appearance panel. The appearance panel can be brought up with the hot key A on your keyboard, A for Apple. Then you can edit the colors and say I want a blue. I've never seen this like a purple header. That'd be really cool, right? Well, we can do that here in Fusion and you can change the material for the metal and all that stuff, but we don't really do that. I'm just showing you that you can customize it even more. From here, there's a thing here that says finish. That's just a part of if you wanted to make this an actual piece of electronics design, you can hit finish. But from here, if you just wanted an STL or save it out, you can right click on the component. Here it's called model and you can hit export if you want to bring out and save it locally to your computer. That's probably what folks are going to want to do. So make sure shaved computer is active and then you can use this button here to select a folder in your local drive or your Dropbox or wherever else. Down here in your file type, you can change the file type from Fusion 360 to something like a step file, which is more universal. You can name it or you can save it in the cloud to one of your component folders if you like that. If you want to make an STL out of it, you would want to hit cancel, go back into that, right click in the browser and then hit save as a mesh. Save it as a mesh, you have the option to make it an STL or a 3MF or even an OBJ. So depending on what you want to do, you can export it in different file formats as a mesh and that's really cool. But yeah, so that is pretty much the tip. There are lots of new templates and yeah, templates for parts. I really like using the, when I need to use it, the QFN one is so useful. There's a TSOP, there's so many different ones and Fusion doing a great job of adding new ones with their updates. So if you didn't know about it, definitely try it out if you're looking for these type of parts. That's gonna do it for this tutorial. Don't forget, you can go to Adafruit's CAD parts on GitHub and download all the different parts that we have available. So let us know if you have any part requests, you can go down to the issues tab and add your parts. I've been going through there and adding some new parts. We got a nice slew of them this week, so check those out if you wanna make some new projects with these parts. Thanks so much for watching, folks. I'll see you in the next one, but until then, remember to make a great day. Bye, folks.