pocketing problem
Add command line parameter for choose config directory
Potential Bug: Inches to MM
Yes that would be great thank you. Yes the code moves multiple parts at once. I also think i have found a good way of checking if a shape is in another shape if we can assume no shapes intersect upon opening the file. Pat
Hi Patrick, I'm fine, thanks for asking. If you want to share your code and want me to take a look into it, you can create a fork and send me a link, or i can also give you developers right's for the project and you can create a branch to work on. Whatever you prefer, but i think the best way would be to grant you developers rights. Now to the 2nd question. If you want to move hole shapes which are in a shape, i think there is not easy way to it. You need to check if there are inside a other shape...
Hey chris. I hope you are well. I have gotten it to a point where it seems to work quite well. Now, if you move the shapes in the interface the outputted gcode as well as the displayed optimized routes change accordingly. left to do is to make it so that when you select a shape, if it has any, the hole shapes that are part of it will be automatically selected too. I would like some advice on how to do this if you wouldnt mind. Also if you are open to it I would like to show you what I've written...
The breaks are an interrupt in the contour. It's calculating the intersections to the break layer and removes parts of the lines which are interesting with the geometry on the break layer. Didn't look at it in details, but that's my fast guess chrisko christi_ko@users.sourceforge.net schrieb am Di., 1. Apr. 2025, 19:21: Hi Patrick, it's just a way of implementation which was used for adding the start / stop moves to scaled or rotated inserts. Could be done different, but it did grow in this direction....
Hi Patrick, it's just a way of implementation which was used for adding the start / stop moves to scaled or rotated inserts. Could be done different, but it did grow in this direction. Regards Christian Patrick Bagnall pkbagnall@users.sourceforge.net schrieb am Di., 1. Apr. 2025, 17:31: hi christian, what is the purpose of the absolute geometry. I see it used, i understand how it is used but I dont know why [tickets:#166] https://sourceforge.net/p/dxf2gcode/tickets/166/ feature requests Status: New...
More specifically this line in shape.py line line 434. new_geos = PostPro.breaks.getNewGeos(new_geos). I dont understand what it is doing as the correct geos are already stored in new_geos
hi christian, what is the purpose of the absolute geometry. I see it used, i understand how it is used but I dont know why
Hi Christian, Thanks for your reply! Do you have any plans to implement it for the drag knife too, since it is already there for milling? And about the overcut feature, is that present for drag knife cutting? I honestly don't know if overcut is the right name, but I mean continue cutting for a small length (1 mm for example) to make sure the part is fully cut. Thank you for creating this project. It is already a great piece of software as it is. I couldn't find any other free or cheap software that...
Hi Ryan, i am sorry, but the lead in and lead out function is not implemented for drag knife up to now. It's only there fore milling right now. best regards Christian
Lead in and overcut options?
Gcode incorrect when using breaks.
No problem at all. I will close the ticket ;-)
Letters and numbers
Hi Angelo, you need to convert the letters and numbers into polylines. Just ask google how to do this in your CAD tool. regards Christian
Letters and numbers
Jobs came out fine. sorry for any confusion caused.
Think I may have been mistaken. I was visualising the G code with NC viewer and Jviewer both of which seem to show errors. Have just used UGS and the output seems to be as expected. Will see how it goes on the CNC.
Gcode incorrect when using breaks.
Thanks for the update. Just let me know if you need any guidance.
Hi Vic, also checked it with the current development version. Also works without issues. https://sourceforge.net/projects/dxf2gcode/files/Development/
And now I found it works on a 2017 version.
DXF File Importing Failure on Windows11
Hi Christian. Thank you for your guidance. I am ok for now, making steady progress.
Hi, As I said before, I solved the previous problem by using Python 3.9 instead of 3.12. However, when doing the compilation, I had the two following errors. Let's look at the first one first. The second one may the result of the first one.1.C:\dxf2gcode>python.exe ./make_tr.py Using Windows platform tools "C:\Python39\Scripts/pylupdate5.exe" and "C:\Program Files (x86)\Qt Designer\lrelease.exe" Updating translations from source files...C:\Python39\Scripts/pylupdate5.exe dxf2gcode.proRemoving sourcecode...
Hi Fuyung, did you check if the translations files have been copied to the expected locataion according to the failure message? https://sourceforge.net/p/dxf2gcode/sourcecode/ci/develop/tree/source/i18n/ I use the python version 3.11, could be also a compatibility problem with your version. Can you try python 3.11 ...
Hi, chrisko: Please take a look into the latest email that I sent on Sat, Feb 15 at 11:25 PM. The two new problems that I mentioned there were not mentioned in your two latest replies you sent here.Thanks!Fuyun On Sunday, February 16, 2025 at 04:32:17 AM PST, chrisko christi_ko@users.sourceforge.net wrote: status: New --> WontFix assigned_to: chrisko Priority: High --> Medium OpSys: --> Windows 11 Type: Patch --> Other [tickets:#169] Got error in Windows 11 installation Status: WontFix Created: Fri...
Hi Patrick, do you need more input. Didn't get any feedback here up to now ...
Postprocessor not applied if multiple avaliable
"latest" downloads file with "old", installer complains about version
Got error in Windows 11 installation
That's what i expected. The "new" error seems to come from some missing files. Nothing critical.
I solved the previous problem by using Python 3.9 instead of 3.12. However, when doing the compilation, I had the two following errors: 1.C:\dxf2gcode>python.exe ./make_tr.pyUsing Windows platform tools "C:\Python39\Scripts/pylupdate5.exe" and "C:\Program Files (x86)\Qt Designer\lrelease.exe" Updating translations from source files...C:\Python39\Scripts/pylupdate5.exe dxf2gcode.proRemoving sourcecode references from translation files... Removing <location> tags from i18n/dxf2gcode_de.ts Removing...
I just folowed instructions in the readme.txt for windows: C:> pip3 install sip PyQt5 PyOpenGL pyqt5-tools cx-Freeze configobj Fuyun On Friday, February 14, 2025 at 10:57:28 AM PST, chrisko christi_ko@users.sourceforge.net wrote: This is a problem while installing pyQT i guess. How did you install dxf2gcode, pleas explain your steps to do so. [tickets:#169] Got error in Windows 11 installation Status: New Created: Fri Feb 14, 2025 01:54 AM UTC by Fuyun Ling Last Updated: Fri Feb 14, 2025 01:54 AM...
This is a problem while installing pyQT i guess. How did you install dxf2gcode, pleas explain your steps to do so.
Got error in Windows 11 installation
Updated st-setup.py with correct data format.
Edit the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', or version='20241102', That's only a syntax error for Python since 3.10 ^^
Edit the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', or version='20241102', That's only a syntax error for Python since 3.10 ^^
Edit the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', or version='20241102', That's only a syntax error for Python 3.10+ ^^
Change the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', or version='20241102', That's only a syntax error for Python 3.10+ ^^
Change the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', That's only a syntax error for Python 3.10+ ^^
Change the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2', That's only a syntax error ^^
Change the line 48 in st-setup.py from version='2024-11-02', to version='2024.11.2',
Change the line 45 in st-setup.py from version='2024-11-02', to version='2024.11.2',
"latest" downloads file with "old", installer complains about version
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all native 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution for low cost laptops and desktop monitors. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits...
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all native 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution for low cost laptops and desktop monitors. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits...
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all native 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution for low cost laptops a desktop monitors. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits...
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits in that resolution, It would be very beneficial...
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits in that resolution, It would be very beneficial...
thank you chrisko, I have one other recommendation I think that would be very helpful. My laptops are all 1400x900 Resolution, as well as my desktops. My vision is not so good, so that is about the highest resolution my eyeballs can handle, Luckily it is still a common resolution. Unfortunately the post processor configuration dialogue does not fit on the screen at this resolution. If you could make the dialogue a little bit more compact, so it fits in that resolution, It would be very beneficial...
Changes to postprocessor configuration description according to: https://sourceforge.net/p/dxf2gcode/tickets/167/
Thanks for the recommandation, i will change that for the next version ....
thanks you, that works, but I must restart application after making any changes to a post processor config, otherwise sometimes it may not save using correct config. not sure why. I do have two recommendations for the Post Processor Configuration Dialog. 1) "Choose configuration file:" could say "Choose config to edit:" to eliminate confusion. I though I was choosing the config to be applied to the loaded DXF file. 2) "Output format description:" could say "Output format description (should be unique):"...
Here is the solution (thanks to @chrisko). The whole thing is a bit strangely structured ;) The postprocessor can be selected in the export dropdown menu (@ bottom right).
The postprocessor can be selected in the export dropdown menu (@ bottom right).
The postprocessor can be selected in the export dropdown menu (@ bottom right).
thanks spicer, that is exactly what is happening, selected postprocessor configuration is not applied to output file and alphabetically first cfg is always used.
That's where chrisko needs to look. The selected postprocessor configuration is not saved and the alphabetically first cfg is always used.
Here is a link to the Live Debian Image if you want to try it (does not require installing the OS, it will run from USB drive and OS will run in memory)... https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.9.0-amd64-xfce.iso after the live loads, open a terminal and... sudo update sudo upgrade sudo apt install python3 cd /dev/shm wget https://raw.github.com/ltspicer/dxf2gcode.linux.installer/main/linux.installer.sh chmod a+x linux.installer.sh ./linux.installer.sh
Here is a link to the Live Debian Image if you want to try it (does not require installing the OS, it will run from USB drive and OS will run in memory)... https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.9.0-amd64-xfce.iso after the live loads, open a terminal and... sudo update sudo upgrade cd /dev/shm wget https://raw.github.com/ltspicer/dxf2gcode.linux.installer/main/linux.installer.sh chmod a+x linux.installer.sh ./linux.installer.sh
Here is a link to the Live Debian Image if you want to try it (does not require installing the OS, it will run from USB drive and OS will run in memory)... https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.9.0-amd64-xfce.iso
Yes, the installer will install the developer version, if Python version is 3.10 or higher.
I just ran this command to install... wget https://raw.github.com/ltspicer/dxf2gcode.linux.installer/main/linux.installer.sh chmod a+x linux.installer.sh ./linux.installer.sh then the prompts were.. (only option was developer version) Should I install pip (y/n) Y Do you want install... echo "2 ...a developer version" echo "3 Quit installer" 2 I will now install. Are you ready (y/n) Y
I just saw, that there is a difference between the master and development branch. Which one did you try with the installer. I think your able to select during the installation process ...
In windows it does work, in linux debian it is not working. I checked the headers in the output file, and the config is wrong, it is using what was not selected. For both files it uses "(Used Postprocessor: postpro_config.cfg) " even though that was not selected at time of export. I made two configs again, this time named Test1 and Test2 I change "G21" in each config to be TEST1 and TEST2 instead of G21 (just so I can see what config is being applied) ... the default config is what is applied no...
In linux it does not work. I checked the headers in the output file, and the config is wrong, it is using what was not selected. For both files it uses "(Used Postprocessor: postpro_config.cfg) " even though that was not selected at time of export. I made two configs again, this time named Test1 and Test2 I change "G21" in each config to be TEST1 and TEST2 instead of G21 (just so I can see what config is being applied) ... the default config is what is applied no matter what is selected, "sometimes"...
In linux it does not work. I made two configs again, this time named Test1 and Test2 I change "G21" in each config to be TEST1 and TEST2 instead of G21 (just so I can see what config is being applied) ... the default config is what is applied no matter what is selected, "sometimes" I can get one of the configs to start working after opening and closing the app a few times, whatever starts working gets stuck as the default and cannot be changed. only work around is delete all postproccessor configs...
Just checked it with my development version (on a windows PC). Seems like it's working fine. Did you check the header of the exported file too? See my two examples below: (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$) (Erstellt aus der Datei: D:/GIT/dxf2gcode-sourcecode/dxf/test.dxf) (Used Postprocessor: Mach3.cfg) (Beschreibung des Ausgabeformats: G-CODE for Mach3) (Zeit: Thu Jan 30 18:55:03 2025) and (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$)...
Just checked it with my development version (on a windows PC). Seems like it's working fine. Did you check the header of the exported file too? See my two examples below: (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$) (Erstellt aus der Datei: D:/GIT/dxf2gcode-sourcecode/dxf/test.dxf) (Used Postprocessor: Mach3.cfg) (Beschreibung des Ausgabeformats: G-CODE for Mach3) (Zeit: Thu Jan 30 18:55:03 2025) and (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$)...
Just checked it with my development version (on a windows PC). Seems like it's working fine. Did you check the header of the exported file too? See my two examples below: (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$) (Erstellt aus der Datei: D:/GIT/dxf2gcode-sourcecode/dxf/test.dxf) (Used Postprocessor: Mach3.cfg) (Beschreibung des Ausgabeformats: G-CODE for Mach3) (Zeit: Thu Jan 30 18:55:03 2025) and (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$)...
Just checked it with my development version. Seems like it's working fine. Did you check the header of the exported file too? See my two examples below: (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$) (Erstellt aus der Datei: D:/GIT/dxf2gcode-sourcecode/dxf/test.dxf) (Used Postprocessor: Mach3.cfg) (Beschreibung des Ausgabeformats: G-CODE for Mach3) (Zeit: Thu Jan 30 18:55:03 2025) and (Generated with: DXF2GCODE) (Version: Py3.11.1 PyQt5.15.8, Date: $Date$) (Erstellt aus...
Postprocessor not applied if multiple avaliable
Hi Patrick, 1.) Automated Cutting Direction: right now the cutting direction can be set automatically in CW direction for closed shapes (I think thats standard). Making this a selectable option shouldn't be that hard. Here you find the interesting Code for that. algorithm: https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode/core/shape.py#l128 Setting the direction: https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode/core/shape.py#l170 2.) Shape...
feature requests
Hi, there was nothing to merge. But i did it :-)
Issue reported on https://www.ltspiceusers.ch/threads/misunderstanding-of-toolpath.3356/#post-6680 fixed by reducing eps for colinear lines.
Cutter compensation ignores some shapes
"name 'post_pro' is not defined" when using command line