mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 21:26:01 +08:00
Fix unregistered pinhead diameter for branching supports
This commit is contained in:
parent
7380f3f1ec
commit
9f21ffb8b4
@ -614,7 +614,15 @@ void SLAPrint::Steps::support_points(SLAPrintObject &po)
|
|||||||
// the density config value is in percents:
|
// the density config value is in percents:
|
||||||
config.density_relative = float(cfg.support_points_density_relative / 100.f);
|
config.density_relative = float(cfg.support_points_density_relative / 100.f);
|
||||||
config.minimal_distance = float(cfg.support_points_minimal_distance);
|
config.minimal_distance = float(cfg.support_points_minimal_distance);
|
||||||
config.head_diameter = float(cfg.support_head_front_diameter);
|
switch (cfg.support_tree_type) {
|
||||||
|
case sla::SupportTreeType::Default:
|
||||||
|
case sla::SupportTreeType::Organic:
|
||||||
|
config.head_diameter = float(cfg.support_head_front_diameter);
|
||||||
|
break;
|
||||||
|
case sla::SupportTreeType::Branching:
|
||||||
|
config.head_diameter = float(cfg.branchingsupport_head_front_diameter);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// scaling for the sub operations
|
// scaling for the sub operations
|
||||||
double d = objectstep_scale * OBJ_STEP_LEVELS[slaposSupportPoints] / 100.0;
|
double d = objectstep_scale * OBJ_STEP_LEVELS[slaposSupportPoints] / 100.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user