QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

More
8 months 5 days ago #343604 by amanker
See GIF file I have uploaded. The tool marker from view port is moving in opposite direction. I want it should be below spindle tooltip. As it moves while jogging in X or Z direction. But Y jogging time, table is moving correctly. But tool marker is moving in opposite direction.

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

More
8 months 5 days ago #343609 by Aciera
The tool path needs to be plotted relative to the work piece. (tool -> world -> work)

The problem is that your tool position is plotted in World coordinates (tool -> world) which works if only the tool moves because the Work coordinate system remains identical to the World coordinates.
However on a machine like yours where the tool AND the work move in space the plotter needs to track both the tool tip as well as the work piece.
This is why the 'vismach' tool needs the capture() function for the tooltip as well as for work.

Not sure but maybe the backplot in ProbeBasic only plots tool position in world coordinates instead of plotting tool position in Work coordinates?

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

More
8 months 5 days ago #343620 by Lcvette
you can adjust the vtk code to offer dynamic plot functionality. you need to add in code to correctly follow the tool and define which components of the machine remain stationary and which have motion and assign the plot constraints to match.

this has been a planned upgrade for a while now but we have a bunch going on with the move to pyside6 qt6 so this is kinda down on priority list as most folks don't both with machine simulation so its a minority "want" at the moment.

if you want to dig into the vtk display and see if you can sort some things out that would be fantastic. i have a branch already that has some good work in it where i was working on multi axis which is pretty brutal when it takes so long to test each change. I will see if i can catch up that old branch and leave the sections i was working with notated and commented out as a starting point but it will likely be next week before i can even do it since i have a pyside system currently setup as dev.

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

More
8 months 4 days ago #343635 by amanker
Yes, You are absolutely right. Vismach is not important at all. I also think so. Thats why really few persons are using this.
If you can just give me initial lead which files I should look for? I tried to find vtk_backplot.py file in instalaltion but didnt find.

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

More
8 months 4 days ago #343636 by Aciera
For an example on how to implement toolpath plotting in work coordinates using vtk see:
github.com/Sigma1912/vtk-vismach

'Capture()' embeds an invisible actor in the model that can then be used to track the transformation matrices for the tooltip and the work which can then be used to plot the toolpath.

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

More
8 months 4 days ago #343637 by Aciera

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

Moderators: KCJ, Lcvette
Time to create page: 0.390 seconds
Powered by Kunena Forum