Skip to content

Commit

Permalink
Add a note for a possible adjustment to plate mode bot processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jan 27, 2024
1 parent 0643054 commit 2e40d01
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/libged/facetize/tessellate/plate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ plate_eval(struct rt_bot_internal **obot, struct rt_bot_internal *bot, const str
// using unioned CSG elements
manifold::Manifold c;

// TODO - right now, the edge processing in particular results in high memory
// consumption, compared to the size of the final bot. I'm wondering if this
// is because the face additions clear a lot of the edge triangles, and we might
// do better to march over the faces, keep the "already processed" verts and
// edges in unordered sets, and just add any verts and edges from each new face
// that we've not already seen before. This will "cull as we go" when it comes
// to the edge cylinders.

// Collect the active vertices and edges
std::set<int> verts;
std::map<int, double> verts_thickness;
Expand Down

0 comments on commit 2e40d01

Please sign in to comment.