Skip to content
bitli edited this page Aug 17, 2014 · 1 revision

OptimizedModel

The OptimizedModel is a 3D model stored with vertex<->face relations. This gives touching face relations which are used later on to slice into layers faster. The point locations are replaced by index in an array of points. Points nearer than a small fixed value(30) are merged.

The OptimizedModel contains the list of optimized volumes and the min/max coordinates of the positioned object (all volumes combined) and, redundantly, its size.

Implementation notes

The optimized volume information is build in the constructor of OptimizedModel from the SimpleMode and the information on the placement of the object. TODO Detail the logic of the hash openFacesCount calculated but not used

##Debug and tracing

  • saveDebugSTL() unused
  • Log face and vertex count before and after optimization with the percentage of face and vertex kept by the optimization process.
  • MAYBE Add size/location.
Clone this wiki locally