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! > Electronics > PCB milling


PCB milling Discuss PCB milling here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-03-2009, 10:06 AM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
Gsuite: free gcode tools

I have written a program which fixes any skew or non-squareness of the router by modifying the g-code. This is very useful when milling double sided pcb's.

Another program is included which calculates machining time.

And yet another which removes parallel lines situated closely together. This is handy when milling fine pitch smd pads.

You are free to host the program or provide a link:

program and source

Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-05-2009, 10:49 AM
 
Join Date: Sep 2008
Location: Germany
Posts: 142
der_fisherman is on a distinguished road
It will be some time before I probably need it, but I would like to thank you most kindly for your work and documentation. It looks very usefull...
I would hope that any other user of your software does the same!
Best regards
Der Fisherman
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-05-2009, 12:41 PM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
Thanks for the kind words.

Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 11-01-2009, 04:26 PM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
Gsuite V1.2

I added some more programs. Here is an update.
http://pilotpage.monosock.org/filead...suite_v1.2.rar


Gflat v1.0 – Creates a milling pattern to flat the bed of the milling machine. It can generate both a conventional milling or climb milling path.


Gopt 1.0 – Optimizes both drilling and milling paths. Tool changes are supported as well. This program is completely new and has different logic then existing optimization programs.


Gpath v1.1– Removes close parallel tracks. This leaves only one track to be milled between pads which increases track quality. Handy for engraving fine pitch SMD IC's.


Gskew v1.2– Compensates for skew or un-squareness in the milling machine. With some tweaking, the drill holes in the via's and pads can be aligned exactly. Handy for double sided PCB's.


Gtime v1.1– Calculates the time it takes to finish the milling job. No more surprises. The job time is accurate to within about 10 minutes for large boards.

Let me know what you think.
Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 11-02-2009, 01:56 PM
 
Join Date: Dec 2004
Location: Memphis, TN
Posts: 1,074
Jay C is on a distinguished road
Very impressive set of tools Tjeerd. I ran a simple file through.

gTime for
unoptimized = 11m 45s
optimized = 9m 39s

The app is simple and self-contained. Congrats on a job well done. On request, I always liked seeing the reduction in length of distance traveled.

I'll run some comparisons to Opti and follow up.

Jay
Attached Thumbnails
Click image for larger version

Name:	unopt.jpg‎
Views:	260
Size:	47.5 KB
ID:	92580   Click image for larger version

Name:	opt.jpg‎
Views:	264
Size:	29.9 KB
ID:	92581  
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-02-2009, 02:18 PM
 
Join Date: Dec 2004
Location: Memphis, TN
Posts: 1,074
Jay C is on a distinguished road
Tried the Gpath ... no so sure it's what I would ever use as I want the bit to remove all copper from the isolation distance ... can you give an example of why you made this?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 11-03-2009, 06:17 AM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
Jay C,

Sure. It all started when I was milling a VTQFP (Very Thin Quad Flat Package) footprint with a pitch of 0.5mm. This means the track has to be only 0.2mm wide. pcb-gcode (and I think most other cam programs) draws two tracks through the middle of the pads. This is because the program wants to isolate both pads, hence two tracks. But the middle track is thin enough as it is so the trick is to get those isolation tracks as close as possible so they are effectively on top of each other. This will normally generate the thinnest milled track for two passes. But I noticed that even though the milling tracks are practically the same location, the track was made a little bit wider with the second pass. This has probably to do with the laws of physics like motion, resistance, etc.

Anyway, Gpath makes sure that only one milling pass is made between closely located tracks. This makes the pads as wide as possible. They are thin enough as it is. For all other pads and tracks, of course you would like as much copper to be removed as you can. But not for the pads of these impossibly fine pitch IC's.

Makes sense?
Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-03-2009, 09:51 AM
 
Join Date: Dec 2004
Location: Memphis, TN
Posts: 1,074
Jay C is on a distinguished road
Makes sense, but that is not how the program behaved for me.
Attached Thumbnails
Click image for larger version

Name:	path_opt.jpg‎
Views:	241
Size:	48.6 KB
ID:	92606  
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-03-2009, 11:39 AM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
You have to adjust the "Distance Threshold".

Find any parallel tracks you want to remove. Get the X or Y offset between the two. Set the distance threshold just a tiny bit larger than that. Be sure to use the same units as your gcode file.

It looks like you have your distance threshold set far too large so the program removes all sorts of tracks you don't want it to. Besides, I don't see any tracks in your program you want to remove anyway. Remember, it is only designed for fine pitch SMD pads which have only two tracks in between them.

Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 11-07-2009, 07:31 PM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 236
Zig is on a distinguished road
Tjeerd,

Great to see Your software. used it on sorting some Gcode. Obtained excellent results provided there were no arcs ( G02 and G03 elements).

Any plans to include arcs ( I know the arcs introduce a level of complexity which is an order of magnitude higher)?

Does the sorter algorithm output G code which has been restructured so as to cause the tool to go from tail to nearest head and or tail and thsu reverse order of traversal of individual vectors?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-08-2009, 07:18 AM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
Zig,

No plans to include arcs. I can't use them anyway because it will be hard to make offsets to compensate for skew (Gskew), you'd get elipses. I could get it to work for just the Gopt program I guess, but that would be way down the pipeline.

I don't quite understand your question about the sorting logic but it works like this:
-Find out where the toolchanges are and treat the code in between as seperate blocks for the sorting logic.
-Find the closest entry point to a line (track beginning and ending at a different location), or loop (track beginning and ending at the same location).
-Find yet another closest entry point for another line or loop. Use the location where the previous line or loop ended as a reference point. If it was a loop, the entry and exit point are the same. If it is a line, the exit point is at the other end from the line.
-Repeat this process for each tool change block.

So it does reverse direction of the lines sometimes if this makes the rapid positioning path shorter. It doesn't reverse the direction of the loops, because this makes no difference.

Hope this answers your question.
Tjeerd
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 06-11-2010, 09:01 AM
 
Join Date: Sep 2009
Location: UK
Posts: 8
schouten_tjeerd is on a distinguished road
New version: 1.3
http://pilotpage.monosock.org/filead...suite_v1.3.rar

I added a new program: Gcoil
It can be used to turn your normal CNC milling machine into a coil winder. Not really PCB milling, but still very handy

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
New Free tools for pcb milling kn6za General Electronics Discussion 11 04-23-2007 11:48 AM
is there any Manuals free online trainning cnc gcode ? engrsc G-Code Programing 5 12-10-2006 05:15 PM
Who's with me ?? free*.dxf,gcode,ai,tif,..... spacealienskull WoodWorking 1 11-29-2006 09:15 AM
Free ruler gcode generator ynneb G-Code Programing 1 03-30-2005 10:21 AM
I have a problem with my gcode or my conversion to gcode , everything is tiny? NickLatech G-Code Programing 0 03-10-2005 01:46 PM




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