It's an interesting shape, kind of like ancient pipes with something rusting into it, or a heart and arteries. (Blender opened it just fine) Oddly the object is way away from the global center. If that is a mistake then my guess is that scaling was attempted and movement happened instead.
So... what is the goal here?
Are you just trying to output the mesh to screen, or should the goal be more for editing/modifying the object?
What is your GUI library... SDL? WindowsAPI? GTK? GLFW?
What tools are you wanting to use, like OpenGL or some other 3D Library/API?
That will affect what type of information will want to store, how to store them, as well as the types of objects and tools you might use.
What are you trying to do with the data?
What should this mesh be capable of? (Storing color, Position over time, Weight-paint, etc), or do you need the mesh to be compatible with an existing system?
Definition of a mesh: "A mesh is a collection of vertices, edges, and faces that describe the shape of a 3D object".
My problem is that the information in the STL file fully describes a version of a mesh, but there are many ways to define the mesh of an object.
My assumption so far has been that you are trying to create your own 3D editing software. Is that the case? Otherwise, what software are we trying to help you in?
| Can you give me clue how to use the surface triangle information to generate the mesh for internal part. |
If I understand this question and if we were using blender then import the object, scale it up a bit, then set your camera and light-source inside of the object. If the screen is blank at render time then flip the object's normals and/or increase your light strength.