changing default preview direction

More
29 Oct 2015 01:39 #64408 by beltramidave
How can you change (permanently) the default view from perspective to z?

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

More
29 Oct 2015 17:18 #64430 by ArcEye
Approx line 3335 of ...../bin/axis (depends on your version, this was 2.7 I think)
if lathe:
    commands.set_view_y()
else:
    commands.set_view_p()

Change commands.set_view_p() to commands.set_view_z() (or z2)

Axis sets to perspective by default and only reads the state of the toolbar buttons to set changes, so no external way of setting
except changing the code or clicking on Z when you start

regards

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

More
29 Oct 2015 18:12 #64434 by dgarrett
Alternatively, add the command to ~/.axisrc (instead of modifying the system file):
commands.set_view_z()

(Create the ~/.axisrc file if it doesn't exist)

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

More
29 Oct 2015 18:55 #64440 by beltramidave
Thanks for the replies!

Where would I look for the /.axisrc file? How do I create it if it doesn't exist? I believe that I am running ver2.5.

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

More
29 Oct 2015 19:09 - 29 Oct 2015 19:10 #64443 by ArcEye
~/ is your home directory

If not present from a terminal

sudo echo "commands.set_view_z()" > ~/.axisrc

would be an all in one way
Last edit: 29 Oct 2015 19:10 by ArcEye.
The following user(s) said Thank You: beltramidave

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

More
29 Oct 2015 21:33 #64456 by beltramidave

sudo echo "commands.set_view_z()" > ~/.axisrc


Thanks ArcEye, that worked!

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

Time to create page: 0.068 seconds
Powered by Kunena Forum