Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: labuda on December 31, 2007, 05:36:42 PM

Title: Mastercam Inverts my X axis
Post by: labuda on December 31, 2007, 05:36:42 PM
Hi, hoping someone can help me resolve my problem.
My G code files have inverted x axis values.
Even when i switch the machine definition control of the X axis turret to -Y or +Y, it doesn't make a difference in the output, i always get negative X values.
Even when i switch the construction plane into -D, Z. The problem persists.
I'm guessing i need to edit the post processor... anyone know how to do that?
Thanks
Aleks. 
Title: Re: Mastercam Inverts my X axis
Post by: Chaoticone on December 31, 2007, 08:44:36 PM
Have a look at the mastercam post processor here.

http://www.machsupport.com/cam.htm

Brett
Title: Re: Mastercam Inverts my X axis
Post by: labuda on January 01, 2008, 04:20:35 PM
the one i found there was for mastercam 9...
it generated weird code with no z values... just x movements.
I edited my post processor to invert the axis and it worked!

But now a second problem: When Mach3 decides which arc to choose between two point (X1,Z1) and (X2,Z2) with a given radius, it chooses the wrong one!
It takes the right direction, but it choose a different arc (any two points have two circles with the same radius...) I'm not even sure how it's supposed to know which one to choose. Is it supposed to choose the shortest one?

Aleks.
Title: Re: Mastercam Inverts my X axis
Post by: Chaoticone on January 01, 2008, 07:33:38 PM
Post an example code for some of the guys to look at.

Brett
Title: Re: Mastercam Inverts my X axis
Post by: labuda on January 01, 2008, 07:52:34 PM
ACtually, i already started a new topic for this:
http://www.machsupport.com/forum/index.php/topic,5331.0.html
thanks for the help Brett!