mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
bridge angle
This commit is contained in:
parent
5b674cfe9e
commit
e69a6d6ebd
9 changed files with 23 additions and 8 deletions
|
@ -295,8 +295,10 @@ void LayerRegion::process_external_surfaces(const Layer *lower_layer, const Poly
|
|||
printf("Processing bridge at layer %zu:\n", this->layer()->id());
|
||||
#endif
|
||||
//BBS: use 0 as custom angle to enable auto detection all the time
|
||||
double custom_angle = Geometry::deg2rad(0.0);
|
||||
if (bd.detect_angle(custom_angle)) {
|
||||
double custom_angle = Geometry::deg2rad(this->region().config().bridge_angle.value);
|
||||
if(custom_angle > 0)
|
||||
bridges[idx_last].bridge_angle = custom_angle;
|
||||
else if (bd.detect_angle(custom_angle)) {
|
||||
bridges[idx_last].bridge_angle = bd.angle;
|
||||
if (this->layer()->object()->has_support()) {
|
||||
// polygons_append(this->bridged, bd.coverage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue