Сustomization QTvcp

More
03 May 2020 03:29 - 03 May 2020 06:35 #166463 by hottabich
Replied by hottabich on topic Сustomization QTvcp
The name macros is assigned to the button in the designer. Here is my simulator config. Everything is simple and good. Thank! If you find time, you can watch my hobby_mill post 166278.]
Attachments:
Last edit: 03 May 2020 06:35 by hottabich.

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

More
08 May 2020 12:43 #167039 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! After updating Linuxcnc 2.8-pre. default spindle speed became 200 when the spindle started in man mode. Please tell me how to fix this? And another question, progress bar in is not enough gcode graphics when downloading large files. This can be added or please tell me how to do it in a particular case.
Attachments:

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

More
08 May 2020 17:14 #167058 by cmorley
Replied by cmorley on topic Сustomization QTvcp
In the INI under DISPLAY add:
DEFAULT_SPINDLE_0_SPEED = 500

Currently no progress bar is available for loading programs.

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

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

More
08 May 2020 18:03 - 08 May 2020 18:58 #167065 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank! Is there no way to add a progress bar to gcode graphics? The above code is taken from gcode bakplot. Here is another error after updating when downloading a file. There is no error through the load dialog.
Attachments:
Last edit: 08 May 2020 18:58 by hottabich.

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

More
08 May 2020 19:50 #167072 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Do you have a button that uses python command (added in designer) for loading a selected file from file_manager?
The function used to be .load()
try changing it to:

INSTANCE.w.file_manager._getPathActivated()

Currently there is no way to get the progress of file loading.

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

More
08 May 2020 20:13 - 08 May 2020 20:20 #167073 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Does not work. If you remove (w) there is no manager.
Attachments:
Last edit: 08 May 2020 20:20 by hottabich.

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

More
08 May 2020 20:20 #167074 by cmorley
Replied by cmorley on topic Сustomization QTvcp
What did you have originally?
INSTANCE.file_manager.load() ?

what ever you had change the .load() to ._getPathActivated()

i will fix this problem soon but this will work around it for now.

Chris

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

More
08 May 2020 20:34 #167075 by hottabich
Replied by hottabich on topic Сustomization QTvcp
INSTANCE.filemanager.load() it beat like that. Thanks for watching, wait.

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

More
08 May 2020 20:37 #167076 by cmorley
Replied by cmorley on topic Сustomization QTvcp
I'm looking at AXIS progress code but it's complicated and not well documented, not sure if it will make it into 2.8

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

More
09 May 2020 00:24 - 09 May 2020 00:25 #167093 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Ok I pushed some work that makes it possible to get a percent signal from the graphics display.

You must connect a signal in designer from the graphics display to the form.
The signal is called percentLoaded
Then make a function in the handler to update your progressbar.

qtaxis shows an example.

You may also connect the signal directly to a progressbar in designer but you will have less control that way.
Attachments:
Last edit: 09 May 2020 00:25 by cmorley.

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

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