Autore: kat
ASE Import and export scripts for Blender 2.5 series. Both import and export scripts should be placed in Blenders "scripts/io" folder. If there are any other ASE scripts present it's best to remove or rename them as Blender 2.5 tends to like scripts following a specific naming convention.
Download
Installation
Make sure you are using an officially released version of Blender (available from
Blender.org)
before using these scripts; in development subtrees of the application tend to break scripts so check before using. Both scripts need to be placed in the following location;
scripts\io\
For Windows Vista/Win7 users Blender's scripts folder is typically located in;
C:\Users\[profile]\AppData\Roaming\Blender Foundation\Blender 2.53\scripts\io\
Windows XP users should look in;
C:\Documents and Settings\[profile]\Application Data\Blender Foundation\Blender 2.53\scripts\io\
Linux and Mac installation will differ depending on OS version used.
Usage
For additional and extensive
ASE export details read the ASE export tutorial here.
ASE Export: As with other scripts, select the object or objects that need to be exported and click "
File >> Export >> Ascii Scene Export (ase)". Type a name or select the file to overwrite and then click the "
Export ASE" button to export the model. Model scale default is set to "
16", this is a multipler so it will scale your object up by sixteen (or "
[n]" value input). To export objects '
as is', set the "
Scale:[n]" value to "
1" ("
Scale: 1").
Note: remember that you can export several objects as a single mesh to get a multi sub-object mesh (has several "GEOMOBJECTS" written into the ASE) with multiple materials. Or, an object where sub-objects are joined before export producing a single model with one multi-material. Additionally, it's currently not possible to export 'blank' meshes, i.e. all meshes need a material, texture and UVW map else the process reads them as being incomplete, halting the export procedure.
ASE Import: From the "File" menu select "File >> Import >> Ascii Scene Export (ase)", then select the file to be imported into Blender. To import a model 'as is' without altering the size of the object/s, change the "Import ASE" "Scale:[n]" value to "1" (default currently "0.06").
Problems and Errors
There are a couple of basic script related issues you need to be aware of when exporting or importing meshes and models;
The script is currently written to halt on finding 'blank' meshes, i.e. a mesh object without materials, textures or UVW maps will stop the process.
If Blender complains about 'periods', check the file names to make sure they're as follows as anything else may return a script error in the Python console.
export_ase.py
import_ase.py
- Similarly, if the script doesn't appear in the File >> Import/Export menus check file name conforms to the above.
Misc & UT/UDK editing