SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter

This commit is contained in:
Lukas Matena 2019-03-13 12:02:33 +01:00
parent 63b65bb3c8
commit 03beb1870b
5 changed files with 29 additions and 30 deletions

View file

@ -17,6 +17,7 @@ public:
struct Config {
float density_relative;
float minimal_distance;
float head_diameter;
///////////////
inline float support_force() const { return 10.f / density_relative; } // a force one point can support (arbitrary force unit)
inline float tear_pressure() const { return 1.f; } // pressure that the display exerts (the force unit per mm2)