In the first part of this tuto­r­i­al we looked at set­ting up the Tool Bit Library when run­ning the Path WB for the first time and cre­at­ing a cus­tom 3mm end­mill tool. As a reminder in these tuto­ri­als we will describe tool icons by the text descrip­tion that is dis­played when you rollover an icon. This means you’ll have to explore the rollover texts which is a great way to explore the basics of what tools are on each work­bench. Also, as a reminder, this tuto­r­i­al was writ­ten using FreeCAD ver­sion 0.21.1.

Con­tin­u­ing from where we were at the end of the first sec­tion, in the com­bo view you can now see the TC:3mmEndmill object. In the TC:3mmEndmill drop­down you can see the 3mm_Endmill object. If you dou­ble click on this you will see the shape and attrib­ut­es dia­logue where you can make changes, although its prob­a­bly more com­mon prac­tice to change shape and attrib­ut­es in a new tool in the tool library edi­tor. You’ll see in the pre­view win­dow that you have a basic mod­el rep­re­sen­ta­tion of your 3mm_Endmill tool bit. You can tog­gle the vis­i­bil­i­ty of this in the pre­view win­dow in the usu­al way by high­light­ing the 3mm_Endmill object in the com­bo view and click­ing the space bar.

Back in the com­bo view if you dou­ble left click the TC:3mmEndmill object, where “TC” stands for “Tool Con­troller”, you can see the “Tool Con­troller Edi­tor” win­dow and it’s in here that we can set the feed and speed rates for our tool. Obvi­ous­ly we can’t state what these should be as it’s depen­dant on your cut­ter geom­e­try, the mate­r­i­al you are cut­ting and the machine you are using. The Path WB is real­ly use­ful in that it sep­a­rates the tool library object and the tool con­troller. This means that, sen­si­bly, you can use any tool mul­ti­ple times in either the same job or across numer­ous projects set­ting the feed rates in each instance rather than hav­ing a library full of tools that have the same geom­e­try but wild­ly dif­fer­ent feed rates for dif­fer­ent mate­ri­als. A good exam­ple of this is you can use the same tool with two dif­fer­ent tool con­trollers to cre­ate a “rough­ing” pass where the tool moves faster and removes mate­r­i­al quick­ly and a sec­ond “fin­ish­ing” pass where the tool makes a high qual­i­ty light cut trav­el­ling slow­ly and remov­ing less material.

With our tool, tool con­troller and feed rates set we can begin to cre­ate oper­a­tions and tool­paths. There are lots of dif­fer­ent oper­a­tion types and they are described well over on the Path WB doc­u­men­ta­tion page. For our sim­ple object we can cre­ate a “Pock­et” oper­a­tion to mill out the cen­tral area and we can cre­ate a “Pro­file” oper­a­tion to cut the out­side geom­e­try of our object. We’ll also final­ly look at adding tags, small mod­i­fied areas the tool­path avoids cut­ting ful­ly through, to keep the object con­nect­ed to the stock rather than becom­ing loose on our machine.

When we cre­at­ed the job in the first sec­tion it cre­at­ed the “Job” object in the com­bo view. If we dou­ble click the Job object we can then move to the “Set­up” tab in the “Job Edit” dia­logue which appears. One thing we need to con­sid­er is the ori­gin point for our oper­a­tions, this will be the point from which our tool begins its oper­a­tions. Usu­al­ly by default we will see that the ori­gin point is at the 0,0,0 co-ordi­nate of the XY and Z axis. You should see the “axis cross”, the object made from blue, red and green arrows aligned with each axis. The axis cross will be sat right in the cen­tre of the base of our object. We prob­a­bly, for this job, want the ori­gin point to be in a known posi­tion on the top sur­face of our stock so that on our machine we can zero the tip of the tool to this point. To do this high­light a cor­ner of the job bound­ing box and on the “set­up” tab then click the “Set Ori­gin” but­ton in the align­ment section.

On the “Mod­el” drop down is the “Mod­el-Cut” item which is a copy of our object which was cre­at­ed when we made the Job item. For next sec­tion where we cre­ate oper­a­tions we are going to use this Mod­el-Cut copy rather than the orig­i­nal “Cut” item which should be greyed out and not vis­i­ble. Dou­ble check this is the case, the orig­i­nal cut object should be tog­gled to non vis­i­ble and the “Mod­el-Cut” object should be visible.

