Still I see you'd better get to doing a little reading. That control doesn't have the extra libraries for wear and whatever else machinists use to tweak their part profiles. Cutter comp is super handy for dialing in part feature sizes in an OM control without having to create a new tool path to do so. Peter Smid has a great book on CNC programming, and it's even steered towards Fanuc, so you'll be in luck for reading it. You're not alone in getting the hang of cutter comp in machine programming. I always had trouble with magnetism in electronics. Although I'm not 100% certain, but still I do it out of practice, is I go in and out of cutter comp before and after any Z axis retract to clear move. Also any radii that the cutter will encounter along it's tool path has to be equal to or greater than the radii of the tool set in your tool offset library (H21) or you will get a G41 error. Cutter comp must be turned on and off with a move in either the X or Y axis or both.
(Don't feel bad, it's tuff at first for all of us.) Other than what I just showed you above, the fact that there's a line that says G40M5 tells me so. I see there might be the need for more studying up on cutter comp. I see why you're plow-plow-plowing.)ĭear Jack. 21 (This coordinate is a hundred miles away from your start point. (Why is this line here? You're already at Z-0.365)
#Cutviewer mill cutter radius compensation software
Not possible.What CAD/CAM software are you using, or are you writing this off the cuff? (Which is fine also.) Here's your code.
If you're using cutter comp, it doesn't matter what size mill you use so long as it fits, like you can't stick a 1 inch radius mill into a corner with a. You can engage cutter compensation to the exact edge of the tool, but no less, so as ridiculous as it'd be, you could helix down into a hole the same size as the mill, which is functionally the exact same as drilling. You don't really need a movement to engage and disable cutter compensation, at least with a Haas, but it's a good idea. Surprisingly it correctly runs M97 local subprograms, and correctly loops G91 movements, canned cycles and subprograms, and G01 radius and chamfers.
#Cutviewer mill cutter radius compensation code
It's good enough though, and I write all my code in it, including Haas canned cycles that it doesn't show correctly. Sometimes the tool paths in the backplotter are weird too, particularly during helical interpolation. It'll show the tool paths correctly, but I don't trust the solid model. HSMWorks has issues with cutter compensation. If you're not on a commercial machine, then look into it because backlash can jack up your tool. If you're on a commercial cnc mill, you probably want to be climb cutting. Conventional cutting is the other way around. The direction it is spins pulls the material towards it. Here is my G-code (it still may not be perfect - but it is apparently working - I welcome comments to improve my G-code).Ĭlimb cutting is like a wheel rolling on the ground. NCViewer is good, but I could not find a way to get a rendered stock.ĬutViewer Mill - although very basic - did my job. I have therefore concluded that Inventor HSM is not a good tool for simulating CNC G-codes. I removed it, it was still not able to show the part correctly. There is an option to disable radius compensation. I am using CutViewer Mill for simulation.ĪutoDesk Inventor HSM is crap. Cannot figure out the reason.įinally, after much effort, I think I was able to get it to work correctly. I am unable to cut the inner profile correctly (lines N145 to N215).įor some reason, it cuts outside the prescribed tool path.