Re: [CAD_CAM_EDM_DRO] Excel to Gcode
Posted by
Tom Hubin
on 2006-05-29 21:57:12 UTC
Hello afogassa,
I am not sure how you are doing your math but if the answer is correct
between -180 and +180 degrees and you prefer that it be between 0 and
360 degrees then you can use an IF statement to test and correct the
result. If the calculated value is less than zero then add 360 degrees,
otherwise add zero.
If you are computing the angle using the inverse tangent of x and y, use
instead the inverse tangent of -x and -y then add 180 degrees.
If these suggestions don't help then you might need to be more specific
about what you are computing and the formulae that you are using. Maybe
send me the spreadsheet so I can see what you are trying to do.
Tom Hubin
thubin@...
***********************************************
afogassa wrote:
I am not sure how you are doing your math but if the answer is correct
between -180 and +180 degrees and you prefer that it be between 0 and
360 degrees then you can use an IF statement to test and correct the
result. If the calculated value is less than zero then add 360 degrees,
otherwise add zero.
If you are computing the angle using the inverse tangent of x and y, use
instead the inverse tangent of -x and -y then add 180 degrees.
If these suggestions don't help then you might need to be more specific
about what you are computing and the formulae that you are using. Maybe
send me the spreadsheet so I can see what you are trying to do.
Tom Hubin
thubin@...
***********************************************
afogassa wrote:
>
> Hi All,
> I'm trying to work with excel to generate a toolpath for my 4th axis.
> got a point file from rhino into excel then did the trig to find the z
> axis position and A axis angle position from the original x and Y.
> The problem is: when going past 180 degres the toolpath gets mirroed
> on top of the other 180 deg.
> I think I should out put the the degress from 0 to 360 but can't
> find a formula to do that.I'm using a circle divided into 4 so the
> angles changes from let'say; -65, 65....on every quadrant.
> Have tryed to subtract 90 deg from the quadrante but it still gets
> mirroed.
> BTW: I need to cutout odd shape windows on a ovalshape tube.
> Every high end cam software I've tryed don't want to follow a odd
> shape line on top off surface when using the rotary axis, it only
> wants to machine the Whole surface .Tryed mastercam, powermill, and
> Vector,
> any Ideas?
Discussion Thread
afogassa
2006-05-29 19:19:49 UTC
Excel to Gcode
wayne_j_hill
2006-05-29 19:27:39 UTC
Re: Excel to Gcode
turbulatordude
2006-05-29 21:11:06 UTC
Re: Excel to Gcode
Tom Hubin
2006-05-29 21:57:12 UTC
Re: [CAD_CAM_EDM_DRO] Excel to Gcode
Chuck Merja
2006-05-29 21:58:31 UTC
RE: [CAD_CAM_EDM_DRO] Re: Excel to Gcode
Tom Hubin
2006-05-29 22:09:49 UTC
Re: [CAD_CAM_EDM_DRO] Excel to Gcode
Graham Stabler
2006-05-30 04:55:47 UTC
Re: Excel to Gcode
Yesamazza@a...
2006-05-30 08:01:08 UTC
Re: [CAD_CAM_EDM_DRO] Excel to Gcode
wizard692002
2006-05-31 10:09:52 UTC
Re: Excel to Gcode
afogassa
2006-05-31 10:52:34 UTC
Re: Excel to Gcode