| |
|
|
|
|
|
|
| |
Ang Lee, the Magician >> Projects >> Graphics >>STLViewer |
|
| |
|
|
|
|
|
|
| |
Project 3 - Part B Shortcut to PartA / CS6491 project page Abstract
The tool reads a STL T-mesh file and turn it into corner table data structure. and display it.
Compute the volume, center of mass, shell number, genus number...etc.
|

Part A - Read STL file and display it. This is model (2) from partA of the project.
|
|
|
|
|
|
Links :
Part B:
(.stl) files from partA: (1) , (2)
(NOTE: After I finished partA, I found the outter shell of the STL file (1) created by IronCAD doesn't have 5 genus. So I redo it in 3ds max 7, correct it and updated it 11/07/2005)
other (.stl) files :
Single Cube, cubes, triangulated spheres, tori, spheres with a hole, single sphere. (all of above in a ZIP file)
Source code (in C++)
Excutable (interface_description)
|
|
|
|
|
|
Goal Break-down according to the P3 instruction |
|
|
Write a program that works with your corner table for computing the following:
- Volume of a solid
|
 |
| - Center of mass .
|
 |
| - Number of shells .
|
 |
| - Genus of each shell. |
|
| Verify its correctness by applying it to simple solids (cubes,
triangulated spheres, tori, spheres with a hole). Show the results.
. |
|
| Apply it to the model createfd in IronCAD and compute an approximation of that model, replacing each shell with a sphere of the same volume as the one enclosed by the shell. Show the results. |
 |
Results: Click on the picture to enlarge.
Replace Shell by spheres:
|
|
|
|
Related links:
Intro to IronCAD (.ppt)
Last update: 2005-11-7 |
|
|
|
|
|
|
|
|
|
|