& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Transcript
00:02
In this video, we'll export NC code.
00:05
After completing this step, you'll be able to generate NC code and create an NC program.
00:12
In Fusion 360, we want to carry on with our CAD CAM Milling dataset 1 verify. And our CAD CAM Lathe dataset 1 verify.
00:20
At this point we want to talk about getting all the work that we've done out of fusion and into G code so a machine can read it.
00:27
We're going to focus on this process for our milling part. But the process is the same for our Lathe part as well.
00:33
The first thing that I'm going to do is minimize the models folder as well as my named views and for right now I'm going to focus on Op 1 and Op 2.
00:42
Whenever we're generating code. We can do this in two different ways in Fusion 360.
00:47
We can go to actions to select post process which can also be found in our right click menu or we can create what's called an NC program.
00:56
When we go to our setup drop down. We have create NC program.
00:60
This allows us to create an NC program based on the capabilities of our machine and the operations that we want to export.
01:08
In this case we want to make sure that we pick the correct machine,
01:12
and we set all the settings that are required for our specific machine as well as the operations that we want a machine.
01:19
At this point we're going to use the name number at
01:26
I want to note that as we go down, we have the option to open the file in an editor. So we're going to go ahead and check that.
01:32
And also note that you can post it directly to fusion teams,
01:36
that will allow you to save a local copy of the NC file as well as one inside of your data panel.
01:42
Next our post configuration, we can determine where this is going to come from.
01:46
Our system, personal in the cloud, personal local or we can browse for other post configurations.
01:53
We're going to use systems, so that way everybody has the same access to these same posts.
01:58
But also note there's a hyperlink where you can search for posts on our auto desk HSM post library.
02:04
I'm going to go to capabilities and select milling.
02:07
This changes my post properties on the right hand side and also limits me to looking at only milling post processors.
02:14
We're going to scroll down until we get to Haas automation.
02:19
Once we find Haas automation, this is now going to limit us a bit further.
02:24
Only the posts that are available under the Haas automation, milling will be viewed.
02:28
Inside of here, there are many different types of hospice processors that are already loaded into the system.
02:34
We have a pre NGC or Pre Next gen controller.
02:37
We have some Next gen controller posts that include things like inspect surface,
02:42
and we have this one here that's called Haas Next gen we're going to go ahead and select this one here.
02:48
Note on the right hand side in group one it says has A, B and C axis rotary.
02:54
These are all going to be no since we're dealing with a three axis machine.
02:58
But note that because it's specific to the haas Next gen controller, it also shows things like our dynamic work offset and TCPC programming.
03:07
That's tool centerpoint control and it's available on Haas Next gen controllers.
03:13
We can also scroll down in this list and activate any additional options that we might want.
03:18
For example, we have default coolant pressure. We can also set it too low, normal or high if that's available in your machine.
03:25
Whether or not you want to use a chip transport at the start of your program,
03:29
and a couple other options as we scroll down that will be applicable to the post that you selected.
03:35
As we go through here, the last thing that I want to set is this option called show notes.
03:42
Next we want to go to our operations.
03:44
NC program is helpful because it allows us to select multiple setups and multiple operations,
03:50
if we wanted to machine the top and the bottom of this part at the same time.
03:54
This is obviously not possible on a single part but if you were machining multiple parts,
03:59
you could have two setups inside the machine and go through and save on tool changes machining both at the same time,
04:06
ours are set up with the same work offsets so this is not going to work but we can select okay,
04:12
instead of post and we can go back and make changes to the setup.
04:16
In Op 1 we're going to right click and select edit. Go to post process and we're going to set our WCS offset to 1.
04:24
Then in Op 2 we're going to right click and edit.
04:28
Going to go to our post process and we're going to set our WCS offset to 2 which will represent G-55 in our Haas controller.
04:36
Notice now are an NC program says it's out of date,
04:39
when we go in and edit notice that the work offset is 1 for certain operations and then we have 2 for a couple more and it goes back to 1.
04:48
This is because reorder to minimize tool changes is turned on.
04:53
If we deselect that it will order them based on the operations as we define them.
04:58
So this can be handy, especially if you want to spend time using the same tool without tool changes in machine various areas of multiple parts.
05:06
I'm going to select reorder and once again select okay.
05:11
Once you're ready to post we can right click and select the option to post process.
05:16
It's giving us a prompt telling us that we're using multiple setups with different WCS',
05:21
and it has to be customized to handle that in our case we're going to say okay.
05:25
And I'm going to overrate 1001.nc. That saved in my local temp folder.
05:31
This is going to open up for me in visual studio code.
05:35
If you haven't defined any text editors or any NC editors inside of your Fusion 360 environment,
05:42
then it's going to open up in either a notepad or visual studio code similar for you as well.
05:48
As we're inside of here, you'll note that we have our program,
05:51
we have our comment for the program and then we have information about things like the tools as we get into our different operations.
05:59
When we get started you can see we're referencing G-54 or that WCS offset of one.
06:05
If we use control f to look for another reference. We can search for G-54.
06:12
This is going to bring us to our 2D adaptive which is in our second set up or are Op 2.
06:17
We can look for the next one if there's another reference to it. Or we can go back and we can take a look at all of the G-54 references.
06:25
You can see here there are five different G-54 references, the 2D contours, the drilling,
06:31
the tapping and then ultimately it goes back to the original facing.
06:36
One great thing about these NC programs again is that we can go in and determine whether or not we want to post everything,
06:43
and even with inside of Op 1, we can determine if we want to have our drilling operations or if we need to save that at a later time.
06:51
We could also use this to exclude certain operations based on tool availability or order of operations.
06:59
I'm going to leave all of Op 1 inside of here and I'm going to select okay.
07:03
And then I want to save the CAD CAM Milling dataset before moving on to our CAD CAM Lathe dataset.
07:09
Once again, the process is exactly the same. We're going to go into setup and create an NC program.
07:15
This time we're using the program number 6001 with CAD CAM turning 1 and this time instead of milling or looking at turning.
07:23
Once again, we're going to go to Haas automation but you can take a look at any post processors that you might be using.
07:30
Once we find Haas we're going to search for a specific machine in this case an ST10.
07:36
Once we figured out which machine we're using, we can configure any post properties that are necessary.
07:41
For example, if you're using an air clean chucks, if you have a chip conveyor or if you're using a secondary spindle or C axis.
07:51
Once we define all of our post properties, we can go into operations and we can take a look at everything that's being posted.
07:57
From here, we can select okay. Or we can post the code. If I right click, I can also post process from here and view the code.
08:06
Once again it looks very similar with our program name and number at the top. We have our comment and then we get into our operations.
08:13
We have facing we have profile roughing, profile finishing and as we go down the list,
08:19
you can see that we end up with multiple operations our single groove, our drilling or tapping, our boring.
08:25
All these different operations happen exactly as they were defined inside of our CNC program.
08:32
As we're looking through the code. It's always important to validate the outputs based on your specific machine.
08:39
For example, you want to check your values for Z movements and for X movements to make sure they're within the range of your machine,
08:46
and to make sure that they are as expected
08:49
for our part, we're going to go ahead and make sure that everything is saved and then we can move on to the next step.
00:02
In this video, we'll export NC code.
00:05
After completing this step, you'll be able to generate NC code and create an NC program.
00:12
In Fusion 360, we want to carry on with our CAD CAM Milling dataset 1 verify. And our CAD CAM Lathe dataset 1 verify.
00:20
At this point we want to talk about getting all the work that we've done out of fusion and into G code so a machine can read it.
00:27
We're going to focus on this process for our milling part. But the process is the same for our Lathe part as well.
00:33
The first thing that I'm going to do is minimize the models folder as well as my named views and for right now I'm going to focus on Op 1 and Op 2.
00:42
Whenever we're generating code. We can do this in two different ways in Fusion 360.
00:47
We can go to actions to select post process which can also be found in our right click menu or we can create what's called an NC program.
00:56
When we go to our setup drop down. We have create NC program.
00:60
This allows us to create an NC program based on the capabilities of our machine and the operations that we want to export.
01:08
In this case we want to make sure that we pick the correct machine,
01:12
and we set all the settings that are required for our specific machine as well as the operations that we want a machine.
01:19
At this point we're going to use the name number at
01:26
I want to note that as we go down, we have the option to open the file in an editor. So we're going to go ahead and check that.
01:32
And also note that you can post it directly to fusion teams,
01:36
that will allow you to save a local copy of the NC file as well as one inside of your data panel.
01:42
Next our post configuration, we can determine where this is going to come from.
01:46
Our system, personal in the cloud, personal local or we can browse for other post configurations.
01:53
We're going to use systems, so that way everybody has the same access to these same posts.
01:58
But also note there's a hyperlink where you can search for posts on our auto desk HSM post library.
02:04
I'm going to go to capabilities and select milling.
02:07
This changes my post properties on the right hand side and also limits me to looking at only milling post processors.
02:14
We're going to scroll down until we get to Haas automation.
02:19
Once we find Haas automation, this is now going to limit us a bit further.
02:24
Only the posts that are available under the Haas automation, milling will be viewed.
02:28
Inside of here, there are many different types of hospice processors that are already loaded into the system.
02:34
We have a pre NGC or Pre Next gen controller.
02:37
We have some Next gen controller posts that include things like inspect surface,
02:42
and we have this one here that's called Haas Next gen we're going to go ahead and select this one here.
02:48
Note on the right hand side in group one it says has A, B and C axis rotary.
02:54
These are all going to be no since we're dealing with a three axis machine.
02:58
But note that because it's specific to the haas Next gen controller, it also shows things like our dynamic work offset and TCPC programming.
03:07
That's tool centerpoint control and it's available on Haas Next gen controllers.
03:13
We can also scroll down in this list and activate any additional options that we might want.
03:18
For example, we have default coolant pressure. We can also set it too low, normal or high if that's available in your machine.
03:25
Whether or not you want to use a chip transport at the start of your program,
03:29
and a couple other options as we scroll down that will be applicable to the post that you selected.
03:35
As we go through here, the last thing that I want to set is this option called show notes.
03:42
Next we want to go to our operations.
03:44
NC program is helpful because it allows us to select multiple setups and multiple operations,
03:50
if we wanted to machine the top and the bottom of this part at the same time.
03:54
This is obviously not possible on a single part but if you were machining multiple parts,
03:59
you could have two setups inside the machine and go through and save on tool changes machining both at the same time,
04:06
ours are set up with the same work offsets so this is not going to work but we can select okay,
04:12
instead of post and we can go back and make changes to the setup.
04:16
In Op 1 we're going to right click and select edit. Go to post process and we're going to set our WCS offset to 1.
04:24
Then in Op 2 we're going to right click and edit.
04:28
Going to go to our post process and we're going to set our WCS offset to 2 which will represent G-55 in our Haas controller.
04:36
Notice now are an NC program says it's out of date,
04:39
when we go in and edit notice that the work offset is 1 for certain operations and then we have 2 for a couple more and it goes back to 1.
04:48
This is because reorder to minimize tool changes is turned on.
04:53
If we deselect that it will order them based on the operations as we define them.
04:58
So this can be handy, especially if you want to spend time using the same tool without tool changes in machine various areas of multiple parts.
05:06
I'm going to select reorder and once again select okay.
05:11
Once you're ready to post we can right click and select the option to post process.
05:16
It's giving us a prompt telling us that we're using multiple setups with different WCS',
05:21
and it has to be customized to handle that in our case we're going to say okay.
05:25
And I'm going to overrate 1001.nc. That saved in my local temp folder.
05:31
This is going to open up for me in visual studio code.
05:35
If you haven't defined any text editors or any NC editors inside of your Fusion 360 environment,
05:42
then it's going to open up in either a notepad or visual studio code similar for you as well.
05:48
As we're inside of here, you'll note that we have our program,
05:51
we have our comment for the program and then we have information about things like the tools as we get into our different operations.
05:59
When we get started you can see we're referencing G-54 or that WCS offset of one.
06:05
If we use control f to look for another reference. We can search for G-54.
06:12
This is going to bring us to our 2D adaptive which is in our second set up or are Op 2.
06:17
We can look for the next one if there's another reference to it. Or we can go back and we can take a look at all of the G-54 references.
06:25
You can see here there are five different G-54 references, the 2D contours, the drilling,
06:31
the tapping and then ultimately it goes back to the original facing.
06:36
One great thing about these NC programs again is that we can go in and determine whether or not we want to post everything,
06:43
and even with inside of Op 1, we can determine if we want to have our drilling operations or if we need to save that at a later time.
06:51
We could also use this to exclude certain operations based on tool availability or order of operations.
06:59
I'm going to leave all of Op 1 inside of here and I'm going to select okay.
07:03
And then I want to save the CAD CAM Milling dataset before moving on to our CAD CAM Lathe dataset.
07:09
Once again, the process is exactly the same. We're going to go into setup and create an NC program.
07:15
This time we're using the program number 6001 with CAD CAM turning 1 and this time instead of milling or looking at turning.
07:23
Once again, we're going to go to Haas automation but you can take a look at any post processors that you might be using.
07:30
Once we find Haas we're going to search for a specific machine in this case an ST10.
07:36
Once we figured out which machine we're using, we can configure any post properties that are necessary.
07:41
For example, if you're using an air clean chucks, if you have a chip conveyor or if you're using a secondary spindle or C axis.
07:51
Once we define all of our post properties, we can go into operations and we can take a look at everything that's being posted.
07:57
From here, we can select okay. Or we can post the code. If I right click, I can also post process from here and view the code.
08:06
Once again it looks very similar with our program name and number at the top. We have our comment and then we get into our operations.
08:13
We have facing we have profile roughing, profile finishing and as we go down the list,
08:19
you can see that we end up with multiple operations our single groove, our drilling or tapping, our boring.
08:25
All these different operations happen exactly as they were defined inside of our CNC program.
08:32
As we're looking through the code. It's always important to validate the outputs based on your specific machine.
08:39
For example, you want to check your values for Z movements and for X movements to make sure they're within the range of your machine,
08:46
and to make sure that they are as expected
08:49
for our part, we're going to go ahead and make sure that everything is saved and then we can move on to the next step.
Step-by-step guide