Error in tool_offsetview.py

More
13 Jan 2023 18:27 #261816 by MarkoPolo
Hello Chris
The angular velocity slider is working properly.
The decimal values in baasicprobe and facing work fine, but there are still some minor tweaks to be done.
In the facing.py file, change the spindle value lines to self.lineEdit_spindle.setValidator(QtGui.QRegExpValidator(QRegExp('[0-9]{0,5}')))
because you can enter a comma and it should be an integer.

Similarly, in basic_probe the probe tool value is also an integer value.

Then "bolt hole circle" and "ngcgui" and you'll be fine.

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

More
13 Jan 2023 19:00 #261818 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Roguish:
Stretchable widgets are good. I'm not a fan of your color choices but that can be changes with the stylesheet. In fact I would take the style sheet out of the widget and put it in the main stylesheet.
I just prefer more contrasting colors. As for the buttons I though having them apart would make it easier to hit the right one. having them together looks better.
I don't have a supper strong feeling either way.
Here is what Roguish 's changes look like (collapsed).
The help page shows what it was like.


 
 
Attachments:
The following user(s) said Thank You: Roguish

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

More
13 Jan 2023 19:02 #261819 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Sorry also - yes no 'easy' way to modify widgets.
Markopolo's suggestions are the most straight forward.

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

More
13 Jan 2023 19:05 #261820 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
MarkoPolo:

Thanks for testing, I will work on your suggestions.
As for Versaprobe, maybe you and Roguish can hash out the best design?
You guys are better at it then me and I'll deffer to people who actually use the widget.

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

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

More
13 Jan 2023 20:11 #261828 by MarkoPolo
I do not know about the operation and functionality of versaprobe and I have not used it on a real machine. I will work on the design so that it fits in the minimum size of qtdragon and that it looks good in the maximum size and larger icons, because I guess that's what Roguish was about. If I have something, I'll post it.
The following user(s) said Thank You: cmorley

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

More
14 Jan 2023 05:30 #261893 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Pushed more validator work - it hurts my head.
In ngcgui one can't use nice limiters such as for ints as we don't know ahead of the time what type of inputs they should be ahead of time.

As a bonus I added a gcode properties tab to qtdragon/hd

Chris

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

More
14 Jan 2023 11:05 #261919 by hottabich
Variant versa_probe.ui.

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

More
14 Jan 2023 15:05 #261945 by Roguish
Replied by Roguish on topic Error in tool_offsetview.py
Chris, I just took the versa_probe.ui out of the system share directory, and modified it to stretch. I did not intentionally mess with the colors. I definitely agree about the contrasting colors.
It would be nice if there were more examples of how to use the .css style sheets..

Versa_probe.ui has that little PROBE led. I have tried to add that to my side panel, and just can't get it to work. suggestions???

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

More
14 Jan 2023 15:08 #261946 by Roguish
Replied by Roguish on topic Error in tool_offsetview.py
MarkoPolo,
thanks for the idea on non-overwrite. I'll give it a try, though I still think call out paths, or links, would be better.
What do you mean by 'full resolution' ???
Also I've seen somewhere there are pictures of tools in the tool table. Know anything about that? A little bling, but nice....

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

More
14 Jan 2023 15:13 #261947 by Roguish
Replied by Roguish on topic Error in tool_offsetview.py
I was just looking at ngcgui in qtdragon, since there is a tab there.
how the heck is it used? have any docs? examples?
and how the heck could one add an existing ngcgui gcode file?

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

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