G-Code to DXF - Page 5

Page 5 of 12 FirstFirst ... 2345678 ... LastLast
Results 81 to 100 of 229

Thread: G-Code to DXF

  1. #81
    Registered smoregrava's Avatar
    Join Date
    Sep 2005
    Location
    Norway
    Posts
    197
    Downloads
    0
    Uploads
    0

    Smile

    Quote Originally Posted by WayneHill View Post
    It's like making a cow out of hamburger. All the parts are there. Just don't know how to put it together.
    Nice comment and I have to agree. Inverse ingeneering is not easy
    I have dreamt of making 3D parts from scans and paths. At my work we have a highend 3D scanner (100K $) this creates very nice STL files but what happens is even with a good scan you want some changes and then you find out that its very hard to work with the files. Almoust every time I end up modelling the part up in 3D from scratch. Faster and much more flexible to changes.



  2. #82
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    It is possible to create a point cloud from a G-Code to a DXF file. Have the CAD software generate a surface from the points. A lot of the surface texture would be missing. It would be possible to generate an XYZ vector points from the DXF line and circles. This could be handy to someone working on a reverse 3D model.

    Wayne Hill


  3. #83
    Registered
    Join Date
    Dec 2009
    Location
    Greece
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Switcher View Post
    Wayne, I ported your code to "VB.Net 2005", thanks for the source.

    mikkojay, your VB6 code helped to, thanks both.



    I didn't change much, I might add a file splitter later, maybe split large g-code files.




    .

    Hello and thanks for upload.

    I tried this software on my Gcode and opened the output in AutoCAD but the result wasnt okay.I wrote my Gcode with the aid of CNC simulator(CNCsimulator.com) but im new to this so i had to make some moves to improve my product that maybe confused your program.Im sending you my Gcode in a pm to check it yourself if youre in mood.

    thanks



  4. #84
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    Liliostasi,

    The original program works with basic XYZ g-code. Anything else will fail to convert.

    Wayne

    Wayne Hill


  5. #85
    Registered
    Join Date
    Aug 2009
    Location
    usa
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default

    Wayne-

    I've been gone for a while but thanks for answering my question.

    I loved your quote "It's like making a cow out of hamburger".

    wayne wrote "It is possible to create a point cloud from a G-Code to a DXF file. Have the CAD software generate a surface from the points. "

    I am going to try your method of creating a point cloud from g-code. I don't know what program does this and have had no luck searching on the internet. What program is it?

    many thanks in advance!
    chris



  6. #86
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    PM'ed

    Wayne Hill


  7. #87
    Registered
    Join Date
    Aug 2008
    Location
    TURKEY
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Hi! Evreybody..


    I need help about EMC2. I have projects with aotocat and corell Draw dxf file. But some times I couldn't convert g code for emc2 and also deskcnc open that files.
    If you use better g code converter please help me...
    Thanks
    Atakan



  8. #88
    Member
    Join Date
    Jan 2007
    Location
    USA
    Posts
    60
    Downloads
    0
    Uploads
    0

    Default Anyone Modify this to accept incremetal code

    Quote Originally Posted by Switcher View Post
    You don't need Vb.net to run the program, you will need "Microsoft .NET Framework Version 2.0" (Download & install this If it's not already on your PC before you run the Gcode2DXF).


    After you download the .Net Framework 2.0, then download the .Zip file here (latest version post #49).

    After you have the 2 downloads on your PC, unzip the "Gcode2DXF .zip file" & follow the path below to the program (assuming you downloaded the "Gcode2DXF .zip file" to the desktop).

    ...\Desktop\Convert DXF SourceCode\Convert DXF SourceCode\Convert_DXF\bin\Release\Convert_DXF



    .
    Just wanting to know if anyone has ever modifed the program to accept incremental code.



  9. #89
    Member
    Join Date
    Jan 2007
    Location
    USA
    Posts
    60
    Downloads
    0
    Uploads
    0

    Default File not converted properly

    Can anyone tell me why this file does not convert properly. It creates the outside of the part but does not bring in the circle in the center of the part

    Attached Files Attached Files


  10. #90
    Registered
    Join Date
    Dec 2008
    Location
    usa
    Posts
    17
    Downloads
    3
    Uploads
    0

    Default

    gwittlock,
    I converted your nc code using the convert dxf program. Importing the dxf into cadkey, gpuncher and gcad3d the circle showed up. I tried several viewers and the circle did not show up. It seems there is something in the dxf that is not recognized by all viewers and cad programs. Maybe Wayne can look at the dxf output and see it.

    apexengineering


  11. #91
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    The circle showed up in Vector CAD/CAM. It did not show up in Solidworks eDrawing viewer. The g code looks good. Something flacky on how the viewers translate the circle direction.

    In the viewers: If the arc value is changed from 0 - 360 to 0-359.9999 it will show up in the viewers. I will keep researching.



    Wayne

    Last edited by WayneHill; 02-24-2010 at 03:36 AM.
    Wayne Hill


  12. #92
    Registered
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    33
    Downloads
    0
    Uploads
    0

    Default

    I was working on an Artcam project that got corrupted. I have the gcode that was created before the file got damaged though. I am trying to get a DXF file from the gcode.

    I have tried another converter that kept all of the above workpiece moves in the output, when I tried to clean it up I was not able to make it work. This software sounds like it would give me exactly what I need since it can ignore the moves above the workpiece. When I run it I get an error though. The error is "Index and length must refer to a location within the string. Paramater name: length"

    The gcode file is here.
    http://alan-parekh.com/wp-content/up..._engraving.tap

    Any ideas?

    Many articles about hacking gadgets. Examples of extreme technology. DIY projects describing how to build electronic projects. http://hackedgadgets.com


  13. #93
    Registered MetLHead's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    765
    Downloads
    0
    Uploads
    0

    Default

    See if this works for you, I converted it in NCPlot.

    Scott

    Attached Files Attached Files


  14. #94
    Registered
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    33
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by MetLHead View Post
    See if this works for you, I converted it in NCPlot.

    Scott
    Hi Scott,

    That works perfectly! You saved me hours of work.

    Thanks a million.

    Many articles about hacking gadgets. Examples of extreme technology. DIY projects describing how to build electronic projects. http://hackedgadgets.com


  15. #95
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    abbtech - I was able to convert your file with no problem. Was software was giving you that error?

    Scott - I like your NCPlot software

    Wayne

    Wayne Hill


  16. #96
    Registered
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    33
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by WayneHill View Post
    abbtech - I was able to convert your file with no problem. Was software was giving you that error?

    Scott - I like your NCPlot software

    Wayne

    Hi Wayne,

    It was the one listed on comment #36 or #40. I actually didn't realize there was more than one conversion program or version listed in this thread until I went looking for the comment that I got it from.

    Alan

    Many articles about hacking gadgets. Examples of extreme technology. DIY projects describing how to build electronic projects. http://hackedgadgets.com


  17. #97
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Talking

    Alan,

    Yes, there have been additional converson programs written and posted in this thread. My original program did not have any error checking in it , so I knew that the error was not generated from my program.

    Thanks,

    Wayne

    Wayne Hill


  18. #98
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Wayne,

    I tried your program and it converted the g code to dxf, however it brought in the rapid movements as well. Is there an easy way to eliminate the rapid movements without having to go into the text file and removing them prior to the conversion? Thanks.

    Rush



  19. #99
    Member WayneHill's Avatar
    Join Date
    Mar 2004
    Location
    Michigan
    Posts
    761
    Downloads
    0
    Uploads
    0

    Default

    Rush,

    WYSIWUG. There might be some other programs in this thread that will do what you are looking for.

    Wayne Hill


  20. #100
    Registered
    Join Date
    May 2010
    Location
    Pakistan
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Great Work Wayne, its a remarkable program. I simply love it
    Thanks!



Page 5 of 12 FirstFirst ... 2345678 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

G-Code to DXF

G-Code to DXF