Build Thread dxf to gcode


Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: dxf to gcode

  1. #1
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default dxf to gcode

    I made a small application to convert dxf to gcode and i like to ask if here is the right place to submit it and get some feedback from the users.
    Thank you.

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default

    Sure.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Here is my small application.

    DXF in Fire

    This application will open most of the DXF types and convert them to gCode.
    Supports 2D dxf and layers
    If your DXF has layers then you can select the layer and export it in gCode.
    Any improvements you may think i would like to here them and I will add them to my 'Todo' list.
    I will try to add more features in the next version
    There is not any help file for the moment but i think is very simple to use it.
    Please feel free to download it and if you can give me your feedback i will appreciate it.

    Finally I'm sorry for any bugs you may find in this early version.
    Thank you

    Last edited by Megalos; 08-13-2009 at 08:13 AM.


  4. #4
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    LOL

    How do you download the .zip?

    I can't find a link (on rapidshare).

    Free DXF - vectorink.com


  5. #5
    Registered
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    128
    Downloads
    5
    Uploads
    0

    Default

    With Rapidshare click on "free user" button and you will have to wait 30 seconds for download button to appear

    George



  6. #6
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    I downloaded your program.

    1) I don't see anything, as far as tool setup, depth of cut, etc...

    2) No header in g-code

    3) No feed in the g-code (F)

    4) No M30 at the end of the g-code

    5) Also, when you go to save the g-code, the .dxf extension is the only one that will save, no big deal to rename as a .txt file manually, just thought I would mention that.

    Not complaining, just trying to help.

    Free DXF - vectorink.com


  7. #7
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Thank you for the fast feedback Switcher.
    Your comments are welcome.

    I will try to fix these and I will post a fixed version.
    Most of your comments can be fixed very easily.



  8. #8
    Registered
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    128
    Downloads
    5
    Uploads
    0

    Default

    Tried program but it does not include G codes?

    Sample of first few lines - not there is no "G01" in each line just xy values

    N0 Z200
    N1 X179 Y588
    N2 Z-200
    N3 X179 Y588
    N4 X214.231507 Y620.750685
    N5 X294 Y694
    N6 X318 Y718
    N7 X317 Y719
    N8 X125.25 Y718.75

    Also :
    Layers screen loads too high so X at top is hidden by menu so I have to close using menu.

    I sometimes get a subscription out of range error when loadiing file but does not seem to cause a problem.

    George



  9. #9
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Thank you for your comments.
    A new version with all or most of your comments fixed was uploaded while ago.

    Please get the new version and test it.
    I would love to here more comments and requirements in case you have any.

    The new DXF in Fire is here.
    You are all welcome to test it and tell me what you think about.

    Attached Thumbnails Attached Thumbnails dxf to gcode-preview-dxfinfire-jpg  
    Last edited by Megalos; 08-13-2009 at 08:48 AM.


  10. #10
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    a newer version is available to import gcode too.

    Now it will convert dxf<->gcode
    There some issues yet to be solved but this is just for testing and your feedback please.
    Here you can get the new DXF in Fire

    Thank you

    Attached Thumbnails Attached Thumbnails dxf to gcode-dxfinfirev1-jpg  


  11. #11
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Hi all
    here is an update version.
    DXF in Fire

    news:
    support for lwpolylines added.
    improved/faster conversion .
    support for more dxf versions.


    Please try it and you may give me some feedback to improve it or fix it
    thank you.



  12. #12
    Registered
    Join Date
    Feb 2010
    Location
    israel
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default

    Very good work.

    Did you make all the DXF import and drafting yourself?
    Do you know where can i find the source code for import and drafting functions?
    I want to import and draft DXF files with VB for other purpose (my machine does not support G code - i can only work with points file, so i want to convert the dxf to points file).


    Thanks,
    Nir



  13. #13
    Registered
    Join Date
    Nov 2009
    Location
    usa
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default

    This is what I've been looking for! I'm very new to cnc so forgive my simple questions. I use Autosketch to make dxf (there are a few different versions of dxf in Autosketch for some reason) and want to generate tool paths.

    It would be very helpful to me, and to others, if you could make a quick video for youtube that shows you setting up the files, running it, looking at the generated files, and then feeding it into a g-code simulator program to make the cuts.

    Very nice work!

    cnc1000



  14. #14
    Registered
    Join Date
    Jun 2010
    Location
    Greece
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Hi,
    I have a file with extension MPG (ready to be loaded on a CNC plasma cutting machine) and I need to converted to a DXF file

    I would really appreciate if anyone can help me, by advising any free converter
    --------------------------------------------
    3

    4
    5
    +0+1196
    6
    30
    7
    +200-200+0-200-
    +0-546
    +250-250+250+0+
    +1100+0
    +250+250+0+250+
    -250+250-250+0+
    -950+0
    +0+230
    -70+70
    -235+0
    48
    -91+0
    -160+160
    8
    38
    -44+736
    30
    7
    +200-200+0-200-
    +0-396
    +1050+0
    +250+250+0+250+
    -250+250-250+0+
    -300+0
    -170-100
    -475+0
    48
    -101+0
    -160+160
    8
    38
    63
    ---------------------------



  15. #15
    Registered
    Join Date
    May 2007
    Location
    Italy
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default Converter...

    I dont' think there is a MPG to DXF converter. The Format, seems to be proprietary although, being an ascii file, shouldn't be too difficult to write a converter. Which brand your plasma cutter is ? May be that the company that sells it could have a converter.

    Sandro



  16. #16
    Registered
    Join Date
    Jun 2010
    Location
    Greece
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Thanks Sandro for your reply.

    I don't know the manufacturer of the plasma cutting machine.
    Can you help me on where to find the meaning of the codes used by MPG format?

    Thank you in advance.



  17. #17
    Registered
    Join Date
    May 2007
    Location
    Italy
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default

    If you don't have documentation of the machine it will be very hard to desume the file format. I'm surprised that you don't know the builder.. There is no builder logo or machine model name on the machine frame ?? The .MPG extension is meaningless if there is not any other reference. If you have A LOT OF TIME to spend.. try this :

    Write a program that cut for example a squared plate of known size (let'ìs say 100 x 100 mm) and examine the output code. You should desume some info like torch on and torch off command.. positioning commands and so on..

    Then pass to more complex geometries like arcs or circles..

    This could work, but it absolutely will take a lot of time and I don't know if it'worth the effort. Keep the forum updated on your researches..

    Sandro



  18. #18
    Registered truonggiangcnc's Avatar
    Join Date
    Sep 2011
    Location
    Vietnam
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Megalos View Post
    I made a small application to convert dxf to gcode and i like to ask if here is the right place to submit it and get some feedback from the users.
    Thank you.
    Hi Megalos, I'm very interested in your project, and now I'm doing similar work, so maybe I really need your help. can you reupload your application, old links died all, thank you!

    Anyway, how can I contact you to discuss?



  19. #19
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    old links are dead and i'm very sorry about that., I will try to upload the files again later today.



  20. #20
    Registered Megalos's Avatar
    Join Date
    May 2008
    Location
    cyprus
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default new working links

    just put some files here Index of /CNCproject
    thank you



Page 1 of 2 12 LastLast

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

dxf to gcode

dxf to gcode