Improvements of admesh robustness when loading and fixing STLs.

https://github.com/prusa3d/Slic3r/issues/33
This commit is contained in:
bubnikv 2016-11-16 10:33:23 +01:00
parent d1d6e907c5
commit 52de3940fe
3 changed files with 94 additions and 97 deletions

View file

@ -77,7 +77,10 @@ typedef struct {
typedef struct stl_hash_edge {
// Key of a hash edge: 2x binary copy of a floating point vertex.
uint32_t key[6];
// Index of a facet owning this edge.
int facet_number;
// Index of this edge inside the facet with an index of facet_number.
// If this edge is stored backwards, which_edge is increased by 3.
int which_edge;
struct stl_hash_edge *next;
} stl_hash_edge;