3dPrinting :
- modifiche e correzioni per Costolature (Setti -> Ribs).
This commit is contained in:
@@ -13,6 +13,7 @@ EgtOutLog( ' RunPartPositioning started', 1)
|
||||
-- Costanti generali
|
||||
local AMD = require( 'AddManData')
|
||||
|
||||
---------------------------------------------------------------------
|
||||
function RunPartPositioning.Exec()
|
||||
-- Verifico che la macchina corrente sia adatta alla stampa 3d
|
||||
local sMachIni = EgtGetCurrMachineDir() .. '\\' .. EgtGetCurrMachineName() .. '.ini'
|
||||
@@ -34,7 +35,7 @@ function RunPartPositioning.Exec()
|
||||
return
|
||||
end
|
||||
local sLayer = EgtGetName( nLayerId)
|
||||
if sLayer == LAY_WALLS then
|
||||
if sLayer == LAY_RIBS then
|
||||
EgtOutBox( 'No selected solid. Please select a solid before moving it on the table.', 'Warning', 'WARNING')
|
||||
return
|
||||
end
|
||||
@@ -121,9 +122,7 @@ function RunPartPositioning.Exec()
|
||||
local nTabLayer = EgtGroup( nTabPart)
|
||||
EgtSetName( nTabLayer, TABLE)
|
||||
local nTabOutlineId = EgtRectangle2P( nTabLayer, Point3d( 0, 0, 0), Point3d( dTabX, dTabY, 0))
|
||||
EgtSetName( nTabOutlineId, TABLE_OUTLINE)
|
||||
local nTabSurfId = EgtSurfFlatRegion( nTabLayer, nTabOutlineId)
|
||||
EgtSetName( nTabSurfId, TABLE_SURFACE)
|
||||
EgtSetColor( nTabSurfId, 'GRAY')
|
||||
EgtSetAlpha( nTabSurfId, 70)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user