[solved]Axis for 800x480 screen w/ usercommand

More
24 Feb 2021 20:16 #200020 by Heisenberg
Thanks a lot! I have changed the code an know it works, and also a little bit more of light in the dark.

For me, axis is a real good solution for UI. I am used to work with industrial machines, an i just need some small changes. :-)

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

More
14 Apr 2021 17:30 #205921 by zack
its quiet easy to reconfigure in tcl
forum.linuxcnc.org/21-axis/40659-axis-2-...ersion-of-old-friend
here is an example it really dosnt take long to change things around, with keeping the axis structure in tack for reliability

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

More
09 Aug 2021 05:28 #217294 by cakeslob
ok lets try and make this more touchscreen friendly
just a rough idea, still needs to be cleaned up,  2.9 only
 
 
 

 

File Attachment:

File Name: usercommand_800.py
File Size:14 KB
Attachments:
The following user(s) said Thank You: tommylight, envyvan

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

More
10 Aug 2021 03:54 #217367 by envyvan
Hi Cakeslob,

I would need some help with the button of Pyvcp, Seems like only the radio button can hold the value, but they are too small for the touch screen usage.
I want to use them for Jog Axis select and the Jog Scale select.
Any suggestion would be appreciate.

 

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

More
13 Aug 2021 03:24 #217651 by cakeslob
I dont think that you can resize them in pyvcp at xml level, there seem to be a few work arounds like with halui and different pins/states using regular buttons, im not too good with computers so I still struggle with it. Im in the process of making them bigger in the axis manual tab though

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

More
16 Aug 2021 03:43 #217855 by cakeslob
Here, add this to your usercommand file, it seems to work alright
W('.pane.top.tabs.fmanual.axes.axisx','configure','-width','5','-height','3','-relief','raised')
W('.pane.top.tabs.fmanual.axes.axisy','configure','-width','5','-height','3','-relief','raised')
W('.pane.top.tabs.fmanual.axes.axisz','configure','-width','5','-height','3','-relief','raised')

W('.pane.top.tabs.fmanual.jogf.jog.jogminus','configure','-width','5','-height','3')
W('.pane.top.tabs.fmanual.jogf.jog.jogplus','configure','-width','5','-height','3')
W('.pane.top.tabs.fmanual.jogf.jog.jogincr','configure','-font','10')



 
Attachments:

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

More
30 Aug 2021 19:23 #219186 by Roguish
hello,
hey, your gcode, tool2, and offset tabs are great.
could you share the resoursce, qss, handler, etc files. all the associated files?
thanks.

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

More
03 Sep 2021 00:58 #219476 by cakeslob
All the qt files I used were in the first post, and havent really changed. I dont think I was using a handler file for any of them, but did one the other day using the template, just copy it and rename it for the other panels. I just found the useful widgets in qtcreator that work on their own. resizing is kinda wierd, so figure out the best window size and edit the ui file for it. Files go in the config folder, the following goes in the ini file
EMBED_TAB_NAME= offset
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed  -x {XID} offset
Attachments:

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

Time to create page: 0.174 seconds
Powered by Kunena Forum