Nau Parametric Model Script - V 1.0 C. Justus Cook koocsutsuj@neo.tamu.edu 5/3/2011 Nau Parametric Model Script - README ############################################################################################################################## To set up the script for use in Maya: 1. Place the script file 'Nau.py' in your maya scripts folder. For Windows: C:\Documents and Settings\'Username'\My Documents\maya\scripts For Mac: /Users/'Username'/Library/Preferences/Autodesk/maya/'version'/prefs/scripts ############################################################################################################################## To run the script: Open the Maya script editor . To open the script manager go to the menu bar at the top of the screen and choose 'Window > General Editors > Script Editor'. Go to a Python tab. Then type the following: import Nau Nau.makeWindow() Then press and hold the 'Ctrl' key and 'Enter' key. Locate the 'Nau.ma' file when the file dialog opens. ############################################################################################################################## To create a shelf button: Open the Maya script editor to a Python tab. Then type the following: import Nau Nau.makeWindow() Then highlight the text and click and hold the middle mouse button, and drag it to the shelf. ############################################################################################################################## To use the script: Choose a recipe by selecting the a radio button. Adjust the keel length slider with our mouse or by entering a number in the tect field. If you select a Custom recipe you can adjust the parameters/proportions until the hull shape you want is achieved. The water line can be hidden or shown by clicking the button to the right of the slider. You can adjust the height of the waterline. This is only for export purposes. It will change the sive of the hull exported. The 'Export hull model as .OBJ' will export the current model. NOTE: 'objExport.so' must be loaded in the plug-in manager to use this button. 'Load custom Nau' will load a previously saved nau. It will open a file dailog to navigate to the files location. 'Save custom Nau' will save a .txt file to a specified location. The 'Toggle' buttons toggle different display options for the nau hull in the viewport. If you close the script window, just click the button on the shelf, or repeat the steps in the 'To run the script' section. If an error occurs that causes the script to not function as expected, close Maya. Then locate and delete the 'Nau.ma' file and copy the 'Nau.ma.backup' file and rename it 'Nau.ma'. ##############################################################################################################################