Exporting OBJ to JSON

Today is my first post, so I will start by introducing a windows program which converts OBJ files exported from Maya/Sketchup/3ds Max (tried till now) to a JSON format supported by ThreeJS(version 3.1). So for those who have been using the super famous python script (made in 2.6) and are having problems in understanding how to use it, etc… I would like to introduce a simple way. Following image shows you the beta release of the exporter/converter.


So lets get started.

First download the files in the complete repository here:


This contains the converter, its image and do not forget to download the Newtonsoft files. Once they are downloaded, extract them in a folder.

Do keep the converter and dll file in the same folder of the converter to work.

Next, you can open the exporter and click on the “Get File” button to select the file you want to convert. I have provided an obj file of a cone object exported from 3ds Max. You can try using the same.

Once you select the file, the statistics appear in the table below the buttons.

You can then choose to save. The save button will create a new file from where the source file was picked up and add “_Converted.js” as a suffix. This is the file you can use with ThreeJS and export data to the web.

The converter is still under progress. Please do post in your crits/comments/issues as it shall help in the development process of the script.





One thought on “Exporting OBJ to JSON

  1. Pingback: Exporting OBJ to JSON | Portfolio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s