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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-10-2008, 01:38 PM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road
What tools generate G-Code

Hi all,

New to CNC and EMC but have now successfully got EMC2 (from Ubuntu Hardy Heron live CD) controlling an old Denford milling machine. I am probably doing this in reverse order but now I have it running, I need to be able to create G-Code files.

Could anyone tell me what programs I would need (preferably GPL Ubuntu) in order to capture a design and convert it to a G-Code file for milling? - I have read about Qcad but do I need another program to convert DXF to G-Code?

I'd like to be able to mill simple shapes in vero cases to begin with but longer term I plan on routing PCBs too. I know there is another forum for that so I will ask about converting Gerber files to G-Code elsewhere.

Many thanks.
Reply With Quote

  #2   Ban this user!
Old 08-10-2008, 02:18 PM
 
Join Date: Oct 2006
Location: usa
Posts: 104
chazmtu is on a distinguished road

Hi Eskimobob,
What your looking for is a cam(Computer Aided Machining) program. They allow you to import or draw dxf(and sometimes more) files and decide what machining operations you want done. They also generate g-code. My g-code interpreter is separate from my design machine. Were you planning on using one machine for everything? I use CamBam for windows but there are many others out there.

Chuck
__________________
http://chuckscnc.blogspot.com/
Reply With Quote

  #3   Ban this user!
Old 08-10-2008, 02:34 PM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road

Hello Chuck,

Thanks for replying. CamBam looks very interesting - I will investigate further. As it happens, I had been looking at PCB Isolation routing on brusselsprout.org.

My linux box with EMC2 on it is in the shed so I am quite happy to use another program indoors to generate the G-Code (Windows or Linux). I hope to keep it low cost though as it is for hobby use.

All the best

p.s. What program would you recommend for CAD work then in order to create the DXF that I push through CamBam? - Or, will CamBam allow me to draw objects too??
Reply With Quote

  #4   Ban this user!
Old 08-10-2008, 03:03 PM
 
Join Date: Oct 2006
Location: usa
Posts: 104
chazmtu is on a distinguished road

CamBam will let you draw basic shapes like circles, arcs, polylines and import ttf fonts. It has a lot of other functions too as well as addons and scripting for custom shapes ect.
For the more complex drawing I use Inkscape which can save dxfs but only in the linux version. Recently though I ordered CoralDraw which I hear many good things about from people here. It's expensive but If your a student you can get a big discount.
What kind of machine are you running EMC2 on? I run Turbocnc on an old laptop with the minimum requirement for EMC2. I was thinking of switching but don't want too much of a hassel.
__________________
http://chuckscnc.blogspot.com/
Reply With Quote

  #5   Ban this user!
Old 08-11-2008, 03:49 AM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road

Originally Posted by chazmtu View Post
What kind of machine are you running EMC2 on? I run Turbocnc on an old laptop with the minimum requirement for EMC2. I was thinking of switching but don't want too much of a hassel.
I'm running EMC2 on an old Desktop machine P166 (IIRC). I started from scratch with it using the Ubuntu Hardy Heron EMC2 Live CD - Initially I had trouble getting it to install but it turned out to be a lack of RAM. I had 128 Meg installed which was more than the 32 Meg minimum specified however it seems that the installation required more to work reliably. I added in a couple of spare 128 Meg sticks (making 384 Meg total) and installation was then smooth as silk.

Surprisingly easy to modify the .HAL files when connecting my stepper drives, home and limit swithes to the parallel port pins too.

Hope this helps.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-11-2008, 07:52 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Originally Posted by eskimobob View Post
- I have read about Qcad but do I need another program to convert DXF to G-Code?
Qcad has a companion program called CamExpert. It is aimed more at uses like plasma. The demo times out every 10 minutes.

Synergy is cad/cam that will work with mills, The 2D cad portion is free to use and powerful and complex compared to Qcad. It has a menu item for DXF export but I have not been able to make it work. Possibly this feature is disabled in unlicensed versions. Who knows ? The difficulty of finding this type of information without directly contacting the company is a downside of this software.

