TUTORIAL SERIES FOR VERSION 8 TUTORIAL 6 LATHE - 3D GEOMETRY; FACE, ROUGH AND FINISH; FACE CONTOUR; CROSS CONTOUR; C-AXIS CONTOUR; FACE DRILL; CROSS DRILL; CUTOFF TUTORIAL 6 Objectives: To design a 3 dimensional drawing by: Creating the 2D geometry in different construction planes at different construction depths. Using Xform, Translate to create the 3D wireframe To establish Job setup settings: Stock size. Tool offsets. Tool clearance. Material of the part. Feed calculation. To create a 2 dimensional lathe toolpaths consisting of: Face cutting the part. Rough machining the part. Finish machining the part. Cutoff the part. To create C-axis milling toolpaths consisting of: Face contour Cross contour C-axis contour Face drilling Cross drilling To check the toolpath using Mastercams Verify verification module by: Running the Verify function to machine the part on the screen. Page 6-1 TUTORIAL 6 Page 6-2 TUTORIAL 6 GEOMETRY CREATION STEP 1: CREATE THE 1 DIAMETER CYLINDER. Change the Construction plane and the Graphic view to Side. MAIN MENU Cplane Side Gview Side Select Cplane here MAIN MENU Create Arc Circ pt + dia [ Enter the diameter ] 2 Select Gview Origin here Press Esc to exit the command MAIN MENU Xform Translate Select the arc. Done Rectang [ Enter the translation vector ]: Z -1 Select OK button. Page 6-3 TUTORIAL 6 STEP 2: CREATE THE 3D WIREFRAME OF THE CONTOUR WITH FILLET RADII OF .375 . Change the construction depth to Z-1 Select Z from the secondary menu as shown in the following picture. Select Z here [ Select point for new construction depth ]: -1 Make sure that Autocursor is enabled. Right-mouse click in the middle of the screen. AutoCursor should have the check mark in front as shown in the following dialog box. Press Esc to exit the dialog box. Page 6-4 TUTORIAL 6 MAIN MENU Create Line Polar [Specify an endpoint]: Select the Endpoint of the arc as shown in the picture. [ Enter the angle in degrees ]: 35 [ Enter the line length ]: 2 [Specify an endpoint]: Select the same Endpoint of the arc as shown in the previous picture. [ Enter the angle in degrees ]: -35 [ Enter the line length ]: 2 [Specify an endpoint]: Select the Quadrant of the arc as shown in the picture. [ Enter the angle in degrees ]: 90-35 [ Enter the line length ]: 2 Page 6-5 TUTORIAL 6 MAIN MENU Create Arc Circ pt + dia [ Enter the diameter ] 4 Origin Press Esc to exit the command Using the toolbar located at the top of the screen, fit the drawing to the screen. Select MAIN MENU Entity C Create here Fillet Select Radius Entity A [Enter the fillet radius]: .375 here [ Select an entity ]: Select entity C [ Select an other entity ]: Select entity A Select [ Select an entity ]: Select entity A Entity B [ Select an other entity ]: Select entity B here [ Select an entity ]: Select entity B [ Select an other entity ]: Select entity D Select Entity D here MAIN MENU Delete Select the line as shown in the following picture. Delete this line Page 6-6 TUTORIAL 6 MAIN MENU Xform Rotate Chain Options Set the default chaining mode to Full Select the contour Select the contour as shown in the picture. here Done Done [ Enter the point to rotate about] Origin Page 6-7 TUTORIAL 6 Select OK button. Using the toolbar located at the top of the screen, fit the drawing to the screen. MAIN MENU Modify Trim 2 entities Select Entity B Select here Entity A here Select Entity C here Select Entity H here Select Entity D Select here Entity G here Select Select Entity F Entity E here here [ Select entity to trim ]: Select Entity A [ Select the entity to trim to]:Select Entity B [ Select entity to trim ]: Select Entity C [ Select the entity to trim to]:Select Entity D [ Select entity to trim ]: Select Entity E [ Select the entity to trim to]:Select Entity F [ Select entity to trim ]: Select Entity G [ Select the entity to trim to]:Select Entity H Page 6-8 TUTORIAL 6 MAIN MENU Select this Xform contour Translate Chain Select the contour as shown in the picture. Done Done Rectang [ Enter the translation vector]: Z-.5 Select OK button. Change the Graphic View to Isometric. The part should look as shown in the following picture. Page 6-9 TUTORIAL 6 STEP 3: CREATE THE 5.5 DIAMETER CYLINDER. Change the Gview and the Cplane back to Side. Change the construction depth to Z-1.5 as shown at pag 6-3 MAIN MENU Create Arc Polar Center pt [Enter the center point]: Origin [ Enter the radius]: 2.75 [ Enter the initial angle]: 0 [ Enter the final angle]: 90 Using the toolbar located at the top of the screen, fit the drawing to the screen. [Enter the center point]: Origin [ Enter the radius]: 2.625 [ Enter the initial angle]: 0 [ Enter the final angle]: 90 MAIN MENU Create Line Polar [Specify an endpoint]: Origin [ Enter the angle in degrees ]: 45 [ Enter the line length ]: 3 MAIN MENU Create Line Parallel Side/dist [ Select line]: Select the 45 deg. line [ Indicate the offset direction]: Select a point at the left side of the line [ Parallel line distance]: .125 Page 6-10 TUTORIAL 6 [ Select line]: Select the 45 deg. line [ Indicate the offset direction]: Select a point at the right side of the line [ Parallel line distance]: .125 Select Select MAIN MENU Entity A Entity B Modify Trim Divide [ Select curve to divide]:Select Entity A [ Select the first dividing curve]: Select Entity B [ Select the second dividing curve]: Select Entity C Select Entity C BACKUP 3 entities [ Select the first entity to trim ]: Select Entity A [ Select the second entity to trim ]: Select Entity B [ Select the entity to trim to ]: Select Entity C Select Entity A here Select Entity B Select here Entity C here Page 6-11 TUTORIAL 6 BACKUP 1 entities [ Select the first entity to trim ]: Select Entity A [ Select the entity to trim to ]: Select Entity B Select Entity B here Select Entity A Select here Entity D here Select Entity C here [ Select the first entity to trim ]: Select Entity C [ Select the entity to trim to ]: Select Entity D MAIN MENU Delete this Delete Entity Select the 45 deg line as shown in the following picture. Select this contour MAIN MENU Xform Rotate Chain Select the contour as shown in the picture. Done Done [ Enter the point to rotate about] Origin Page 6-12 TUTORIAL 6 Select OK button. Using the toolbar located at the top of the screen, fit the drawing to the screen. MAIN MENU Select the Xform contour Translate here Chain Select the contour as shown in the picture. Done Done Rectang [ Enter the translation vector]: Z-2 Select OK button. MAIN MENU Screen Clr colors Page 6-13 TUTORIAL 6 Change the Graphic View to Isometric and fit the geometry to the screen. The part should look as shown in the following picture. STEP 4: CREATE THE CENTER POINTS OF THE .25 DIAMETER HOLES. Change The Cplane and the Gview back to Side. MAIN MENU Create Point Next menu Bolt circle Radius [ Radius =]: 3.5/2 Incr angle [ Incremental angle =]: 90 Num of pts [ Number of points =]: 4 Do it Origin Press Esc to exit the command. For machining purpose you only need the center points. You can create the arcs following the next steps. Page 6-14 TUTORIAL 6 MAIN MENU Create Arc Circ pt + dia [ Enter the diameter ] .25 Select the points that you have just created to establish the center points of the arcs. Press Esc to exit the command. STEP 5: CREATE THE 3 POINTS AND THE 3D ARC THAT GOES THROUGH THE POINTS. MAIN MENU Create Point Position [ Specify a point]: 1,0,0 [ Specify a point]: 0,1,-.25 [ Specify a point]: -1,0,-.5 Change the Graphic View to Isometric and Cplane to 3D. MAIN MENU Create Arc 3 points [ Enter the first point ]: Select Point 1 [ Enter the second point ]: Select Point 2 [ Enter the third point ]: Select Point 3 Page 6-15 TUTORIAL 6 Select Point 2 Select Point 3 Select Point 1 The part should look as shown in the following picture. Page 6-16 TUTORIAL 6 STEP 6: CREATE THE CENTER POINTS OF THE .25 DIAMETER HOLES. Change the Gview and the Cplane to Side. Change the construction depth to Z -2.5 MAIN MENU Create Point Next menu Bolt circle Radius [ Radius =]: 5.5/2 Incr angle [ Incremental angle =]: 90 Num of pts [ Number of points =]: 4 Do it Origin Press Esc to exit the command. For machining purpose you only need the center points. You can create the arcs following the next steps. Change the Cplane to Top. Change the construction depth to Z 2.75 MAIN MENU Create Arc Circ pt + dia [ Enter the diameter ] .5 Type the centerpoint coordinates: -2.5, 0 Press Esc to exit the command. Page 6-17 TUTORIAL 6 Change the Cplane to Side. MAIN MENU Select this Xform arc Rotate Select the arc as shown in the picture. Done [ Enter the point to rotate about] Origin Select OK button. The final part should look as shown in the following picture. Page 6-18 TUTORIAL 6 For machining purpose we have to create extra geometry. STEP 7: CREATE THE CENTER LINES OF THE .25 WIDTH CHANELS. Change the Cplane to 3D. MAIN MENU Create Line Endpoints [ Specify the first endpoint]: Midpoint Select Entity A [ Specify the second endpoint]: Midpoint Select Entity B Select Entity A here Select Entity B here Page 6-19 TUTORIAL 6 MAIN MENU Modify Extend Length [ Enter the length to extend]: .2 [ Select a curve near the endpoint to extend]: Select Entity A close to one endpoint as shown in the following picture. Select entity A close to this endpoint Change the Cplane to Side. MAIN MENU Select this Xform line Rotate Select the line as shown in the picture. Done [Enter the point to rotate about] Origin Page 6-20 TUTORIAL 6 Select OK button. MAIN MENU Screen Clr colors STEP 8: CREATE HALF OF THE 2D GEOMETRY. Change the Cplane to + dZ. Cplane Select Next Menu Cplane 3 +dz here Change the Gview to Top Select Gview here Page 6-21 TUTORIAL 6 Change the main Level 1 to Level 2 Level Select Level here Change the Main Level Number to 2 Click here to make level1 invisible Change the Main level number to 2 Make Level 1 invisible by disable the check mark next to Level 1 as shown in the above screen shot. Select OK button to exit. Select F3 key to repaint the screen. Note that the 3D geometry that you just created is invisible. Page 6-22 TUTORIAL 6 Change the construction plane to Z 0. MAIN MENU Create Rectangle 1 point Select this Point Placement Select OK button Origin Press Esc to exit the command Select Entity A MAIN MENU Create Line Parallel Side/dist [ Select line]: Select Entity A [ Indicate the offset direction]: Select a point at the left side of the line [ Parallel line distance]: 1 [ Select line]: Select Entity B [ Indicate the offset direction]: Select a point at the rigth side of the line [ Parallel line distance]: 2 Select Entity B Page 6-23 TUTORIAL 6 [ Select line]: Select Entity C [ Indicate the offset direction]: Select a point above the line [ Parallel line distance]: 1 Select Entity C [ Select line]: Select Entity C [ Indicate the offset direction]: Select a point above the line [ Parallel line distance]: 2 Page 6-24 TUTORIAL 6 MAIN MENU Modify Trim 2 entities [ Select the entity to trim ]: Select Entity A [ Select the entity to trim to]: Select Entity B [ Select the first entity to trim ]: Select Entity B [ Select the second entity to trim ]: Select Entity C [ Select the first entity to trim ]: Select Entity C [ Select the second entity to trim ]: Select Entity D [ Select the first entity to trim ]: Select Entity D [ Select the second entity to trim ]: Select Entity E [ Select the first entity to trim ]: Select Entity E [ Select the second entity to trim ]: Select Entity F Select Select Entity F Entity D here here Select Select Entity B Entity E here here Select Entity A here Select Entity C here Page 6-25 TUTORIAL 6 The part should look like in the following picture. Using the toolbar located at the top of the screen, fit the drawing to the screen. STEP 9: SAVE THE FILE. MAIN MENU File Save Save this file under C-axis_1 Page 6-26 TUTORIAL 6 TOOLPATH CREATION STEP 10: SET UP THE STOCK TO BE MACHINED MAIN MENU Toolpaths Job Setup 1. Select Rectangle 2. Select Material here Under Stock select Rectangle. 2 points [Enter the lower left corner:] 0,-5 [Enter coordinates:] 5.8,0.15 Select the radio button in front of material as shown in the picture above. Select OK button. Page 6-27 TUTORIAL 6 From Lathe Material List choose Aluminum 6061. Select OK. The Lathe Job Setup parameters screen should look as shown in the picture below. Select OK button. Using the toolbar located at the top of the screen, fit the drawing to the screen. Page 6-28 TUTORIAL 6 STEP 11: FACE THE PART. Refer to Lathe Tutorial #1 in the Mastercam Lathe Training Tutorials page 1-7 to 1-8. The manual is available at your local Mastercam dealer or at http://www.emastercam.com/resources/ STEP 12: ROUGH THE PART. Refer to Lathe Tutorial #1 in the Mastercam Lathe Training Tutorials page 1-9 to 1-10. STEP 13: FINISH THE PART. Refer to Lathe Tutorial #1 in the Mastercam Lathe Training Tutorials page 1-11 to 1-13. STEP 14: CREATE A GROOVE FOR THE RELIEF CUT OFF AREA TO AVOID INTERRUPTED CUTS. Groove Select the endpoint Select OK button. [Select points]: Select the point as shown in the picture. Press Esc button to exit checking. Page 6-29 TUTORIAL 6 Double-mouse click on the selected tool to edit. Select Holders page and change C value to 2.5 as shown in the following screen shot. Page 6-30 TUTORIAL 6 Select OK button to exit tool definition. Select Grove shape parameters and change the height and the width as shown below. Select the Groove rough parameters page and make all necessary changes as shown in the screen shot. Page 6-31 TUTORIAL 6 Select Groove finish parameter and disable the box in front of Finish groove. Select OK button to exit. Page 6-32 TUTORIAL 6 STEP 15: BACKPLOT THE TOOLPATH. Operations (From the Operations Manager dialog) Select All (From the Operations Manager dialog) Backplot Run If you would like to watch the toolpath run slower, instead of Run, select Step. Hold down the S key on your keyboard, or keep pressing the Step key and you will be able to see the entire program at the speed that you wish, and be able to stop it at any time. Press BACKUP to return to the Operations Manager dialog. Right click on an empty space in the white box Options Toolpath display Off Select OK button to exit Operations Manager. Page 6-33 TUTORIAL 6 STEP 16: FACE CONTOURING. Change the Main Level to Level 1 and make invisible Level 2. Level To change the main level to 1 under Main Level Number type 1 Make invisible Level 2 by disabling the check mark next to Level 2 as shown in the following screen shot. Click here to make Level 2 invisible Change the Main Level to 1 Select OK button to exit. You shoul be able to see only the 3D part. Change the Gview to Isometric. Change Cplane to Side. Page 6-34 TUTORIAL 6 MAIN MENU Toolpaths Next Menu C-axis Face ctr Chain Options Enable Plane mask as shown in the following screen shot. Select OK button to exit Chaining Options dialog box. Select the contour as shown in the following picture. Select the contour here Page 6-35 TUTORIAL 6 The chaining direction has to be CCW if not select Reverse. Done Get from the library a 5/8 Flat End Mill. Select parameters and make the changes as shown in the following screen shots. Page 6-36 TUTORIAL 6 Select Multi passes button and set the parameters to match the following screen shot. Select OK button to exit Multi Passes dialog box. Select Depth cuts button and set the parameters to match the following screen shot. Select OK button to exit. Page 6-37 TUTORIAL 6 Select Lead in/out button and set the parameters to match the following screen shot. Select OK button to exit. Select OK button to exit Face contour parameters. Page 6-38 TUTORIAL 6 STEP 17: CROSS CONTOURING. Rotate the part by simultaneously pressing the Alt key and the left cursor key ( ). MAIN MENU Toolpaths Next Menu C-axis Cross ctr Single Select the contours as shown in the following picture. Select the last line here Select the first line here Select the third line here Select the second line Done Page 6-39 TUTORIAL 6 Get a ź Flat End Mill from the library. Select Contour parameters page and make the necessary changes as shown in the following screen shot. Page 6-40 TUTORIAL 6 Select OK button to exit parameters. STEP 18: FACE DRILLING. MAIN MENU Toolpaths Next menu C-axis Face drl Manual Select the points as shown in the following picture, starting with Point 1 to Point 4. ( this will be the order in wich they will be machined) Page 6-41 TUTORIAL 6 Select Point 1 Select Point 4 Select Point 2 Select Point 3 Press Esc to disable the checking. Done Righ-mouse click in the middle of the white window and select Get tool from library. Page 6-42 TUTORIAL 6 Select the ź diameter Drill Select Simple drill no peck page and make the following changes. Note that all parameters are incremental. This instructs the system to measure the distances from the selected points z value. Page 6-43 TUTORIAL 6 STEP 19: CROSS DRILLING. Cross drl Manual Select the points as shown in the following picture, starting with Point 1 to Point 4. ( this will be the order in wich they will be machined) Select Point1 Select Point 2 Select Select Point 3 Point 4 Page 6-44 TUTORIAL 6 Press Esc to disable checking. Done Get ½ Drill from the library. Select Simple drill no peck page and change the parameters as shown in the following screen shot. Page 6-45 TUTORIAL 6 Select OK button to exit parameters. STEP 20: C-AXIS CONTOURING. C-axis ctr Single Select the contour as shown in the following picture. Select the arc here. Done Get a 1/16 Flat End Mill from the library. Page 6-46 TUTORIAL 6 Select Contour parameters page and change the parameters as shown in the following screen shot. Select OK button to exit parameters screen. Page 6-47 TUTORIAL 6 STEP 21: CUTOFF THE PART. Backup Change Cplane to +DZ Make sure that construction depth Z=0 MAIN MENU Toolpaths Next Menu Cutoff [Select boundary point]: 5.5,-3.5 Page 6-48 TUTORIAL 6 Select the same cutoff tool that we used for grooving. Select Cutoff parameters page and set parameters to match the following screen shot parameters. Page 6-49 TUTORIAL 6 Select OK button to exit. Backup Operations Note that Lathe Cutoff operation has a locker icon and a message Do not update stock. Click on the locker icon to disable it. Select Regen path button to update the stock. STEP 22: VERIFY- TOOLPATH VERIFICATION Select Verify Select Machine button. Select Machine Page 6-50 TUTORIAL 6 The computer will now simulate the process of the part being machined. The finished part should appear as shown in the following picture. Select stock section button to make a section through the part. Select this icon to make a section through the part Page 6-51 TUTORIAL 6 Exit Verify. Select this button to exit Verify Select OK to close Operation Manager. Page 6-52 TUTORIAL 6 STEP 23: POST THE FILE TO OBTAIN THE G-CODE FILE. This tutorial covers Mastercam s C-axis toolpath functionality. To apply these toolpaths to a C-axis lathe, a customized post processor for your machine may be required. There are default C-Axis post processors included with Mastercam, such as MPLFAN, MPLOKUHW, MPLTL3YC, MPLTL56T, AND MPLTPLSC. Due to the variation in C-axis machine configurations contact your Mastercam reseller to request post processor services such as C-axis post development. Your post processor may require certain additional programming information not covered in this tutorial. The nature of the additional information required depends largely on your machine s configuration. Contact the developer of your post processor for details. To post the file please follow Step 9 of Tutorial #1 pag. 1-17 to 1-19. STEP 24: SAVE THE UPDATED MC8 FILE. MAIN MENU File Save Resave this drawing with the same name. [ Delete old & ] Yes Page 6-53 TUTORIAL 6 Review Exercise Page 6-54