3dPrinting :

- aggiunta gestione CoastingFeed e WipeFeedPu.
This commit is contained in:
DarioS
2022-06-14 05:53:12 +02:00
parent 680ac4c93a
commit 2bdc03d1ca
4 changed files with 9 additions and 5 deletions
+2
View File
@@ -68,7 +68,9 @@ KEY_LEAD_OUT_TANG_DIST= "LeadOutTangDist"
KEY_LEAD_OUT_ORTHO_DIST= "LeadOutOrthoDist"
KEY_OFFSET_LEAD_POINT = "OffsetLeadPoint"
KEY_COASTING_LEN = "CoastingLen"
KEY_COASTING_FEED = "CoastingFeed"
KEY_WIPE_LEN = "WipeLen"
KEY_WIPE_FEEDPU = "WipeFeedPu"
KEY_TOOL_DIAM = "ToolDiam"
TYPE = {
+1 -1
View File
@@ -211,7 +211,7 @@ function CalcSlices.Exec( nPartId, nStmId, HMax)
EgtSetColor( vClosedId or {}, 'TEAL')
EgtSetColor( vOpenId or {}, 'RED')
-- creo flat region a partire dalle curve chiuse ottenute con lo slicing
-- creo flat region a partire dalle curve chiuse ottenute con lo slicing
local nGrp = EgtGroup( nLayId, frSlicing)
for i = 1, #vClosedId do
EgtRelocateGlob( vClosedId[i], nGrp)
+1 -1
View File
@@ -141,7 +141,7 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams)
for nInd = 0, nParts - 1 do
local nGuideId = nId + nInd
local nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams.dStrand, LayerParams.dLayHeight, LayerParams.vtSlicing)
if not nSrfId then
-- ritento con sezione leggermente modificata
nSrfId = CreateSolid( nGuideId, nSolidGrp, LayerParams.dStrand - 100 * GEO.EPS_SMALL, LayerParams.dLayHeight, LayerParams.vtSlicing)
+5 -3
View File
@@ -1,4 +1,4 @@
-- RunSlicing.lua by Egaltech s.r.l. 2022/04/12
-- RunSlicing.lua by Egaltech s.r.l. 2022/06/13
-- Calcoli prima fase per Stampa 3d
-- Tabella per definizione modulo
@@ -109,8 +109,10 @@ local function LoadParams( sFile, nPartId)
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_LEAD_OUT_ORTHO_DIST, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_OFFSET_LEAD_POINT, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_COASTING_LEN, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_WIPE_LEN, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_COASTING_LEN, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_COASTING_FEED, '20000.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_WIPE_LEN, '0.0')
SetParamInfo( sFile, nParamsGrp, DEFAULT_SECTION, KEY_WIPE_FEEDPU, '0.9')
-- recupero il punto iniziale e lo salvo tra i parametri
local ptStart = Point3d( 0, 0, 0)