Page 4 of 7 FirstFirst 1234567 LastLast
Results 37 to 48 of 73
Like Tree1Likes

Thread: New export to Gcode plug-in for Inkscape

  1. #37
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1164
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Lanthan View Post
    I am using Ubuntu 10.04 + Inkscape 0.47 (from official distro) then 0.48 (from ferramroberto's .deb)
    Did you remove 0.47 or are both versions on your computer ? I wouldn't have mentioned the ferramroberto deb if I had been aware of the repository Var provided.
    Anyone who says "It only goes together one way" has no imagination.


  2. #38
    Registered
    Join Date
    Aug 2006
    Location
    USA
    Posts
    9
    Downloads
    0
    Uploads
    0

    Smile Found the missing menus

    Quote Originally Posted by Var View Post
    You mean there's no Gcodetools menu at all?
    Try to run inkscape from the terminal. If there no error everything should work.
    Are you sure that you've copied all the files into "/usr/share/inkscape/extensions"? ( for devel version path should be ""/usr/share/inkscape-devel/extensions"")
    Running UBUNTU 10.04 clean install and inkscape 0.47 from the default repositories. I had the same problem menu but no tools. So tried running from command line no errors, and still no menus. Here is how I fixed hope this helps out in all the *.inx files change the line that says
    dependency type="executable" location="extensions">gcodetools-dev.py
    to

    dependency type="executable" location="extensions">gcodetools.py
    *Note: I there are leading < and a / and a closing > but they make the code not show if I type it in exactly as in the file. The important part is taking off the -dev so it can find gcodetools.py

    then the menus are there and seem to be working .

    Thanks for a good extension. Looking forward to using it.
    TC^3


  3. #39
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    Ups... that's my fault...
    I have both gcodetools and gcodetools-dev versions, so I have not noticed this bug.

    Thanks for the report !
    Gcode tools support forums
    English: http://www.cnc-club.ru/forum/viewtopic.php?f=15&t=35


  4. #40
    Registered
    Join Date
    May 2010
    Location
    Switzerland
    Posts
    29
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Tesla_Cubed View Post
    Running UBUNTU 10.04 clean install and inkscape 0.47 from the default repositories. I had the same problem menu but no tools. So tried running from command line no errors, and still no menus. Here is how I fixed hope this helps out in all the *.inx files change the line that says
    dependency type="executable" location="extensions">gcodetools-dev.py
    to

    dependency type="executable" location="extensions">gcodetools.py
    *Note: I there are leading < and a / and a closing > but they make the code not show if I type it in exactly as in the file. The important part is taking off the -dev so it can find gcodetools.py
    Thanks! That's exactly the symptoms (the same I had with stock Inkscape 0.47 first) and the cure looks right. Going to test it soon (but the week and its cortege of distractions has just kicked in) ;-) .

    Other Gcode extensions for Inkscape appear to be working, but I am still mostly using a qcad --> dxf2gcode --> gedit --> emc toolchain for now... far from perfect but it satisfies some old CAD bias.
    Cheers, L.


  • #41
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1164
    Downloads
    0
    Uploads
    0

    precision ?

    Path to gcode for a square
    Code:
    %
    (Header)
    (Generated by gcodetools from Inkscape.)
    (Using default header. To add your own header create file "header" in the output dir.)
    M3
    (Header end.)
    G21 (All units in mm)
    G00 Z5.000000
    G00 X0.000000 Y60.000000
    G01 Z-1.000000 F100.0
    G01 X50.000000 Y60.000000 Z-1.000000 F400.000000
    G01 X50.000000 Y10.000000 Z-1.000000
    G01 X0.000000 Y10.000000 Z-1.000000
    G01 X0.000000 Y60.000000 Z-1.000000
    G01 X0.000000 Y60.000000 Z-1.000000
    G00 Z5.000000
    %
    path offset for 6mm cutter
    Code:
    %
    (Header)
    (Generated by gcodetools from Inkscape.)
    (Using default header. To add your own header create file "header" in the output dir.)
    M3
    (Header end.)
    G21 (All units in mm)
    G00 Z5.000000
    G00 X-0.312500 Y62.987200
    G01 Z-1.000000 F100.0
    G03 X-2.234472 Y62.005191 Z-1.000000 I0.312757 J-2.983954 F400.000000
    G03 X-3.000000 Y59.987200 Z-1.000000 I2.234729 J-2.001945
    G01 X-3.000000 Y9.987200 Z-1.000000
    G03 X-2.121232 Y7.865968 Z-1.000000 I3.000300 J0.000300
    G03 X-0.000000 Y6.987200 Z-1.000000 I2.121532 J2.121532
    G01 X50.000000 Y6.987200 Z-1.000000
    G03 X52.121233 Y7.865968 Z-1.000000 I-0.000300 J3.000300
    G03 X53.000000 Y9.987200 Z-1.000000 I-2.121532 J2.121532
    G01 X53.000000 Y59.987200 Z-1.000000
    G03 X52.121233 Y62.108433 Z-1.000000 I-3.000300 J-0.000300
    G03 X50.000000 Y62.987200 Z-1.000000 I-2.121532 J-2.121532
    G01 X-0.000000 Y62.987200 Z-1.000000
    G03 X-0.156250 Y62.991272 Z-1.000000 I-0.156250 J-2.996229
    G03 X-0.312500 Y62.987200 Z-1.000000 I-0.000000 J-3.000300
    G01 X-0.312500 Y62.987200 Z-1.000000
    G00 Z5.000000
    %
    Is the .0125mm difference caused by rounding in inkscape ?

    If the variance is no greater than this example it's no problem. My machine is not that accurate. Mostly curious.
    Anyone who says "It only goes together one way" has no imagination.


  • #42
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    Yes. Inkscape do it's offset on bzier path which is very difficult to offset. Thus ofset of bezier curve is not a bezier curve.
    It really depends on what kind of paths you are working at. If they are simple like squares you can try use offset that was created by gcodetools developers...

    ...Offset is kind of difficult stuff ...
    Gcode tools support forums
    English: http://www.cnc-club.ru/forum/viewtopic.php?f=15&t=35


  • #43
    Registered
    Join Date
    Jan 2006
    Location
    uk
    Posts
    716
    Downloads
    0
    Uploads
    0

    Can or Will GCodetools process SVG gradients ??

    Hi There,

    I've been using inkscape to generate vector heightmaps for relief generation and toolpathing.. Mesh surfaces like those in my downlad area at cnc4free.org homepage.. and the toolpaths to cut them.. as per the ebook at the same site..

    I can displace an inkscape generated vector.. with an inkscape generated gradient to create intaglio or v-carving toolpaths... but.. the actual displacement and translation to gcode is performed outside of inkscape in gmax.. using CNC_Toolkit... for the coding...

    It seems to me that the data is already there IN inkscape..... and that it could go straight to GCode..

    I think this could work in a similar way to the method gcodetools uses to make area paths.. with just the 'lookup' of Z height.. based on a maximum Z value (entered by the user).. and the path boundary + fill and stroke in the .SVG file... does this sound right to you ?

    If it does can you let me know.. ? Would you be interested in investigating this further ? I think this has some very interesting possibilities. I don't know much about XML or how it's manipulation as data is applied to .SVG files.. and then to GCode.... but I am prepared to learn... which is why I'm asking this here...

    Any help / info would be much appreciated

    Regards

    Danny
    What one man can do another man can do..
    BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org


  • #44
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    I'm not sure to ger you right... Are you explaining a kind of image2gcode (bitmap to gcode) or not?
    Gcode tools support forums
    English: http://www.cnc-club.ru/forum/viewtopic.php?f=15&t=35


  • #45
    Registered
    Join Date
    Jan 2006
    Location
    uk
    Posts
    716
    Downloads
    0
    Uploads
    0

    Yes ... sort of...

    Hi There,

    Thanks for your quick response.

    It could be used for relief toolpathing.. but I'm thinking more of toolpaths for V-carving or intaglio...

    If you take a look at the images below you can see the 'manual' version of this process.. I developed it in GIMP.. and have recently moved it to Inkscape..

    Essentially a centerline style vector has the node or vertex Z values adjusted based on the colours in the bitmap. This causes the Centerline vector to deform... into the right shape to carve the path as a V-Carving toolpath..

    It's like the inverse of relief toolpathing... targeted on a user-specified shaped path.. like the centerline vector... if you look at the top right section of the second image, showing the green shape, you can see several centerline vectors each deformed a little more in Z. Where the spline is sat inside the text outline (in the 'T') only a single spline or pass is shown.. for clarity. This process and images are in my free ebook.. I'm always chasing improvements.. and checking out FREE tools to see if they can assist etc.. so I thought with the transfer of this method to Inkscape.. gcodetools might be able to do something with it... to code it directly. I think all the required data is there in the inkscape file... I'd be happy to send you an example for testing etc...

    It would not be necessary to adjust the the node Z values in Inkscape... The vector just 'holds' the X and Y coordinates to enter into gcode.. all you would need to do is extract the Z value from the shading where nodes overlap it.. and then write that into the code.

    I think this does have some interesting possibilities .. if it would actually work..

    Regards

    Danny
    Attached Images Attached Images
    What one man can do another man can do..
    BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org


  • #46
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    We've got a function like this called engraving.
    It engraves path's interior with a shaped mill. Basically it goes through the middle line of the path and calculates needed z-depth.
    Gcode tools support forums
    English: http://www.cnc-club.ru/forum/viewtopic.php?f=15&t=35


  • #47
    Registered
    Join Date
    Jan 2006
    Location
    uk
    Posts
    716
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Var View Post
    We've got a function like this called engraving.
    It engraves path's interior with a shaped mill. Basically it goes through the middle line of the path and calculates needed z-depth.
    Hi There,

    Thanks again...

    This sound's just the job... I'll have to check it out... Does your 'engraving' process adjust the Z height as the shape thins.. or is it a 'fixed height' process.. I will check myself.. but you will know this straightaway...

    Regards

    Danny
    What one man can do another man can do..
    BitMaps to Models, 3D2Relief, tutorials and FREE CNC Software http://cnc4free.org


  • #48
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    Does your 'engraving' process adjust the Z height as the shape thins..
    Exactly, more over it can create sharp angles!

    Here's an small example http://cnc-club.ru/forum/download/fi...=631&mode=view . We are still lack of photos... need more feedback...
    precastguy likes this.
    Gcode tools support forums
    English: http://www.cnc-club.ru/forum/viewtopic.php?f=15&t=35


  • Page 4 of 7 FirstFirst 1234567 LastLast

    LinkBacks (?)

    1. 03-26-2013, 08:07 AM

    Similar Threads

    1. Please Help Me With INKSCAPE
      By diarmaid in forum General CAM Discussion
      Replies: 36
      Last Post: 10-29-2010, 06:47 AM
    2. inkscape to G-code
      By Dan Falck in forum OpenSource Software
      Replies: 6
      Last Post: 09-13-2010, 08:06 AM
    3. Getting to Lazy Cam from Inkscape
      By John Tribe in forum LazyCam
      Replies: 5
      Last Post: 08-21-2008, 07:04 PM
    4. inkscape drawing for lathe
      By ChinaMan in forum General CAM Discussion
      Replies: 0
      Last Post: 11-16-2007, 08:05 PM
    5. GcodeOut - Export gcode to Turbocnc
      By wjbzone in forum Autodesk Software (Autocad, Inventor etc)
      Replies: 18
      Last Post: 04-14-2004, 08:22 AM

    Tags for this Thread

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.