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! > OpenSource CNC Design Center > OpenSource Software


OpenSource Software For the Discussion of Opensource CAD/CAM and NC shareware software etc)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-09-2010, 01:48 AM
Var Var is offline
 
Join Date: Feb 2010
Location: Russia
Posts: 30
Var is on a distinguished road
New export to Gcode plug-in for Inkscape

Inkscape is an Open Source vector graphics editor, with capabilities similar to Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file format.

New plug-in converts path's from Inkscape to Gcode. Major feature of plug-in is using biarc interpolation of Bezier curves instead of straight line interpolation (see examples).
This means that:
  • you will have smooth objects with out rebuilding the path
  • resulting Gcode will be much more shorter
  • you will save machine time
  • you will save you machine

Plug-in provides a lot of additional functions:
  • Area processing ("Pocketing")
  • Scaling and offsetting
  • Multi-pass cutting
  • Personal headers and footers for resulting Gcode files
  • ...

Gcode tools plug-in if freely available for download here:
Any feedback is appreciated!

Inkscape is a crossplatform software, here are available versions for Windows, MacOS, Linux, source codes. Inkscape is included in official repositories of Ubuntu, Debian, Puppy and others.
Tested on:
  • Linux
    • inkscape 0.46 / Ubuntu 9.04
    • inkscape-devel 0.46 / Ubuntu 9.04
    • inkscape 0.47 / Ubuntu 9.04
    • inkscape 0.46 / Ubuntu 8.10
  • Windows
    • inkscape 0.47 / Windows XP
    • inkscape 0.47 / Windows 7

Sorry for my English, I will appreciate any corrections .

Here are some examples:
Attached Images
File Type: png g83147_005.png‎ (187.2 KB, 57 views)
File Type: png Screqnshot1_800px.png‎ (77.5 KB, 77 views)
File Type: png g4954_800x700.png‎ (157.6 KB, 74 views)
File Type: png 0003.png‎ (194.6 KB, 78 views)

Last edited by Var; 02-09-2010 at 08:20 AM.
Reply With Quote

  #2   Ban this user!
Old 02-09-2010, 09:35 PM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

It looks like you've completely rewritten the original (Hugomatic's) program.
I'll be giving this a try. No time now, but feedback by Saturday.
Inkscape is an excellent and underrated application.

Thanks
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #3   Ban this user!
Old 02-10-2010, 01:44 AM
Var Var is offline
 
Join Date: Feb 2010
Location: Russia
Posts: 30
Var is on a distinguished road

It looks like you've completely rewritten the original (Hugomatic's) program.
I'll be giving this a try. No time now, but feedback by Saturday.
Inkscape is an excellent and underrated application.
That's why I've said New plug-in .

Hope for the feed back.
Reply With Quote

  #4   Ban this user!
Old 02-11-2010, 05:33 PM
MarcoBernardini's Avatar  
Join Date: Dec 2009
Location: Italy
Age: 52
Posts: 16
MarcoBernardini is on a distinguished road

I'm trying to understand G code before to even think to check prices of a CNC machine, and this tool seems really a must for beginners who don't want to deal with a complex (and expensive) CAD.
I see it is wonderful to make G code from TTF fonts: sign makers will be very happy!
A big bulk of SVG images, for who don't want to draw, are available on Wikimedia Commons: http://commons.wikimedia.org/wiki/Category:SVG
Reply With Quote

  #5   Ban this user!
Old 02-13-2010, 12:38 PM
 
Join Date: Jan 2006
Location: canada
Posts: 73
salzburg is on a distinguished road

I am still a beginner with inkscape and I like it very much, better than
CAD.
Could someone tell me how to install this G-code plug-in by telling what to click on during the install. Computer speak makes my eyes cross and my
mind go blank.
I have inkscape 047 on my windows XP home edition.
Appreciate any help anyone can give me with this installation.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-13-2010, 01:38 PM
MarcoBernardini's Avatar  
Join Date: Dec 2009
Location: Italy
Age: 52
Posts: 16
MarcoBernardini is on a distinguished road

Originally Posted by salzburg View Post
I am still a beginner with inkscape and I like it very much, better than
CAD.
Could someone tell me how to install this G-code plug-in by telling what to click on during the install. Computer speak makes my eyes cross and my
mind go blank.
I have inkscape 047 on my windows XP home edition.
Appreciate any help anyone can give me with this installation.

