- cambiato nome arco a tre centri
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.RECT, vFrameJoints, {Win
|
||||
-- local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.CHAMFER, { FrameJointType, FrameJointType, FrameJointType, FrameJointType, FrameJointType}, {WindowWidth, WindowHeight, WindowHeight + 500})
|
||||
-- local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.POINTED_ARC, { FrameJointType, FrameJointType, FrameJointType, FrameJointType, FrameJointType}, {1500, 1500, 2400})
|
||||
-- local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.TRG, { FrameJointType, FrameJointType, FrameJointType}, {1500, 1500, 500})
|
||||
-- local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.THREE_CENTERED_ARC, { FrameJointType, FrameJointType, WIN_JNT.ANGLED, WIN_JNT.ANGLED, WIN_JNT.ANGLED, WIN_JNT.ANGLED}, {1500, 1500, 1800, 200})
|
||||
-- local nFrameId = WinCreate.CreateFrame( WIN_FRAME_TYPES.THREE_CENTER_ARC, { FrameJointType, FrameJointType, WIN_JNT.ANGLED, WIN_JNT.ANGLED, WIN_JNT.ANGLED, WIN_JNT.ANGLED}, {1500, 1500, 1800, 200})
|
||||
|
||||
|
||||
------------------------ Aggiunta split a griglia ------------------------
|
||||
|
||||
@@ -27,7 +27,7 @@ WIN_FRAME_TYPES = {
|
||||
SEGMENTAL_ARC = 5,
|
||||
POINTED_ARC = 6,
|
||||
TRG = 7,
|
||||
THREE_CENTERED_ARC = 8,
|
||||
THREE_CENTER_ARC = 8,
|
||||
}
|
||||
|
||||
-- forme per anta
|
||||
|
||||
@@ -153,7 +153,7 @@ local function CreateFrameCurves( nLayerId, nType, vDim)
|
||||
EgtSetName( nLeftId, WIN_LEFT)
|
||||
|
||||
-- arco a 3 centri
|
||||
elseif nType == WIN_FRAME_TYPES.THREE_CENTERED_ARC then
|
||||
elseif nType == WIN_FRAME_TYPES.THREE_CENTER_ARC then
|
||||
-- vDim[1] larghezza, vDim[2] altezza dei lati verticali, vDim[3] altezza complessiva, vDim[4] raggio di raccordo
|
||||
local nBottomId = EgtLine( nLayerId, ORIG(), Point3d( vDim[1], 0, 0))
|
||||
EgtSetName( nBottomId, WIN_BOTTOM)
|
||||
|
||||
@@ -58,6 +58,8 @@ local function GetFrameShape( sShape)
|
||||
return WIN_FRAME_TYPES.SEGMENTAL_ARC
|
||||
elseif sShape == 'DOUBLEARC' then
|
||||
return WIN_FRAME_TYPES.POINTED_ARC
|
||||
elseif sShape == 'THREECENTERARC' then
|
||||
return WIN_FRAME_TYPES.THREE_CENTER_ARC
|
||||
elseif sShape == 'TRIANGLE' then
|
||||
return WIN_FRAME_TYPES.TRG
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user