mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
First working implementation of a GUI for cutting
This commit is contained in:
parent
882a98ed44
commit
4f17c2b7d1
6 changed files with 27 additions and 5 deletions
|
@ -125,6 +125,17 @@ TriangleMesh::repair() {
|
|||
this->repaired = true;
|
||||
}
|
||||
|
||||
void
|
||||
TriangleMesh::reset_repair_stats() {
|
||||
this->stl.stats.degenerate_facets = 0;
|
||||
this->stl.stats.edges_fixed = 0;
|
||||
this->stl.stats.facets_removed = 0;
|
||||
this->stl.stats.facets_added = 0;
|
||||
this->stl.stats.facets_reversed = 0;
|
||||
this->stl.stats.backwards_edges = 0;
|
||||
this->stl.stats.normals_fixed = 0;
|
||||
}
|
||||
|
||||
void
|
||||
TriangleMesh::WriteOBJFile(char* output_file) {
|
||||
stl_generate_shared_vertices(&stl);
|
||||
|
|
|
@ -36,6 +36,7 @@ class TriangleMesh
|
|||
void horizontal_projection(ExPolygons &retval) const;
|
||||
void convex_hull(Polygon* hull);
|
||||
void bounding_box(BoundingBoxf3* bb) const;
|
||||
void reset_repair_stats();
|
||||
stl_file stl;
|
||||
bool repaired;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue