3dPrinting :
- nel calcolo delle feed controllo con il valore di feed massima per tutti i valori e non solo per quelli con FEED_COEFF ( ovvero i primi layer dello spiral vase).
This commit is contained in:
@@ -228,12 +228,12 @@ function RunMachParamFromSWCalc.Exec()
|
||||
local dCoeff = EgtGetInfo( CurrWidth.IdList[nCurveIdIndex], KEY_FEED_COEFF, 'd')
|
||||
if dCoeff then
|
||||
dNewFeed = dCoeff * CurrFeed
|
||||
if dNewFeed > dFLimit then
|
||||
local dNewSpeed = dSpeed * dFLimit / dNewFeed
|
||||
dNewSpeed = EgtClamp( dNewSpeed, dSMin, dSMax)
|
||||
dNewFeed = dFLimit
|
||||
EgtSetInfo( CurrWidth.IdList[nCurveIdIndex], KEY_SPEED, dNewSpeed)
|
||||
end
|
||||
end
|
||||
if dNewFeed > dFLimit then
|
||||
local dNewSpeed = dSpeed * dFLimit / dNewFeed
|
||||
dNewSpeed = EgtClamp( dNewSpeed, dSMin, dSMax)
|
||||
dNewFeed = dFLimit
|
||||
EgtSetInfo( CurrWidth.IdList[nCurveIdIndex], KEY_SPEED, dNewSpeed)
|
||||
end
|
||||
EgtSetInfo( CurrWidth.IdList[nCurveIdIndex], KEY_FEED, dNewFeed)
|
||||
if dNewFeed > dFeedMax then
|
||||
|
||||
Reference in New Issue
Block a user