A axis position
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
26 Jan 2023 18:49 #262953
by looping
A axis position was created by looping
Hello
I'm just starting to play with 4 axis configuration and trying to mill 6 faces out of a 20mm rod.
In linuxcnc all looks good only when I don't have any G54 Z offset.
But if I have an offset on the Z axis, it looks strange.
Do I must move my machine origine to the A axis to be able to have a nice preview ?
I'm just starting to play with 4 axis configuration and trying to mill 6 faces out of a 20mm rod.
In linuxcnc all looks good only when I don't have any G54 Z offset.
But if I have an offset on the Z axis, it looks strange.
Do I must move my machine origine to the A axis to be able to have a nice preview ?
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
26 Jan 2023 18:51 #262954
by looping
Replied by looping on topic A axis position
Files to reproduce
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23314
- Thank you received: 4861
28 Jan 2023 17:34 #263099
by andypugh
Replied by andypugh on topic A axis position
The G-code preview assumes that the centre of rotation is the axis zero.
You just have to accept that the preview in rotary mode is nothing more than an indication. (The preview has no way to know where your axis of rotation is, the G-code does not include that information)
You just have to accept that the preview in rotary mode is nothing more than an indication. (The preview has no way to know where your axis of rotation is, the G-code does not include that information)
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
28 Jan 2023 17:52 #263102
by looping
Replied by looping on topic A axis position
I agree but the preview is just an indication but in this case it is misleading : On the second preview it may look like the path will be out of machine boundaries but in fact it is not.
The axis position, as it is machine dependent, should rather be in the INI fileThe preview has no way to know where your axis of rotation is, the G-code does not include that information)
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
28 Jan 2023 19:48 #263108
by dgarrett
Replied by dgarrett on topic A axis position
2.9 and up:
> 10. Rotations applied after translations may use the "!" provision to act with
> respect to the current machine offset. Example: GEOMETRY=!CXYZ translates the
> control point to the X, Y, Z position and then performs a C rotation about the
> machine origin displaced by the current G5x,G92 X, Y, Z offsets. (Changing
> offsets may require a program reload).
Ref:
linuxcnc.org/docs/2.9/html/config/ini-config.html
github.com/LinuxCNC/linuxcnc/commit/c392629
> 10. Rotations applied after translations may use the "!" provision to act with
> respect to the current machine offset. Example: GEOMETRY=!CXYZ translates the
> control point to the X, Y, Z position and then performs a C rotation about the
> machine origin displaced by the current G5x,G92 X, Y, Z offsets. (Changing
> offsets may require a program reload).
Ref:
linuxcnc.org/docs/2.9/html/config/ini-config.html
github.com/LinuxCNC/linuxcnc/commit/c392629
The following user(s) said Thank You: tommylight, Pro_El
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
28 Jan 2023 20:03 #263114
by looping
Replied by looping on topic A axis position
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19430
- Thank you received: 6517
28 Jan 2023 20:21 #263116
by tommylight
Replied by tommylight on topic A axis position
+1Wow
That's great
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
29 Jan 2023 20:00 #263181
by looping
Replied by looping on topic A axis position
I upgraded LinuxCnc to the last buildbot version and updated my INI file with :
[DISPLAY]
GEOMETRY = !AXYZ
Did I miss something ?
[DISPLAY]
GEOMETRY = !AXYZ
Did I miss something ?
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
02 Feb 2023 19:23 #263542
by looping
Replied by looping on topic A axis position
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23314
- Thank you received: 4861
04 Feb 2023 11:13 #263660
by andypugh
Or maybe an INI entry, but that couldn't be changed at runtime.
Replied by andypugh on topic A axis position
The only way I see round this is to add a "magic comment" that the preview could parse. Something like (ORIGIN, 100 0 0)The build (>=758) improved a bit, but still some work to be done : The shape of the path is now correct with or without an offset.
But the path remains located on the machine origin.
Or maybe an INI entry, but that couldn't be changed at runtime.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.089 seconds