Basic workflow 3D
Revision as of 13:44, 23 November 2012 by Glennpowers (Added Next Link)
Open Source CAD/CAM Stack
For a tutorial on creating a basic 2D workflow, see here
Create part file with FreeCAD
- Draw your part.
- Save part in native FreeCAD format.
- Export the part as a STP file.
Create toolpaths with HeeksCNC
- Use File -> Import to open STP/STEP file. The Objects pane on the left will show "STEP solid" entry.
- Right click on face of Solid to get a pop-up menu.
- Select Face -> Make a sketch from Face. A "sketch" entry will appear in the Objects pane.
- Right click on the sketch in Objects pane, select 'Split Sketch'. You now have two separate sketches listed in the Object pane. If your solid is more complex you may have several sketches listed. (There is one sketch for each machining operation the face will require. If you select a sketch it will highlight on the drawing).
- Select an inside profile (its outline turns darker).
- Click Machining -> Add New Milling Operation -> Pocket Operation -> Fill in details -> Click OK
- An entry for the machining operation will be added in the Objects pane under "Operations".
- Click Machining -> G0 (Post Process) - your toolpath will show as a green line in the drawing window (a DOS box pops up, then disappears). If the toolpath doesn't show up there is a conflict between the tool size and the object's geometry (the tool is too big a diameter typically).
- Select the next inside profile and define a pocket operation for it. In general do the pocket operations first just in case the part breaks free while doing the profile operation.
- Select the outside profile (outline will turn darker)
- Click Machining -> Add New Milling Operation -> Profile Operation (no window pops up) - control output via Properties pane in lower left
- Select 'Outside' for 'Tool on Side'
- Make sure your final depth is the thickness of your material.
- Select the appropriate tool
- Add part holding Tags on the profile operations, right click on the profile operation in the Objects pane, select Add Tag, in the Properties window is a button for "Pick position". Click on the drawing in the approximate spot where you need a holding tag. Add tags as needed.
- Click Machining -> G0 (Post Process) - your toolpath will show (DOS box pops up, then disapears)
- At the bottom of your screen you will see the actual g-code output. You can copy and paste that to a text file. OR, click Machining -> Save nc File.
Defining and saving tool types:
- Right click on Tools in the object pane.
- Select New End Mill (or New whatever tool type you need)
- Fill in the information on the tool
- Click the green checkmark in the Properties tab when you have the tool defined
- To save the tool in the default set: Right click on Tools, select Export, save in the default location with the file name default.tooltable.
Reordering machining operations:
- You can click-drag the Pocket and Profile entries in the Operations list to reorder the operations.
Simulate toolpaths with OpenSCAM
- Click File-> Open
- Find the NC file you saved from HeeksCNC
- OpenSCAM will process the file, resulting in what the part will look like *finished*
- There is a slider bar in the middle of the left hand window, slide that all the way to the left. Toggle the direction arrow to the right
- Click Edit -> Project
- Add a new tool: Click +, define tool at 10mm length 3.175mm diameter. Make note of the tool number!
- Open your NC file and find out what tool it's expecting to find. Towards the top you'll see the T command. Maybe T16?
- In the NC file, change the T# to match the tool you just created in OpenSCAM. Save your NC file. You will notice OpenSCAM re-rendering the toolpaths to accomdate the change in cutter size.
- Switching back over to OpenSCAM: Click the 'Play Button' under the 'Animate Toolpath' Section.
- Watch in amazement!
- If you are impatient, click the fast forward button, directly to the right of the 'Play button' to speed things up.
Run your job with Universal Gcode Sender
- Browse for the NC file we just simulated
- next step...