586,075 active members*
4,182 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2023
    Posts
    5

    Path doesn't make sense.

    The gcode is intended to finish the path on the X-axis (Y0) on the right, but the path does not end where it should.
    Can anyone see where the problem is?

    (1)
    (C8 CN trim) ;0.125 ;Max Tool Dia 0.125
    (Set origin to socket axis, just outside edge of Al frame.)
    (Move tool to X0 Y5)
    G90 ;Absolute co-ordinates
    F100 ;Set cutting speed
    G0 X-3.86 Y1 ;Go quickly to 1 mm from job
    G1 X-3.86 Y0 ;Go more slowly to the start of cut
    G2 X-1.93 Y-0.8 I0 J-2.73 ;Cut a CW arc 2.73mm radius
    G3 X1.93 Y-0.8 I1.93 J2.73 ;Cut an ACW arc 2.73mm radius
    G2 X3.86 Y0 I1.93 J-2.73 ;Cut a CW arc 2.73mm radius
    G0 X0 Y5 ;Go quickly to 5 mm from job
    M30 ;End routine
    Attached Thumbnails Attached Thumbnails Capture.PNG  

  2. #2
    Join Date
    Mar 2016
    Posts
    325

    Re: Path doesn't make sense.

    The code finishes on Y=0. If the machine doesn't go there it probably has some backlash. Code has nothing to do with it.

  3. #3
    Join Date
    Jul 2023
    Posts
    5

    Re: Path doesn't make sense.

    Thank you for the reassurance. I checked the path on this website, but there must be a bug in the plot.

    https://ncviewer.com/

  4. #4
    Join Date
    Nov 2012
    Posts
    1267

    Re: Path doesn't make sense.

    Quote Originally Posted by Routeron View Post
    Thank you for the reassurance. I checked the path on this website, but there must be a bug in the plot.
    When I import your G-code in CamBam, it shows perfect arcs ending at Y=0. So the code is fine, must be an error in the simulation.

  5. #5
    Join Date
    Sep 2017
    Posts
    40

    Re: Path doesn't make sense.

    I too ran your code and it works as written.

  6. #6
    Join Date
    Jul 2023
    Posts
    5

    Re: Path doesn't make sense.

    Quote Originally Posted by CitizenOfDreams View Post
    When I import your G-code in CamBam, it shows perfect arcs ending at Y=0. So the code is fine, must be an error in the simulation.
    Thank you, I appreciate the check.

  7. #7
    Join Date
    Jul 2023
    Posts
    5

    Re: Path doesn't make sense.

    Thank you, Formantjim.
    It's a strange one, as I've found ncviewer useful in the past, but now I'll need to double-check elsewhere.

  8. #8
    Join Date
    Mar 2008
    Posts
    285

    Re: Path doesn't make sense.

    The free version of NC Plot Ver 1.2 plots this correctly as well.

Similar Threads

  1. Wiring adapter for 220v 50w laser doesn’t make sense
    By MadGumby in forum Laser Engraving / Cutting Machine General Topics
    Replies: 1
    Last Post: 02-11-2021, 07:06 PM
  2. Does it make sense?
    By vinybinder in forum Mechanical Calculations/Engineering Design
    Replies: 3
    Last Post: 06-24-2010, 05:42 PM
  3. Mirror Adjustment - Does this make sense?
    By LuAn in forum Laser Engraving / Cutting Machine General Topics
    Replies: 4
    Last Post: 04-07-2009, 04:07 PM
  4. Finally, Soft Jaws that Make Sense
    By Team Pierson in forum News Announcements
    Replies: 0
    Last Post: 04-29-2008, 02:24 AM
  5. Does this make sense??
    By Dman in forum DIY CNC Router Table Machines
    Replies: 9
    Last Post: 12-29-2005, 07:28 AM

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
  •