3dPrinting 2.5c1 :
- aggiunto flag per decidere se limitare ribs unbounded con solido.
This commit is contained in:
@@ -85,6 +85,7 @@ KEY_TOOL_DIAM = "ToolDiam"
|
||||
|
||||
-- Ribs
|
||||
KEY_RIBS_TYPE = "RibsType"
|
||||
KEY_LIMIT_UNBDD_RIBS = "LimitUnboundedRibsWithSolid"
|
||||
KEY_RIBS_OVERLAP = "RibsOverlap"
|
||||
KEY_RIBS_SHELLS_NBR = "RibsStrandCount"
|
||||
KEY_RIBS_LINK = "RibsLink"
|
||||
|
||||
@@ -636,12 +636,13 @@ function CalcSlices.Exec( nPartId, nStmId, HMax)
|
||||
-- recupero la superficie ed eventuali setti esterni/unbounded da usare come riferimenti per quote slicing
|
||||
local vRefIds = {}
|
||||
if nStmId then table.insert( vRefIds, nStmId) end
|
||||
local nRibsLay = EgtGetFirstNameInGroup( s_nPartId, LAY_RIBS)
|
||||
local nRibsLay = EgtGetFirstNameInGroup( s_nPartId, LAY_RIBS)
|
||||
local vRibsIds = EgtGetAllInGroup( nRibsLay)
|
||||
local bLimitUnbddRibs = EgtGetInfo( s_nPartId, KEY_LIMIT_UNBDD_RIBS, 'b') or false
|
||||
for i = 1, #vRibsIds do
|
||||
if EgtGetType( vRibsIds[i]) == GDB_TY.SRF_MESH then
|
||||
local nType = ReadParam( vRibsIds[i], KEY_RIBS_TYPE, 'i', RIB_TYPE.INTERNAL)
|
||||
if nType == RIB_TYPE.EXTERNAL or nType == RIB_TYPE.UNBOUNDED then
|
||||
if nType == RIB_TYPE.EXTERNAL or ( nType == RIB_TYPE.UNBOUNDED and not bLimitUnbddRibs) then
|
||||
table.insert( vRefIds, vRibsIds[i])
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
-- Version.lua by Egaltech s.r.l. 2023/02/28
|
||||
-- Gestione della versione di 3dPrinting
|
||||
|
||||
VERSION = '2.5b3'
|
||||
VERSION = '2.5c1'
|
||||
Reference in New Issue
Block a user