I drew a model in FreeCAD and the path module created the toolpath correct.
The ngc file contains G3 commands with very great I and J Parameters, that linuxcnc interprets as big circles,
you can't see the shape of the door anymore and you have limit errors, because the circles are so big.
I attached the files.
In the gcode file "Wichteltuer.txt" in line 275 for example:
G3 X7.488 Y99.829 Z-6.340 I-2549472.509 J1456846.035 F1200.000
is this a bug or is my model bad?
OS: Arch Linux (xmonad)
Word size of FreeCAD: 64-bit
Version: 0.20.27078 (Git) AppImage
Build type: Release
Branch: (HEAD detached at bcdd926)
Hash: bcdd926686f2245fe60baface1cce1ab3dff7a5b
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Bug in Postprocessor?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 33
- Joined: Thu Dec 16, 2021 8:13 pm
Bug in Postprocessor?
- Attachments
-
- Wichteltuer.txt
- (26.63 KiB) Downloaded 19 times
- sliptonic
- Veteran
- Posts: 3459
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Bug in Postprocessor?
Big IJ values aren't a problem. Those are offsets to center of the arc so if the arc has a large radius, you'll get big values.
The same values are present in the Path commands. I took your gcode and ran it through nc viewer and it renders correctly. Are you sure you don't have your machine set up for radius format arcs or something like that?
The same values are present in the Path commands. I took your gcode and ran it through nc viewer and it renders correctly. Are you sure you don't have your machine set up for radius format arcs or something like that?
-
- Posts: 33
- Joined: Thu Dec 16, 2021 8:13 pm
Re: Bug in Postprocessor?
Thank you for your quick answer.
As so often in computer programs I would say I'm sure the linuxcnc is not in radius format or arcs or sth like that.
But I was often wrong...
I checked with another test machine I have build with a raspberry pi and I checked it against the linuxcnc simulation program, which comes
preconfigured, same behaviour - no door just circles.
So I am pretty sure the problem is the linuxcnc interpreter of the gcode.
I will take the topic to the linuxcnc forum.
Thanks again for your support
As so often in computer programs I would say I'm sure the linuxcnc is not in radius format or arcs or sth like that.
But I was often wrong...
I checked with another test machine I have build with a raspberry pi and I checked it against the linuxcnc simulation program, which comes
preconfigured, same behaviour - no door just circles.
So I am pretty sure the problem is the linuxcnc interpreter of the gcode.
I will take the topic to the linuxcnc forum.
Thanks again for your support
-
- Posts: 33
- Joined: Thu Dec 16, 2021 8:13 pm
Re: Bug in Postprocessor?
Your hint pointed me in the right direction.
In the gcode file at the beginning I changed G90 to G91.
Voila. Still there are 3 very big circles and an error message on the first encounter of the I and j parameter,
but I can see the model and can correct the couple of lines of code that causes trouble by hand.
Thx again
In the gcode file at the beginning I changed G90 to G91.
Voila. Still there are 3 very big circles and an error message on the first encounter of the I and j parameter,
but I can see the model and can correct the couple of lines of code that causes trouble by hand.
Thx again