mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix for elevation and added functionality for head penetration.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user