Qtvcp Development Discussions

More
21 Feb 2022 22:20 #235481 by Mduran
Can you currently add an NGCGUI tab to qtdragon?

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

More
22 Feb 2022 13:42 #235524 by cmorley
No, qtdragon does not support embedding, and embedding programs is hit and miss in qtvcp anyways.

Jim was working on a ngcgui widget for qtdragon - I should touch base with him and see how that is going.

Chris

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

More
22 Feb 2022 18:41 - 22 Feb 2022 19:14 #235546 by Mduran
Thanks, I'll contact him.
Last edit: 22 Feb 2022 19:14 by Mduran.

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

More
20 Feb 2023 19:43 #264894 by cmorley
Qtdragon supports embedding and ngccgui now.

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

More
02 Feb 2024 04:15 #292189 by cmorley
Discussion of fix for versa corner probing in 2.9...

Before:
 

after:
 

Change:
    def probe(self, name):
        if name == "xminus" or name == "yminus" :
            travel = 0 - self.data_max_travel
            latch = 0 - self.data_latch_return_dist
        elif name == "xplus" or name == "yplus":
            travel = self.data_max_travel
            latch = self.data_latch_return_dist
        else:
            return -1
        axis = name[0].upper()
        laxis = name[0].lower()

        # save current position
        rtn = self.CALL_MDI_WAIT('#<{}>=#<_{}>'.format(laxis,laxis), self.timeout)

        # probe toward target
        s = """G91
        G38.2 {}{} F{}""".format(axis, travel, self.data_search_vel)
        rtn = self.CALL_MDI_WAIT(s, self.timeout)
        if rtn != 1:
            return 'Probe {} failed: {}'.format(name, rtn)
        # retract
        s = "G1 {}{} F{}".format(axis, -latch, self.data_rapid_vel)
        rtn = self.CALL_MDI_WAIT(s, self.timeout)
        if rtn != 1:
            return 'Probe {} failed: {}'.format(name, rtn)
        # wait and probe toward target
        s = """G4 P0.5
        G38.2 {}{} F{}""".format(axis, 1.2*latch, self.data_probe_vel)
        rtn = self.CALL_MDI_WAIT(s, self.timeout)
        if rtn != 1:
            return 'Probe {} failed: {}'.format(name, rtn)

        # retract to original position
        s = "G90 G1 {}#<{}> F{}".format(axis, laxis, self.data_rapid_vel)
        rtn = self.CALL_MDI_WAIT(s, self.timeout)
        if rtn != 1:
            return 'Probe {} failed: {}'.format(name, rtn)
        # all good
        return 1
Attachments:
The following user(s) said Thank You: Roguish, tommylight

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

Moderators: cmorley
Time to create page: 0.229 seconds
Powered by Kunena Forum