Saomad-KAIROS 2.7e3 :
- aggiornato calcolo step Vmill - modificato limite asse A con lama - modificati parametri portautensile (B per quota libera testa).
This commit is contained in:
+3
-3
@@ -16,13 +16,13 @@
|
|||||||
|
|
||||||
[Pocketing]
|
[Pocketing]
|
||||||
0=l,MaxElev,0
|
0=l,MaxElev,0
|
||||||
1=b,Open,0
|
1=l,Open,0
|
||||||
2=d,OpenMinSafe,0
|
2=l,OpenMinSafe,0
|
||||||
3=d,OpenOutRaw,0
|
3=d,OpenOutRaw,0
|
||||||
4=l,MaxOptSize,0
|
4=l,MaxOptSize,0
|
||||||
|
|
||||||
[Mortising]
|
[Mortising]
|
||||||
0=d,MaxElev,0
|
0=l,MaxElev,0
|
||||||
|
|
||||||
[Chiseling]
|
[Chiseling]
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -9,7 +9,7 @@
|
|||||||
require( 'EmtGenerator')
|
require( 'EmtGenerator')
|
||||||
EgtEnableDebug( false)
|
EgtEnableDebug( false)
|
||||||
|
|
||||||
PP_VER = '2.7e2'
|
PP_VER = '2.7e3'
|
||||||
MIN_MACH_VER = '2.5j1'
|
MIN_MACH_VER = '2.5j1'
|
||||||
|
|
||||||
EgtOutLog ( '** Saomad-KAIROS '..PP_VER..' (MinMach '.. MIN_MACH_VER ..') **', 1)
|
EgtOutLog ( '** Saomad-KAIROS '..PP_VER..' (MinMach '.. MIN_MACH_VER ..') **', 1)
|
||||||
@@ -27,6 +27,8 @@ ParkZ = 900
|
|||||||
FmaxZ = 45000
|
FmaxZ = 45000
|
||||||
MinA = -120
|
MinA = -120
|
||||||
MaxA = 120
|
MaxA = 120
|
||||||
|
MinSawA = -101
|
||||||
|
MaxSawA = 101
|
||||||
ParkA = 0
|
ParkA = 0
|
||||||
FmaxA = 10440
|
FmaxA = 10440
|
||||||
MinC = -240
|
MinC = -240
|
||||||
@@ -422,7 +424,7 @@ function OnSetHead()
|
|||||||
EmtModifyAxisHome( 'C', ParkC)
|
EmtModifyAxisHome( 'C', ParkC)
|
||||||
-- se lama
|
-- se lama
|
||||||
if EMC.TCPOS == 'T201' then
|
if EMC.TCPOS == 'T201' then
|
||||||
EmtModifyAxisStroke( 'A', { -100, 100})
|
EmtModifyAxisStroke( 'A', { MinSawA, MaxSawA})
|
||||||
-- altrimenti
|
-- altrimenti
|
||||||
else
|
else
|
||||||
EmtModifyAxisStroke( 'A', { MinA, MaxA})
|
EmtModifyAxisStroke( 'A', { MinA, MaxA})
|
||||||
|
|||||||
+20
-14
@@ -156,20 +156,26 @@ function OnSimulDispositionStart()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- determino la risoluzione dello Zmap
|
-- determino la risoluzione dello Zmap
|
||||||
local dArea = b3Raw:getDimX() * b3Raw:getDimY() + b3Raw:getDimX() * b3Raw:getDimZ() + b3Raw:getDimY() * b3Raw:getDimZ()
|
local dTol
|
||||||
local dTol = 4.71
|
if EmtGetVMillStep then
|
||||||
if dArea < CoeffVM * 0.15e6 then
|
dTol = EmtGetVMillStep( b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), 4.71)
|
||||||
dTol = 0.71
|
else
|
||||||
elseif dArea < CoeffVM * 0.3e6 then
|
local dArea = b3Raw:getDimX() * b3Raw:getDimY() + b3Raw:getDimX() * b3Raw:getDimZ() + b3Raw:getDimY() * b3Raw:getDimZ()
|
||||||
dTol = 1.01
|
if dArea < CoeffVM * 0.15e6 then
|
||||||
elseif dArea < CoeffVM * 0.6e6 then
|
dTol = 0.71
|
||||||
dTol = 1.51
|
elseif dArea < CoeffVM * 0.3e6 then
|
||||||
elseif dArea < CoeffVM * 1.2e6 then
|
dTol = 1.01
|
||||||
dTol = 1.97
|
elseif dArea < CoeffVM * 0.6e6 then
|
||||||
elseif dArea < CoeffVM * 2.4e6 then
|
dTol = 1.51
|
||||||
dTol = 2.81
|
elseif dArea < CoeffVM * 1.2e6 then
|
||||||
elseif dArea < CoeffVM * 4.8e6 then
|
dTol = 1.97
|
||||||
dTol = 3.77
|
elseif dArea < CoeffVM * 2.4e6 then
|
||||||
|
dTol = 2.81
|
||||||
|
elseif dArea < CoeffVM * 4.8e6 then
|
||||||
|
dTol = 3.77
|
||||||
|
else
|
||||||
|
dTol = 4.71
|
||||||
|
end
|
||||||
end
|
end
|
||||||
-- creo lo Zmap
|
-- creo lo Zmap
|
||||||
local VMillId = EgtVolZmapBox( nPartRawId, b3Raw:getMin(), b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), dTol, true, GDB_RT.GLOB)
|
local VMillId = EgtVolZmapBox( nPartRawId, b3Raw:getMin(), b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), dTol, true, GDB_RT.GLOB)
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user