Welcome to Our Community

Some features disabled for guests. Register Today.

editing Gcode

Discussion in 'OpenBuilds Forum Help' started by jbell, Aug 1, 2022.

  1. jbell

    jbell New
    Builder

    Joined:
    Jul 24, 2016
    Messages:
    45
    Likes Received:
    2
    I have a program that has some problems. I've found a code that I think is wrong so I went intothe Gcode editor and changed it. It worked fine when I tested it but when I reopened the program I noticed that it had reverted to the original code. How do you save the code changes?
     
  2. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,039
    Likes Received:
    1,434
    Assuming you're using OpenBuilds Control, click on the blue save icon.
     
  3. jbell

    jbell New
    Builder

    Joined:
    Jul 24, 2016
    Messages:
    45
    Likes Received:
    2
    Yes I'm using the open builds blackbox. I've made the change by deleting the code and typing in the new code and then clicking the save button which goes to my downloads file and I click save. The next time I open it up it still reverts back to the original number. Ive added a couple of screenshots which show the -10 code which I want to change to 15.

    Thanks for you help.
     

    Attached Files:

  4. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,700
    Likes Received:
    1,327
    If that code was produced using the Openbuilds post processor for Fusion why don't you change it there?
    @sharmstr - I'm on my phone - have you got a screenshot of that to help @jbell?
    Alex.
     
    Peter Van Der Walt likes this.
  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,047
    Likes Received:
    4,123
    Yes, just enter the correct values in Start/End position in the Post options (NB read the help tooltip - always Negative, remember to Home - Fusion post uses Machine Coordinates and Work Coordinates both) - no need to hand edit Gcode :)
     
  6. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,039
    Likes Received:
    1,434
    I just tested saving edited gcode files and it works fine.

    Also, why are you putting a positive value? Z15 will go past Z's highest point.

    The line you are changing uses G53 which is machine coordinates, not work coordinates.
     
  7. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,288
    Likes Received:
    1,837
    #7 David the swarfer, Aug 3, 2022
    Last edited: Aug 3, 2022
  8. jbell

    jbell New
    Builder

    Joined:
    Jul 24, 2016
    Messages:
    45
    Likes Received:
    2
    Yep, Dave came through again. My problem was that I didn't home first. Once I did that all the code worked perfect, I didn't need to change anything. Thanks everyone for your help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice