1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. PLEASE: Read the FORUM RULES BEFORE registering!

    Dismiss Notice

G Code for Chess piece

Discussion in 'CNC CODING FILES' started by Glen, Feb 9, 2015.

  1. jumps4

    jumps4 Global Moderator Staff Member Active Member

    Likes Received:
    181
    Trophy Points:
    63
    City:
    New Port Richey
    State:
    Florida

    -Return to Top-

    feed rate changes are typed in as
    G01 F10 (text goes in parentheses and G01 and F# alone on line normally )
    once you set a speed it stays until you change it, there is no need for it on every line
    G0 ( went to max speed)
    G01 f5 ( now feed rate slower )
    the G01 and F# normally are on the same line together then the move is placed under it
    here is an example of moving down z cutting grooves...

    X.4 (clears material)
    z-2.0 (goes to grove location)
    G01 F2 (sets slow plunge rate )
    x.28 (plunges in groove )
    G0 ( changes speed )
    x.4 (retracts to safe distance )
    z-2.2 (moves to next location in Z for groove )
    G01 F2 (sets slow plunge rate )
    x.28 (plunges in groove )
    G0 ( changes speed )
    x.4 (retracts to safe distance )
    z-2.4 (moves to next location in Z for groove )
    G01 F2 (sets slow plunge rate )
    x.28 (plunges in groove )
    G0 ( changes speed )
    x.4 (retracts to safe distance )

    I hope that helps
    Steve
     
    Last edited: Apr 18, 2015
  2. Glen

    Glen United States Active Member Active Member

    Likes Received:
    4
    Trophy Points:
    8
    City:
    Houston
    State:
    Texas

    -Return to Top-

    Well I tried the code you did, it works but it takes forever to finish
     
    Last edited: Apr 18, 2015
  3. jumps4

    jumps4 Global Moderator Staff Member Active Member

    Likes Received:
    181
    Trophy Points:
    63
    City:
    New Port Richey
    State:
    Florida

    -Return to Top-

    it was just an example of how the code would be typed in. I wasn't really paying attention to feeds and speeds or dimensions.
    I was just changing speeds and locations as an example of how I have learned to enter it.
    Steve
     
  4. jumps4

    jumps4 Global Moderator Staff Member Active Member

    Likes Received:
    181
    Trophy Points:
    63
    City:
    New Port Richey
    State:
    Florida

    -Return to Top-

    what is your max volatility set to, it seemed really slow on the G0 moves in the video?
    G0 should move at the highest speed the axis will move without missing steps.
     
  5. Glen

    Glen United States Active Member Active Member

    Likes Received:
    4
    Trophy Points:
    8
    City:
    Houston
    State:
    Texas

    -Return to Top-

    I was at F10 and spindle speed I really don't just guess at it to get a smooth cut on the acrylic
    can't cut to fast or it chips and the heat will separate the glue from the brass tubing inside.
    I finally got a mark on my speed dial to where it cuts great and don't have to do a lot of wet sanding too
    get that nice glassy shine....
     
  6. Glen

    Glen United States Active Member Active Member

    Likes Received:
    4
    Trophy Points:
    8
    City:
    Houston
    State:
    Texas

    -Return to Top-

    Well Here is the latest video of the Gcode for my pen and pencils.
    I have totally rewritten the Gcode for it.. The video is a piece of dowel that
    I had. This is just a test cut to see if the Gcode would work, so for it's a go.
    Now I need to do it with a piece of acrylic.. I want to thank everyone for
    the help, I finally figured out the code for this, dang my head hurts.. Oh yeah
    if anyone wants this code let me know and I will upload it'''
    Thanks Again
    Glen

     
    Cadillac STS likes this.
  7. jumps4

    jumps4 Global Moderator Staff Member Active Member

    Likes Received:
    181
    Trophy Points:
    63
    City:
    New Port Richey
    State:
    Florida

    -Return to Top-

    your getting it:)
    Steve
     
  8. Cadillac STS

    Cadillac STS United States Active User H-M Supporter-Premium

    Likes Received:
    131
    Trophy Points:
    43
    City:
    Grand Rapids
    State:
    Michigan

    -Return to Top-


    Yes, upload the code please.
     
  9. Glen

    Glen United States Active Member Active Member

    Likes Received:
    4
    Trophy Points:
    8
    City:
    Houston
    State:
    Texas

    -Return to Top-

    Yeah , but still trying to figure out how to
    make that dang chess piece, just can't figure out
    how to get it into GCode with my Program..
    Ok here is the file of the GCode..
    This is for a piece of stock 5/8" X 5/8" X 2 1/4"
    If you need more info email me and I will try
    to help as much as I can.. Enjoy and have fun with it..
    Glen glenmh@swbell.net
     

    Attached Files:

  10. Glen

    Glen United States Active Member Active Member

    Likes Received:
    4
    Trophy Points:
    8
    City:
    Houston
    State:
    Texas

    -Return to Top-

    Ok here is the final video of the pen/pencil GCode in action
    I found a piece of piano wood and cut in down to 5/8" X 5/8" X 1 1/4"
    Then turned it to size for a pen/pencil......
    If you need pics of the piece I will upload it....

     
    TomS likes this.

Share This Page