EgtExecutor 2.7e3 :
- nella funzione lua EgtGetCalcTipFromPositions riso opzionale anche il parametro bottom
This commit is contained in:
Binary file not shown.
+3
-3
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user