Skip to content

Commit

Permalink
Refactoring FDM support spots generator to use Z-Graph (#11)
Browse files Browse the repository at this point in the history
* import updates from curling avoidance branch

* fix compilation issues

* Refactoring FDM support spots generator to use the new Z-graph built during slicing

* fix local issues bugs

* fix bugs, add new filter for too short extrusions

* fix bugs with nonexistent weakest area

* Use links of Z graph after fix, format the code

* remove unnecesary includes
  • Loading branch information
Godrak authored Nov 28, 2022
1 parent 25da414 commit 3fa1615
Show file tree
Hide file tree
Showing 3 changed files with 529 additions and 837 deletions.
2 changes: 1 addition & 1 deletion src/libslic3r/PrintObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void PrintObject::generate_support_spots()
[](const ModelVolume* mv){return mv->supported_facets.empty();})
) {
SupportSpotsGenerator::Params params{this->print()->m_config.filament_type.values};
auto [issues, malformations] = SupportSpotsGenerator::full_search(this, params);
SupportSpotsGenerator::Issues issues = SupportSpotsGenerator::full_search(this, params);

auto obj_transform = this->trafo_centered();
for (ModelVolume *model_volume : this->model_object()->volumes) {
Expand Down
Loading

0 comments on commit 3fa1615

Please sign in to comment.