mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 07:46:00 +08:00
update defaults
This commit is contained in:
parent
edf0e0a144
commit
e9b456c30d
@ -182,9 +182,9 @@ void FDMSupportSpots::find_support_areas() {
|
|||||||
supporter.visited = true;
|
supporter.visited = true;
|
||||||
supporter.group_id = group_id;
|
supporter.group_id = group_id;
|
||||||
for (const auto &n : supporter.neighbours) {
|
for (const auto &n : supporter.neighbours) {
|
||||||
if (n < 0)
|
if (n >= 0) {
|
||||||
continue;
|
supporters.push(n);
|
||||||
supporters.push(n);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,10 +43,10 @@ struct Triangle {
|
|||||||
|
|
||||||
struct FDMSupportSpotsConfig {
|
struct FDMSupportSpotsConfig {
|
||||||
float limit_angle_cos { 35.0f * PI / 180.0f };
|
float limit_angle_cos { 35.0f * PI / 180.0f };
|
||||||
float patch_size { 6.0f };
|
float patch_size { 1.0f }; // (mm)
|
||||||
float patch_spacing { 6.0f };
|
float patch_spacing { 2.0f }; // (mm)
|
||||||
float islands_tolerance_distance { 1.0f };
|
float islands_tolerance_distance { 0.3f }; //(mm)
|
||||||
float max_side_length { 1.0f };
|
float max_side_length { 1.0f };// (mm)
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FDMSupportSpots {
|
struct FDMSupportSpots {
|
||||||
|
@ -42,10 +42,10 @@ private:
|
|||||||
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
|
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
|
||||||
std::map<std::string, wxString> m_desc;
|
std::map<std::string, wxString> m_desc;
|
||||||
|
|
||||||
float m_smart_support_limit_angle_deg = 35.0f;
|
float m_smart_support_limit_angle_deg = 45.0f;
|
||||||
float m_smart_support_patch_size = 6.0f;
|
float m_smart_support_patch_size = 10.0f; //0.1mm
|
||||||
float m_smart_support_patch_spacing = 6.0f;
|
float m_smart_support_patch_spacing = 20.0f; //0.1mm
|
||||||
float m_smart_support_islands_tolerance = 1.0f;
|
float m_smart_support_islands_tolerance = 30.0f; //0.01mm
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user