This page is intended to genereally answer some questions about the usage of dxf2gcode. I try to add all upcoming questions here in order to reduce the effort of searching the whole forum.
The user inferface of dxf2gcode is splitted into several areas.
On the top of the window you will find as usual a Menu Bar. Here you have the possiblity load files, export them, change the view or change the options and preferces.
On the left side you seed the are Tab Group which includes some listboxes for Layers and Entities.
On the right side you wil see a canvas ares in which the loaded contents are show and you are able to edit the way you want to export the loaded dxf.
Within the file menu you can load files from your filesystem by clicking open. You have the possiblity to open .dxf, .ps .pdf and .d2g files. Your can reload the actual loaded file and therefor reset all changes you did to the standards, or save current configuration you selected by saving the current configuration in a project file in the .d2g format. In order to be able to read .ps and .pdf files you need to integrate pstoedit.exe, therefore refer to configuration.
Here you can export the currently loaded file with the preferences and configurations you selected. You will find 3 different setting here
1.) Optimize Paths - This will optimize the order of the shape in a way to reduce the travel of the maschine
2.) Export Shapes - This will export the current shown order without doing any optimization vor travel
3.) Optimzie and Export - This will be a combination of 1.) and 2.)
After selection you will see some additional information in the canvas area which will show you the export order.
If you selected one of the options with export a export dialog window will pop up. There you have the possibility to select from the postprocessor configurations you created. In my example you can see that i have created two of them. This can be used if you have 2 different maschines which may require different configurations.
Within the View Menu you are able to select different options on how to configure and show the canvas area.
Withing the Cavas Area the imported file will be show. Additionally you are able to slect all the imported elements and change the way how they are exported.
You can zoom with the mouse wheel and drag the window by pressing the shift, then you will see a hand in the window and your are able to move the canvas are by moving around with the mouse (this will only work if zoomed in already)
In order to select a shape in the canvas you can use the mouse in the canvas, there are other ways to select shapes in the list boxes shows left of the window, but these will be explained somewhere else. The simpliest selection is by pointing on a shape with the mouse and click with the left mouse button. In order to select more then one shape you can use the lasso to select all shapes which interfere with the lasso box, in order to use the lasso push the left mouse button on the staring point and drag to then end point while keeping the button pressed. By pressing the Ctrl button an selecting something you can keep the current selection and add or remove something.
In the context menu (by clicking right mouse button) you can invert the selection, which means all shape which are selected will be unselected and the other way around.
Find below the different elements and their explainations. In the picture below i missed to explain the workpiece zero which is shown by a circle with some additional rectangles in it.
In order to change the way the selected shapes are exported you can click with the right mouse button
In order to change the starting point where to start milling of a closed shape you need to do the following steps:
1.) Select the shape
2.) Right click on the location where you want to have the new starting point
3.) Select Set Nearest Starting Point in the context menu
Limitation: Starting points can not be set at any location, just at an existing start / end point of a line or arc segment.
Running dxf2gcode with --quiet flag is not really quiet. It needs to open GUI for a brief moment to initialize graphic objects.
Thus, if you want to run with no physic display, run it with a virtual display like xvfb
On linux:
$ sudo apt update -y && apt install xvfb
$ Xvfb :1 -screen 0 1024x768x16 &
export QT_DEBUG_PLUGINS=1
export QT_QPA_PLATFORM=xcb
export DISPLAY=:1
I received a dxf cutout from a manufacturer for an aircraft panel instrument. DXF2GCODE generated code where the 0,0 point is so far away that the dimensions of the object itself as seen from the 0,0 position exceeds the side of my CNC 3018 test machine.
How and where in the workchain do I move the 0,0 nearer to the lower left corner of the object?
I am using FreeCAD > DXF2GCODE > Candle Grbl 1.1
Forgot the dxf file
Hi David, I'm a new user of dxf2gcode so I'm not an authority, but I opened your DXF file and noticed that the design sketch is 180 inches wide, so the drawing scale is probably different than you anticipated. The instrument panel cutout being 15 feet wide (!!) for a 3018's twelve inch work area is going to be a problem, in addition to the zero axis point location.
But yes, I can see what you mean about the 0,0 origin point being way off to the lower left -- that is something that can/should be be changed in the original DXF file, and dxf2gcode will display it correctly. I went ahead and fixed it for you quickly, and attached a new DXF file to this reply (but I still think the scale is way off and this needs to be redesigned). Hope this helps.
Thanks Bob,
but it IS in mm (see parameter G21 on Line 5 - are you seriously still using inches in the US for such engineering things? After that Apollo(?) program disaster due to a mix up of units in the old days....??
Mit freundlichen Grüssen / Best Regards
David Walker
Jahnstrasse 64
D-82538 GeretsriedGermany
Tel.08171.2385010
Mob. 0176.55225959
-----Ursprüngliche Mitteilung-----
Von: Bob Smith bob2718281@users.sourceforge.net
An: User_Guide_DXF2GCODE@wiki.dxf2gcode.p.re.sourceforge.net
Verschickt: Di, 3. Aug. 2021 6:32
Betreff: [dxf2gcode:wiki] Discussion for User Guide DXF2GCODE page
Hi David, I'm a new user of dxf2gcode so I'm not an authority, but I opened your DXF file and noticed that the design sketch is 180 inches wide, so the drawing scale is probably different than you anticipated. The instrument panel cutout being 15 feet wide (!!) for a 3018's twelve inch work area is going to be a problem, in addition to the zero axis point location.But yes, I can see what you mean about the 0,0 origin point being way off to the lower left -- that is something that can/should be be changed in the original DXF file, and dxf2gcode will display it correctly. I went ahead and fixed it for you quickly, and attached a new DXF file to this reply (but I still think the scale is way off and this needs to be redesigned). Hope this helps.Attachments:
- Panel_Cutout_GNS430_fixed.DXF (20.9 kB; application/octet-stream)
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
...and here's an attached screenshot image of the fixed DXF file in dxf2gcode, showing the corrected 0,0 origin point
Hi where and how did you set the new datum point? I cannot see anywhere
in FreeCAD or dxf2gcode where I can reset the point
rgds David
Am 03.08.2021 um 06:43 schrieb Bob Smith:
Mob. 0176.5522 5959
--
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr�ft.
https://www.avast.com/antivirus
Gerne auch in Deutsch :) ….
Findest du unter den Optionen Nullpunkt verschieben
Von: David Walker [mailto:glasairman@users.sourceforge.net]
Gesendet: Dienstag, 3. August 2021 14:54
An: [dxf2gcode:wiki] User_Guide_DXF2GCODE@wiki.dxf2gcode.p.re.sourceforge.net
Betreff: [dxf2gcode:wiki] Re: Discussion for User Guide DXF2GCODE page
Hi where and how did you set the new datum point? I cannot see anywhere
in FreeCAD or dxf2gcode where I can reset the point
rgds David
Am 03.08.2021 um 06:43 schrieb Bob Smith:
...and here's an attached screenshot image of the fixed DXF file in
dxf2gcode, showing the corrected 0,0 origin point
Attachments:
https://sourceforge.net/p/dxf2gcode/wiki/_discuss/thread/234f25f5/436a/attachment/Panel_Cutout_GNS430_fixed.png
(32.7 kB; image/png)
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
https://sourceforge.net/auth/subscriptions/
--
Mit freundlichen Gr�ssen
David Walker
Jahnstrasse 64
D-82538 Geretsried
Mob. 0176.5522 5959
--
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr�ft.
https://www.avast.com/antivirus
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi David what do you mean by datum point. The zero of the dxf to be exported?
This can be done in the option menu:
https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
Refer to point:
If my English is not well or the explaination is not easy to understand feel free to suggest a improvement in the Wiki :) ….
Regards
Christian
Von: David Walker [mailto:glasairman@users.sourceforge.net]
Gesendet: Dienstag, 3. August 2021 14:54
An: [dxf2gcode:wiki] User_Guide_DXF2GCODE@wiki.dxf2gcode.p.re.sourceforge.net
Betreff: [dxf2gcode:wiki] Re: Discussion for User Guide DXF2GCODE page
Hi where and how did you set the new datum point? I cannot see anywhere
in FreeCAD or dxf2gcode where I can reset the point
rgds David
Am 03.08.2021 um 06:43 schrieb Bob Smith:
...and here's an attached screenshot image of the fixed DXF file in
dxf2gcode, showing the corrected 0,0 origin point
Attachments:
https://sourceforge.net/p/dxf2gcode/wiki/_discuss/thread/234f25f5/436a/attachment/Panel_Cutout_GNS430_fixed.png
(32.7 kB; image/png)
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/ https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/ https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
--
Mit freundlichen Gr�ssen
David Walker
Jahnstrasse 64
D-82538 Geretsried
Mob. 0176.5522 5959
--
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr�ft.
https://www.avast.com/antivirus
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/ https://sourceforge.net/p/dxf2gcode/wiki/User%20Guide%20DXF2GCODE/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
hello I want to use dxf2gcode for plasma cutting in linuxcnc someone can help me with the configuration of the postprocessor or some guidance on this to be able to modify.
Hi, you can open a topic in our new forum, check here:
https://www.ltspiceusers.ch/#dxf2gcode.68
But i know that i just discussed this with someone else in the old section. Check here first:
https://groups.google.com/g/dxf2gcode-users/c/UY0KVPd0CQg
However if there are additional questions, just open one in the new forum we dont want to continue with google groups, as they are not that easy to search etc.
regards
Christian