change default view

More
24 Nov 2010 19:35 #5593 by Pentax
change default view was created by Pentax
is there something i can put in the ini file, or elsewhere, that would enable the top view in axis to be default?

that way, i wouldn't have to press V every time it starts.


Thanks,
A

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

More
26 Nov 2010 22:45 #5653 by andypugh
Replied by andypugh on topic Re:change default view
I don't know of a config file way. I tried a few experiments in axis.py and none worked.

You could put LATHE = true in the [DISPLAY] section, but I am guessing this is not a lathe?

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

More
29 Nov 2010 19:46 #5745 by Pentax
Replied by Pentax on topic Re:change default view
its just a mill. but the majority of its ops are 2d.

could i write a sleeping script that would execute within axis? the script would just press v......

thanks,
A

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

More
14 Jan 2012 07:30 #16756 by loboy
Replied by loboy on topic Re:change default view
Pentax,


In the file /usr/share/axis edit near line 2786:
else:
    commands.set_view_p()



And near line 4192:
        else:
            commands.set_view_p()


Change the "p" to "z" for a top view, or whatever your preference is...

To edit this file you will need to use the terminal command:
sudo gedit /usr/share/axis

My line numbers may not be exactly the same, but close I think.

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

More
14 Jan 2012 08:11 #16758 by cmorley
Replied by cmorley on topic Re:change default view
try adding that command to the .axisrc file.

www.linuxcnc.org/docs/2.4/html/gui_axis.html#r1_11_4

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

Time to create page: 0.114 seconds
Powered by Kunena Forum