"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Chris R" <car### [at] comcastnet> wrote:
> I'm not sure how anyone would go about finding and filling "holes" (missing
> triangle faces), but maybe put any idea you have as comments in the code in case
> someone decides to work on something like that.
> Also make sure you have the utility write an "inside vector" so that the mesh
> can be used in CSG.
> Jeff Houck wrote and "stl2pov" utility, and (doing a search for "stl2pov")
> apparently several other people have as well. Just in case you wanted to look
> over what other people have done, in case they decided to go the mesh2 route.
> jr has pointed out that there exists the GNU Triangulated Surface library
the GTS library provides 'gts_surface_is_closed' to check for holes, and there
is a "repair" utility (part of download) for that case (though I have not used
that yet). there are 'stl2gts' utilities out there, complemented by 'gts2pov'
re order of vertices, I think you're right, I seem to remember it matters when
the normal(s) need calculating.
Post a reply to this message