title: Recommend a library for testing the 'closedness' of '.stl' geometries?
body: <p>Some clarification is necessary, I am not referring to the <a href="http://en.wikipedia.org/wiki/Standard_Template_Library" rel="nofollow">Standard Template Library</a>. I am referring to the <a href="http://en.wikipedia.org/wiki/STL_%28file_format%29" rel="nofollow">'.stl file format'</a>.</p>
  
  <p>&lt; my eventual goal >
  A little background, my end goal is to use the Kinect and 'point cloud' type scanning to create .stl files. These .stl representations will be provided to 3D printing services to create 3D models. I have the point cloud scanning working quite nicely as well as simple export to .stl (as it's really not that difficult)
  &lt; / my eventual goal ></p>
  
  <p>In most 3D cad software packages, you are able to export a model to .stl format. The format is really simple to create by hand and I have no issue with that here. My questions stems from the requirement that most 3D printing services (<a href="http://www.ponoko.com" rel="nofollow">Ponoko</a>, <a href="http://www.shapeways.com/" rel="nofollow">Shapeways</a> to name 2) will not be accept your model if it isn't 'closed' (aka each side of the 'triangle' is a side of another triangle) which is to be expected of them in order to create the 3D object. </p>
  
  <p>There are some software packages (such as <a href="http://www.netfabb.com/" rel="nofollow">Nettfab</a>) that can 'fix' these problems but using a 3rd party program will not work for me. </p>
  
  <p>Does anyone have any experience or know of a '.stl' library that will be able to do a 'closedness' check? If not, I will be moving forward and creating one... but I do not want to put the time and effort into something that has (probably) already been done and vetted...</p>
  
  <p>I am also open to a python library if one exists. </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Also looking for this library to 'fix' the stl edges... Just doing a closedness test can be done quite easily but fixing it is the issue...</p>