Сustomization QTvcp

More
5 years 5 months ago #209880 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Almost like that. For now dialogue window is missing an option to set up safe height to start from line execution. Dialog dro label x, y, z.... coordinate line number. Is it possible to have such functionality at LinuxCNC? Thanks in advance

Please Log in to join the conversation.

More
5 years 5 months ago #209929 by cmorley
Replied by cmorley on topic Сustomization QTvcp
What is the difference between the xyz settings and the safe height setting?

Typically one would manually jog the machine into position before restarting the program.

Please Log in to join the conversation.

More
5 years 5 months ago #210040 by hottabich
Replied by hottabich on topic Сustomization QTvcp
At the moment there is no way to start work from scratch of the workpiece from the selected line. G54 (x0,y0,z0) Start line number, lifting the cutter to a given safe height, starting the spindle, pause for 5 seconds, the tool goes to the coordinates of the selected line and lowers along the z, work is in progress. This is relevant after shutdown of the scheduled and emergency machine. Thanks for attention!

Please Log in to join the conversation.

More
5 years 1 month ago #220229 by hottabich
Replied by hottabich on topic Сustomization QTvcp
[justify]Hello! I want to add to the woodpecker from QtDragon hd master apply_stylesheetCombo. Please help to register correct signal slot. Thanks![/justify]

Please Log in to join the conversation.

More
5 years 1 month ago #220237 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Try this (untested)

In designer change the slot name from 'cmb_stylesheet_curentindex()' to 'apply_stylesheet_clicked(int)'

change function in handler file to:

Code:
def apply_stylesheet_clicked(self, index):     self.styleeditor.styleSheetCombo.setCurrentIndex(index)     self.styleeditor.on_applyButton_clicked()

Please Log in to join the conversation.

More
5 years 1 month ago #220244 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you, now it's switching the stylesheet. But also default stylesheet doesn't apply. (please see screenshot)
Stylesheet .gss files are located in config directory. Linux CNC 2.8.2
 

Please Log in to join the conversation.

More
5 years 1 month ago #220247 by cmorley
Replied by cmorley on topic Сustomization QTvcp
See if this helps:
Code:
def apply_stylesheet_clicked(self, index):     self.styleeditor.styleSheetCombo.setCurrentIndex(index)     self.styleeditor.selectionChanged(index)     self.styleeditor.on_applyButton_clicked()

Please Log in to join the conversation.

More
5 years 1 month ago #220250 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Cathed an error.
Fixed, and now it works
def apply_stylesheet_clicked(self, index):
        if self.w.cmb_stylesheet.currentText() == "As Loaded": return
        self.styleeditor.styleSheetCombo.setCurrentIndex(index)
        self.styleeditor.on_applyButton_clicked()     
Thank you so much!
    

Please Log in to join the conversation.

More
5 years 1 month ago #220251 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Excellent!

Please Log in to join the conversation.

More
5 years 1 day ago #224655 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! How to register so that when choosing tab_mdi TabWidget interface went to mdi_mode. Thanks!

Please Log in to join the conversation.

Time to create page: 0.459 seconds
Powered by Kunena Forum