changing default preview direction

More
11 years 2 days ago #64408 by beltramidave
How can you change (permanently) the default view from perspective to z?

Please Log in to join the conversation.

More
11 years 1 day ago #64430 by ArcEye
Approx line 3335 of ...../bin/axis (depends on your version, this was 2.7 I think)
Code:
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 to join the conversation.

More
11 years 1 day ago #64434 by dgarrett
Alternatively, add the command to ~/.axisrc (instead of modifying the system file):
Code:
commands.set_view_z()

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

Please Log in to join the conversation.

More
11 years 1 day ago #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 to join the conversation.

More
11 years 1 day ago #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

Please Log in to join the conversation.

More
11 years 1 day ago #64456 by beltramidave

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


Thanks ArcEye, that worked!

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum