Qtlathe

More
13 Jul 2020 03:24 #174448 by cmorley
Replied by cmorley on topic Qtlathe
So looking at the code, it should pop up a save file path dialog.
Does it not pop this dialog?

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

More
13 Jul 2020 04:12 - 13 Jul 2020 04:17 #174451 by hottabich
Replied by hottabich on topic Qtlathe
There is a path that is not correct as in the first screenshot and an error occurs — the second screenshot. It’s necessary as in the third screenshot. I have to edit the path in the dialog.
Attachments:
Last edit: 13 Jul 2020 04:17 by hottabich.

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

More
13 Jul 2020 05:52 #174461 by cmorley
Replied by cmorley on topic Qtlathe
add this to your handler file:
    def class_patch__(self):
        GCODE.exitCall = self.editor_exit
        GCODE.saveReturn = self.saveReturn

    def saveReturn(self, fname):
        print 'save',fname

Then run from terminal and post what gets print when you save the file.

Chris

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

More
13 Jul 2020 06:42 #174471 by hottabich
Replied by hottabich on topic Qtlathe
Does not save.
Attachments:

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

More
13 Jul 2020 06:59 #174472 by cmorley
Replied by cmorley on topic Qtlathe
It wasn't supposed to save - it's only to give me information to debug.

Did you see there is a gcode error in your program?
tool 1003 is not in the tool table.

But the problem is the /../../ file path - I'll fix it tomorrow!

Chris
The following user(s) said Thank You: hottabich

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

More
14 Jul 2020 03:35 #174575 by cmorley
Replied by cmorley on topic Qtlathe
I just push a change that should fix this problem.
The following user(s) said Thank You: hottabich

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

More
16 Jul 2020 19:05 - 16 Jul 2020 19:13 #174881 by hottabich
Replied by hottabich on topic Qtlathe
Thank! Gcode Editor Save. There was a question about Mdi Touchy. Set Tooll is not available for editing corners.
G10 L1 Set Tool Table
G10 L1 P axes <R I J Q>
Set Tool Table
P = tool number
R = radius of tool
I = front angle (lathe)
J = back angle (lathe)
Q = orientation (lathe)
G10 L1 sets the tool table for the P tool number
to the values of the words.
The system is in metric units and edits in imperial units.
Attachments:
Last edit: 16 Jul 2020 19:13 by hottabich.

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

More
17 Jul 2020 01:57 #174894 by cmorley
Replied by cmorley on topic Qtlathe
Ok IJ fixed.

Tell me more about the units problem please.

Chris

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

More
17 Jul 2020 04:14 - 17 Jul 2020 04:30 #174897 by hottabich
Replied by hottabich on topic Qtlathe
Thank. Set Origin displays conditional units works correctly. Set Tool mm => in converts mm to inches. Or maybe that's right?
Attachments:
Last edit: 17 Jul 2020 04:30 by hottabich.

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

More
17 Jul 2020 06:24 #174901 by cmorley
Replied by cmorley on topic Qtlathe
Interestingly I looked at tool_offsetview.py and the code for metric mode change wasn't finished.
It always displays in machine units.

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

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