EgtExecutor 2.7e3 :

- nella funzione lua EgtGetCalcTipFromPositions riso opzionale anche il parametro bottom
This commit is contained in:
Dario Sassi
2025-05-30 17:23:19 +02:00
parent c9111ba2ff
commit 553e2e980d
2 changed files with 3 additions and 3 deletions
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -3693,7 +3693,7 @@ LuaGetCalcPositions( lua_State* L)
static int
LuaGetCalcTipFromPositions( lua_State* L)
{
// da 5 a 10 parametri : dX, dY, dZ, dAngR1[, dAngR2][, dAngR3][, dAngR4][, dAngR5][, dAngR6], bBottom
// da 4 a 10 parametri : dX, dY, dZ, dAngR1[, dAngR2][, dAngR3][, dAngR4][, dAngR5][, dAngR6][, bBottom]
double dX ;
LuaCheckParam( L, 1, dX)
double dY ;
@@ -3709,8 +3709,8 @@ LuaGetCalcTipFromPositions( lua_State* L)
else
break ;
}
bool bBottom ;
LuaCheckParam( L, i, bBottom)
bool bBottom = false ;
LuaGetParam( L, i, bBottom) ;
LuaClearStack( L) ;
// calcolo il tip utensile dagli assi macchina
Point3d ptTip ;