Bigger surface offset to be able see negative volume alligned with surface(constant used by @enrico )
This commit is contained in:
parent
c8503d5835
commit
d214159fc9
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ OrthoProject3d priv::create_emboss_projection(
|
||||||
bool is_outside, float emboss, Transform3d tr, SurfaceCut &cut)
|
bool is_outside, float emboss, Transform3d tr, SurfaceCut &cut)
|
||||||
{
|
{
|
||||||
// Offset of clossed side to model
|
// Offset of clossed side to model
|
||||||
const float surface_offset = 1e-3f; // [in mm]
|
const float surface_offset = 0.015f; // [in mm]
|
||||||
float
|
float
|
||||||
front_move = (is_outside) ? emboss : surface_offset,
|
front_move = (is_outside) ? emboss : surface_offset,
|
||||||
back_move = -((is_outside) ? surface_offset : emboss);
|
back_move = -((is_outside) ? surface_offset : emboss);
|
||||||
|
|
Loading…
Add table
Reference in a new issue