- Posts: 574
- Thank you received: 96
Сustomization QTvcp
- hottabich
- Offline
- Platinum Member
-
Less
More
4 years 10 months ago #228801
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Yes, it works for Python 2.7. I am trying to adapt woodpecker from python 2.7 to python 3 in linuxcnc 2.9.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
4 years 10 months ago #228818
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Yes I understand.
How are you loading the numstr component in your HAL file?
How are you loading the numstr component in your HAL file?
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
4 years 10 months ago - 4 years 10 months ago #228821
by hottabich
Replied by hottabich on topic Сustomization QTvcp
loadusr -Wn numstr python numstr.py
net line motion.program-line => numstr.in => woodpecker.line_number
And it is necessary
loadusr -Wn numstr python3 numstr.py
Not enough now
woodpecker.line_number
I will think. Thank you very much!
Everything worked out. Thanks again!
net line motion.program-line => numstr.in => woodpecker.line_number
And it is necessary
loadusr -Wn numstr python3 numstr.py
Not enough now
woodpecker.line_number
I will think. Thank you very much!
Everything worked out. Thanks again!
Code:
loadusr -Wn numstr python3 numstr.py
net line => woodpecker.lcdnumber_2
Last edit: 4 years 10 months ago by hottabich.
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
4 years 10 months ago #228853
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Is it possible to apply segmentStyle (Flat) somehow for DroLabel? Thanks!
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
4 years 10 months ago #228859
by cmorley
Replied by cmorley on topic Сustomization QTvcp
You would need to code a new widget or code the equivalent in the handler file.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
4 years 10 months ago - 4 years 10 months ago #228944
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Alternatively, add the digital_7 (mono) font and add it to droLabel. Good, and as it is, a matter of taste.
Last edit: 4 years 10 months ago by hottabich.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.455 seconds