FreeCAD Gcode not working in Linuxcnc

More
4 years 9 months ago - 4 years 9 months ago #232912 by strahlensauger
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.

​​
Last edit: 4 years 9 months ago by strahlensauger.

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #232915 by phillc54
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
The following user(s) said Thank You: strahlensauger

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #232973 by strahlensauger
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?

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #233020 by phillc54
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.

More
4 years 9 months ago #233393 by joekline9
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.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #233754 by andypugh
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 following user(s) said Thank You: phillc54, joekline9, strahlensauger

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum