- Posts: 195
- Thank you received: 66
FreeCAD Gcode not working in Linuxcnc
- strahlensauger
- Topic Author
- Offline
- Elite Member
-
Less
More
4 years 9 months ago - 4 years 9 months ago #232912
by strahlensauger
Replied by strahlensauger on topic FreeCAD Gcode not working in Linuxcnc
Thank you for your engagement. That is exactly what I drew in Freecad, lcnc draws huge circles.
I just wonder why the postprocessor from freecad for Lcnc don't match.
I just wonder why the postprocessor from freecad for Lcnc don't match.
Last edit: 4 years 9 months ago by strahlensauger.
Please Log in or Create an account to join the conversation.
4 years 9 months ago #232915
by phillc54
Replied by phillc54 on topic FreeCAD Gcode not working in Linuxcnc
Yes, It does seem that LinuxCNC is interpreting it incorrectly.
If you zoom in a long way where the circles intersect on the left side then you can see the rest of the plot.
It may be best to raise a new issue on Github.
github.com/LinuxCNC/linuxcnc/issues
If you zoom in a long way where the circles intersect on the left side then you can see the rest of the plot.
It may be best to raise a new issue on Github.
github.com/LinuxCNC/linuxcnc/issues
The following user(s) said Thank You: strahlensauger
Please Log in or Create an account to join the conversation.
- strahlensauger
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 195
- Thank you received: 66
4 years 9 months ago #232973
by strahlensauger
Replied by strahlensauger on topic FreeCAD Gcode not working in Linuxcnc
I opened an issue on Github, thank you for the link.
@ phillc54: just curious; how did you edit that file to change the lines with the big numbers,
did you do all by hand or did you write a macro in vim or did you use Excel or libreoffice?
@ phillc54: just curious; how did you edit that file to change the lines with the big numbers,
did you do all by hand or did you write a macro in vim or did you use Excel or libreoffice?
Please Log in or Create an account to join the conversation.
4 years 9 months ago #233020
by phillc54
Replied by phillc54 on topic FreeCAD Gcode not working in Linuxcnc
By hand, it is easy to find the required line by selecting it in the preview.
Please Log in or Create an account to join the conversation.
4 years 9 months ago #233393
by joekline9
Replied by joekline9 on topic FreeCAD Gcode not working in Linuxcnc
Looks like Linuxcnc is doing what the g-code says.
The huge I and J numbers are just wrong.
It has to be a Freecad issue.
The huge I and J numbers are just wrong.
It has to be a Freecad issue.
Please Log in or Create an account to join the conversation.
4 years 9 months ago #233754
by andypugh
Replied by andypugh on topic FreeCAD Gcode not working in Linuxcnc
No, the huge numbers are perfectly valid to define an almost-straight arc.
The problem is that LinuxCNC is seeing a start and end point of the arc with such a small angle between them that it assumes that the start and end are identical, and that a full-circle is required.
The underlying cause is assuming that a very small angle is enough of a check, whereas there should also be a check that the distance between the start and end is very, very tiny too. (it's really a check that they are identical, with some allowance for digits of precision)
Fixing the actual tool motion was fairly easy, but it took me longer to fix the graphical preview, which uses different logic.
The problem is that LinuxCNC is seeing a start and end point of the arc with such a small angle between them that it assumes that the start and end are identical, and that a full-circle is required.
The underlying cause is assuming that a very small angle is enough of a check, whereas there should also be a check that the distance between the start and end is very, very tiny too. (it's really a check that they are identical, with some allowance for digits of precision)
Fixing the actual tool motion was fairly easy, but it took me longer to fix the graphical preview, which uses different logic.
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds