Hello Guest it is December 04, 2023, 08:34:14 AM

### Author Topic: AXIS FORMULA Question  (Read 4460 times)

0 Members and 1 Guest are viewing this topic.

#### BR549

• 6,965
##### AXIS FORMULA Question
« 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

#### ger21

• 6,295
##### Re: AXIS FORMULA Question
« Reply #1 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??
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

#### BR549

• 6,965
##### Re: AXIS FORMULA Question
« Reply #2 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
« Last Edit: June 15, 2011, 06:06:17 PM by BR549 »

#### ger21

• 6,295
##### Re: AXIS FORMULA Question
« Reply #3 on: June 15, 2011, 06:18:58 PM »

A = arctan(y/x)*180/pi
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

#### BR549

• 6,965
##### Re: AXIS FORMULA Question
« Reply #4 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

#### ger21

• 6,295
##### Re: AXIS FORMULA Question
« Reply #5 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
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

#### BR549

• 6,965
##### Re: AXIS FORMULA Question
« Reply #6 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

#### jonny quest

• 233
##### Re: AXIS FORMULA Question
« Reply #7 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.

#### jonny quest

• 233
##### Re: AXIS FORMULA Question
« Reply #8 on: June 19, 2011, 01:58:31 AM »

#### BR549

• 6,965
##### Re: AXIS FORMULA Question
« Reply #9 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