update defaults

This commit is contained in:
PavelMikus 2022-03-24 14:55:08 +01:00
parent edf0e0a144
commit e9b456c30d
3 changed files with 11 additions and 11 deletions

View File

@ -182,9 +182,9 @@ void FDMSupportSpots::find_support_areas() {
supporter.visited = true;
supporter.group_id = group_id;
for (const auto &n : supporter.neighbours) {
if (n < 0)
continue;
supporters.push(n);
if (n >= 0) {
supporters.push(n);
}
}
}
}

View File

@ -43,10 +43,10 @@ struct Triangle {
struct FDMSupportSpotsConfig {
float limit_angle_cos { 35.0f * PI / 180.0f };
float patch_size { 6.0f };
float patch_spacing { 6.0f };
float islands_tolerance_distance { 1.0f };
float max_side_length { 1.0f };
float patch_size { 1.0f }; // (mm)
float patch_spacing { 2.0f }; // (mm)
float islands_tolerance_distance { 0.3f }; //(mm)
float max_side_length { 1.0f };// (mm)
};
struct FDMSupportSpots {

View File

@ -42,10 +42,10 @@ private:
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
std::map<std::string, wxString> m_desc;
float m_smart_support_limit_angle_deg = 35.0f;
float m_smart_support_patch_size = 6.0f;
float m_smart_support_patch_spacing = 6.0f;
float m_smart_support_islands_tolerance = 1.0f;
float m_smart_support_limit_angle_deg = 45.0f;
float m_smart_support_patch_size = 10.0f; //0.1mm
float m_smart_support_patch_spacing = 20.0f; //0.1mm
float m_smart_support_islands_tolerance = 30.0f; //0.01mm
};