585,752 active members*
4,035 visitors online*
Register for free
Login

Thread: dxf to gcode

Page 1 of 2 12
Results 1 to 20 of 23
  1. #1
    Join Date
    May 2008
    Posts
    12

    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.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Sure.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

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

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

  3. #3
    Join Date
    May 2008
    Posts
    12
    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

  4. #4
    Join Date
    Apr 2005
    Posts
    3634
    LOL

    How do you download the .zip?

    I can't find a link (on rapidshare).
    Free DXF - vectorink.com

  5. #5
    Join Date
    Jun 2008
    Posts
    128
    With Rapidshare click on "free user" button and you will have to wait 30 seconds for download button to appear

    George

  6. #6
    Join Date
    Apr 2005
    Posts
    3634
    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
    Join Date
    May 2008
    Posts
    12
    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
    Join Date
    Jun 2008
    Posts
    128
    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
    Join Date
    May 2008
    Posts
    12
    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 preview dxfinfire.jpg  

  10. #10
    Join Date
    May 2008
    Posts
    12
    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 dxfinfireV1.jpg  

  11. #11
    Join Date
    May 2008
    Posts
    12
    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
    Join Date
    Feb 2010
    Posts
    0
    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
    Join Date
    Nov 2009
    Posts
    77
    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
    Join Date
    Jun 2010
    Posts
    0
    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
    Join Date
    May 2007
    Posts
    22

    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
    Join Date
    Jun 2010
    Posts
    0
    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
    Join Date
    May 2007
    Posts
    22
    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
    Join Date
    Sep 2011
    Posts
    5
    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
    Join Date
    May 2008
    Posts
    12
    old links are dead and i'm very sorry about that., I will try to upload the files again later today.

  20. #20
    Join Date
    May 2008
    Posts
    12

    new working links

    just put some files here Index of /CNCproject
    thank you

Page 1 of 2 12

Similar Threads

  1. dxf to gcode ??
    By thanhtroa in forum OpenSource Software
    Replies: 0
    Last Post: 10-23-2009, 04:50 AM
  2. Replies: 0
    Last Post: 03-10-2005, 07:46 PM
  3. GCode
    By rogerbureau in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 02-07-2005, 02:36 PM
  4. gcode to gcode converter
    By july_favre in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 05-25-2004, 12:51 AM
  5. Gcode to DXF?
    By balsaman in forum Uncategorised CAM Discussion
    Replies: 10
    Last Post: 04-30-2003, 11:40 PM

Posting Permissions

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