- Posts: 74
- Thank you received: 0
radius/diameter programming and hal
2 years 8 months ago #292780
by bobwolf
Replied by bobwolf on topic radius/diameter programming and hal
ok I use 2.8... maybe that's why
I will try to search for the 'gcodes' file on my PC to understand this functionality a little better
I will try to search for the 'gcodes' file on my PC to understand this functionality a little better
Please Log in to join the conversation.
2 years 8 months ago #292781
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
Documentation for the python interface:
linuxcnc.org/docs/2.8/html/config/python-interface.html
As I said, start your config from the console and check for error messages.
linuxcnc.org/docs/2.8/html/config/python-interface.html
As I said, start your config from the console and check for error messages.
Please Log in to join the conversation.
- tcoleman978
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
2 years 8 months ago #292793
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
As of the 2.9.2 update the gmoccapy.py file has disappeared. I can't find it anywhere. Have things been changed? It still loads up...sooo?
What happened? Or am I missing something simple?
What happened? Or am I missing something simple?
Please Log in to join the conversation.
2 years 8 months ago #292806
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
open a terminal and see what this command reports:
find ./ -type f -name gmoccapy.py
[edit]
If you have not built LinuxCNC on your computer then you may need to search in the root directory:
cd /
sudo find ./ -type f -name gmoccapy.py
Â
find ./ -type f -name gmoccapy.py
[edit]
If you have not built LinuxCNC on your computer then you may need to search in the root directory:
cd /
sudo find ./ -type f -name gmoccapy.py
Â
Please Log in to join the conversation.
2 years 8 months ago #292836
by bobwolf
Replied by bobwolf on topic radius/diameter programming and hal
after a night of rest for the machine, this morning it works... mysteries of faith... 
I did some testing by opening linuxcnc from the terminal and tried to understand what's in gcodes and made a small table:
[0] -> I don't know
[1] -> modal group G0 - G3 and G80 - G89
[2] -> modal commands, -1 when called modal command
[3] -> modal group G17 G18
[4] -> modal group G40 - G42.1
[5] -> modal group G20,G21
[6] -> modal group G90 G91
[7] -> modal group G93 - G95
[8] -> modal group G54 - G59.3
[9] -> modal group G43 - G49
[10] -> modal group G98 G99
[11] -> modal group G61 - G64
[12] -> I don't know
[13] -> modal group G96 G97
[14] -> modal group G90.1 G91.1
[15] -> modal group G7 G8
I did some testing by opening linuxcnc from the terminal and tried to understand what's in gcodes and made a small table:
[0] -> I don't know
[1] -> modal group G0 - G3 and G80 - G89
[2] -> modal commands, -1 when called modal command
[3] -> modal group G17 G18
[4] -> modal group G40 - G42.1
[5] -> modal group G20,G21
[6] -> modal group G90 G91
[7] -> modal group G93 - G95
[8] -> modal group G54 - G59.3
[9] -> modal group G43 - G49
[10] -> modal group G98 G99
[11] -> modal group G61 - G64
[12] -> I don't know
[13] -> modal group G96 G97
[14] -> modal group G90.1 G91.1
[15] -> modal group G7 G8
Please Log in to join the conversation.
- tcoleman978
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
2 years 8 months ago #292882
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
Aciera:
I get the following:
/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied
find: '/run/user/1000/gvfs': Permission denied
/ $ cd run/user/1000/gvfs
/ $ /run/user/1000/gvfs dir (seems to do nothing)
/ $ /run/user/1000/gvfs sudo dir
dir: cannot open directory '.': Permission denied
previously it wasn't this hidden
Is something screwed up?
I get the following:
/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied
find: '/run/user/1000/gvfs': Permission denied
/ $ cd run/user/1000/gvfs
/ $ /run/user/1000/gvfs dir (seems to do nothing)
/ $ /run/user/1000/gvfs sudo dir
dir: cannot open directory '.': Permission denied
previously it wasn't this hidden
Is something screwed up?
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
2 years 8 months ago #292894
by tommylight
Replied by tommylight on topic radius/diameter programming and hal
user ID 1000 on Linux is usually the Live user, is this on an installed system?/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied
Please Log in to join the conversation.
- tcoleman978
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
2 years 8 months ago #292896
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
I believe so. Downloaded, burned to a card, then installed linuxcnc. Everything was fine until the beginning of January when the desktop said Updates available...I said ok, and everything went to ....well not a happy place.
I come from dos, so linux has me at a disadvantage.
I come from dos, so linux has me at a disadvantage.
Please Log in to join the conversation.
2 years 8 months ago #292916
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
This is normal, It's just telling you that it could not look for the file (ie gmoccapy.py) on the network drives.
Try this (note the removed '.py'):
/ $ sudo find ./ -type f -name gmoccapy
Try this (note the removed '.py'):
/ $ sudo find ./ -type f -name gmoccapy
Please Log in to join the conversation.
- tcoleman978
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
2 years 8 months ago #292929
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
It finds a number of gmoccapy's but not .py . (a lot of .mo 's what ever they are)
So just what directory is it SUPPOSED to be in?
and....network drives.....where did they come from? In an RPI4?
So just what directory is it SUPPOSED to be in?
and....network drives.....where did they come from? In an RPI4?
Please Log in to join the conversation.
Time to create page: 0.112 seconds
