unsolved Misunderstanding of toolpath

Michel Elsass

Aktiver Benutzer
Member
Landesflagge
Hello Everybody,
I'm new to this field as well as in CNC machining and I have a misunderstanding, let me explain
I'm trying to make a rounded machining of the width of my tool and when I export my toolpath it gives me the contour of my machining, So I've got a lot more machining to do than I'd like, I don't understand, could you tell me where is the problem?.

Thank's a lot for your answers

Below is the code generated by DXF2GCODE

(Generated with: DXF2GCODE)
(Version: Py3.11.1 PyQt5.15.8, Date: [imath]Date: Mon Feb 6 21:49:45 2023 +0100[/imath])
(Créé à partir du fichier: G:/Test.DXF)(Used Postprocessor: postpro_config.cfg)
(Output format description: G-CODE for LinuxCNC)
(Heure: Mon Oct 28 13:16:40 2024)G21 (Units in millimeters)
G90 (Absolute programming)
G64 (Default cutting) G17 (XY plane) G40 (Cancel radius comp.) G49 (Cancel length comp.)
G0 Z 15.000

(*** LAYER: 0 ***)
T1 M6
S10000

(* SHAPE Nr: 67 *)
G0 X 24.684 Y 30.153
M3
G0 Z 12.000
F150
G1 Z 7.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958 (why does it generate multiple lines?)
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 6.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 5.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 4.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 3.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 2.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 1.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 0.000
F400
G2 X 25.805 Y 60.915 I 39.613 J 13.958
G2 X 28.554 Y 59.715 I 1.375 J -0.600
G3 X 27.513 Y 31.150 I 35.742 J -15.604
G2 X 24.684 Y 30.153 I -1.415 J -0.498
F150
G1 Z 12.000
G0 Z 15.000
G0 X 0.000 Y 0.000
M30 (Program end)
 

Anhänge

  • lumiere arrondie.JPG
    lumiere arrondie.JPG
    9,1 KB · Aufrufe: 2
Zuletzt bearbeitet:
I don't understand your question fully, but i guess your question is why you are milling that contour. I guess your dxf is showing exactly the same contour as the jpg but only at one height. In order to have a cutter offset you need to active cutter compensation (G41 or G42) with the tool diameter you are using (should be smaller then the contour you want to cut. The other method might be just to draw a rounded line at the center of your cutter and not use cutter compensation like you did it.
 
Good evening Chrisko, I'm making slow progress, some pockets are good and others are not, the good ones have a blue line (the axis) in the middle and the others, though set up exactly the same, don't even appear when I convert to Gcode, would you have any idea of my problem?
thanks a lot
 

Anhänge

  • way2.JPG
    way2.JPG
    94,4 KB · Aufrufe: 3
  • way3.JPG
    way3.JPG
    97,4 KB · Aufrufe: 3
Re Good evening Chrisko,
here is the DXF the fan holes and the mounting holes (the small round holes) are to be taken out with a 3 mm tool and the rest with a 6 mm tool.
But I would have liked to know how to do it and find out why it reacts differently to different holes., not for someone to make the file for me.
thank you very much for your help
 

Anhänge

  • Panneau dessus valise.DXF
    124,5 KB · Aufrufe: 1
Hi, your right. There is an issue with the tool. I will check, but can not tell you now, if i will find a fast fix for it. This is a tolerance issue of not exact matching points and arc's which is already know but not easy to fix in general. However i will try in the next few days ...
Christian
 
Hello Chrisko,
I had an idea, tonight I'm going to test with a hole on the plane 0.1 mm larger to see if it is related to the diameter of the tool. I'll keep you informed too.
Thanks a lot
 
Hi Michel,
i found the "error" it was a tolerance issue of the dxf. I just needed to reduce the import tolerance of dxf2gcode offset algorithm to find colinear lines. But did take me 2-3 hours to find out ...
New source files available on sourceforge and i also created a new windows installer.
regards
Christian
 
Hello Christian,
thank you very much
I was wondering if, as a thank you, you'd be interested in me translating the whole interface into French.

Hallo Christian!
vielen Dank
Ich habe mich gefragt, ob es dich interessieren würde, wenn ich die gesamte Benutzeroberfläche ins Französische übersetzen würde, um dir zu danken.

Michel
 
Hello Christian,
I'll bring up all the translations (of what hasn't been translated in the inteface) in the next few weeks.

I still have an other question, I haven't found a tutorial or explanation on how to change the tool in the “tab menu” when I select a Shape and change the tool all my shapes have this tool assigned how do you assign a tool to a specific shape? I've of course taken care to create it in the tool table beforehand, and to restart the application.

Thank you for your hard work
have a nice week end
 

Anhänge

  • Panneau dessus.DXF
    124,5 KB · Aufrufe: 0
Hello Christian,

Yes, I'd seen that, but that's where my problem lies when I change tool, the tool is changed for all shapes, whereas I want to change the tool for a specific Shape. Do I have to make several export files with the corresponding shapes, then copy them into a final file (it's a bit fastidious and a source of errors)?

Thank you
 
Did you select a shape or nothing. I thought this can be changed per shape or at least per layer ...
Otherwise you need to do it like you proposed.
 
Yes, I select a shape, I select the desired tool and move on to the other shape and change the desired tool, but when I export, only the tool from the beginning is taken into consideration.

Edit : Well, I only have one layer, so I'm going to test it with several layers.
 
Zuletzt bearbeitet:
euh, je n'ai pas trouvé comment ajouter des calques avec dxf2gcode

Edit : That said, adding layers and tools manually in the GCode file with a text editor works as a temporary solution.
 
Zuletzt bearbeitet:

Benutzer welche diesen Thread betrachten (Mitglieder: 0, Gäste: 1)

Wer hat diesen Thread gelesen

Zurück
Oben