Rotary axis Display

More
06 Nov 2024 12:02 #313889 by tommy
Rotary axis Display was created by tommy
I have added rotary axis (workpiece rotates) to my 5-axis machine (BC head). I created separate config, as I want to run it as an "ordinary 3-axis" machine with 4th axis. So, configuration is changed in the way that all axis are homing but then after I use only XYZ and rotary B (as it is parallel to Y).
Machine works OK, only thing that is causing me problem now is preview of toolpath as it is not wrapped around Y.

Here is how it is programmed:
https://i.ibb.co/RYt6Vfc/ROTAR-CAM.jpg"

And how it is displayed:
https://i.ibb.co/hDnfNkF/ROTARY-DISPLAY.jpg"

Sections from my ini:
[DISPLAY]
GEOMETRY = BXYZ

[TRAJ]
COORDINATES =           X Y Z A B C W

[KINS]
KINEMATICS = trivkins coordinates=xyzabcyw kinstype=BOTH
JOINTS = 8
 

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

More
06 Nov 2024 12:17 #313890 by Aciera
Replied by Aciera on topic Rotary axis Display
Don't know what Version you are running but the toolpath preview does not 'wrap' around by default. There is a somewhat experimental setting for the [DISPLAY] GEOMETRY, so maybe try
GEOMETRY = !BXYZ
There are some caveats to this, see point 11 below:

 

linuxcnc.org/docs/html/config/ini-config...#sub:ini:sec:display
Attachments:

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

More
06 Nov 2024 12:54 - 06 Nov 2024 12:56 #313892 by tommy
Replied by tommy on topic Rotary axis Display
Version 2.9.3
Attachments:
Last edit: 06 Nov 2024 12:56 by tommy.

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

More
06 Nov 2024 12:59 #313893 by tommy
Replied by tommy on topic Rotary axis Display
DISPLAY = ! BXYZ
did the thrick
 

but after applying G54 on X, it becomes a mess:
 
Attachments:

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

More
06 Nov 2024 14:02 #313907 by tommylight
Replied by tommylight on topic Rotary axis Display
From the pictures it seems your CAM is outputting strange positions as everything is out of machine limits, it uses center coordinates as it seems.
Probably should check that first.

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

More
08 Nov 2024 09:35 - 08 Nov 2024 09:36 #314068 by tommy
Replied by tommy on topic Rotary axis Display
I hope this video will make more clear what is happening, I have no issue with g-code from CAM, machined parts are ok, only display section is a bit off in my case:



Last edit: 08 Nov 2024 09:36 by tommy.

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

More
08 Nov 2024 10:24 #314070 by Aciera
Replied by Aciera on topic Rotary axis Display

but after applying G54 on X, it becomes a mess:


This issue is a known limitation of the feature. Please read paragraph 11 the documentation I posted above.

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

More
09 Nov 2024 02:47 #314107 by MarkoPolo
Replied by MarkoPolo on topic Rotary axis Display
You can try to make a preview window with QtVismach. In Vismach the rotation axis displays well. I quickly made a window that is overlaid on qtdragon , as in the screenshot. You would have to work on displaying the gcode preview, but it would probably be useful.
Attachments:

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

Time to create page: 0.199 seconds
Powered by Kunena Forum