changing default preview direction

More
29 Oct 2015 01:39 #64408 by beltramidave
changing default preview direction was created 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
Replied by ArcEye on topic changing default preview direction
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
Replied by dgarrett on topic changing default preview direction
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
Replied by beltramidave on topic changing default preview direction
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
Replied by ArcEye on topic changing default preview direction
~/ 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
Replied by beltramidave on topic changing default preview direction

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.052 seconds
Powered by Kunena Forum