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 12-03-2008, 09:37 AM
 
Join Date: May 2007
Location: United States
Posts: 7
TronCarter is on a distinguished road
Rearrange order of holes drilled ?

I have a 10+ year old piece of software that is for circuit board layout. One of the things it will do is export a .dxf file and then it can be used for programming a cnc mill to drill the holes in the board for you. I am able to get everything to work except that the holes are drilled in the order in which they were drawn and consequently the mill does a lot of unnecessary traveling, jumping from hole to hole instead of doing it in a "shortest path" method. The circuit board layout software is limited in that there is no way to "reorder" the holes once drawn. Is there a piece of software that can work with a .dxf and rearrange it for a "shortest path"?
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-03-2008, 10:15 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,657
TOTALLYRC is on a distinguished road

Originally Posted by TronCarter View Post
I have a 10+ year old piece of software that is for circuit board layout. One of the things it will do is export a .dxf file and then it can be used for programming a cnc mill to drill the holes in the board for you. I am able to get everything to work except that the holes are drilled in the order in which they were drawn and consequently the mill does a lot of unnecessary traveling, jumping from hole to hole instead of doing it in a "shortest path" method. The circuit board layout software is limited in that there is no way to "reorder" the holes once drawn. Is there a piece of software that can work with a .dxf and rearrange it for a "shortest path"?
I assume most cam software can but that might be a large assumtion.
I use deskcnc both as a machine controller and it's CAM feature to do my tool path generation/G-code. Before doing anything with the dxf, the first thing I do is turn on show information tags and then go to set machining order.
Yes it has to be done manually, but it works for me. If you have 100 holes to reorder, it gets crazy, but I will assume that one of the higher end packages will do it automatically.

They have a trail download if you want to give it a try.

www.deskcnc.com

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 12-03-2008, 11:29 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

OneCNC has a sort function for holes, it may be able to do what you need. Although it's feature recognition will sort full arcs into groups automatically, if you place points at all arc centers, then it will drill by points only, in which case it should sort the whole group. If you want to post an nc file or a dxf, I'll run it through and send you back the results.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 12-03-2008, 04:28 PM
mc-motorsports's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 1,084
mc-motorsports is on a distinguished road

I use Rhino, and if you just use the "hole select" command, yes, sometimes it can be random. But if you select your regions in the order that you want they drilled or cut, than that's the order the machine goes in.

Guess it depends on what CAM system your using. So... What CAM system are you using?
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 12-03-2008, 04:36 PM
 
Join Date: May 2007
Location: United States
Posts: 7
TronCarter is on a distinguished road

It is also quite old and I think proprietary to the Milltronics Mill that we have at work. It runs a software called SLS. I know it can't be done with SLS, that's why I was hoping there was a way to rearrange the dxf file. Currently the process is to create the drawing in a CAD program or in this case my circuit board creator, and then it can be imported by SLS. SLS automatically figures out the toolpaths for you and there is no easy way to rearrange the holes. From what my tests have shown it appears that SLS will machine them in the order in which they were drawn by the CAD program which would make some sense if my understanding of dxf files are correct in that it is simply a text file that is probably generated in the order in which the part was drawn. The circuit board I am currently working on has 526 holes on it so it does not lend itself to manually rearranging the holes or hand drilling.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-02-2009, 03:38 PM
 
Join Date: Sep 2007
Location: USA
Posts: 37
rapidtraverse is on a distinguished road
Coolant Tester

A last resort could be to cut and paste
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-05-2009, 05:33 PM
BMG BMG is offline
 
Join Date: Dec 2006
Location: Pennsylvania, US
Posts: 151
BMG is on a distinguished road

Do you have AutoCAD?

If so - use Gery's AC2GC application. search the site for it and you should find a link to it.

I use that for generating my Gcode. He has built in several picking options for cutting. One is Order drawn or User Selected Order. I use this routinely. It gets tedious for picking large groups of entities, but you can always pick subsets of entities then append the resulting GCODE files together afterwords.

If the Milltronics wants a DXF file (probably R12 or earlier) then you will need to manipulate it either by hand (text file editing - not for the feint of heart) or with AutoCAD, Intellicad, or similar program.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 01-05-2009, 10:34 PM
BMG BMG is offline
 
Join Date: Dec 2006
Location: Pennsylvania, US
Posts: 151
BMG is on a distinguished road

After thinking about this more, if you or someone you work with is decent with a programming language, you could;
parse the DXF file into a table
grab all the entities (have to figure out if the par points, lines, polylines, etc...)
order the entities either using a nearest neighbor routine or x.y sort
parse the reorganized entity list back to a revised dxf
and your done. Of course this is dependent upon someone writing the program to do it.

For reference, here is the file structure reference for DXF's from AutoCAD.

http://www.autodesk.com/techpubs/aut...les_dxf_aa.htm

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
projecting drilled holes dpark1 Mastercam 4 08-24-2007 11:17 PM
Drilled Acrylic kdoney Employment Opportunity 2 06-12-2006 07:28 PM
RFQ: UHMW Cut to length and drilled mrbaseball Employment Opportunity 9 11-09-2005 06:34 PM
Drilled Holes jonbanquer NCPlot G-Code editor / backplotter 6 05-25-2005 12:17 AM
Are sherlines drilled and tapped?? BriteHarry Mini Lathe 1 10-14-2004 08:36 PM




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