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 > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-16-2009, 02:25 AM
 
Join Date: Feb 2007
Location: USA
Posts: 54
roger_e is on a distinguished road
Programing a parabola on mill

Hey,

I needed to hollow out a parabola like the inside of a flashlight, or an egg shell.

Material is aluminum, part size about 18mm tall and 20mm square

I have got the formula for the parabola I am not quite sure on the syntax for the G-Code...

I was going to run it as a seperate operation(really the third operation)...or the other option was to get a tool ground to the right shape and just run a drilling cycle.

Programming seemed like a good idea...

Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-16-2009, 05:53 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 12
Roger Hamlett is on a distinguished road
What you don't say, is what sort of focal length the parabola is going to have?.
Thing is that at long focal lengths, relative to the diameter (high focal ratio - say over about F/8), the difference, between a parabola, and a sphere, is basically unmeasurable at any normal 'mechanical' scale. In fact to the limits of what a milling machine is likely to achieve, the difference will be below the working accuracy, probably out to something like F/4. So you only have to worrry about it being a parabola, as opposed to a sphere, if you are working to relatively low focal ratios.
There is no 'inbuilt' G-code, that is going to give you a parabola. Your simplest programming route, would be to have the unit on a rotary table, and program a circular cut, while rotating the table. Then repeat this, but with a fractionally deeper centre, using a smaller diameter cut. Effectively cut a circle, then deepen this in the middle with another smaller radius circle, and then deepen this again with an even smaller circle.

Best Wishes
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-16-2009, 05:58 AM
 
Join Date: Jan 2005
Location: SoCal
Age: 70
Posts: 224
Pres is on a distinguished road
Are you cuttine the concave (inside) or convex shape?
(that affects cutting tools, chip removal, lead in, etc)

Of course, there are a number of ways to do it, depending on the coefficients of the parabolic equation and your tool rigidity/accuracy.

If it's a male part then you could make a series of circular interp cuts using a starting point that's constructed from the equation.
e.g. assume the parabola is in the z-x plane, pick a starting
z value to be machined, determine the surface normal and
move out that vector by the ball cutter radius and subtract
the cutter ball radius for a starting Z value.
Similarly, for the starting X value it would just be the surface point adjusted by the surface normal vector times the cutter radius value.

Also, the X value would be used for the starting value of a full circle cut - using circular interpolation.

Essentially, this would generate a bunch of decending circular cuts that follow a parabolic shape.

Hopefully, I made the above explanation understandable.
One picture is worth a 1k words, but it would take me
awhile to draw up one that is meaningful.

Hth & good luck,
Pres
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-16-2009, 07:48 AM
 
Join Date: Oct 2008
Location: US
Posts: 2
mscir is on a distinguished road
possible parabola plotter

Hi,

I wrote a freeware program that calculates parabolic curves for any depth, diameter or number of steps, you can read about it or download it here:

http://mscir.tripod.com/parabola/index.htm

It may be possible for me to modify the way the program saves the coordinates so your mill software could read the file correctly. If this sounds good please send me a data file that shows exactly how to format the (x, y) coordinates in the output data file. The more details you can provide the better. If you have already programmed a parabola and can send me the coordinate file that would be very useful.

Best Wishes,
Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 03-16-2009, 09:59 AM
 
Join Date: Sep 2006
Location: United States
Posts: 67
jetpig1 is on a distinguished road
Hmmm

Form tool would be expensive. If you know the equation, you could create the geometry simply in a program like Rhino, and generate surfacing G code in a CAM program. Tolerance of the surface would be your biggest issue -Geo
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-16-2009, 06:52 PM
 
Join Date: Dec 2007
Location: USA
Posts: 54
twoartistic is on a distinguished road
I could write the code for you cheaper than you could buy the tool, if you can give me the following;

1 parabolic curve cross section as a dxf or dxb

2 size of ball end tool you want to use

3 horse power of your spindle, flood lubrication or dry machining

4 controller you are using or (I could write as simple g-code for you to import)

5 Metric or inches for code

6 where x0.00, y0.00 is on your machine in relation to the table

7 where you want to clamp your block to the table, and where the hold downs clamps are to be located

8 size of block you are going to cut this out of

9 working height of your z-axis

10 Do of want z0.00 to be the top surface of your block, or the top surface of your table.

Best Regards
twoartistic@gmail.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-16-2009, 07:48 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 992
Kiwi is on a distinguished road
Attached is a program which I wrote some time ago. Not sure if this is of any use.
Attached Files
File Type: zip Parabola.zip‎ (6.2 KB, 145 views)
Tweet this Post!Share on Facebook
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
? on programing markjb Fadal 6 03-16-2009 06:09 AM
Problem- Machining a Parabola Fanuc 10T Steve Preece Fanuc 4 03-10-2009 01:28 PM
programing G3 IJ R Luslugger G-Code Programing 3 08-01-2008 01:42 AM
Parabola in SW 2005 cdlenterprises Solidworks 1 11-10-2006 03:13 AM
Cad program to map parabola rickwinters General CAM Discussion 8 02-23-2005 01:04 PM




All times are GMT -5. The time now is 12:39 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