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! > CAM Software > General CAM Discussion


General CAM Discussion Discuss CAD/CAM software and Design software methods here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-21-2003, 10:35 AM
drc drc is offline
 
Join Date: Sep 2003
Location: usa
Posts: 3
drc is on a distinguished road
complex patterns

Hi all, I'm new here so, please be patient.
I run a plasma cutter where I work and have been able to handle cutting squares, rectangles and circles without too much trouble. I was wondering if someone could help me with more complex patterns such as half moons and pie shapes. I was trying to figure out how to write a program for a pie shape with a slight radius but, this seems to go beyond g2, g3, and I and J codes. Am I not using the right codes for something like this? Can someone point me in the right direction?
Thanks in advance for all your help.
drc
Reply With Quote

  #2  
Old 09-21-2003, 11:30 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Over there ---------------->



G2 and G3 are all you need for arcs, but you need to know the parameter requirements of your machine controller, just to be sure. Some controllers expect a new command every time the curve crosses a quadrant line (X or Y at 0, 90, 180, 270 degrees), or maybe every 180 degrees.

The other variable which you must determine, is whether the arc center coordinates must be in absolute values, or incremental values. This choice may be dependent on the current mode of your main program, G90 absolute or G91 incremental.

Having said that, the rest is a matter of correct mathematics.

You should be able to get ahold of some very inexpensive software to help you do all this much more quickly and accurately than you can with a calculator. Bobcad comes to mind, or if you are wanting more automated software that will help you with nesting profiles, together, Onecnc Profiler comes to mind.

If you want to talk math, just say so, and we'll launch into that
__________________
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)
Reply With Quote

  #3   Ban this user!
Old 09-21-2003, 12:18 PM
drc drc is offline
 
Join Date: Sep 2003
Location: usa
Posts: 3
drc is on a distinguished road

thanks HuFlungDung, I'll check out the software links.
My problems may end up to be mathematical more than anything else.
If I make a pie shape with six inch sides, the only way to make it look half way right is to go with g2 and I3.0 in incremental mode for my radius. If I try to change the radius to something smaller or bigger without changing the sides, it only screws it up. So, if all I need are the codes I am already using, than I must be doing something wrong when I am trying to tell the machine what I want it to do.
So, like I said, I will try to look at the software and see if it will help me.
Thanks again for your help.
drc
Reply With Quote

  #4  
Old 09-21-2003, 12:29 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

DRC,

FYI, the I and J values in incremental mode are easiest to understand. These are the coordinates of the center of the radius the machine will move through. These coordinates must be equidistant from the position where the machine starts the arc, and the position where it will end the arc movement.

The X and Y values included with the G2 or G3 command are, of course, the exact endpoint of the arc movement, relative to the starting position.

So its not a matter of guesswork, plain old trigonometry, or even the Pythagorean theorem can be used to figure this out. Usually, high accuracy is required in the calculation or else the controller will refuse to move, or it will make a "correction" at the end of the move to get to the commanded endpoint.
__________________
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)
Reply With Quote

  #5   Ban this user!
Old 09-21-2003, 10:27 PM
 
Join Date: Mar 2003
Location: Utah
Posts: 214
Mortek is on a distinguished road

drc,

Here is a sample g-code of a partial moon shape g-code with I,J icremental.

G00 X0. Y3
G03 X0. Y-3. I4. J-3.
G02 X-3. Y0. I0. J3.
X0. Y3. I3. J0.
G00 X0. Y3.

outside arc is 3" radius and insice arc is 5" radius
Attached Thumbnails
Click image for larger version

Name:	moon.jpg‎
Views:	213
Size:	19.4 KB
ID:	820  

Last edited by Mortek; 09-21-2003 at 10:33 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-21-2003, 10:47 PM
 
Join Date: Mar 2003
Location: Utah
Posts: 214
Mortek is on a distinguished road

Now the pie shape

G01 X0. Y0.
G01 X-1.5 Y2.5981
G02 X1.5 Y2.5981 I1.5 J-2.5981
G01 X0. Y0.
Attached Thumbnails
Click image for larger version

Name:	pie.jpg‎
Views:	216
Size:	30.3 KB
ID:	821  
Reply With Quote

  #7   Ban this user!
Old 09-22-2003, 04:39 AM
 
Join Date: Sep 2003
Location: Sarasota Florida
Posts: 29
CDignition is on a distinguished road

I would be willing to help ya out on malking the programs you need...if yu send me the drawings, I will use my Cam system and post a file for you and e mail it to you..
__________________
Visit my webpage www.cdignition.com
Reply With Quote

  #8   Ban this user!
Old 09-22-2003, 05:13 AM
drc drc is offline
 
Join Date: Sep 2003
Location: usa
Posts: 3
drc is on a distinguished road

Thank you Mortek
You've helped me quite a bit with the samples. This is what I was looking for. It's starting to make sense to me now.

Thank you cdignition for your help and offer I will try to get a copy of the drawing for you.

Excellent website by the way, I love your car. I've been a mopar fan for many years. I used to drive a '73 340 Duster but never had the time and money to do what I wanted to do.
Anyway, thanks again to all of you for the help. This is a great site.

drc
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracing Carboard Patterns cncmitch General CAM Discussion 5 03-30-2005 04:12 PM
Complex sign design maxxgraphix G-Code Programing 4 03-25-2005 08:34 PM
Plaster Patterns mtuckf Moldmaking 11 05-20-2004 05:56 PM
Automatic Hole Patterns tahlinc Tahlcam 0 10-03-2003 06:35 AM




All times are GMT -5. The time now is 12:51 AM.





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