In this tutorial, you will learn how to machine the part shown above using the following procedures:
Creating a Setup
2D Contouring
Pocket Machining
Drilling
Tapping
Counterboring
Countersinking
Chamfering
Post Processing
Before proceeding, please open the part Tutorial2.ipt in Inventor HSM.
Note: The files used in these tutorials, as well as other sample datasets, can be found in
theC:\Users\Public\Documents\Autodesk\Inventor HSM 2016\Examples subfolder.
Topics in this section
Job panel
Setup
2. You can also right-click on Tutorial2.ipt Operation(s) at the top of the CAM Browser and select New
Setup... from the pop-up context menu.
The Setup operations dialog box appears with the Setup tab active
1. In the Work Coordinate System (WCS) group, select Stock box point from the Origin: drop-down
menu.
2. Click the Stock point button and select the point (represented by a black dot) at the lower left corner on
the top face of the stock. Alternatively, you can also select Top corner 1 from the Bounding box
point: drop-down menu.
The WCS is now re-oriented at the lower left of the top face of the stock
3. Finally, click
at the bottom of the Setup dialog box, or right-click in the graphics window
and select OKfrom the marking menu, to exit the setup procedure.
Continue to To Contour the Part...
Tool tab
1. On the Tool tab, click the
2. From the Sample Libraries > Tutorial tool library, select tool #3 - 10 mm flat.
3. Click
Geometry tab
To machine around the outside outline of the part, select a chain of edges from the model.
1. Click the Geometry tab. The Contour selections button should be active.
2. Select the bottom front edge on the model. Notice that Inventor HSM automatically creates a chain
around the part.
3. If the direction arrow does not appear as shown, click the arrow to reverse the toolpath direction.
Tip: By clicking closer to the desired start of an edge you can determine the direction of the contour.
For climb milling, click close to the bottom right side of the edge.
You can machine the indent around the top of the part in the same operation.
4. Zoom in on the top right corner of the part
5. Select the edge inside the indent.
Heights tab
By default, the heights for the 2D Contour operation are set so that the bottom of the toolpath is at the
level of the selected contours. The remaining heights depend on the stock and model geometry.
If you view the part from the side, it should look like this:
The default height values are fine in this example, and they need not be changed.
2D Milling panel
2D Pocket
Tool tab
This operation uses a 10 mm bull nosed mill tool with a 1 mm corner radius to match the fillet radius at the
bottom of the pocket.
1. On the Tool tab, click the
button.
2. From the Sample Libraries > Tutorial tool library, select tool #11 - 10 R1 mm bullnose.
3. Click
Geometry tab
Now select the contour of pocket to be cleared.
1. Click the Geometry tab. Make sure that the Pocket selections button is active.
2. Select the face (or one of the edges) at the bottom of the pocket.
The selection should now look like this:
Heights tab
The parameters in this group control the different heights where toolpaths are generated. In this example,
we want the 2D pocket operation to machine down to the bottom of the inside cut.
1. Click the Heights tab.
2. Set the Clearance height offset to: 15 mm
3. Set the Retract height offset to: 10 mm
4. Set the Feed height offset to: 8 mm
Passes tab
This group controls how the 2D pocket toolpath is calculated. To clear out the pocket, a toolpath is
generated in a number of Z levels, starting from the top of the stock and going down in steps of 2 mm to
the bottom of the pocket. The depth of the pocket is 25 mm.
Change the following parameter values, and leave all others at their defaults.
1. Click the Passes tab.
8
Linking tab
Assuming that this part is made of a soft material where we can do full width cuts, we can avoid some
ramping by allowing the tool to stay down inside the pocket.
1. Click the Linking tab.
2. Enable the Keep tool down check box.
3. Change Maximum stay-down distance to: 250 mm.
Leads & Transitions
Leave all settings in this group unchanged. We will use a Helix ramp type for plunge to material with the
default settings from the program.
Drilling panel
Drill
Tool tab
1. On the Tool tab, click the
button.
2. From the Sample Libraries > Tutorial tool library, select tool #34 - 4.3 mm drill.
3. Click
Geometry tab
1. Click the Geometry tab. Ensure that Selected faces is selected from the Hole mode: drop-down menu
and that the Hole faces selection button is active.
2. Select the cylindrical face of one of the three 4 mm holes.
10
Important: If Select same diameter is disabled (grayed out), you have most likely selected the edge of
the cylinder instead of the face. Be sure to select cylindrical faces to use this feature. Selecting faces
instead of edges has the added benefit in that the depth of each hole is automatically determined from the
height of the cylinder.
Depending on the selection, you may want to activate the Optimize order check box. The optimization
reorders the holes to make the linking distance as short as possible.
Activating the Order by depth check box keeps holes with the same depth and plane together. Doing so
may reduce the number of cycles in the output, but may not result in the shortest toolpath, even
if Optimize order is enabled.
Heights tab
For a drilling operation, the Heights tab controls the heights of each hole, and the heights used when
moving between the holes. Because the holes are chamfered, the actual cylinders start a bit lower. This
can be adjusted by making the top start from the top of stock instead.
1. Click the Heights tab.
2. From the Top Height drop-down menu, select Stock top.
Note: Having selected cylinders for the holes, all heights are relative to the top of the cylinder, and the
depth is relative to the bottom. And, as mentioned previously, this allows you to avoid entering the depths
of the holes manually. If edges had been selected (which do not have a height), depth would have to be
entered manually.
Cycle tab
1. Click the Cycle tab.
2. Select Chip breaking - partial retract from the Cycle type: drop-down menu.
3. Change Pecking depth to: 2.5 mm
11
Tip: Drilling toolpaths are often best displayed on a wireframe model. To obtain a wireframe view, on the
ribbon, click View tab
Appearance panel
Wireframe
Tool tab
Select a new tapping tool.
1. On the Tool tab, click the
2. From the Sample Libraries > Tutorial library, select tool #43 - 5 x 1 mm 0 right tap.
3. Click
Heights tab
To avoid breaking the tap, reduce the depth so it is less than the drilled depth.
1. In the Bottom Height group, change Bottom offset to: 2.0 mm
This reduces the depth by 2 mm.
Cycle tab
Next, change the drilling cycle to a tapping cycle.
1. Click the Cycle tab and select Tapping from the Cycle type: drop-down menu.
12
Drilling panel
Drill
Tool tab
1. On the Tool tab, click the
button.
2. From the Sample Libraries > Tutorial tool library, select tool #33 - 4.5 mm drill.
3. Click
Geometry tab
1. Click the Geometry tab. Ensure that Selected faces is selected from the Hole mode: drop-down menu
and that the Hole faces selection button is active.
2. Select the lower cylindrical face of the last hole.
Heights tab
Because this hole is counterbored, the cylinder starts a bit lower. Adjust for this by making the top start
from the top of stock instead.
13
Cycle tab
1. Click the Cycle tab and select Chip breaking - partial retract from the Cycle type: drop-down menu.
2D Milling panel
2D Pocket
Tool tab
For this pocket, a flat tool with a diameter less than 4.5 mm is required to plunge into the pre-drilled hole.
1. On the Tool tab, click the
2. From the Sample Libraries > Tutorial tool library, select tool #5 - 4 mm flat.
3. Click
Geometry tab
1. Click the Geometry tab. Make sure that the Pocket selections button is active.
2. Select the edge at the bottom of the counterbore.
14
Passes tab
On the Passes tab, change the following parameter values and leave all others at their defaults.
1. Set the Maximum stepover to: 0.5 mm
2. Disable the Stock to Leave check box.
Linking tab
To make sure that the tool plunges at the center of the hole, disable the lead-in.
1. Click the Linking tab.
2. Expand the Leads & Transitions group and disable the Lead-in (entry) check box.
Now, adjust the lead-out slightly to obtain a smoother exit.
3. Set the Linear lead-out distance to: 0.0 mm
4. Set the Horizontal lead-out radius to: 1.0 mm
Finally, make the tool plunge into the pre-drilled hole.
5. Expand the Ramp group, and select Plunge from the Ramp type: drop-down menu.
Drilling panel
Drill
Tool tab
1. On the Tool tab, click the
button.
2. From the Sample Libraries > Tutorial library, select tool #60 - 10 mm 90 countersink
3. Click
Geometry tab
1. Enable the Select same diameter check box.
2. Select the countersunk face of one of the holes.
The countersunk faces of the other two holes are automatically selected since they are identical to the first
2D Milling panel
2D Contour
Tool tab
1. On the Tool tab, click the
2. From the Sample Libraries > Tutorial library, select tool #50 - 10 mm 45 chamfer.
3. Click
Geometry tab
Since the chamfer already exists as a model feature, there are two edges from which to choose for the
geometry - one at the top of the chamfer and one at the bottom. Inventor HSM allows either to be used,
but in most cases choosing the bottom edge allows for the easiest setting of parameters. However, in both
cases Inventor HSM automatically calculates the correct horizontal offset, and only the additional vertical
tip offset needs to be specified
1. Click the Geometry tab and select the edge at the bottom of the chamfer as the contour selection.
Passes tab
When a chamfer mill is selected as the tool, the Chamfer option is automatically enabled and displays
the Chamfer widthand Chamfer tip offset chamfering parameters.
Since an edge on the actual chamfer feature in the model was selected, it is not necessary to set
the Chamfer width. But to ensure that the tool tip is not coincident with the lower edge of the chamfer,
the Chamfer tip offset must be specified.
1. Click the Passes tab.
2. Set the Chamfer tip offset: to: 0.25 mm
1. Click
at the bottom of the Operation dialog box, or right-click in the graphics window
and select OK from the marking menu, to automatically start calculating the toolpath.
The toolpath should appear as shown in the following image:
This completes the toolpaths for this part. You can now simulate and post process the result.
Continue to To Post Process the Toolpaths...
4. Click the Play button on the Simulation player to playback the defined toolpaths.
18
5. When the simulation is complete, click the Close button in the Simulation dialog box, or right-click in
the graphics window and select Close from the marking menu.
6. Next, click CAM tab
Toolpath panel
Post Process
.
The Post Process dialog box is displayed.
Tip: As an alternative, you can also right-click on the Setup folder in the CAM Browser and select Post
Process (All)from the pop-up context menu.
7. Select heidenhain.cps - Generic Heidenhain from the Post Configuration drop-down menu.
8. Accept the default output folder or choose another.
9. Accept the default program name/number or provide another.
10. Start the post processor by clicking the Post button.
11. Click the Save button.
12. Because the Open NC file in editor check box is enabled by default in the Post Process dialog box,
the post processed file is automatically loaded into Inventor HSM Edit.
From the editor you can edit, inspect, and transfer your NC program to your CNC machine. The editor
provides a number of CNC code-specific functions including line numbering/renumbering, XYZ range
finder, and file comparison. The editor also features a DNC link for reliable RS-232 communications with a
variety of CNC controls.
Remember: You can also post process individual operations by right-clicking the operation in the CAM
Browser, and selecting Post Process from the pop-up context menu.
Congratulations! You have completed this tutorial.
19