TUG
Not enough ratings
Blender exports not in the right order? Here's some help.
By Rawr
Blender is good, until it isn't. I helped make it good again.
   
Award
Favorite
Favorited
Unfavorite
Tutorial
Cutting straight to the chase, if your blender exports aren't in the right order, TUG probably won't render it. Further more, you can't just open up the .obj with a text editor and cut/paste around. In the picture below, the stick on the left is an example of what happens if you try to do that.

Instead, I've created a python 3 script to do the job of re-constructing the .obj file.

I recommend exporting from blender using the settings below. If you decide not to, please do mention this with any feedback.


It's executed in the command line so you'll need to follow these steps:
  • open your folder with "processOBJfile.py"
  • add your example.obj file into the same folder.
  • copy the address of this folder.
  • press start, type "cmd", press enter
  • type "cd", hit space bar, right click, paste, hit enter
  • type in everything in the quotes "python processOBJfile.py < example.obj > anyNameYouLike.obj"

Download:
Git repo link.[github.com]