- [Instructor] Magnetic mates are just plain awesome.
But before we can start using magnetic mates
we need to use the asset publisher
to create the connection points between them.
To get started, let's go up here under tools
and come down here to asset publisher.
Now we already have a part open up
that we want to create magnetic mates on,
and so now we're going to use asset publisher
to define the ground plane
and then create the connection points.
All right, so the first thing is the ground plane.
I want to spin my model around,
and I'm going to choose the bottom of that part right there
and notice the arrow is facing down.
So I'm going to have that,
so it's going to go and mate downward, that's what we want.
If you wanted to, you could put a spacing here
which is a distance off of the ground plane
but in this case here, we don't want to do that,
we just want to make it all the way down to the ground plane.
And then here's our connecting points.
So I need to establish a connector,
so the first thing I want to do is my connection point.
I'm going to go ahead and choose this little line right here
as my connection point,
and as far as my connection direction choose that face.
And then to click on ad connector
and notice it gives the very first connector there.
And let's do exactly the same thing
over on this other side here.
So right in this box here, I'm going to choose this line.
And then inside this box here
I'm going to choose that and say add connector.
So here are my two connectors,
and if you need to modify them,
you can of course click in here and delete them
or change them around as needed.
Once you have those two things done, click on OK,
and now we are ready to go.
Now, the next thing I need to do
is I need to go into my assembly
and create a ground plane on that assembly as well.
So right over here, if you click on window,
I also have another part opened up which is 12.7.1
click on that one there.
And that is the piece that will be the bottom,
everything's going to be connected to that
but I need to establish the ground plane
in assembly not in a part.
So let's go ahead and create an assembly from this,
over here to file, make assembly from part,
bring that part in.
All right, now we have an assembly
let's go ahead and create a reference ground plane.
So a couple different ways you can do this.
One of them is go to insert,
come down here to reference geometry
and then come down here to ground plane.
And the ground plane is going to be this top surface right here
and notice it's going straight up with the arrow.
We could flip it if you wanted to
but we want that to be facing up
and then go ahead and click on OK.
Now once you have that ground plane established
in this assembly, then we can go ahead
and bring in other component.
So going to click on tile horizontally.
Here's my component,
let's go ahead and just drag that into the assembly.
Let's just drag one in for right now
and notice as soon as I bring this component in
it automatically snaps down to the ground plane.
So we've already created that first assembly mate
just because of that ground plane.
It's always going to snap down to the ground plane.
Now, if you want to make multiple copies of your part,
just hold on Control and drag out a copy of it.
Let's go ahead and place a couple of these out here
and notice those magnetic mates are active,
so as soon as you move a component close to another one
those little pink or purple dots become active
and the lines that will show
what's going to connect to what will be active as well.
So again, if you want to make another copy
just hold down, Control, drag out another copy of it.
This component here
actually has a couple of configurations in it,
so if you click on the component itself,
I can switch from the 90 degree
to the zero U-turn component
or I can even click on that again
and switch over here to the 120 degree version of it.
And then of course I can snap that together
with any other other components
to create those magnetic mates.
So that's how you can use the asset publisher
to go ahead and create a ground plane,
create those connection points,
then add that ground plane to the assembly
you're trying to work in,
and finally bringing your components and snap them together
using magnetic mates.