3dPrinting :
- gestione regioni con numero diverso di passate.
This commit is contained in:
@@ -124,7 +124,7 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams)
|
||||
local Color = EgtStdColor( 'GRAY')
|
||||
if nType == TYPE.OUTER_SHELL then
|
||||
Color = EgtStdColor( 'TEAL')
|
||||
elseif nType == TYPE.INNER_SHELL then
|
||||
elseif nType == TYPE.INNER_SHELL or nType == TYPE.EXTRA_SHELL then
|
||||
Color = EgtStdColor( 'ORANGE')
|
||||
elseif nType == TYPE.LINK then
|
||||
Color = EgtStdColor( 'GRAY')
|
||||
@@ -151,7 +151,7 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams)
|
||||
local bOk = true
|
||||
for nInd = 0, nParts - 1 do
|
||||
local nGuideId = nId + nInd
|
||||
local nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams.dStrand, LayerParams.dLayHeight, LayerParams.vtSlicing)
|
||||
local nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams.dStrand - 2 * GEO.EPS_SMALL, LayerParams.dLayHeight, LayerParams.vtSlicing)
|
||||
|
||||
if not nSrfId then
|
||||
-- ritento con sezione leggermente modificata
|
||||
|
||||
Reference in New Issue
Block a user