Skip to content

This script interfaces with 3DS Max using the MaxPlus language (MAXScript) in order to automate the conversion of 3D model files between different file formats.

License

Notifications You must be signed in to change notification settings

reginareynolds/3DS-Max-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3DS-Max-Converter

This script interfaces with 3DS Max using the MaxPlus language in order to automate the conversion of 3D model files between different file formats.

Preparation

To use this script, 3DS Max must be installed. As noted in the code, 3DS Max has some problems importing Tkinter. To fix this, install the version of Python corresponding to your copy of 3DS Max. For 3DS Max 2020, this is Python 2.7.15. Once installed, navigate to C:/YourPython27InstallationDirectory/tcl and copy the tk8.5 and tcl8.5 directories to the C:/Program Files/Autodesk/Your 3ds Max version/python/Lib directory. You may need to create the Lib directory yourself.

How to run the code

To run the script, do the following:

  1. Open the MAXScript Listener window in 3DS Max. Step 1
  2. Switch from the MaxPlus language to Python. Step 2
  3. Load the .py script file and run it from the MAXScript Listener window. Step 3a Step 3b
  4. Follow any prompts that pop up. Step 4

Troubleshooting

If you receive an error saying that there is a version conflict for either the Tcl or the Tk package, go into the tcl8.5 and tk8.5 directories you copied over in the Preparation section above.

In the tcl8.5 directory:

  1. Open the init.tcl file.
  2. Find the line of code that looks like this:
package require -exact Tcl #.#.#
  1. The error message you received tells you what version of Tcl you already have and what version of Tcl you need. Replace the version number from the line in step 2 with the version number that the error message says you need.

In the tk8.5 directory:

  1. Open the tk.tcl file.
  2. Find the line of code that looks like this:
package require -exact Tk  #.#.#
  1. The error message you received tells you what version of Tk you already have and what version of Tk you need. Replace the version number from the line in step 2 with the version number that the error message says you need.

About

This script interfaces with 3DS Max using the MaxPlus language (MAXScript) in order to automate the conversion of 3D model files between different file formats.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages