DataBeam :
- aggiunta gestione feature senza geometria - migliorato calcolo attacchi/uscite lama con angoli 45deg - in foratura si tiene conto anche della profondità del foro per scegliere la punta più adatta - in tagli corretto problema con tagli orizzontali (da sotto o sopra) con taglio più alto dell'utile lama - in LapJoint e simili migliorati antischeggia con lama - in Tenoni migliorata lavorazione faccia di testa con fresa.
This commit is contained in:
+19
-1
@@ -378,6 +378,10 @@ local function CollectFeatures( PartId, b3Raw, dCurrOvmH)
|
||||
end
|
||||
end
|
||||
else
|
||||
Proc.Head = false
|
||||
Proc.Tail = false
|
||||
Proc.Flg = 0
|
||||
table.insert( vProc, Proc)
|
||||
EgtOutLog( ' Feature ' .. tostring( Proc.Id) .. ' is empty (no geometry)')
|
||||
end
|
||||
end
|
||||
@@ -396,6 +400,14 @@ local function OrderFeatures( vProc, b3Raw)
|
||||
-- funzione di confronto
|
||||
-- secondo centro box in X (taglio di intestazione prima di altri tagli di testa e taglio di separazione però prima di altri tagli di coda)
|
||||
local function CompareFeatures( B1, B2)
|
||||
-- se primo disabilitato va sempre alla fine
|
||||
if B1.Flg == 0 then
|
||||
return false
|
||||
end
|
||||
-- se secondo disabilitato va sempre alla fine
|
||||
if B2.Flg == 0 then
|
||||
return true
|
||||
end
|
||||
-- se primo è intestazione va sempre prima
|
||||
if Hcut.Identify( B1) then
|
||||
return true
|
||||
@@ -538,8 +550,11 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
|
||||
local bDown = false
|
||||
local bSide = false
|
||||
local bDownSideOnHeadOk = false
|
||||
-- se senza geometria (già disabilitato
|
||||
if Proc.Flg == 0 then
|
||||
bOk = false
|
||||
-- se intestatura
|
||||
if Hcut.Identify( Proc) then
|
||||
elseif Hcut.Identify( Proc) then
|
||||
nHeading = i
|
||||
-- se separazione
|
||||
elseif Split.Identify( Proc) then
|
||||
@@ -662,6 +677,9 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
|
||||
if bDown then bSomeDown = true end
|
||||
if bSide then bSomeSide = true end
|
||||
end
|
||||
elseif Proc.Flg == 0 then
|
||||
bAllOk = false
|
||||
table.insert( Stats, {Err = 1, Msg='Error : out of the part', CutId=Proc.CutId, TaskId=Proc.TaskId})
|
||||
else
|
||||
Proc.Flg = 0
|
||||
bAllOk = false
|
||||
|
||||
Reference in New Issue
Block a user