3dPrinting :

- modifiche a coasting e wipe.
This commit is contained in:
SaraP
2022-05-26 17:39:21 +02:00
parent 64604d81f4
commit 419468c696
3 changed files with 32 additions and 23 deletions
+5 -4
View File
@@ -116,9 +116,10 @@ end
---------------------------------------------------------------------
local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams)
-- scelta del colore
local nType = EgtGetInfo( nCrvId, KEY_TYPE, 'i')
if nType == TYPE.WIPE then return end
-- scelta del colore
local Color = EgtStdColor( 'GRAY')
if nType == TYPE.OUTER_SHELL then
Color = EgtStdColor( 'TEAL')
@@ -128,11 +129,11 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams)
Color = EgtStdColor( 'GRAY')
elseif nType == TYPE.INFILL then
Color = EgtStdColor( 'YELLOW')
elseif nType == TYPE.RETRACTION then
elseif nType == TYPE.COASTING then
Color = EgtStdColor( 'BLUE')
end
local nParts = EgtIf( nType == TYPE.LINK or nType == TYPE.RETRACTION, 1, 10)
local nParts = EgtIf( nType == TYPE.LINK or nType == TYPE.COASTING, 1, 10)
local nCopyId = EgtCopyGlob( nCrvId, nSolidGrp)
EgtApproxCurve( nCopyId, GDB_CA.ARCS, 0.1)