the gcode g2-g3 format problem.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
28 Nov 2022 14:20 #257857
by andypugh
Replied by andypugh on topic the gcode g2-g3 format problem.
Are you suggesting that IJK are used to define a waypoint rather than the centre?
I think that it would feel more natural to most users to carry on defining the centre and direction (even if direction becomes rather hard to define)
Arcs are hard in corner cases, by the way.
github.com/LinuxCNC/linuxcnc/issues/1528
And now I am chasing a bug introduced by this bugfix that on some machines (but not any of mine, I can't reproduce it) an initial G2 Z-1 J4 makes a straight move in Z only. But only if there has been no motion since the machine was first homed.
I think that it would feel more natural to most users to carry on defining the centre and direction (even if direction becomes rather hard to define)
Arcs are hard in corner cases, by the way.
github.com/LinuxCNC/linuxcnc/issues/1528
And now I am chasing a bug introduced by this bugfix that on some machines (but not any of mine, I can't reproduce it) an initial G2 Z-1 J4 makes a straight move in Z only. But only if there has been no motion since the machine was first homed.
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
28 Nov 2022 15:34 #257861
by Grotius
Replied by Grotius on topic the gcode g2-g3 format problem.
Hi Andy,
Are you suggesting that IJK are used to define a waypoint rather than the centre?
No. IJK are center of circle or arc.
But with no waypoint you still have a problem when
arc start, arc center ijk and arc end are colineair.
For me personally i think adding a waypoint to the interpreter, is ok. Then it's up to the cam makers to
use this option or not.
//
github.com/LinuxCNC/linuxcnc/blob/master...sk/emccanon.cc#L1662
And whereas it does seem to be based on an arc angle.
//
I see, nasty error to solve.
Are you suggesting that IJK are used to define a waypoint rather than the centre?
No. IJK are center of circle or arc.
But with no waypoint you still have a problem when
arc start, arc center ijk and arc end are colineair.
For me personally i think adding a waypoint to the interpreter, is ok. Then it's up to the cam makers to
use this option or not.
//
github.com/LinuxCNC/linuxcnc/blob/master...sk/emccanon.cc#L1662
And whereas it does seem to be based on an arc angle.
//
I see, nasty error to solve.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
28 Nov 2022 16:01 #257862
by andypugh
Replied by andypugh on topic the gcode g2-g3 format problem.
I don't think that you can define the waypoint other than by using IJK as you can't have two of the same letter on the same G-code block.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds