integration into FDM supports painter gizmo
This commit is contained in:
parent
cdf68039f7
commit
90e77f9135
4 changed files with 100 additions and 10 deletions
src/libslic3r
|
@ -398,7 +398,6 @@ void PrintObject::ironing()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void PrintObject::generate_support_spots()
|
||||
{
|
||||
if (this->set_started(posSupportSpotsSearch)) {
|
||||
|
@ -421,8 +420,6 @@ void PrintObject::generate_support_spots()
|
|||
}
|
||||
} else {
|
||||
SupportSpotsGenerator::Issues issues = SupportSpotsGenerator::full_search(this);
|
||||
//TODO fix
|
||||
// if (!issues.supports_nedded.empty()) {
|
||||
auto obj_transform = this->trafo_centered();
|
||||
for (ModelVolume *model_volume : this->model_object()->volumes) {
|
||||
if (model_volume->type() == ModelVolumeType::MODEL_PART) {
|
||||
|
@ -438,7 +435,7 @@ void PrintObject::generate_support_spots()
|
|||
}
|
||||
|
||||
model_volume->supported_facets.set(selector.selector);
|
||||
#if 1
|
||||
#if 0 //DEBUG export
|
||||
indexed_triangle_set copy = model_volume->mesh().its;
|
||||
its_transform(copy, obj_transform * model_transformation);
|
||||
its_write_obj(copy,
|
||||
|
@ -446,7 +443,6 @@ void PrintObject::generate_support_spots()
|
|||
#endif
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
m_print->throw_if_canceled();
|
||||
|
@ -456,7 +452,6 @@ void PrintObject::generate_support_spots()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void PrintObject::generate_support_material()
|
||||
{
|
||||
if (this->set_started(posSupportMaterial)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue