584,812 active members*
5,270 visitors online*
Register for free
Login
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    152

    X negative to X positive

    Is there a way to change from X negative to X positive without placing the tool on the opposite side of the part?

  2. #2
    Join Date
    Mar 2021
    Posts
    17

    Re: X negative to X positive

    You can multiply xpos by -1 before the output. For example:
    xpos=-1*xpos
    {nb, 'X'xpos}

    Be sure to check that it won't cause an accident before sending it to the machine!!!!

  3. #3

    Re: X negative to X positive

    Quote Originally Posted by anzory View Post
    You can multiply xpos by -1 before the output. For example:
    xpos=-1*xpos
    {nb, 'X'xpos}

    Be sure to check that it won't cause an accident before sending it to the machine!!!!

    I believe that will not work well even without arcs and such.

    You will end up getting a new X on every single line. Even if Modal and same number. As the check if it's the same will see a negative currently, and a positive incoming, so thinks it needs to state it again.

    Unless you see a way around that?

  4. #4
    Join Date
    Jul 2009
    Posts
    152

    Re: X negative to X positive

    anzory, Thanks for that.

    Do I add this to the GPP or Find it in the GPP and modify it ?

  5. #5
    Join Date
    Mar 2021
    Posts
    17

    Re: X negative to X positive

    Yes, it can be done. But I cannot guarantee that you will get a valid gcode. How will the arcs be built in this case? Chamfers? I can't predict that.
    You'll have to check it yourself before you load it on the machine.

  6. #6
    Join Date
    Mar 2021
    Posts
    17

    Re: X negative to X positive

    To edit a post, use this: https://bit.ly/3fqkPD8

Similar Threads

  1. Motor positive or negative ground
    By onthemarc in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 02-03-2018, 05:43 AM
  2. Negative & positive limit
    By ltran2000 in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 04-07-2012, 12:43 AM
  3. Y values negative instead of positive
    By Wayne Krammer in forum NCPlot G-Code editor / backplotter
    Replies: 1
    Last Post: 03-13-2011, 04:25 PM
  4. Lathe - X axis positive/negative?
    By sansbury in forum BobCad-Cam
    Replies: 2
    Last Post: 08-20-2010, 03:58 PM
  5. 5 volt positive and negative??
    By Rooney in forum Automation Technology Products
    Replies: 4
    Last Post: 05-07-2009, 10:04 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
  •