Fix for elevation and added functionality for head penetration.

This commit is contained in:
tamasmeszaros 2018-11-19 11:42:36 +01:00
parent 6430fb2ec2
commit 1f546de59a
3 changed files with 23 additions and 15 deletions

View file

@ -33,7 +33,7 @@ struct SupportConfig {
double head_front_radius_mm = 0.2;
// How much the pinhead has to penetrate the model surface
double head_penetraiton_mm = 0.2;
double head_penetraiton_mm = 0.5;
// Radius of the back side of the 3d arrow.
double head_back_radius_mm = 0.5;
@ -134,6 +134,7 @@ class SLASupportTree {
class Impl;
std::unique_ptr<Impl> m_impl;
Controller m_ctl;
double m_elevation = 0;
Impl& get() { return *m_impl; }
const Impl& get() const { return *m_impl; }