Preference File

More
6 years 1 month ago #180339 by hottabich
Replied by hottabich on topic Preference File

cmorley wrote: Without more information - I could only speculate the answer.

Sorry to blame. The question was solved as follows. If in the handler in the line
Code:
self.onoff_list = ["frame_dro"]
remove Program Frame then it works. I study a little. Thanks you.

Please Log in to join the conversation.

More
6 years 1 month ago #181305 by hottabich
Replied by hottabich on topic Preference File
Hello! If you click on the buttons several times Clear or Dimensions, then the tool is displaced in the visualization window. How to fix it?

Please Log in to join the conversation.

More
6 years 1 month ago #181308 by cmorley
Replied by cmorley on topic Preference File
I don't know.
It seems to be specific to qtdragon.
Clearing the logger sometimes moves the origin in the view.
Though I see as soon as you cause an update, it pops back to where it belongs.

Please Log in to join the conversation.

More
6 years 1 month ago #181312 by hottabich
Replied by hottabich on topic Preference File
If you do not click many times, then everything is fine. This is a feature Gcode graphics. In Gremlin_view. ui there is such
Code:
<signal name="clicked" handler="on_clear_live_plotter_clicked" swapped="no"/>
Thanks for your attention.

Please Log in to join the conversation.

More
6 years 1 month ago #181344 by cmorley
Replied by cmorley on topic Preference File
it calls the same function.

In qtvcp we explicitly call update() but I don't know what the problem is from.
As I mentioned I can't get it to happen on any other qtvcp screen.

Please Log in to join the conversation.

More
6 years 1 month ago #181365 by hottabich
Replied by hottabich on topic Preference File
In Qtaxis the same error. It does not happen where Gremlin. In widget gcode_graphics. py prescribe
Code:
if v == 'clear self.logger.clear()
no mistake. Changes took from gremlin. Please change the widget to nested.In the handler btn_dimensions_clicked prescribe
Code:
self.w.gcodegraphics.logger.clear()

Please Log in to join the conversation.

More
6 years 1 month ago #181367 by cmorley
Replied by cmorley on topic Preference File
It's very odd problem. your change is the same as the original:
The is the function called originally:
Code:
def clear_live_plotter(self): self.logger.clear() self.update()

The only real difference is timing?
Right clicking in the graphics clears the screen too and showed the problem.
I change it's code to what you described and it gets much better, but can still move from time to time.

Please Log in to join the conversation.

More
6 years 1 month ago #181369 by cmorley
Replied by cmorley on topic Preference File
Dimension problem:
in the handler file you may find:
Code:
def btn_dimensions_clicked(self, state): self.w.gcodegraphics.show_extents_option = state self.w.gcodegraphics.clear_live_plotter()

change to:
Code:
self.w.gcodegraphics.show_extents_option = state self.w.gcodegraphics.updateGL()

Please Log in to join the conversation.

More
6 years 1 month ago #181383 by hottabich
Replied by hottabich on topic Preference File
Thank! The dimensions button works great with your code. Right clicking in the graphics is unnecessary. With the gremlin code, if you move the Y axis, or X, it clears it only after the update (spin the Misha wheel). If displacement along two axes or more is not a problem.

Please Log in to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum