DataWall :

- corretta funzione GetFaceElevation
- corretto calcolo step ed elevazione da usare in fresature SideGroove.
This commit is contained in:
Dario Sassi
2020-11-18 18:36:06 +00:00
parent 86a4374767
commit 2d1c4968da
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ function WallLib.GetFaceElevation( nSurfId, nFac, nRawId)
if not ptC or not vtN then return 0 end
local frOCS = Frame3d( ptC, vtN) ;
local b3Box = EgtGetBBoxRef( nSurfId, GDB_BB.STANDARD, frOCS)
local dElev = b3Box:getDimZ()
local dElev = b3Box:getMax():getZ()
if nPartId then
local _, dCenElev = WallLib.GetPointDirDepth( nRawId, ptC, vtN)
if dCenElev and dCenElev > dElev then