This is the response I got in the TopMod forums. Share it with you.

Thanks for everything. 👍

@unknownuser said:

Juan,

TopMod does not have the ability to import non-manifold meshes, and Sketchup does not have the ability to export manifold meshes, so I'm afraid this conversion process is only one way. You can really only export from TopMod and import into Sketchup, but not the other way around. All of the meshes that TopMod generates are manifold , aka watertight. This means that there are no holes in the mesh. Here is that definition put another way:

@unknownuser said:

Quote:
A Manifold mesh is a closed polygonal mesh where each vertex is surrounded by a 'fan' of triangles. This means there are no 'OPEN faces' or stray elements like edges or verticies.

So if you were to fill a mesh generated by TopMod with water, no water would be able to escape, because there are no holes, or open faces. However, sketchup is a much more free form design tool, and it allows any kind of geometry, including dangling edges, holes in faces, multiple objects, etc...

The "g mesh" command in the obj file from Sketchup is part of the OBJ specification for the file format, which allows OBJ files to have more than one mesh in them. TopMod only supports obj files with one manifold object in them.

So in short, to get a mesh from Sketchup into TopMod, you will have to go through another more advanced program such as maya, which has some really great tools to convert non-manifold meshes into manifold meshes (fill the holes, fix dangling edges/vertices, etc...), and also to combine separate meshes. So if you have a file with 2 cubes in it in Sketchup, it may seem very simple to just export it as an OBJ file, and import it into TopMod, but you would really need to import that OBJ from Sketchup into Maya, combine the 2 meshes into one object (they still don't have to be touching eachother, but they need to be "combined", in the Polygons -> Combine menu in Maya), and then fix the non-manifold issues with the mesh (there is actually a great tutorial about this concept here: http://www.3dbuzz.com/vbforum/showthread.php?t=157746).

Then you can easily export the mesh from Maya as an OBJ and import it into TopMod. If you don't have access to Maya, there are some open source tools that can do the trick, but they are not as robust as Maya, and it may be more difficult. I suggest trying out Wings3D, it's a wonderful open source 3d modeling tool:

http://www.wings3d.com/

here's a tutorial on fixing manifold issues:
http://www.virtualritz.com/tutorials/us ... -topology/

Let me know if that makes sense. I can try explaining some of this in Spanish for you, but so many of the technical terms don't translate, I've always found it difficult to talk "3d" in Spanish. Anyways, please let me know if you need more help getting something to work, or if you want a mesh converted, send it to my email at dvmorris@gmail.com and I'll convert it in Maya for you and send it back...

Dave
Juan,

TopMod does not have the ability to import non-manifold meshes, and Sketchup does not have the ability to export manifold meshes, so I'm afraid this conversion process is only one way. You can really only export from TopMod and import into Sketchup, but not the other way around. All of the meshes that TopMod generates are manifold , aka watertight. This means that there are no holes in the mesh. Here is that definition put another way:

@unknownuser said:

A Manifold mesh is a closed polygonal mesh where each vertex is surrounded by a 'fan' of triangles. This means there are no 'OPEN faces' or stray elements like edges or verticies.

So if you were to fill a mesh generated by TopMod with water, no water would be able to escape, because there are no holes, or open faces. However, sketchup is a much more free form design tool, and it allows any kind of geometry, including dangling edges, holes in faces, multiple objects, etc...

The "g mesh" command in the obj file from Sketchup is part of the OBJ specification for the file format, which allows OBJ files to have more than one mesh in them. TopMod only supports obj files with one manifold object in them.

So in short, to get a mesh from Sketchup into TopMod, you will have to go through another more advanced program such as maya, which has some really great tools to convert non-manifold meshes into manifold meshes (fill the holes, fix dangling edges/vertices, etc...), and also to combine separate meshes. So if you have a file with 2 cubes in it in Sketchup, it may seem very simple to just export it as an OBJ file, and import it into TopMod, but you would really need to import that OBJ from Sketchup into Maya, combine the 2 meshes into one object (they still don't have to be touching eachother, but they need to be "combined", in the Polygons -> Combine menu in Maya), and then fix the non-manifold issues with the mesh (there is actually a great tutorial about this concept here: http://www.3dbuzz.com/vbforum/showthread.php?t=157746).

Then you can easily export the mesh from Maya as an OBJ and import it into TopMod. If you don't have access to Maya, there are some open source tools that can do the trick, but they are not as robust as Maya, and it may be more difficult. I suggest trying out Wings3D, it's a wonderful open source 3d modeling tool:

http://www.wings3d.com/

here's a tutorial on fixing manifold issues:
http://www.virtualritz.com/tutorials/using-wings3d-to-fix-topology/

Dave