To cre­ate the pock­et first lets select the face that is the base of the cutout sec­tion on the Mod­el-Cut object. Then click the “Pock­et Shape” tool icon. Once pressed a small dia­logue with a drop down menu will ask you to select the tool con­troller you want to assign to the oper­a­tion, select the TC:3mm_Endmill option. You should now see a “Pock­et Shape” dia­logue in the com­bo view. The Pock­et Shape dia­logue has numer­ous tabs and should auto­mat­i­cal­ly be open on the low­est tab “Oper­a­tion”. With­in this tab are the fun­da­men­tal options for the oper­a­tion. Of course this dif­fers on what type of oper­a­tion you are cre­at­ing. For a pock­et oper­a­tion one of the com­mon options to play with is the “Pat­tern” by default this is set to “ZigZag” but for cre­at­ing a cylin­dri­cal pock­et you might opt for an “off­set” path instead. Select the off­set option in the “Pat­tern” drop down and set the step over per­cent­age to per­haps 40%. You may well want to adjust oth­er aspects of the oper­a­tion before apply­ing it. Mov­ing to the “Depths” tab we can adjust the final depth of the pock­et cut if need­ed but it will default to pock­et clear­ing to the face geom­e­try we select­ed, in our case ‑4mm. Also on this tab is the “Step Down” val­ue which is the depth of cut on each pass, this defaults to a step down val­ue equal to the tools diam­e­ter, so in our case 3mm. This may be far too deep a cut depen­dant on your machine or the mate­r­i­al so may need adjust­ing. Click the small icon in the cor­ner of the input box and clear the “OpToolDiam­e­ter” val­ue and then you can set the step down to what­ev­er you chose, we went with 1mm to make the pock­et oper­a­tion com­plete in 4 pass­es. You can now hit Apply, or OK and you’ll see the green lines of the tool­path appear. Notice that the tool trav­els to a safe height over the work before begin­ning it’s cuts. Back in the “Pock­et Shape” dia­logue you can click on the “Heights” tab to set the safe and clear­ance heights to suit your work setup.

With the pock­et tool path cre­at­ed you can now click the “CAM Sim­u­la­tor” tool icon to sim­u­late the pass. Once clicked you will see the bound­ing box is now filled with stock mate­r­i­al in the pre­view win­dow and you have a set of con­trols in the com­bo view. You can reduce or increase the speed of the sim­u­la­tion and also the qual­i­ty. Reduc­ing the qual­i­ty of sim­u­la­tion is a good idea on slow­er per­form­ing sys­tems. Click­ing play you should see the pock­et oper­a­tion take place. If you click OK after the sim­u­la­tion you cre­ate a new object which is the cut stock, you can tog­gle the vis­i­bil­i­ty of this item or delete it as needed. 

Set­ting up a pro­file oper­a­tion is a sim­i­lar process. If we click the out­er edge on the top of our object we can then click the “Pro­file” tool icon. A famil­iar look­ing dia­logue appears called “Pro­file-Pro­file” we can see the same heights, depths and oth­er famil­iar tabs from the Pock­et oper­a­tion. This dia­logue opens on the “Oper­a­tion” tab and we can set which side of the geom­e­try we are going to cut on, so in this case “Out­side” we can set the tool con­troller, and we can set oth­er options such as direc­tion and off­set. Off­set is use­ful for if we want to do a pro­file cut slight­ly larg­er than the desired object size we can off­set the oper­a­tion, then we could add a fin­ish­ing oper­a­tion sep­a­rate­ly to bring the object to size.

As we have select­ed a sin­gle edge we need to give the pro­file oper­a­tion a tar­get depth to cut too. On the “depths” tab we can click the for­mu­la edi­tor icon in each input box to clear the default val­ues of the start depth, final depth and step down. We can then set the depths to what we require, so we have a start depth of 0mm, a final depth of ‑10mm and a step down of 1mm. Click apply to see the paths in pre­view and OK to close the dialogue.

Depend­ing on the work hold­ing meth­ods we use on our tar­get machine, it’s worth quick­ly look­ing at adding tabs to a pro­file tool­path. Tabs are where mate­r­i­al is left uncut to keep the part con­nect­ed to the stock mate­r­i­al so it isn’t thrown out of the machine. In the com­bo view we can high­light the “Pro­file” oper­a­tion object we just cre­at­ed under the “Oper­a­tions” drop­down. Next click “Path – Path Dres­sup ‑Tag”. This should auto­mat­i­cal­ly cre­ate 4 tri­an­gu­lar tabs in pro­file tool­paths. You can adjust the dimen­sions and geome­tries of tabs and increase and decrease the num­ber of them and the place­ment of them in the “Hold­ing Tags” dia­logue. When you are hap­py with the tags click the apply or OK but­ton. Notice that a “Dres­sup Tag” object is cre­at­ed and the pro­file object is now nest­ed in it’s drop down. You can now use the sim­u­la­tor again to view all the tool­paths and check your tag geom­e­try and placement.

Final­ly to cre­ate G‑Codes to send to our machine we need to look at the out­put options. In the com­bo view dou­ble click the main “Job” object and in the “Job Edit” dia­logue move to the “Out­put” tab. In this we can set up which post proces­sor to use to cre­ate G‑codes com­pat­i­ble with our machine. There are lots of post proces­sors avail­able, our tar­get machine runs on GRBL so we select­ed GRBL from the list. Final­ly we use the “Out­put File” input box to set up a file­name and loca­tion. We then click OK. To cre­ate the G‑code using the select­ed post pro­cess­ing and save it to the spec­i­fied file we high­light the “Job” item and then click the “Post Process” tool icon and save our file.

We’ve cov­ered the basics in this two part tuto­r­i­al. As with many work­bench­es there are lots and lots more tools and fea­tures avail­able and it’s def­i­nite­ly worth look­ing around both the offi­cial doc­u­men­ta­tion and also the ded­i­cat­ed Path/CAM forum area.


Discover more from FreeCAD News

Subscribe to get the latest posts sent to your email.