Preference File

More
01 Sep 2020 16:12 #180339 by hottabich
Replied by hottabich on topic Preference File

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
self.onoff_list = ["frame_dro"]
remove Program Frame then it works. I study a little. Thanks you.
Attachments:

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

More
08 Sep 2020 17:27 #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?
Attachments:

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

More
08 Sep 2020 17:59 #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 or Create an account to join the conversation.

More
08 Sep 2020 19:45 - 08 Sep 2020 20:51 #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
<signal name="clicked" handler="on_clear_live_plotter_clicked" swapped="no"/>
Thanks for your attention.
Last edit: 08 Sep 2020 20:51 by hottabich.

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

More
09 Sep 2020 00:09 #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.
The following user(s) said Thank You: hottabich

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

More
09 Sep 2020 05:05 - 09 Sep 2020 05:28 #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
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
self.w.gcodegraphics.logger.clear()
Attachments:
Last edit: 09 Sep 2020 05:28 by hottabich.

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

More
09 Sep 2020 06:13 #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:
    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 or Create an account to join the conversation.

More
09 Sep 2020 06:15 #181369 by cmorley
Replied by cmorley on topic Preference File
Dimension problem:
in the handler file you may find:
    def btn_dimensions_clicked(self, state):
        self.w.gcodegraphics.show_extents_option = state
        self.w.gcodegraphics.clear_live_plotter()

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

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

More
09 Sep 2020 07:15 - 09 Sep 2020 07:40 #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.
Last edit: 09 Sep 2020 07:40 by hottabich.

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

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