Error in tool_offsetview.py

More
03 Oct 2024 11:15 #311222 by MarkoPolo
Hi Cmorley

I don't know if you plan to implement the layout in qtdrahon_hd
the same as in qtdragon. If so, I have a modified file, ready to use.
Attachments:

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

More
03 Oct 2024 12:54 #311228 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py

In gcode_graphics.py, yet another self.makeCurrent()
    def select_fire(self):
        if self.inhibit_selection: return
        if STATUS.is_auto_running(): return
        if not self.select_primed: return
        x, y = self.select_primed
        self.select_primed = None
        self.makeCurrent()
        self.select(x, y)

Does that work?
 

I added it to qt5_graphics and it didn't - I missed that gcode_graphics redefined it. thank you.
The following user(s) said Thank You: MennilTossFlykune

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

More
04 Oct 2024 04:20 #311266 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py

Hi Cmorley

I don't know if you plan to implement the layout in qtdrahon_hd
the same as in qtdragon. If so, I have a modified file, ready to use.

 

Pushed to master.
Thank you!

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

More
01 Nov 2024 21:44 - 01 Nov 2024 22:27 #313633 by MarkoPolo
Hi ChrisI
Have some fixes qtdragon .
1. Fixed wrong button size in qtdragon_hd g54
2. Fixed button qss file for qtdragon
3. The "systemtoolbutton" button should be removed from the "button_response_list" list in the support file, because in auto mode during work, it is not active.
What is the function of the red frame in the gcode field?
If I click in MDI and a red frame appears, it is not possible toremove it later. 
Last edit: 01 Nov 2024 22:27 by MarkoPolo.
The following user(s) said Thank You: tommylight

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

More
02 Nov 2024 04:57 #313642 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
pushed.
Thank you for your continued fixes of my misses :)
The following user(s) said Thank You: tommylight, MarkoPolo

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

More
03 Nov 2024 04:24 #313695 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Oh the red highlight was for cycle start selection.
Ie in MDI mode cyclestart would run the MDI command, in Auto run the program.
It's code not ready yet, I just forgot to turn it off.

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

More
22 Nov 2024 22:24 #315063 by MarkoPolo
Hi Chris

In qtdragon the feedrate override value is displayed fine if only xyz axes are working, but if a rotary axis is added to it the value becomes useless because the angular values ​​of the rotary axis are added to the linear values.

I think the angular values ​​should be removed from "feedrate override".

It would be possible to calculate the linear speeds of the workpiece, but you would have to take into account the distance of the tool tip from the rotary axis, and the rotational speed of the axis. It gets even more complicated with two rotary axes.
Any ideas on how to do this?

Another minor thing is that the linuxcnc logo is not displayed in "setup"
it is displayed only after pressing "local files" and after pressing the return arrow.
Attachments:

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

More
26 Nov 2024 06:52 #315276 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
The feedrate comes straight from the motion controller and is always multiplied by 60 for minutes.
I'll have to see what AXIS does in this case as it's not obvious how to decern what the feedrate units are at any one moment.

Yes I noticed the logo problem then forgot about it :)
I'll see if I can figure it out.

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

More
30 Nov 2024 00:42 #315597 by MarkoPolo
As for the feedrate, I made a test script in python that calculates the feedrate.
It adds the "vel XYZ" velocity to the linear velocity of the A axis, taking into account the distance of the cutter from the A axis rotation axis.
Currently, it adds the angular velocity to the "velXYZ" velocity, which completely falsifies the "feedrate override" value.

Maybe it would be worth adding a pin with the velXYZA value?
Attachments:

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

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