mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix for elevation and added functionality for head penetration.
This commit is contained in:
parent
6430fb2ec2
commit
1f546de59a
3 changed files with 23 additions and 15 deletions
|
@ -172,14 +172,14 @@ void SLAPrint::process()
|
|||
sla::SupportConfig scfg;
|
||||
SLAPrintObjectConfig& c = po.m_config;
|
||||
|
||||
scfg.head_front_radius_mm = c.support_head_front_radius.getFloat();
|
||||
scfg.head_back_radius_mm = c.support_head_back_radius.getFloat();
|
||||
scfg.head_penetraiton_mm = c.support_head_penetraiton.getFloat();
|
||||
scfg.head_width_mm = c.support_head_width.getFloat();
|
||||
scfg.object_elevation_mm = c.support_object_elevation.getFloat();
|
||||
scfg.tilt = c.support_critical_angle.getFloat() * 180.0 / PI;
|
||||
scfg.max_bridge_length_mm = c.support_max_bridge_length.getFloat();
|
||||
scfg.pillar_radius_mm = c.support_pillar_radius.getFloat();
|
||||
// scfg.head_front_radius_mm = c.support_head_front_radius.getFloat();
|
||||
// scfg.head_back_radius_mm = c.support_head_back_radius.getFloat();
|
||||
// scfg.head_penetraiton_mm = c.support_head_penetraiton.getFloat();
|
||||
// scfg.head_width_mm = c.support_head_width.getFloat();
|
||||
// scfg.object_elevation_mm = c.support_object_elevation.getFloat();
|
||||
// scfg.tilt = c.support_critical_angle.getFloat() * 180.0 / PI;
|
||||
// scfg.max_bridge_length_mm = c.support_max_bridge_length.getFloat();
|
||||
// scfg.pillar_radius_mm = c.support_pillar_radius.getFloat();
|
||||
|
||||
sla::Controller ctl;
|
||||
ctl.statuscb = [this](unsigned st, const std::string& msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue