Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: BR549 on June 15, 2011, 03:53:58 PM

Title: AXIS FORMULA Question
Post by: BR549 on June 15, 2011, 03:53:58 PM
Isthere anyone here fluent with Axis Formulas ???

I need help trying something here is the math involved. Any idea how to write that in Axis formulas.


Z= Sqrt(X^2 +Y^2)
A= Atan2 (X,Y)

Yea I know I am a math dummy, (;-)TP
Title: Re: AXIS FORMULA Question
Post by: ger21 on June 15, 2011, 04:30:02 PM
Z= Sqrt(X^2 +Y^2) works for me.

Not sure what you want for the A??
Title: Re: AXIS FORMULA Question
Post by: BR549 on June 15, 2011, 05:58:23 PM
A would be to convert the xy to polar in degs

I am testing something that involves converting the XY axis to A/Z on the fly.

JUST as a side note tothe Cam grinder project is coming along great. Just a couple more areas to tidy up. AND some odd configurations to test. We can do most of the things the big boys can do and some they can't.

Working on the rocker box grinder design function. it has a kinematic joint to consider for the profile duplication. hope to do it on the fly.

(;-) TP
Title: Re: AXIS FORMULA Question
Post by: ger21 on June 15, 2011, 06:18:58 PM
how about

A = arctan(y/x)*180/pi
Title: Re: AXIS FORMULA Question
Post by: BR549 on June 15, 2011, 06:50:23 PM
OK that works in quad1  to get a full 360 deg would I need to move the profile into the Pos quad. Right now 0,0 is in the center of the profile so it would have to do all 4 quads.

(;-) TP
Title: Re: AXIS FORMULA Question
Post by: ger21 on June 15, 2011, 07:12:54 PM
Don't know how to pull this off. See "Converting between polar and Cartesian coordinates" here to see the 6 different formulas required, depending on the X and Y values.
http://en.wikipedia.org/wiki/Polar_coordinate_system
Title: Re: AXIS FORMULA Question
Post by: BR549 on June 15, 2011, 07:16:47 PM
Yep that has been the problem (;-) I only have one line of formula to work with in axis formulas and it takes 4 equations to do all four quads.

I think this ideas is a bust(;-),Would not be the first one to go up in flames (;-) TP
Title: Re: AXIS FORMULA Question
Post by: jonny quest on June 19, 2011, 01:51:14 AM
Why have a rocker design? Just straight in and out?

There was a pretty cool edu paper on cam grinder design that had a bunch of the kinematic formulas. I'll try and find it and post the link.
Title: Re: AXIS FORMULA Question
Post by: jonny quest on June 19, 2011, 01:58:31 AM
http://www.google.com/m/url?ei=m4_9TejTOoznlgfi4OG4AQ&q=http://repository.lib.ncsu.edu/ir/bitstream/1840.16/5784/6/chapter2.pdf&ved=0CBMQFjAA&usg=AFQjCNECBx5fawXCIb8Bcu2JIA6IZuZ4Lw
Title: Re: AXIS FORMULA Question
Post by: BR549 on June 19, 2011, 05:39:11 PM
We are working on the solution for several different grinder comfigurations that area already developed such as converting a MasterPlate grinder. They use the rocker box method to follow the profile. SO to use Mach it has to have a kinametric formula to compensate for the rocker joint.

The conversion in the formulas is to try ON THE FLY conversion of a cam shaft from a cam profile. Not an easy taskso far. I don't think MACH has enough HorsePower to handle the task(;-)

(;-) TP