Import Dxf2gcode in Python

212 views
Skip to first unread message

hanieh esmaeeli

unread,
Dec 20, 2017, 10:38:48 AM12/20/17
to dxf2gcode-users
Hi all,

This program is the best one for translating dxf files to Gcode. I have a 2D shape dxf file and I want to translate it through a python file. How can I import dxf2gcode as a python library or python package? It means that I don't need the GUI and I prefer to open and translate my dxf into my python program.

Christian Kohlöffel

unread,
Dec 21, 2017, 9:12:50 AM12/21/17
to dxf2gco...@googlegroups.com

Hi Hanieh,

 

dxf2gcode is not programmed in the way that there is an easy way to do that. But here you find the function which is called to open and read the dxf:

 

https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode.py#l844

 

 

regards

Christian

--
--
You received this message because you subscribed to the Google
Groups-group "dxf2gcode-users".
To post a message, send mail to dxf2gco...@googlegroups.com
To unsubscribe, send mail to dxf2gcode-use...@googlegroups.com
See http://groups.google.de/group/dxf2gcode-users?hl=en for more options
and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/
---
You received this message because you are subscribed to the Google Groups "dxf2gcode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dxf2gcode-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

Reply all
Reply to author
Forward
0 new messages