Page 1 of 2 12 LastLast
Results 1 to 12 of 15

Thread: How to generate g-code to mill flat surface

  1. #1
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0

    How to generate g-code to mill flat surface

    This is probably a really dumb question, and I'm brain dead at the moment. I need to mill a surface 6" x 10" flat with .125inch end mill. Is there a quick and dirty way to generate the code for Mach3? Dept of cut I would handle via multiple iterations of the same code.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  2. #2
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0
    Mach3 has a "surfacing" wizard


  3. #3
    Registered
    Join Date
    Sep 2006
    Location
    us
    Posts
    1
    Downloads
    0
    Uploads
    0

    Surface routine using 1 line of G-code

    g32 z-0.25 y6.2 x10.2 i.1

    I used the Probe Cycle command, in TurboCNC, to mill a surface.

    This line does multiple 0.1" passes, to a depth of 0.25".
    It also covers an area 0.1" larger, all around, using a 0.1" overlap.


  4. #4
    Registered
    Join Date
    Apr 2003
    Location
    USA ofallon, Mo
    Posts
    348
    Downloads
    0
    Uploads
    0
    G00g90x-0.162y-0.038
    G00g90z0.
    G01z0.f100.
    G01g91z-0.
    G01g91x0.112
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.104
    G01g91x10.05f100.
    Y0.104
    X-10.05
    Y0.098
    X10.05
    G00g91z.100
    G90x-0.162y-0.038
    Z0.
    M99
    %
    Attached Thumbnails Attached Thumbnails How to generate g-code to mill flat surface-6_10.jpg  


  • #5
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    Why would he need to use a 1/8 endmill?
    -He broke all the other endmills.
    -The largest shank allowed in the spindle is 1/8"
    -The spindle only has .01hp driving it.
    -The spindle runs at 100,000 rpm and 1/8" on down are the only ones that won't burn up.
    -He likes the sound of the router motor screaming for hours on end while he gets a few winks of shuteye....the 'white noise syndrome'.
    -Setting a new record in Guiness for "largest surface planed with a 1/8" endmill."

    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #6
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    Thanks guys, I figured out the mach3 wizard. Worked great.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  • #7
    Registered
    Join Date
    Apr 2003
    Location
    USA ofallon, Mo
    Posts
    348
    Downloads
    0
    Uploads
    0
    Hi pminmo,

    I haven't figured out the mach3 wizards, when I type in a number it changes back to some default number. I switched from Qstep to mach 3 and haven't used mach enough to know how it all works yet I used kippware for the above g-code.

    mitch


  • #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,289
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by motomitch1 View Post
    Hi pminmo,

    I haven't figured out the mach3 wizards, when I type in a number it changes back to some default number.
    You MUST hit enter after typing in a number, ANYWHERE in Mach3
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #9
    Registered
    Join Date
    Apr 2003
    Location
    USA ofallon, Mo
    Posts
    348
    Downloads
    0
    Uploads
    0
    Thanks Gerry

    That was it


  • #10
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    Yep, I learned the same lesson fooling with the wizzards. Couldn't find anything in the documentation. Then all of a sudden something worked, scratched my head as to why, then a couple of more trys and got it. Wow something so simple was so elusive. Guess too many point and clicks in my brain!
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  • #11
    Registered
    Join Date
    Apr 2003
    Location
    USA ofallon, Mo
    Posts
    348
    Downloads
    0
    Uploads
    0
    I gave up because I thought it was a option that i didn't have, them wizzards look pretty handy.


  • #12
    Registered
    Join Date
    Mar 2004
    Location
    USA
    Posts
    169
    Downloads
    0
    Uploads
    0
    Whats wrong with using the jog keys in mdi mode?


  • Page 1 of 2 12 LastLast

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.