5axisgui

More
16 May 2015 23:51 - 18 May 2015 21:45 #58762 by isladelobos
5axisgui was created by isladelobos
Hi.

Im interested in modify the 5axisgui because i have XYZBC axes and the file is write protected.

It is possible modify this file witouth problems?

c.newpin("joint0", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint1", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint2", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint3", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint4", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint5", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint6", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint7", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("joint8", hal.HAL_FLOAT, hal.HAL_IN)

I need delete from joint5 to joint8 because in my hall and ini files i have only 5axes XYZBC 0,1,2,3,4

How is the best method for modify this file?

Thanks.
Last edit: 18 May 2015 21:45 by isladelobos.

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

More
17 May 2015 01:51 #58764 by BigJohnT
Replied by BigJohnT on topic 5axisgui and W axe
Where did you get the file? None of LinuxCNC files are write protected.

JT

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

More
17 May 2015 04:53 #58767 by andypugh
Replied by andypugh on topic 5axisgui and W axe

Im interested in modify the 5axisgui because i have a normal spindle witouth W axe movement and the file is write protected.


It ism't write-protected as such, but usr/bin isn't in your "own" folder hierachy.

You can either copy the file to your linuxcnc folder or start gedit in sudo mode from the terminal ( sudo gedit /usr/bin/5axisgui.py )

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

More
17 May 2015 19:04 - 17 May 2015 19:20 #58783 by BigJohnT
Replied by BigJohnT on topic 5axisgui and W axe
The .py extension is dropped on the installed version. So the correct command to edit it would be :

sudo gedit /usr/bin/5axisgui

Now that I know what he is talking about lol. Now I wonder what 5axisgui does besides give a RTAPI error when I try and run it.

Nevermind, I found the wiki page on vismach...

JT
Last edit: 17 May 2015 19:20 by BigJohnT.

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

More
17 May 2015 19:25 #58785 by BigJohnT
Replied by BigJohnT on topic 5axisgui and W axe

How is the best method for modify this file?


To prevent the next update from writing over your changes it is best to copy the file and rename it as you see fit.

Having said that the current copy of 5axisgui only has 5 axes defined...

JT

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

More
18 May 2015 16:55 - 18 May 2015 16:59 #58815 by isladelobos
Replied by isladelobos on topic 5axisgui and W axe
Tnaks masters.

The file was edited sudo nano /usr/bin/5axisgui (i found the correct password)
And correct the file have 5axis not 8axis.

Now I have XYZABC in the front gui. but A axis not exist, im intent to modify 5axisgui, hall & ini files for view XYZBC in the gui but not good results.

Regards.
Last edit: 18 May 2015 16:59 by isladelobos.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum