Welcome to Our Community

Some features disabled for guests. Register Today.

PRGM INCH AND IT IS EXICUTED IN METRIC

Discussion in 'OpenBuilds Bug Report' started by METLSHPR, May 22, 2021.

  1. METLSHPR

    METLSHPR New
    Builder

    Joined:
    May 22, 2021
    Messages:
    2
    Likes Received:
    1
    When i run g code that should make a 5 inch square carving i get one about 1/4 inch square. it is like the execution of the code is done in metric. when i manually jog machine it is moving the amount correctly. is there a setting somewhere?
     

    Attached Files:

  2. Christian James

    Christian James Journeyman
    Builder

    Joined:
    Jun 8, 2018
    Messages:
    461
    Likes Received:
    218
    It's doing what the g-code is telling it, so yes, it looks like the file has been created in mm.
     
  3. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,016
    Likes Received:
    1,682
    Choose the "Openbuilds grbl inches" post processor. Or the "grbl inches" post processor. The gcode should be right then.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
  5. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,785
    Likes Received:
    1,364
    It shouldn't make a difference with the Vectric post processors based on the grbl ones - they correctly convert units and put the right g-code (G20/G21) in the header. So if you design in inches and use a grbl (mm) post processor the g-code would be in mm and come out the right size.
    Alex.
     
  6. METLSHPR

    METLSHPR New
    Builder

    Joined:
    May 22, 2021
    Messages:
    2
    Likes Received:
    1
    All I need to do was put the G20 at the top of the code.

    Thanks all!!!
     
    Giarc likes this.
  7. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,785
    Likes Received:
    1,364
    The correct post processor should do that for you.
    Alex.
     
  8. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,462
    Likes Received:
    1,915
    Rather use the correct post processor so it is always correct and you don't have to remember to fix it for every project
     

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