CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-08-2008, 10:43 AM
 
Join Date: Feb 2008
Location: united states
Posts: 20
Minna is on a distinguished road
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
Reply With Quote

  #2   Ban this user!
Old 03-08-2008, 11:56 AM
 
Join Date: Dec 2007
Location: Canada
Age: 48
Posts: 617
cam1 is on a distinguished road

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
Reply With Quote

  #3   Ban this user!
Old 03-08-2008, 01:50 PM
 
Join Date: Feb 2008
Location: united states
Posts: 20
Minna is on a distinguished road

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
Reply With Quote

  #4   Ban this user!
Old 03-08-2008, 04:43 PM
 
Join Date: Nov 2007
Location: united states
Posts: 28
HapSmo19 is on a distinguished road

Important: Note the location of the big red button
Reply With Quote

  #5   Ban this user!
Old 03-08-2008, 05:39 PM
 
Join Date: Feb 2008
Location: united states
Posts: 20
Minna is on a distinguished road

Originally Posted by HapSmo19 View Post
Important: Note the location of the big red button
Thank you for your criticism.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-09-2008, 03:51 PM
 
Join Date: Nov 2007
Location: united states
Posts: 28
HapSmo19 is on a distinguished road

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.
Reply With Quote

  #7   Ban this user!
Old 03-10-2008, 08:26 PM
 
Join Date: Dec 2007
Location: Canada
Age: 48
Posts: 617
cam1 is on a distinguished road

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
Click image for larger version

Name:	bat_1.jpg‎
Views:	98
Size:	25.8 KB
ID:	55265  
Reply With Quote

  #8   Ban this user!
Old 03-10-2008, 10:15 PM
 
Join Date: Dec 2007
Location: Canada
Age: 48
Posts: 617
cam1 is on a distinguished road
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
File Type: dxf Bat_1.DXF‎ (15.4 KB, 124 views)
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 10:09 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361