3dPrinting :
- modifiche a coasting e wipe.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user