Update 3d view
Update the 3d view after each jog if possible (seems to update but is "one step behind" just like the default manual control page).
At this time I have no clue how to address this.
What do you mean with one step behind?
Next release has a Update3D() function for IHost so you can force update. Sending a command to printer normally updates the 3d view as well.
You get coordinates from the analyser inside the connector. There is even an event you can hook yourself to to get informed. But it as a bad idea to update coordinates every event, as it takes too long. I cache changed values and in a timer loop I update changed values every 0.1 second.
Thanks Repetier for finding this item more or less addressed for you :-)
What I ment and how to reproduce the issue is like this (taken from my mind)
- Use the native manual build in control mode - not my plugin
- Jog a few times on the X-axis (i.e 10mm) so you can see the 3d view get updated with the movement each click
- Then jog with y-axis ONE step (10mm) and observe that the movement in the 3d view shows the last X-axes move (!) and not the Y-axis move.
- Then jog a second time on y-axis and see that the direction of movement is changed
That's what I ment with that it seems to be "one step behind".
Did a quick check with a virtual printer connected and it worked without your described delay. Will test this afternoon with a real printer connected.
I can reproduce the problem also with a virtual printer with Repetier host V0.95F on Windows 8.
I did notice that a simple click on the 3d view area after a jog click do update the 3d view correctly. To simplify it looks like the jog click event:first do an update of 3d view window and then changes the XYZ coorinates, when it should be the other way around. First change coordinates and then update the 3d view. Or are we dealing with a timing issue here such as tasks occuring in different threads and the update of 3d view happends just before the coordinate updates?
It's possible that you have some other action that also update the 3d view after coordinate change, but in my case that doesn't occur (unless I manually click on the 3d view window to force an refresh).
ps) By the way and of topic, did you see my question about how to get the coordinates via the API to display just like you do in the "manual control" tab?
I got the chance to test the same setup on a third computer (still windows 8) - where it actually works! One differences is that the computer where it works is having a much better specification than the others, i.e a better/quicker CPU and graphic card/processor. In the light of thoose findings I'm sure you will be able to find the cause :-)
I followed the steps but unable to see the plugin once i open the Repitier host. Can anyone send me the step by step link or video tutorial to add this CNC plugin?
"All you need to do is create a plugin and copy the plugin into the hosts plugin folder. On the next start it will be included."
...According to the system documentation and I cannot remember that I had to do something else.
https://rhplugins.repetier.com/
Yes agreed I downloaded this cnc plugin copied it into the plugin folder unzip it there unblock the .dll file but i can't see it once i will open my repitier host
Sorry but then I don't know
Ok thanks Just wanna know what did you mean by create the plugin? To me you already have done that and i just download it and copybit into my plugin folder Right?
Correct, I just quoted the manual page.