3dPrinting :
- eliminati gruppi inutili nel calcolo solidi con spiral vase - migliorie nella preparazione del 3dm per export icrx.
This commit is contained in:
@@ -131,6 +131,7 @@ local function CreateSpiralVaseSolid( nCrvId, nSolidGrp, LayerParams, dStrand)
|
||||
local dDelta = ( ptE - ptS) * LayerParams.vtSlicing
|
||||
-- se non è vero spiral vase, chiamo funzione standard
|
||||
if dDelta < GEO.EPS_SMALL then
|
||||
EgtErase( nGrpTmp)
|
||||
return CreateStandardSolid( nCrvId, nSolidGrp, LayerParams, dStrand)
|
||||
end
|
||||
|
||||
@@ -322,7 +323,7 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams, nLayer)
|
||||
if not nSrfId then
|
||||
EgtOutLog( 'Warning : CreateSolid failed '.. '(layer '..tostring( nLayer)..', curve '..tostring( nCrvId)..')')
|
||||
-- ritento con strand più piccolo
|
||||
nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams, dStrand - 50 * GEO.EPS_SMALL)
|
||||
nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams, dStrand - 50 * GEO.EPS_SMALL)
|
||||
|
||||
if not nSrfId then
|
||||
EgtOutLog( 'Warning : CreateSolid_1 failed '.. '(layer '..tostring( nLayer)..', curve '..tostring( nCrvId)..')')
|
||||
|
||||
Reference in New Issue
Block a user