View Single Post
  #6   Ban this user!
Old 02-06-2009, 12:06 AM
justgary's Avatar
justgary justgary is offline
 
Join Date: Mar 2008
Location: USA
Posts: 309
justgary is on a distinguished road
4th Axis Secrets Revealed!

All -

I think I have finally broken the 4th axis code, but still have a few questions. I'll get to those later.

I have attached a zip file including two IGES files and a SprutCAM file. The first IGES file, SprutCAM_4th_Axis.igs, is the part for which you want to create a toolpath. The second file, 4th_Axis_Fixture.igs, crudely approximates the 4th axis rotary table, chuck, and whatever else you might want to avoid cutting. Both of them are already included in the SprutCAM file, SprutCAM_4th_Axis.stc. I wanted to make sure you could recreate my work if you wanted to try.

I'm using SprutCAM 2007 build 5.48, so your mileage may vary. Also, note that you will need the recent "MULTIGOTO" post in order to post a G-Code program using this method.

Here are the steps I took (as I recall) to create the toolpath. Please don't shoot me if I forgot a step. You can always pay Dave to help you if you get lost...

1. On the 3D Model tab, Import the part file.
2. Select all of the surfaces of the part (Ctrl-A will do it).
3. Right Click on any of the selected parts. You will see a popup menu.
4. Select 3D Model | Properties, and a popup window titled "Objects Properties" will appear.
5. Select the Machining tab.
6. Uncheck the Double Sided checkbox and then click OK.
7. Select all of the surfaces again if they are not selected.
8. Right Click again on any of the selected parts.
9. This time, select 3D Model | Inverse from the popup menu.
10. Now click on the Machining tab.
11. Select the Machine line and click on the Parameters button.
12. On the popup that appears, click on the Machines tab.
13. Select 4-axis milling machine (A) and click OK.
14. On the end of the menu bar of the program, click on the icon for create coordinate system. It should be the little white rectangle next to the box that says, "Global Mill CS." A popup window will appear entitled, "Definition of new coordinate system (CS)."
15. Click on the Rotary Axis tab.
16. Click in the Position box and type 360. Click OK.
17. Define the workpiece. I simply used a cylinder around the part, along the X axis.
18. Select Machining and click on the New button.
19. Select Tool-End 5D Machining from the Finishing tab. Click OK.
20. Click on the Parameters button.
21. Select the tool. SprutCAM seems to have a bug in that it will only use the center point of the tool to compute Z height in this mode, so you should probably plan on using a Ball Mill. Enter your favorite feed and speed.
22. On the Strategy tab, select Axis Z Position as the Safe Axis, and set the level to something larger than the largest radius of the part. In the case of the example, I used 1.1 inches.
23. At the bottom of the Strategy tab, play with the top and bottom levels until the toolpath is what you want. In this case, I used 0.5 and 0 inches.
24. Also on the Strategy tab, in the Machine State box, select Workpiece Coordinate System and pull down RotAxis 360;0 (the local coordinate system you made in steps 14 through 16).
25. Change Local Coordinate System to RotAxis 360;0 in a similar fashion.
26. Click OK on the Parameters window.
27. Under the Machining tree, click the little plus marks until you see Job Assignment. Select Job Assignment.
28. Add the faces you would like to machine using the Add Drive Faces button.
29. SprutCAM makes a group of the faces you chose. In the box below the Add Drive Faces button, select the group (Group 4 in this example). Click on the Properties button that is on the same line as the Add Drive Faces button. An Item Properties popup will appear.
30. Select the Alternate front side checkbox.
31. Change the step method to Distance (or whatever you want). Change the Step amount to 0.05 (or whatever you want; it defaults to one step).
32. Click OK.
33. Now click the Run button and let SprutCAM create the toolpath.
34. Simulate and enjoy.

The questions: As I mentioned in Step 21, I think SprutCAM has a bug in this mode in that it will only work correctly if you choose a ball mill. Every other tool I tried will crash on the cone shaped portion. I found this before when I tried to get a 4th axis toolpath, and here it is again. You can change to using the side of the mill by choosing Flank on the Strategy tab, which may give a better finish. That may be a way to get a flat but sloped surface (but no sharp corners).

Also, this part is pretty simple. Have any of you tried anything more exotic, like an eccentric cone? Dave's example of a camshaft is eccentric, but also simple in that it only has flat (horizontal) areas to mill. I suspect SprutCAM will fall on its face with a more difficult part.

Try this out and let me know how it goes. Maybe we can resolve the questions by just tinkering with the parameters.

Regards,

- Just Gary

P.S. Well, I tried to attach a zip file. It is way under the max size allowed, but failed to upload several times. Any ideas?
Reply With Quote

 

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