3dPrinting :

- modifiche al calcolo dei solidi.
This commit is contained in:
SaraP
2022-09-26 17:19:02 +02:00
parent 4a769ffc6f
commit 0d356741ae
5 changed files with 102 additions and 91 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ local function LoadParams( sFile, nPartId)
EgtSetInfo( nPartId, KEY_PARAMS, sFile)
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_CALC_SOLIDS, '1')
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_CALC_SOLIDS, '0')
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_SLICING_45, '0')
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_SLICE_STEP, '1.0')
SetParamInfo( sFile, nPartId, SEC_DEFAULT, KEY_STRAND, '6.0')
@@ -343,7 +343,7 @@ function RunSlicing.Exec()
-- Calcolo dei solidi degli strand a partire dai percorsi di lavoro
local bCalcSolids = EgtGetInfo( nPartId, KEY_CALC_SOLIDS, 'b')
EgtRemoveInfo( nPartId, KEY_HAS_SOLIDS)
if bCalcSolids or bCalcSolids == nil then
if bCalcSolids then
CSOLIDS.Exec( nPartId)
end