3dPrinting :
- gestione regioni con numero diverso di passate.
This commit is contained in:
@@ -118,7 +118,10 @@ local function LoadParams( sFile, nPartId)
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_RIBS_LEAD_OUT_LEN, '0.0')
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_RIBS_LEAD_OUT_COASTING, '0.0')
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_RIBS_LEAD_OUT_WIPE, '0.0')
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_RIBS_LEAD_OUT_WIPE_DIR, '0.0')
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_RIBS_LEAD_OUT_WIPE_DIR, '0.0')
|
||||
|
||||
-- parametri per regioni con diverso numero di passate
|
||||
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_SHELL_NBR_DIFF, '0')
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
@@ -196,6 +199,7 @@ function RunSlicing.Exec()
|
||||
return
|
||||
end
|
||||
local nRibsLayId = EgtGetFirstNameInGroup( nPartId, LAY_RIBS)
|
||||
local nShellNbrLay = EgtGetFirstNameInGroup( nPartId, LAY_SHELL_NBR)
|
||||
local nStartLayId = EgtGetFirstNameInGroup( nPartId, LAY_MACH_START)
|
||||
|
||||
-- Scelta del file dei parametri
|
||||
@@ -250,6 +254,7 @@ function RunSlicing.Exec()
|
||||
CSOLIDS.Exec( nPartId)
|
||||
EgtSetStatus( nSolidLayId, GDB_ST.OFF)
|
||||
EgtSetStatus( nRibsLayId or GDB_ID.NULL, GDB_ST.OFF)
|
||||
EgtSetStatus( nShellNbrLay or GDB_ID.NULL, GDB_ST.OFF)
|
||||
EgtSetStatus( nStartLayId or GDB_ID.NULL, GDB_ST.OFF)
|
||||
EgtDraw()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user