I have been testing out Sheetcam TNG recently and find much to like about it. It's 2D general Camware and does not create drawings.

I'd like to be able to mill simple shapes in vero cases to begin with but longer term I plan on routing PCBs too. I know there is another forum for that so I will ask about converting Gerber files to G-Code elsewhere.
Have you checked out Eagle ?
http://www.cadsoftusa.com/
Being electronically challenged I know it exists but not much more.
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #7   Ban this user!
Old 08-11-2008, 09:21 AM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road

Originally Posted by cyclestart View Post
Have you checked out Eagle ?
http://www.cadsoftusa.com/
Being electronically challenged I know it exists but not much more.
I currently design PCBs using Easy-PC (I bought the full version for work use) and therefore I'd like to be able to take the standard gerber output and convert to G-Code. Having read on brusselsprouts page, it seems that Eagle can import Gerber files and then create G-Code so I may well end up using Eagle in some way after all.

There does seem to be a SourceForge Gerber to G-Code project but it still seems to be in the early stages.
Reply With Quote

  #8   Ban this user!
Old 08-11-2008, 09:38 AM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road

Just realised that my Easy-PC program can output DXF of electrical layers. Have done so and opened it in CamBam and I can see something reasonably sensible but not sure what to do next - looks like I need to investigate the CamBam forums...
Reply With Quote

  #9   Ban this user!
Old 08-11-2008, 11:46 AM
 
Join Date: Oct 2006
Location: usa
Posts: 104
chazmtu is on a distinguished road

Just realised that my Easy-PC program can output DXF of electrical layers. Have done so and opened it in CamBam and I can see something reasonably sensible but not sure what to do next - looks like I need to investigate the CamBam forums...
Does the DXF give you just the trace outlines or toolpaths for milling? If its just the outlines all you need is highlight the traces and try 2.5 machine op. It will let you choose how deep to mill, which side and how far back to mill it. I think theres a tutorial on the cambam site for each machine op and their functions.
__________________
http://chuckscnc.blogspot.com/
Reply With Quote

  #10   Ban this user!
Old 08-11-2008, 01:45 PM
 
Join Date: Aug 2008
Location: UK
Posts: 7
eskimobob is on a distinguished road

Thanks Chuck. Easy-PC has several options for DXF output and two of them give trace outlines which look great in CamBam. Selecting 2.5D and then generate toolpaths does work (although I need to read more). Unfortunately the traces are shows as multiple segments so it looks like it would take absolutely ages to highlight each segment before chosing 2.5D and then generate tool paths on anything but very simple PCBs. I think I will investigate Eagle import/export functions next.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-14-2008, 08:59 AM
 
Join Date: Aug 2005
Location: UK
Posts: 596
Tony Mac is on a distinguished road

Hello Eskimobob,

Have you looked at Cut2D which will convert DXF to GCode. There are users running the code through EMC2 and I believe it runs on Linux Ubuntu, although have not actually done so myself.

More information + a Trial version on the Vectric web site.

Some interesting projects on the Forum

I hope this might be of interest.

Tony
Reply With Quote

  #12   Ban this user!
Old 09-29-2008, 08:54 PM
 
Join Date: Sep 2007
Location: US
Posts: 20
stratcat50 is on a distinguished road

There's a fellow in Germany with a program called 'dxf2gcode'. It's still in progress but working nicely so far. I've been converting Inkscape DXF files for use in EMC with good results.
The site is in German but the program is in English. No installation needed, just run it.
http://www.christian-kohloeffel.home...dxf2gocde.html
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
Generate G code from rhino file mredican Rhino 3D 14 02-23-2008 05:51 PM
scan part and generate cad code? ATV General CAM Discussion 4 02-14-2008 12:56 PM
How to generate g-code to mill flat surface pminmo G-Code Programing 14 09-10-2006 12:33 PM
Generate G-Code for end-milling operation vijaychd G-Code Programing 0 06-02-2005 03:46 AM
Best way to generate code? jderou BobCad-Cam 0 09-29-2004 08:37 AM




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