In this video #fusionphil shows you how to add stock sizes and material type to your post processor speeding up your at machine setup time. This can also be used to understand how to add other parameters to your post via the Autodesk Dump
var stocksize = getGlobalParameter("stock");
//var stocktype = getGlobalParameter("stocktype");
var lowerx = getGlobalParameter("stocklowerx");
var upperx = getGlobalParameter("stockupperx");
var stockl = (upperx lowerx);
var lowery = getGlobalParameter("stocklowery");
var uppery = getGlobalParameter("stockuppery");
var stockw = (uppery lowery);
var lowerz = getGlobalParameter("stocklowerz");
var upperz = getGlobalParameter("stockupperz");
var stockt = (upperz lowerz);
writeComment(stocksize);
writeComment("STOCK SIZE" + " " + stockl + "," + stockw + "," + stockt);
Website
www.jitcadcam.com
Support Portal
support.jitcadcam.com
LinkTree
linktr.ee/jitcadcamWebsite
www.jitcadcam.com
00:00 Intro
00:56 Parameter Dump
03:00 Opening Post to Edit
05:37 Finding header Location in post to edit
06:42 Inital edit to conifirm location in posted GCode
08:02 Adding Var and Parameter
11:49 Fixing Typo
12:31 Creating Stock Type in Post
15:18 Adding stock size to post
23:59 Like Comment Subscribe
CNC,4th axis,5th axis,Milling,Fusion,Fusion 360,Autodesk,Autodesk Fusion,AutodeskFusion360,CAM,CAD,Machining,Mill,CNC,machining,turning,milling,cam,cad,autodesk,fusion,fusion 360,autodesk fusion,xometry,Autodesk fusion 360,CNC,cam,cad,xometry,autodesk fusion 360,fusion 360,autodesk,autodesk fusion,machining,milling,3 axis,Mastercam,Solidworks,gibbscam,surfcam,solidcam,edgecam,vcarve,Onsrud,Brothers,matsurra,haas,awea,syil, Hurco