Write axis positions to the toolpath window

More
27 Jul 2019 01:22 #140707 by Vmax549
PathPilot writes the elasped time to the toolpath window. Does anyone know where that is controlled from? I thought it was from Mill_Tormach-UI.py but that is not it.

It has code the appears to be it but that is not it. You can comment out that code and it still appears and works.

self.notebook_main_fixed.put(self.elapsed_time_label, 928, 390)
self.notebook_main_fixed.put(self.remaining_time_label, 928, 370)
self.notebook_main_fixed.put(self.preview_clipped_label, 904, 0)

Also there should be 3 lines but only 1 shows up. SO it must be configured from somewhere else ??

Anyone have an idea as to where ?

(;-) TP

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

More
27 Jul 2019 02:06 - 27 Jul 2019 02:08 #140708 by smgvbest
stuff like this in in ui_common.py
check the update_gcode_time_labels routine in there.
thats a quick guess at it FWIW

Those 3 line you found control the position of the label also a FWIW
Last edit: 27 Jul 2019 02:08 by smgvbest.

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

More
27 Jul 2019 05:15 #140716 by Vmax549
IF teh position were controlled for there I woul dbe able to move them but you cannot. You can change teh number but it will NOT move it on teh screen. THAT is why I said it must be controlled from somewhere else. Also teh UI-common controles teh configureation of teh display as to font,size,boxed,etc but not teh placement. I have been there as well.

(;-) TP

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

More
27 Jul 2019 14:40 #140750 by Vmax549
Does anyone have a code example of adding a axis DRO to teh toolpath window. I see that LinuxCNC does in in most GUIs.

I need to add a B and C axis dro to path pilot.

(;-) TP

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

More
27 Jul 2019 18:28 #140759 by smgvbest
I don't know of anyone in the pathpilot group that's done what you've asked.
doesn't mean they aren't there. just that I have not head of anyone

I miss read your question, I was looking at the estimated time label not the toolpath window., I would expect that to be someone in one of the gremlin files and look for reference to the preview_image_overlay as that's the gtk component in the ui handling it (though it may be a placeholder) I did not look in depth

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

More
27 Jul 2019 21:14 #140770 by Vmax549
The linuxCNC code would be fine as it is in most of teh GUIs of LinuxCNC.

I just need to see what signals they tie to to display teh axis position.

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

Moderators: cncbasher
Time to create page: 0.113 seconds
Powered by Kunena Forum