Remaped Toolchange

More
11 months 2 weeks ago #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
 

Please Log in to join the conversation.

More
11 months 1 week ago #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 to join the conversation.

More
11 months 1 week ago #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 to join the conversation.

More
11 months 1 week ago #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 to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum