Results 1 to 8 of 8

Thread: Help Wanted G-codes for Wood Baseball bats.

  1. #1
    Registered
    Join Date
    Feb 2008
    Location
    united states
    Posts
    20
    Downloads
    0
    Uploads
    0

    Help Wanted G-codes for Wood Baseball bats.

    Hi,

    can anyone help me in laying out the g-codes for wood baseball bat models?
    what all do I need to know to make a bat on my cnc machine.

    Thank you,

    minna


  2. #2
    Registered
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    617
    Downloads
    0
    Uploads
    0
    First you need to define the geometry, as a bat is not just a simple cylinder. The geometry could be defined in 2D. From there, you could manually write the Gcode (making sure that the syntax etc.) is correct for your machine control.
    You could take a bat and "reverse engineer" it by dividing the length into a number of segments, and measuring the diameter at each segment. The drawing would then be scaled to suite.
    Do you have any experience with CNC turning? Machining?

    regards


  3. #3
    Registered
    Join Date
    Feb 2008
    Location
    united states
    Posts
    20
    Downloads
    0
    Uploads
    0
    No, I am new to CNC programming. So what our sawing, at each inch of the bat take a measurement with a caliper? Put that into the G-code?
    Thanks


  4. #4
    Registered
    Join Date
    Nov 2007
    Location
    united states
    Posts
    28
    Downloads
    0
    Uploads
    0
    Important: Note the location of the big red button


  • #5
    Registered
    Join Date
    Feb 2008
    Location
    united states
    Posts
    20
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by HapSmo19 View Post
    Important: Note the location of the big red button
    Thank you for your criticism.


  • #6
    Registered
    Join Date
    Nov 2007
    Location
    united states
    Posts
    28
    Downloads
    0
    Uploads
    0
    OK, I apologize.

    That's what he's saying.....sort of.

    What model of control are you using?
    Do you have the programming manual?


    Assuming you know how to set tool geometry on your machine and you are starting with the pommel (grip) end to the tailstock, you'll need to rough turn the areas that aren't undercut (any diameter greater than the pommel diameter). With the finished pommel face being Z zero, measure the pommel diameter and find the same diameter toward the business end and figure the Z minus distance to that point.

    Without having a baseball bat and calipers in front of me, we'll assume the distance is Z-10.000 and the pommel diameter is X1.500 with the diameter getting incrementally larger to the fattest point from there.

    Let's say the largest diameter is X3.000 and overall length is Z-36.000.

    Stock: 3.25 diameter by 40.125 long chucked on 1.000 inch leaving .125 for finish on the pommel end and 3.000 between the other end and the chuck.

    Facing pommel end:

    N1 G00 T101 S????(spindle speed) M03
    X3.500 Z0.0
    G01 X.75 (not running in to the center/tailstock) F.??(feedrate/ipr)
    G00 X3.5* Z.100
    (Roughing non-undercut areas using G71)
    G71 U.125(depth of cut) R.100(retract amount between cuts)
    G71 P101(first line of finish profile) Q106(last line of finish profile) U.02(stock to leave for finish in X) W0(stock to leave for finish in Z) F.??
    N101 G00 X1.500
    N102 G01 Z-10.0
    N103 X2.0 Z-14.0
    N104 X2.5 Z-20.0
    N105 X3.0 Z-37.0
    N106 X3.5*(start and finish at the same diameter/machine will return to X3.5 Z.1 when it reaches this point)
    G00 X10.0 Z5.0 M05(spindle stop)
    M01(optional stop)

    Without hints:

    N1 G00 T101 S???? M03
    G00 X3.500 Z0.0
    G01 X.75 F.??
    G00 X3.5* Z.100
    G71 U.100 R.100
    G71 P101 Q106 U.02 W0 F.??
    N101 G00 X1.500
    N102 G01 Z-10.0
    N103 X2.0 Z-14.0
    N104 X2.5 Z-20.0
    N105 X3.0 Z-37.0
    N106 X3.5*
    **
    G00 X10.0 Z5.0 M05

    If you use a tool that will work for the undercut as well you can continue from here** without a tool change. Assuming the pommel is 1/2" wide and your tool is .250 wide and the skinny part of the grip is 1.000 diameter:

    G00 X1.75 Z.100
    Z-.760(leaving .01 for finish on inside face)
    G01 X1.25 F.??
    Z-9.0(account for undercut area taper)
    G00 X1.75 Z-.760
    G01 X1.04(leaving .04 for finish/.02 per side)
    Z-8.0(account for undercut area taper)
    G00 X1.75 Z-.75
    (take a finish pass)
    G01 X1.0 F.??
    Z-8.0
    X1.500 Z-10.0
    X2.0 Z-14.0
    X2.5 Z-20.0
    X3.0 Z-36.25(overall length plus tool width)
    X2.0(cut clearance for radius tool) F.??
    G00 X3.5
    Z.100
    G00 X10.0 Z5.0 M05

    Altogether:

    N1 G00 T101 S???? M03
    G00 X3.500 Z0.0
    G01 X.75 F.??
    G00 X3.5* Z.100
    G71 U.100 R.100
    G71 P101 Q106 U.02 W0 F.??
    N101 G00 X1.500
    N102 G01 Z-10.0
    N103 X2.0 Z-14.0
    N104 X2.5 Z-20.0
    N105 X3.0 Z-37.0
    N106 X3.5*
    G00 X1.75 Z.100
    Z-.760
    G01 X1.25 F.??
    Z-9.0
    G00 X1.75 Z-.760
    G01 X1.04
    Z-8.0
    G00 X1.75 Z-.75
    G01 X1.0 F.??
    Z-8.0
    X1.500 Z-10.0
    X2.0 Z-14.0
    X2.5 Z-20.0
    X3.0 Z-36.25
    X2.0 F.??
    G00 X3.5
    Z.100
    G00 X10.0 Z5.0 M05
    M01

    I'm not going to reverse-engineer a bat for you but that should be a baseball bat type shape. Just measure the bat in segments and draw youself a profile with the numbers and plug them into the program. you can have as many "N###" moves as you need just change the "Q###" in the G71 line to the last # in the profile. I didnt get to G70(finish cycle) either but with an undercut, the best you could get out of it would be finishing half the bat(what you roughed with the G71 cycle). G70 P101 Q106 F.?? would finish that profile.

    I'm going batty. Hope that helps. Be safe.


  • #7
    Registered
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    617
    Downloads
    0
    Uploads
    0
    Hi please see attached.
    Next step, refine the geometry (looks funny at the 2.75 end)
    No big deal, as I translated your dimensions to XL, and then read into SolidWorks as a curve file.
    After that design the toolpath..

    regards
    Attached Thumbnails Attached Thumbnails Help Wanted G-codes for Wood Baseball bats.-bat_1.jpg  


  • #8
    Registered
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    617
    Downloads
    0
    Uploads
    0

    Bat DXF

    Hi Minna:
    As promised, here is a .dxf file of the bat dimensions you sent me.
    You should be able to tweak the design & read this into a cam sytem.

    regards
    Attached Files Attached Files


  • Similar Threads

    1. M-codes and G-codes 4 Matsuura ES-1000V
      By maximusek in forum G-Code Programing
      Replies: 2
      Last Post: 11-27-2007, 07:41 AM
    2. Need help with G codes
      By soldier in forum G-Code Programing
      Replies: 2
      Last Post: 11-23-2007, 12:38 PM
    3. Kids portrait - WOOD WANTED
      By offroadxx in forum WoodWorking
      Replies: 3
      Last Post: 10-29-2007, 08:04 PM
    4. Not Wood but works like wood almost
      By foamcutter in forum WoodWorking
      Replies: 8
      Last Post: 07-12-2005, 05:14 PM
    5. Why do they play the organ in baseball?
      By ynneb in forum CNCzone Club House
      Replies: 0
      Last Post: 08-24-2004, 07:27 AM

    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.