Remaped Toolchange

More
10 Nov 2025 21:10 #338157 by MaHa
Remaped Toolchange was created by MaHa
'MANUAL_TOOL_CHANGE = True'  without remap M6, the toolchange popoup is working as expected. When m6 is remaped, the popup is not showing up, but the ui crashes:


  File "/usr/lib/python3/dist-packages/PyQt6/uic/ui_file.py", line 35, in __init__
    document = ElementTree.parse(ui_file)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/xml/etree/ElementTree.py", line 1218, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.11/xml/etree/ElementTree.py", line 569, in parse
    source = open(source, "rb")
             ^^^^^^^^^^^^^^^^^^


I think its a similar problem i described with touchoff, its looking for the tool_change.ui in my config folder
 
The following user(s) said Thank You: JT

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

More
18 Nov 2025 15:42 #338626 by JT
Replied by JT on topic Remaped Toolchange
I know almost nothing about remap so you would have to supply me with the remap code you're using.

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

More
19 Nov 2025 10:32 #338711 by MaHa
Replied by MaHa on topic Remaped Toolchange
The remap is done with a simple .ngc routine, for adjustable toolchange/probing position, from a spinbox value. change.ngc completes without error., then it crashes. So the problem must be with  epilog=change_epilog.  I did not modify   stdglue.py  . The manual tool change option from .hal file is working


[RS274NGC]
REMAP=M6  modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog


 

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

More
19 Nov 2025 12:07 #338714 by JT
Replied by JT on topic Remaped Toolchange
I can't test without the files you are using or a sim config containing all the files you're using.

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

Moderators: JT
Time to create page: 0.054 seconds
Powered by Kunena Forum