I'm a Linux man but I can try to give you some clues.
After you download the file extensions.tar.gz you must decompress it using programs like Gzip or 7-zip.
Inside the compressed file there are two other files, named gcode_tools.inx and gcode_tools.py.
Locate on your disk a folder named "extensions" (it must be somewhere inside a folder named "inkscape") and copy the two files there.
You'll find the G-tools under the "Effects" menu in Inkscape.
HTH!
Reply With Quote

  #7   Ban this user!
Old 02-13-2010, 05:49 PM
 
Join Date: Jan 2006
Location: canada
Posts: 73
salzburg is on a distinguished road

Marco, thank you for your quick reply.
I downloaded the file and when I try to open it with 7-zip a small
window apears but only for a fraction of a second. It looks like a
DOS window.
I have to check if I downloaded a DOS version of 7-zip.
Reply With Quote

  #8   Ban this user!
Old 02-13-2010, 06:26 PM
Var Var is offline
 
Join Date: Feb 2010
Location: Russia
Posts: 30
Var is on a distinguished road

I've posted ordinary zip archive and instructions here:
http://www.cnc-club.ru/forum/viewtop...=35&p=122#p122
if you have problems with it, I can mail you unzipped files.
Reply With Quote

  #9   Ban this user!
Old 02-14-2010, 09:24 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Weird results so far. I'm trying to work with a simple oval to test the biarcs and pocketing. Could you please list the parameters needed to to cut this with the x and y centered inside the oval using a .25" endmill. The machine only has 3.75" y travel.

Thanks

btw: I can do this outline with the old gcode extension no problem. Maybe I'm trying to apply old thinking to a new program
Attached Files
File Type: zip oval.zip‎ (6.5 KB, 32 views)
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #10   Ban this user!
Old 02-15-2010, 01:18 AM
Var Var is offline
 
Join Date: Feb 2010
Location: Russia
Posts: 30
Var is on a distinguished road

Gcode tools takes internal Inkscape's units (px). Conversion to " and mm is done with out any calculations so 1px=1" or 1mm depending on which unit is selected.
So if you want your ellipse be 2" long you should make it 2px long in the Inkscape. Or you can set scaling in the params tab.

If you want your ellipse be centered by x and y just put it in the following position: x = -xRadius y = -yRadius or -width/2 and - height/2. Or set up offsets.

Also I think subdivision you have done is a little redundant. You can try smaller values of subdivision.

By the way it could be useful for other users if you post your questions at the English support forum

Last edited by Var; 02-15-2010 at 01:35 PM.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-16-2010, 02:18 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Your program is less tolerant of offset shifting than the old extension. I think the problem involves how inkscape counts pixels and the y0 origin. That's not to say the program is broken, inkscape treats this concept differently than a CAD program. It may not confuse you but it confuses me and will confuse some others.

I will post back when I can explain more clearly, possibly to your forum.

The included pics show one way the old extension can shift offsets

edit/ btw: the screenshots are inkscape 0.47 in Mepis Linux. If the extensions run on this they should run on any recent Debian Linux.
Attached Images
File Type: png snapshot2.png‎ (4.7 KB, 70 views)
File Type: jpg snapshot4.jpg‎ (24.9 KB, 52 views)
File Type: png snapshot3.png‎ (22.2 KB, 62 views)
__________________
Anyone who says "It only goes together one way" has no imagination.

Last edited by cyclestart; 02-16-2010 at 02:42 AM.
Reply With Quote

  #12   Ban this user!
Old 02-16-2010, 07:58 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

The non-parametric code is having problems with new lines.
Code:
5: G00 Z1.000000G00 X-151.928080 Y-2.361681G01 Z-0.100000 F4.000000
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

Reply

Tags
free cam software gcode




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
Please Help Me With INKSCAPE diarmaid General CAM Discussion 36 10-29-2010 05:47 AM
inkscape to G-code Dan Falck OpenSource Software 6 09-13-2010 07:06 AM
Getting to Lazy Cam from Inkscape John Tribe LazyCam 5 08-21-2008 06:04 PM
inkscape drawing for lathe ChinaMan General CAM Discussion 0 11-16-2007 07:05 PM
GcodeOut - Export gcode to Turbocnc wjbzone Autodesk Software (Autocad, Inventor etc) 18 04-14-2004 07:22 AM




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