585,555 active members*
3,355 visitors online*
Register for free
Login
Results 1 to 11 of 11
  1. #1
    Join Date
    Dec 2013
    Posts
    5717

    Confused about G18, G19 Arcs

    I ran into something I don't understand.
    The following code snippet is the lead in for a cut. The lead in is a G18 (XZ plane), with a G3 arc move. A G3 is a counterclockwise arc, but when standing at the front of the machine the toolpath scribes a clockwise arc. CamBam agrees with Fusion on the direction so I assume that the G code is correct and follows standard conventions. When standing in front of the machine the tool path is a ''J'' with the tool starting at the top and following the ''J'' down which looks like a clockwise arc from the operator perspective.

    In the XY plane arc direction is as expected when looking down on the part.

    N4665 G17 (XY PLANE)
    N4670 Z-0.175
    N4675 G18 G3 X3.1825 Z-0.2 I-0.025 K0 (CHANGE TO XZ PLANE, AND SCRIBE A COUNTERCLOCKWISE ARC)
    N4680 G1 X3.1575 F24
    N4685 G17 G3 X3.1325 Y-1.0065 I0 J-0.025 (XY PLANE)

    Here is an image of the tool path, Z is towards the top of the screen, X+ is to the right. The little yellow ''< '' is the start point.



    Help me get my head around this. I guess the real question is: From the operator perspective is the direction backwards? Should I be looking at this from the machine perspective, in other words standing at the machine column?
    Attached Thumbnails Attached Thumbnails Clipboard01.jpg  
    Jim Dawson
    Sandy, Oregon, USA

  2. #2
    Join Date
    Jan 2005
    Posts
    15362

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by Jim Dawson View Post
    I ran into something I don't understand.
    The following code snippet is the lead in for a cut. The lead in is a G18 (XZ plane), with a G3 arc move. A G3 is a counterclockwise arc, but when standing at the front of the machine the toolpath scribes a clockwise arc. CamBam agrees with Fusion on the direction so I assume that the G code is correct and follows standard conventions. When standing in front of the machine the tool path is a reversed ''J'' with the tool starting at the top and following the ''J'' down which looks like a clockwise arc from the operator perspective.

    In the XY plane arc direction is as expected when looking down on the part.

    N4665 G17 (XY PLANE)
    N4670 Z-0.175
    N4675 G18 G3 X3.1825 Z-0.2 I-0.025 K0 (CHANGE TO XZ PLANE, AND SCRIBE A COUNTERCLOCKWISE ARC)
    N4680 G1 X3.1575 F24
    N4685 G17 G3 X3.1325 Y-1.0065 I0 J-0.025 (XY PLANE)

    Here is an image of the tool path, Z is towards the top of the screen, X+ is to the right. The little yellow ''< '' is the start point.



    Help me get my head around this. I guess the real question is: From the operator perspective is the direction backwards? Should I be looking at this from the machine perspective, in other words standing at the machine column?
    Don't under stand what you are trying to do, with using G18, if you are just cutting an arc G17 X Y plane then you would not use a G18, if your work plane is using a G17 then your arc on arc off you would be using a G17 may be these snips will help you figure out what you want to do, you can not arc on arc off with a G18 or a G19 if your work plane is X and Y G17
    Attached Thumbnails Attached Thumbnails G17 G18 G19 X Y Z.PNG   G17 G18 G19 X Y Z-2.PNG   G17 G18 G19.PNG  
    Mactec54

  3. #3
    Join Date
    Mar 2003
    Posts
    35538

    Re: Confused about G18, G19 Arcs

    Make a fist, with your thumb pointing up. Point your thumb in the Y+ direction. Your fingers will be pointing in the direction of positive rotation.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Dec 2013
    Posts
    5717

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by mactec54 View Post
    Don't under stand what you are trying to do, with using G18, if you are just cutting an arc G17 X Y plane then you would not use a G18, if your work plane is using a G17 then your arc on arc off you would be using a G17 may be these snips will help you figure out what you want to do, you can not arc on arc off with a G18 or a G19 if your work plane is X and Y G17

    It is not what I am trying to do, it is what Fusion 360 generated. Your images reflect what I would expect when looking at the machine from the operator perspective. But the actual tool path when viewed in Fusion or CamBam is as shown in my image above which is a G18 move that would look to me like a G2 move, not a G3 as generated. Thus my confusion.
    Jim Dawson
    Sandy, Oregon, USA

  5. #5
    Join Date
    Jan 2005
    Posts
    15362

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by Jim Dawson View Post
    It is not what I am trying to do, it is what Fusion 360 generated. Your images reflect what I would expect when looking at the machine from the operator perspective. But the actual tool path when viewed in Fusion or CamBam is as shown in my image above which is a G18 move that would look to me like a G2 move, not a G3 as generated. Thus my confusion.
    What kind of shape are you trying to make, the cam is doing what you are asking it to do
    Mactec54

  6. #6
    Join Date
    Dec 2013
    Posts
    5717

    Re: Confused about G18, G19 Arcs

    That move is the lead in to a straight cut. What the CAM was asked to do is lead in with adaptive clearing. This is the way Fusion 360 chose to do it. Having said that, in this case it really doesn't need that type of lead in. I'm just trying to get my head around exactly what it did and how that relates to the machine coordinate system. The machine follows the tool path correctly, but I'm just trying to personally understand it all because to me it looks like a G2 move rather than a G3.
    Jim Dawson
    Sandy, Oregon, USA

  7. #7
    Join Date
    Jan 2005
    Posts
    15362

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by Jim Dawson View Post
    That move is the lead in to a straight cut. What the CAM was asked to do is lead in with adaptive clearing. This is the way Fusion 360 chose to do it. Having said that, in this case it really doesn't need that type of lead in. I'm just trying to get my head around exactly what it did and how that relates to the machine coordinate system. The machine follows the tool path correctly, but I'm just trying to personally understand it all because to me it looks like a G2 move rather than a G3.
    Just as I said in the first post, there is no confusion, you just can't do a straight lead in/out with a G18 this could never work, it can only be done with the plane you are working on, which is G17 X Y plane
    Mactec54

  8. #8
    Join Date
    Dec 2013
    Posts
    5717

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by mactec54 View Post
    Just as I said in the first post, there is no confusion, you just can't do a straight lead in/out with a G18 this could never work, it can only be done with the plane you are working on, which is G17 X Y plane

    Picture a radiused ramp lead in. A normal lead in could be a ramp where you might have both X and Y moving as well as Z moving down at the same time, so all 3 axes are in motion simultaneously. I do this all the time, even when scribing an arc in the XY plane, or call it a spiral lead in. But some of the newer CAM software will generate a ramp in, in the XZ or YZ plane.
    Jim Dawson
    Sandy, Oregon, USA

  9. #9
    Join Date
    Mar 2003
    Posts
    35538

    Re: Confused about G18, G19 Arcs

    Jim, did you see my post above?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  10. #10
    Join Date
    Jan 2005
    Posts
    15362

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by Jim Dawson View Post
    Picture a radiused ramp lead in. A normal lead in could be a ramp where you might have both X and Y moving as well as Z moving down at the same time, so all 3 axes are in motion simultaneously. I do this all the time, even when scribing an arc in the XY plane, or call it a spiral lead in. But some of the newer CAM software will generate a ramp in, in the XZ or YZ plane.
    Something wrong with your cam software then, a ramp is normal, that most do all the time, you are using software that would not make the top 20 as far as cam packages go, both are new and most feed back is from hobby users, that's why you see this kind of thing, it also could be how you are trying to use it
    Mactec54

  11. #11
    Join Date
    Dec 2013
    Posts
    5717

    Re: Confused about G18, G19 Arcs

    Quote Originally Posted by ger21 View Post
    Jim, did you see my post above?
    I did Gerry, thank you.

    Quote Originally Posted by mactec54 View Post
    Something wrong with your cam software then, a ramp is normal, that most do all the time, you are using software that would not make the top 20 as far as cam packages go, both are new and most feed back is from hobby users, that's why you see this kind of thing, it also could be how you are trying to use it
    Well Fusion 360 is pretty popular, but it does have some weird quirks, especially in the CAM side. The CAM engine is actually HSMWorks with AutoDesk tweeks.
    Jim Dawson
    Sandy, Oregon, USA

Similar Threads

  1. Replies: 5
    Last Post: 12-10-2013, 03:02 PM
  2. G2/G3 Arcs Yet?
    By Treeline in forum MadCAM
    Replies: 14
    Last Post: 05-22-2013, 06:03 PM
  3. Arcs
    By Hoverflyer.mk2 in forum Mastercam
    Replies: 1
    Last Post: 11-07-2012, 11:45 AM
  4. Incremental arcs and Break arcs into lines
    By forhire in forum NCPlot G-Code editor / backplotter
    Replies: 10
    Last Post: 09-16-2010, 04:55 PM
  5. arcs using I and J
    By MadPickinSkills in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 3
    Last Post: 10-08-2009, 08:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •