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 > TurboCNC


TurboCNC Discuss TurboCNC controller software here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-26-2006, 01:54 PM
 
Join Date: Jun 2005
Location: slovenia
Posts: 10
b0j3 is on a distinguished road
Kicad with TurboCNC

I'm trying to get convert PCB made in Kicad to TurboCNC.
Any Kicad and TurboCNC users? What software do you use to link the programs?
Reply With Quote

  #2   Ban this user!
Old 12-26-2006, 08:41 PM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

That is an interesting product! If the GerberView program actually creates ascii NC files or Gerber drill files, then it is those files that TurboCNC will use.

The file will have multiple lines with X, Y, and Z positions described numerically. Here is a sample of what the code could look like:

N1 M3 S4000
N2 G00 X5.125 Y16.0321 Z0.25
N3 G01 Z-0.15 F25
N4 G03 X2.7984 Y19.0623 R9.9343 F100
N5 G02 X4.8563 Y20.2153 R-1.25
N6 G03 X5.3937 Y20.2153 R0.2728
N7 G02 X7.4516 Y19.0623 R-1.25
N8 G03 X5.125 Y16.0321 R9.9343
N9 G01 Z-0.35 F25
N10 G03 X2.7984 Y19.0623 R9.9343 F100
N11 G02 X4.8563 Y20.2153 R-1.25
N12 G03 X5.3937 Y20.2153 R0.2728
N13 G02 X7.4516 Y19.0623 R-1.25
N14 G03 X5.125 Y16.0321 R9.9343
N15 G01 Z-0.55 F25

With TurboCNC, you open the file from the file menu, then you run the file. Additionally, you can get NCPlot and view the files and use the backplot ability of NCPlot to see how your mill would mill the board.

Hope this helps.

RipperSoftware
Reply With Quote

  #3   Ban this user!
Old 12-27-2006, 01:22 AM
 
Join Date: Jun 2005
Location: slovenia
Posts: 10
b0j3 is on a distinguished road

OK. I didn't test it yet. But isn't a drill file only for drilling vias?
Reply With Quote

  #4   Ban this user!
Old 12-27-2006, 01:37 AM
 
Join Date: Jun 2005
Location: slovenia
Posts: 10
b0j3 is on a distinguished road

I've checked gerberview (from Kicad) and it doesn't produce any nc file.
Reply With Quote

  #5   Ban this user!
Old 12-27-2006, 08:40 AM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

The next step is to see if a DXF is being produced that can be translated into drill files and NC files for routing the trace pathways.

I will download the product and look at it today and tomorrow. Maybe I can see what is being produced.

Can you post your project files in a zip so I can use them for testing?

Thanks,
RipperSoftware
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-27-2006, 08:48 AM
 
Join Date: Jun 2005
Location: slovenia
Posts: 10
b0j3 is on a distinguished road

Hm, the only thing I get is HPGL file. But the problem is that I need a contour of the lines on PCB. And the only thing I get is milling where the line is.

I've attached the board to test (it's only brd file to use with pcbnew - part of the Kicad).
Attached Files
File Type: zip board.zip‎ (2.4 KB, 90 views)
Reply With Quote

  #7   Ban this user!
Old 12-27-2006, 11:03 AM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

Thanks for the files. I have also used the demo of Pic Programmer to see what gets produced.

The PCBNew produces the files. These may not do anything for you though. It will produce a drill file with the extension .drl and this is gcode.

It also will plot and allow you to select plot types from the screen presented. However, it does not produce gcode that will be useable.

It will produce .PHO which is the Gerber option and is really design for photoplotting.

It will produce a .PLT which is the HPGL option and can be converted into another filetype, such as DXF.

HP2DXF can convert - http://www.ideaconsulting.com/hp2dxf.htm

It will produce a .PS which is the Postscript option and can be converted into another filetype, such as DXF.

PStoEdit can convert - http://www.geocities.com/SiliconVall...1958/pstoedit/

Once you have a DXF, then use Ace Converter http://www.dakeng.com/ace.html to convert the file into gcode. You could also use NCPlot or CamBam (free). The added benefit is that these products plot out the actual cut path.

My suggestion - If you don't have alot of time invested in KiCad, then switch to the freeware version of Eagle. It is a bit limited. See if the constraints fit you needs.

There are other PCB design products that may also put out the files you need or give standard files that can be converted. The bottom line is that in order to have TurboCNC cut you boards, it needs a NC file that defines the traces and a NC file that defines where to drill the holes. These should be separate.

Hope this helps.

RipperSoftware
Reply With Quote

  #8   Ban this user!
Old 12-27-2006, 11:59 AM
 
Join Date: Jun 2005
Location: slovenia
Posts: 10
b0j3 is on a distinguished road

Wow, that's a lot of information. I'll check the programs and see which path to take to get usable PCB.
I will report the findings (hopefully soon ).
About Eagle: I know it exists, but I hate the limitation of freeware version and the price is quite high for my pocket.
And I also invested quite a lot of time to Kicad (even created few elements in libraries).

I will eventualy write a program (script?) to convert gerber from Kicad to g-code. But for now I'd just like to test that it works.
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





All times are GMT -5. The time now is 12:15 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 354 355 356 357 358 359 360 361