- sistemato passaggio all'automatismo lavorazioni.

This commit is contained in:
SaraP
2025-03-11 14:45:50 +01:00
parent 8d874e6899
commit ba392fa99f
3 changed files with 401 additions and 443 deletions
+5
View File
@@ -153,6 +153,7 @@ WIN_SASHTYPE = 'SashType'
WIN_REF_OUTLINE = 'OutlineRef'
WIN_REF_PART = 'PartRef'
WIN_REF_BOTTOMRAIL_PART = 'BottomRailPartRef'
WIN_AREA_NAME = 'AreaName'
WIN_SASH_TOP = 'Sash_Top'
WIN_SASH_BOTTOM = 'Sash_Bottom'
@@ -270,6 +271,10 @@ WIN_PRC_CLAMPV_1 = 'CLAMPV_1'
WIN_PRC_CLAMPV_2 = 'CLAMPV_2'
WIN_STRIP_DIST = 'StripDistance'
WIN_GLASS = 'GLASS'
WIN_WOOD = 'WOOD'
WIN_INACTIVE = 'INACTIVE'
WIN_REF_SPLIT = 'RefSplit'
WIN_CRV_ON_FRENCH_SPLIT = 'OutlineOnFrenchSplit'
WIN_PREV_OUTLINES = 'PrevOutlines'
File diff suppressed because it is too large Load Diff
+2
View File
@@ -40,6 +40,7 @@ function WinCreate.ImportProfile( sProfilePath)
-- creo gruppo per il profilo
local nProfileId = EgtGroup( GDB_ID.ROOT)
EgtSetName( nProfileId, WIN_PROFILE)
EgtSetLevel( nProfileId, GDB_LV.SYSTEM)
-- importo profilo prescelto
local bOk = EgtInsertFile( sProfilePath)
-- recupero gruppi importati e li sposto nel gruppo profilo
@@ -67,6 +68,7 @@ function WinCreate.CreateGenFrame( vFrameCrvs, vJoints)
-- creo gruppo per telaio
local nFrameAreaId = EgtGroup( GDB_ID.ROOT)
EgtSetName( nFrameAreaId, WIN_AREA .. '(' .. WIN_FRAME .. ')')
EgtSetLevel( nFrameAreaId, GDB_LV.SYSTEM)
-- imposto il tipo
EgtSetInfo( nFrameAreaId, WIN_AREATYPE, WIN_AREATYPES.FRAME)
-- creo il gruppo con le curve di outline