vismach
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
05 Mar 2024 12:04 #295217
by Abdulkareem
vismach was created by Abdulkareem
how to open vismach tk screen without the user interface, i want to see the machine model only
Please Log in or Create an account to join the conversation.
- Aciera
- Online
- Administrator
Less
More
- Posts: 3998
- Thank you received: 1726
05 Mar 2024 12:13 - 05 Mar 2024 12:13 #295219
by Aciera
Replied by Aciera on topic vismach
try:
python3 <your_path>/<your_file.py>
python3 <your_path>/<your_file.py>
Last edit: 05 Mar 2024 12:13 by Aciera.
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
05 Mar 2024 15:23 #295237
by Abdulkareem
Replied by Abdulkareem on topic vismach
I tried it but it shows this error message :
abdulkareem@debian:~$ python3 /home/abdulkareem/linuxcnc/configs/xyz/vismach
Traceback (most recent call last):
File "/home/abdulkareem/linuxcnc/configs/xyz/vismach", line 7, in <module>
from vismach import *
File "/usr/lib/python3/dist-packages/vismach.py", line 18, in <module>
import sys, rs274.OpenGLTk, signal, hal
File "/usr/lib/python3/dist-packages/rs274/OpenGLTk.py", line 16, in <module>
import _togl
ImportError: /usr/lib/python3/dist-packages/_togl.cpython-311-x86_64-linux-gnu.so: undefined symbol: glXDestroyContext
abdulkareem@debian:~$ python3 /home/abdulkareem/linuxcnc/configs/xyz/vismach
Traceback (most recent call last):
File "/home/abdulkareem/linuxcnc/configs/xyz/vismach", line 7, in <module>
from vismach import *
File "/usr/lib/python3/dist-packages/vismach.py", line 18, in <module>
import sys, rs274.OpenGLTk, signal, hal
File "/usr/lib/python3/dist-packages/rs274/OpenGLTk.py", line 16, in <module>
import _togl
ImportError: /usr/lib/python3/dist-packages/_togl.cpython-311-x86_64-linux-gnu.so: undefined symbol: glXDestroyContext
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
05 Mar 2024 15:34 #295239
by Abdulkareem
Replied by Abdulkareem on topic vismach
when i try to open the python file with the user interface it shows nothing in the tk screen, it only shows white blank tk screen with axis interface
Please Log in or Create an account to join the conversation.
- Aciera
- Online
- Administrator
Less
More
- Posts: 3998
- Thank you received: 1726
05 Mar 2024 15:42 #295240
by Aciera
Replied by Aciera on topic vismach
if you open a terminal and run the command below, does it work or are you getting errors?
python3 linuxcnc/src/hal/user_comps/vismach/millturngui.py
python3 linuxcnc/src/hal/user_comps/vismach/millturngui.py
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
05 Mar 2024 15:48 #295241
by Abdulkareem
Replied by Abdulkareem on topic vismach
no iam getting this error :python3: can't open file '/home/abdulkareem/linuxcnc/src/hal/user_comps/vismach/millturngui.py': [Errno 2] No such file or directory
Please Log in or Create an account to join the conversation.
- Aciera
- Online
- Administrator
Less
More
- Posts: 3998
- Thank you received: 1726
05 Mar 2024 16:00 #295242
by Aciera
Replied by Aciera on topic vismach
Try this:
1. Open a terminal and run this command.
linuxcnc
2. on the left choose
sim/axis/vismach/millturn/millturn
3. click 'ok'
You should see three windows, one of then the vismach model with the title 'tk'
1. Open a terminal and run this command.
linuxcnc
2. on the left choose
sim/axis/vismach/millturn/millturn
3. click 'ok'
You should see three windows, one of then the vismach model with the title 'tk'
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
06 Mar 2024 09:30 #295304
by Abdulkareem
Replied by Abdulkareem on topic vismach
Thank you, it opened the milturn and showed the machine model in the tk screen, now i want to show my machine model
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
06 Mar 2024 09:38 #295306
by Abdulkareem
Replied by Abdulkareem on topic vismach
Attachments:
Please Log in or Create an account to join the conversation.
- Abdulkareem
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 1
06 Mar 2024 09:42 #295307
by Abdulkareem
Replied by Abdulkareem on topic vismach
these are the files for my machine
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.121 seconds