I'm guessing that you are trying to do this on the outside of a shaft with a tool @ b90 deg. If not, disregard what i'm about to say. I've written a macro engine to do this in the past. it's been quite a while ago but i'll give a brief rundown on how to do it. On vacation for 2 wks so can't get to what I did to review so bear with me.
Basically what I was doing is interpolating the radius with the end of an end mill. The problem is keeping the center of the tool NORMAL to the arc you need to interpolate. In my case i needed to move X/Y/C together which you can't do in mazatrol. What i did was loop c from a specific start to a specified end point. Inside the loop I used sin & cos functions to calculate the components of the next point to move to, moved there using x-y-c, increment loop control variable & repeat. I called it from mazatrol passing it values for where arc center is (i used rad & angle to center then did a bunch of calculations in the macro sub) along with the radius you need to cut, etc.
do a search for crankshaft milling program in the forums a guy named Hal Greene? posted some stuff about it several years ago.
Good luck |