Change Tool Offsets after editing the Tool Table

More
1 year 5 months ago #328154 by zz912
So try this:
Code:
        if "G43" in self.active_gcodes:             self.command.wait_complete()             self.command.mode(linuxcnc.MODE_MDI)             self.command.wait_complete()             self.command.mdi("G43")             self.command.wait_complete()             self.command.mode(linuxcnc.MODE_MANUAL)             self.command.wait_complete()                  self.stat.poll()             toolinfo = self.widgets.tooledit1.get_toolinfo(self.stat.tool_in_spindle)         if toolinfo:             self.widgets.lbl_tool_no.set_text(str(toolinfo[1]))             self.widgets.lbl_tool_dia.set_text(toolinfo[12])             self.halcomp["tool-diameter"] = float(locale.atof(toolinfo[12]))             self.widgets.lbl_tool_name.set_text(toolinfo[16])  
The following user(s) said Thank You: hermann1976

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

More
1 year 5 months ago #328246 by hermann1976
Thank you very much - zz912.
Your last change is now working.
Regards, Hermann

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

More
1 year 5 months ago #328254 by zz912
I have a question for Norbert.
Do you think it would be a good idea to merge this into the Master branch (2.10)?

I would like this functionality.
The following user(s) said Thank You: RotarySMP

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

More
1 year 5 months ago #328257 by RotarySMP
I vote for that to be in Master as well.

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

Moderators: newbynobi, HansU
Time to create page: 0.116 seconds
Powered by Kunena Forum