Построить 3D конус усеченный двумя плоскостями не так и сложно, а вот под определенным углом сложнее (по крайней мере для меня) Набросок своей попытки Add(MultiElementEx,8220800,588,287) { @Hint=#13:mouse control| link(onScale,16459593:doDraw,[(660,293)(660,356)]) link(Data1,15261923:MouseX,[(594,236)(510,236)]) link(Data11,15261923:MouseY,[(601,229)(517,229)]) AddHint(-150,10,81,13,@Hint) } BEGIN_SDK Add(EditMultiEx,15846894,28,21) { WorkCount=#19:doIndex=onMouseDown|18:doIndex1=onMouseUp|20:doIndex2=onMouseMove|21:doIndex3=onMouseWheel|11:doTranslate| EventCount=#7:onScale| DataCount=#12:Data1=MouseX|13:Data11=MouseY| Width=461 Height=403 VOffset=147 HOffset=91 link(doIndex,8258308:doCase,[(61,174)(61,76)]) link(doIndex1,11684466:doCase,[(48,181)(48,41)]) link(doIndex2,1098128:doEvent1,[]) link(doIndex3,11126294:doCalc,[(60,195)(60,314)]) link(doTranslate,5373511:doTranslate,[(49,202)(49,377)]) } Add(Memory,9416452,224,105) { } Add(MathParse,4932197,252,182) { MathStr="%0+%2*%1/150" link(X2,1166028:Var3,[(265,166)]) } Add(SampleDelta,8771856,140,182) { link(onCalcDelta,14086713:doEvent1,[]) link(Data,15846894:Data1,[(146,148)(125,148)]) } Add(MathParse,5728057,217,273) { MathStr="%0-%2*%1/150" link(X2,1166028:Var2,[]) } Add(SampleDelta,4951593,126,273) { link(onCalcDelta,15907108:doEvent1,[]) link(Data,15846894:Data11,[]) } Add(Hub,1098128,84,182) { link(onEvent1,8771856:doCalcDelta,[]) link(onEvent2,4951593:doCalcDelta,[(110,195)(110,279)]) } Add(MathParse,11126294,301,308) { DataCount=1 MathStr="abs(%1/1200 + %0)" Default=1 } Add(Gl_Translate,5373511,252,371) { link(onTranslate,14880543:doScale,[]) link(X,4932197:Result,[]) link(Y,5728057:Result,[(265,338)(223,338)]) } Add(Gl_Scale,14880543,301,371) { link(onScale,10263648:doRotate,[]) link(X,7290120:Var2,[]) link(Y,4344857:Var2,[]) link(Z,4344857:Var3,[(321,355)]) } Add(GetDataEx,1166028,224,161) { link(Data,9416452:Value,[]) } Add(Case,11684466,161,35) { Value=Integer(1) DataOnTrue=Integer(0) link(onNextCase,7999873:doCase,[]) link(onTrue,15745323:doWork1,[(207,48)]) } Add(Case,8258308,161,70) { Value=Integer(1) DataOnTrue=Integer(1) link(onNextCase,3025957:doCase,[]) link(onTrue,15745323:doWork2,[]) } Add(Case,7999873,224,35) { Value=Integer(0) DataOnTrue=Integer(0) link(onTrue,15131741:doWork2,[]) } Add(Case,3025957,224,70) { Value=Integer(0) DataOnTrue=Integer(1) link(onTrue,15131741:doWork3,[(270,83)]) } Add(GL_Rotate,10263648,350,371) { Y=1 link(onRotate,10777756:doRotate,[]) link(Angle,16518524:Result,[]) } Add(GL_Rotate,10777756,392,371) { X=1 link(onRotate,15846894:onScale,[(451,377)(451,174)]) link(Angle,6385056:Result,[]) } Add(HubEx,15745323,203,77) { link(onEvent,9416452:doValue,[(217,83)(217,111)]) } Add(Memory,4305128,399,42) { } Add(HubEx,15131741,266,42) { link(onEvent,4305128:doValue,[]) } Add(MathParse,16518524,350,147) { MathStr="%0+%2*%1" link(X2,372559:Var3,[(363,117)]) } Add(Hub,14086713,196,182) { link(onEvent1,4932197:doCalc,[]) link(onEvent2,16518524:doCalc,[(219,195)(219,153)]) } Add(MathParse,6385056,392,252) { MathStr="%0+%2*%1" link(X2,372559:Var2,[]) } Add(Hub,15907108,182,273) { link(onEvent1,5728057:doCalc,[]) link(onEvent2,6385056:doCalc,[(207,286)(207,258)]) } Add(GetDataEx,372559,399,112) { link(Data,4305128:Value,[]) } Add(GetDataEx,7290120,301,350) { link(Data,11126294:Result,[]) } Add(GetDataEx,4344857,308,350) { Angle=3 link(Data,7290120:Var3,[]) } END_SDK Add(MainForm,15261923,497,140) { Width=1026 Height=862 Color=0 Caption="GL" BorderStyle=0 Point(onResize) Point(Handle) Point(onKeyDown) Point(doWidth) Point(doHeight) Point(MouseX) Point(MouseY) Point(onMouseDown) Point(onMouseUp) Point(onMouseMove) Point(onMouseWheel) link(onCreate,16299401:doEvent1,[]) link(onResize,3213527:doWork1,[(547,167)(547,127)(648,127)]) link(onKeyDown,16509952:doCase,[(538,174)(538,128)(431,128)(431,139)]) link(onMouseDown,8220800:doIndex,[(576,181)(576,293)]) link(onMouseUp,8220800:doIndex1,[(569,188)(569,300)]) link(onMouseMove,8220800:doIndex2,[(562,195)(562,307)]) link(onMouseWheel,8220800:doIndex3,[(555,202)(555,314)]) } Add(GL_Main,12986311,693,154) { TwoSide=0 Point(Fps) link(onInit,2934688:doWork1,[]) link(onViewPort,3410847:doPerspective,[(746,167)(746,220)(430,220)(430,237)]) link(Handle,15261923:Handle,[(699,137)(587,137)(587,244)(503,244)]) } Add(Timer,9506849,665,231) { Interval=33 Enable=1 link(onTimer,1049454:doEvent1,[]) } Add(GL_GTools,771925,756,231) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(Hub,1049454,714,231) { OutCount=5 link(onEvent1,771925:doClear,[]) link(onEvent2,771925:doPushMatrix,[]) link(onEvent3,8220800:doTranslate,[(740,251)(740,277)(542,277)(542,321)]) link(onEvent4,771925:doPopMatrix,[(748,258)(748,251)]) link(onEvent5,12986311:doFlip,[(735,265)(735,202)(681,202)(681,174)]) } Add(Hub,16299401,602,154) { OutCount=4 link(onEvent1,12986311:doInit,[]) link(onEvent2,3213527:doWork2,[]) link(onEvent3,9506849:doTimer,[(640,174)(640,237)]) link(onEvent4,12144461:doWork1,[(667,181)(667,212)(431,212)(431,174)]) } Add(HubEx,3213527,644,161) { link(onEvent,12986311:doViewPort,[]) } Add(GL_Perspective,3410847,441,231) { Fovy=30 link(Aspect,12144461:Var1,[]) } Add(Case,16509952,441,133) { Value=Integer(27) link(onTrue,15261923:doClose,[(482,146)(482,167)]) } Add(MultiElement,12144461,441,168) { @Hint=#92:Onoaiaaeeaaao iieiiye?aiiue ?a?ei i?eei?aiey e niioiioaiea noi?ii i?e BorderStyle - bsNone.| link(onEvent1,15261923:doWidth,[]) link(onEvent2,15261923:doHeight,[]) } BEGIN_SDK Add(EditMulti,14495888,7,7) { EventCount=2 WorkCount=1 VarCount=1 Width=307 Height=277 link(doWork1,9938436:doEvent1,[(31,13)(31,48)]) link(Var1,8872951:Result,[(13,263)(237,263)]) } Add(Screen,7951566,126,28) { EnumMask="%v" link(onEnum,11571689:doOperation,[]) } Add(Math,11571689,168,28) { OpType=39 link(onResult,8277205:doValue,[]) link(Op2,11571689:Result,[(181,16)(213,16)(213,72)(174,72)]) } Add(Screen,8335904,133,161) { EnumMask="%h" link(onEnum,16134009:doOperation,[]) } Add(Hub,9938436,56,42) { OutCount=5 link(onEvent1,7951566:doEnum,[]) link(onEvent2,1329470:doData,[(111,55)(111,76)]) link(onEvent3,400462:doData,[(105,62)(105,118)]) link(onEvent4,8335904:doEnum,[(98,69)(98,181)]) link(onEvent5,8872951:doOperation,[(91,76)(91,216)]) } Add(Math,16134009,175,161) { OpType=39 link(onResult,16143879:doValue,[]) link(Op2,16134009:Result,[(188,149)(220,149)(220,205)(181,205)]) } Add(Memory,8277205,231,28) { } Add(Memory,16143879,238,161) { } Add(Math,8872951,231,210) { OpType=3 link(Op1,8277205:Value,[]) link(Op2,16143879:Value,[]) } Add(DoData,400462,133,112) { link(onEventData,14495888:onEvent2,[(296,118)(296,20)]) link(Data,7951566:Height,[]) } Add(DoData,1329470,126,70) { link(onEventData,14495888:onEvent1,[(290,76)(290,13)]) link(Data,7951566:Width,[]) } END_SDK Add(MultiElement,2934688,756,154) { } BEGIN_SDK Add(EditMulti,4946077,21,21) { WorkCount=1 Width=377 Height=123 link(doWork1,12198675:doInit,[(35,27)(35,83)]) } Add(GL_GluTools,12198675,49,77) { Texture=0 link(onInit,951894:doEnabled,[]) } Add(GL_Options,1101264,133,77) { Flag=8 link(onEvent,5851269:doEnabled,[]) } Add(GL_Options,5851269,175,77) { Flag=2 link(onEvent,6119139:doEnabled,[]) } Add(GL_Light,545688,308,77) { link(onEnabled,545688:doMove,[(348,83)(348,115)(301,115)(301,90)]) link(onMove,7792817:doSet,[]) link(Point,114661:Point3D,[]) } Add(GL_Point3D,114661,308,35) { X=2 Y=2 Z=10 } Add(GL_Options,951894,91,77) { Flag=1 link(onEvent,1101264:doEnabled,[]) } Add(GL_Options,6119139,217,77) { link(onEvent,8199555:doEnabled,[]) } Add(GL_Options,8199555,259,77) { Flag=3 link(onEvent,545688:doEnabled,[]) } Add(GL_Material,7792817,357,84) { Side=2 Diffuse=0 Specular=16777215 Shininess=30 } END_SDK Add(GL_Options,10721375,973,357) { Flag=13 link(onEvent,5557070:doClipPlane,[(1020,363)(1020,349)]) } Add(GL_Cylinder,16722176,1022,511) { BaseRadius=0.6 TopRadius=0.15 Height=2 Slices=200 Stacks=1 link(onDraw,15964087:doPopMatrix,[]) } Add(GL_Options,5014616,973,455) { Flag=14 link(onEvent,10183014:doClipPlane,[(1016,461)(1016,440)]) } Add(Hub,14055806,917,350) { OutCount=5 link(onEvent1,11501795:doSplit,[]) link(onEvent2,10721375:doEnabled,[]) link(onEvent3,14616258:doSplit,[(966,370)(966,447)]) link(onEvent4,5014616:doEnabled,[(958,377)(958,461)]) link(onEvent5,16679688:doColor,[(949,384)(949,517)]) } Add(MultiStrData,11501795,1029,350) { Count=4 link(Str,961934:Text,[]) link(onPart1,5557070:doX,[]) link(onPart2,5557070:doY,[]) link(onPart3,5557070:doZ,[]) link(onPart4,5557070:doD,[]) } Add(GL_ClipPlane,5557070,1078,343) { @Hint=#9:отсечение| Point(doX) Point(doY) Point(doZ) Point(doD) } Add(MultiStrData,14616258,1029,441) { Count=4 link(Str,6331677:Text,[]) link(onPart1,10183014:doX,[]) link(onPart2,10183014:doY,[]) link(onPart3,10183014:doZ,[]) link(onPart4,10183014:doD,[]) } Add(GL_ClipPlane,10183014,1078,434) { @Hint=#9:отсечение| ClipPlane=1 Point(doX) Point(doY) Point(doZ) Point(doD) } Add(Edit,961934,1029,308) { Left=15 Top=10 Width=105 Text="-1;0;2;-0.7" } Add(Edit,6331677,1029,392) { Left=135 Top=10 Width=115 Text="-1;0;-1;1.5" } Add(GL_Color,16679688,973,511) { Color=32896 link(onColor,16722176:doDraw,[]) } Add(Gl_Translate,9048111,826,350) { Z=-0.7 link(onTranslate,7227261:doPushMatrix,[]) } Add(GL_GTools,7227261,868,350) { Point(doPushMatrix) link(onEvent,14055806:doEvent1,[]) } Add(GL_GTools,15964087,1071,511) { Point(doPopMatrix) link(onEvent,2097585:doDisabled,[]) } Add(GL_Options,2097585,1120,504) { Flag=13 link(onEvent,9132977:doDisabled,[]) } Add(GL_Options,9132977,1169,497) { Flag=14 } Add(GL_Rotate,12265681,784,350) { Angle=90 X=-1 link(onRotate,9048111:doTranslate,[]) } Add(Gl_Axis,16459593,742,350) { link(onDraw,12265681:doRotate,[]) }
вариант 2 Add(MultiElementEx,8220800,385,245) { @Hint=#13:mouse control| link(onScale,16459593:doDraw,[(457,251)(457,314)]) link(Data1,15261923:MouseX,[(391,194)(307,194)]) link(Data11,15261923:MouseY,[(398,187)(314,187)]) AddHint(-150,10,81,13,@Hint) } BEGIN_SDK Add(EditMultiEx,15846894,28,21) { WorkCount=#19:doIndex=onMouseDown|18:doIndex1=onMouseUp|20:doIndex2=onMouseMove|21:doIndex3=onMouseWheel|11:doTranslate| EventCount=#7:onScale| DataCount=#12:Data1=MouseX|13:Data11=MouseY| Width=461 Height=403 VOffset=147 HOffset=91 link(doIndex,8258308:doCase,[(61,174)(61,76)]) link(doIndex1,11684466:doCase,[(48,181)(48,41)]) link(doIndex2,1098128:doEvent1,[]) link(doIndex3,11126294:doCalc,[(60,195)(60,314)]) link(doTranslate,5373511:doTranslate,[(49,202)(49,377)]) } Add(Memory,9416452,224,105) { } Add(MathParse,4932197,252,182) { MathStr="%0+%2*%1/150" link(X2,1166028:Var3,[(265,166)]) } Add(SampleDelta,8771856,140,182) { link(onCalcDelta,14086713:doEvent1,[]) link(Data,15846894:Data1,[(146,148)(125,148)]) } Add(MathParse,5728057,217,273) { MathStr="%0-%2*%1/150" link(X2,1166028:Var2,[]) } Add(SampleDelta,4951593,126,273) { link(onCalcDelta,15907108:doEvent1,[]) link(Data,15846894:Data11,[]) } Add(Hub,1098128,84,182) { link(onEvent1,8771856:doCalcDelta,[]) link(onEvent2,4951593:doCalcDelta,[(110,195)(110,279)]) } Add(MathParse,11126294,301,308) { DataCount=1 MathStr="abs(%1/1200 + %0)" Default=1 } Add(Gl_Translate,5373511,252,371) { link(onTranslate,14880543:doScale,[]) link(X,4932197:Result,[]) link(Y,5728057:Result,[(265,338)(223,338)]) } Add(Gl_Scale,14880543,301,371) { link(onScale,10263648:doRotate,[]) link(X,7290120:Var2,[]) link(Y,4344857:Var2,[]) link(Z,4344857:Var3,[(321,355)]) } Add(GetDataEx,1166028,224,161) { link(Data,9416452:Value,[]) } Add(Case,11684466,161,35) { Value=Integer(1) DataOnTrue=Integer(0) link(onNextCase,7999873:doCase,[]) link(onTrue,15745323:doWork1,[(207,48)]) } Add(Case,8258308,161,70) { Value=Integer(1) DataOnTrue=Integer(1) link(onNextCase,3025957:doCase,[]) link(onTrue,15745323:doWork2,[]) } Add(Case,7999873,224,35) { Value=Integer(0) DataOnTrue=Integer(0) link(onTrue,15131741:doWork2,[]) } Add(Case,3025957,224,70) { Value=Integer(0) DataOnTrue=Integer(1) link(onTrue,15131741:doWork3,[(270,83)]) } Add(GL_Rotate,10263648,350,371) { Y=1 link(onRotate,10777756:doRotate,[]) link(Angle,16518524:Result,[]) } Add(GL_Rotate,10777756,392,371) { X=1 link(onRotate,15846894:onScale,[(451,377)(451,174)]) link(Angle,6385056:Result,[]) } Add(HubEx,15745323,203,77) { link(onEvent,9416452:doValue,[(217,83)(217,111)]) } Add(Memory,4305128,399,42) { } Add(HubEx,15131741,266,42) { link(onEvent,4305128:doValue,[]) } Add(MathParse,16518524,350,147) { MathStr="%0+%2*%1" link(X2,372559:Var3,[(363,117)]) } Add(Hub,14086713,196,182) { link(onEvent1,4932197:doCalc,[]) link(onEvent2,16518524:doCalc,[(219,195)(219,153)]) } Add(MathParse,6385056,392,252) { MathStr="%0+%2*%1" link(X2,372559:Var2,[]) } Add(Hub,15907108,182,273) { link(onEvent1,5728057:doCalc,[]) link(onEvent2,6385056:doCalc,[(207,286)(207,258)]) } Add(GetDataEx,372559,399,112) { link(Data,4305128:Value,[]) } Add(GetDataEx,7290120,301,350) { link(Data,11126294:Result,[]) } Add(GetDataEx,4344857,308,350) { Angle=3 link(Data,7290120:Var3,[]) } END_SDK Add(MainForm,15261923,294,98) { Width=1026 Height=862 Color=0 Caption="GL" BorderStyle=1 Point(onResize) Point(Handle) Point(onKeyDown) Point(doWidth) Point(doHeight) Point(MouseX) Point(MouseY) Point(onMouseDown) Point(onMouseUp) Point(onMouseMove) Point(onMouseWheel) link(onCreate,16299401:doEvent1,[]) link(onResize,3213527:doWork1,[(344,125)(344,85)(445,85)]) link(onKeyDown,16509952:doCase,[(335,132)(335,86)(228,86)(228,97)]) link(onMouseDown,8220800:doIndex,[(373,139)(373,251)]) link(onMouseUp,8220800:doIndex1,[(366,146)(366,258)]) link(onMouseMove,8220800:doIndex2,[(359,153)(359,265)]) link(onMouseWheel,8220800:doIndex3,[(352,160)(352,272)]) } Add(GL_Main,12986311,490,112) { TwoSide=0 Point(Fps) link(onInit,2934688:doWork1,[]) link(onViewPort,3410847:doPerspective,[(543,125)(543,178)(227,178)(227,195)]) link(Handle,15261923:Handle,[(496,95)(384,95)(384,202)(300,202)]) } Add(Timer,9506849,462,189) { Interval=33 Enable=1 link(onTimer,1049454:doEvent1,[]) } Add(GL_GTools,771925,553,189) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(Hub,1049454,511,189) { OutCount=5 link(onEvent1,771925:doClear,[]) link(onEvent2,771925:doPushMatrix,[]) link(onEvent3,8220800:doTranslate,[(537,209)(537,235)(339,235)(339,279)]) link(onEvent4,771925:doPopMatrix,[(545,216)(545,209)]) link(onEvent5,12986311:doFlip,[(532,223)(532,160)(478,160)(478,132)]) } Add(Hub,16299401,399,112) { OutCount=5 link(onEvent1,12986311:doInit,[]) link(onEvent2,3213527:doWork2,[]) link(onEvent3,9506849:doTimer,[(437,132)(437,195)]) link(onEvent4,12144461:doWork1,[(464,139)(464,170)(228,170)(228,132)]) link(onEvent5,194619:doEvent1,[(714,146)(714,230)]) } Add(HubEx,3213527,441,119) { link(onEvent,12986311:doViewPort,[]) } Add(GL_Perspective,3410847,238,189) { Fovy=30 link(Aspect,12144461:Var1,[]) } Add(Case,16509952,238,91) { Value=Integer(27) link(onTrue,15261923:doClose,[(279,104)(279,125)]) } Add(MultiElement,12144461,238,126) { @Hint=#92:Onoaiaaeeaaao iieiiye?aiiue ?a?ei i?eei?aiey e niioiioaiea noi?ii i?e BorderStyle - bsNone.| link(onEvent1,15261923:doWidth,[]) link(onEvent2,15261923:doHeight,[]) } BEGIN_SDK Add(EditMulti,14495888,7,7) { EventCount=2 WorkCount=1 VarCount=1 Width=307 Height=277 link(doWork1,9938436:doEvent1,[(31,13)(31,48)]) link(Var1,8872951:Result,[(13,263)(237,263)]) } Add(Screen,7951566,126,28) { EnumMask="%v" link(onEnum,11571689:doOperation,[]) } Add(Math,11571689,168,28) { OpType=39 link(onResult,8277205:doValue,[]) link(Op2,11571689:Result,[(181,16)(213,16)(213,72)(174,72)]) } Add(Screen,8335904,133,161) { EnumMask="%h" link(onEnum,16134009:doOperation,[]) } Add(Hub,9938436,56,42) { OutCount=5 link(onEvent1,7951566:doEnum,[]) link(onEvent2,1329470:doData,[(111,55)(111,76)]) link(onEvent3,400462:doData,[(105,62)(105,118)]) link(onEvent4,8335904:doEnum,[(98,69)(98,181)]) link(onEvent5,8872951:doOperation,[(91,76)(91,216)]) } Add(Math,16134009,175,161) { OpType=39 link(onResult,16143879:doValue,[]) link(Op2,16134009:Result,[(188,149)(220,149)(220,205)(181,205)]) } Add(Memory,8277205,231,28) { } Add(Memory,16143879,238,161) { } Add(Math,8872951,231,210) { OpType=3 link(Op1,8277205:Value,[]) link(Op2,16143879:Value,[]) } Add(DoData,400462,133,112) { link(onEventData,14495888:onEvent2,[(296,118)(296,20)]) link(Data,7951566:Height,[]) } Add(DoData,1329470,126,70) { link(onEventData,14495888:onEvent1,[(290,76)(290,13)]) link(Data,7951566:Width,[]) } END_SDK Add(MultiElement,2934688,553,112) { } BEGIN_SDK Add(EditMulti,4946077,21,21) { WorkCount=1 Width=377 Height=123 link(doWork1,12198675:doInit,[(35,27)(35,83)]) } Add(GL_GluTools,12198675,49,77) { Texture=0 link(onInit,951894:doEnabled,[]) } Add(GL_Options,1101264,133,77) { Flag=8 link(onEvent,5851269:doEnabled,[]) } Add(GL_Options,5851269,175,77) { Flag=2 link(onEvent,6119139:doEnabled,[]) } Add(GL_Light,545688,308,77) { link(onEnabled,545688:doMove,[(348,83)(348,115)(301,115)(301,90)]) link(onMove,7792817:doSet,[]) link(Point,114661:Point3D,[]) } Add(GL_Point3D,114661,308,35) { X=2 Y=2 Z=10 } Add(GL_Options,951894,91,77) { Flag=1 link(onEvent,1101264:doEnabled,[]) } Add(GL_Options,6119139,217,77) { link(onEvent,8199555:doEnabled,[]) } Add(GL_Options,8199555,259,77) { Flag=3 link(onEvent,545688:doEnabled,[]) } Add(GL_Material,7792817,357,84) { Side=2 Diffuse=0 Specular=16777215 Shininess=30 } END_SDK Add(GL_Options,10721375,903,315) { Flag=13 link(onEvent,5557070:doClipPlane,[]) } Add(GL_Cylinder,16722176,854,525) { BaseRadius=0.6 TopRadius=0.15 Height=2 Slices=200 Stacks=1 link(onDraw,15964087:doPopMatrix,[]) } Add(GL_Options,5014616,903,420) { Flag=14 link(onEvent,10183014:doClipPlane,[]) } Add(Hub,14055806,714,308) { OutCount=5 link(onEvent2,10032257:doPushMatrix,[]) link(onEvent4,14823203:doPushMatrix,[(752,335)(752,426)]) link(onEvent5,16679688:doColor,[(739,342)(739,531)]) } Add(GL_ClipPlane,5557070,1176,315) { @Hint=#9:отсечение| Y=1 Point(doX) Point(doY) Point(doZ) Point(doD) link(onClipPlane,11586131:doPopMatrix,[]) } Add(GL_ClipPlane,10183014,1183,420) { @Hint=#9:отсечение| ClipPlane=1 Y=2 Point(doX) Point(doY) Point(doZ) Point(doD) link(onClipPlane,5778868:doPopMatrix,[]) } Add(GL_Color,16679688,777,525) { Color=32896 link(onColor,16722176:doDraw,[]) } Add(Gl_Translate,9048111,623,308) { Z=-0.7 link(onTranslate,7227261:doPushMatrix,[]) } Add(GL_GTools,7227261,665,308) { Point(doPushMatrix) link(onEvent,14055806:doEvent1,[]) } Add(GL_GTools,15964087,903,525) { Point(doPopMatrix) link(onEvent,2097585:doDisabled,[]) } Add(GL_Options,2097585,952,518) { Flag=13 link(onEvent,9132977:doDisabled,[]) } Add(GL_Options,9132977,1001,511) { Flag=14 } Add(GL_Rotate,12265681,581,308) { Angle=90 X=-1 link(onRotate,9048111:doTranslate,[]) } Add(Gl_Axis,16459593,539,308) { link(onDraw,12265681:doRotate,[]) } Add(GL_Rotate,2822712,826,315) { Angle=90 X=1 link(onRotate,10721375:doEnabled,[]) link(Angle,11332657:Position,[]) } Add(ScrollBar,11332657,826,266) { Left=5 Top=10 Width=270 Max=180 Min=-180 Position=-30 } Add(ScrollBar,652387,826,371) { Left=5 Top=40 Width=270 Max=180 Min=-180 Position=-120 } Add(GL_Rotate,803729,826,420) { Angle=90 X=1 link(onRotate,5014616:doEnabled,[]) link(Angle,652387:Position,[]) } Add(GL_GTools,10032257,777,315) { Point(doPushMatrix) link(onEvent,2822712:doRotate,[]) } Add(GL_GTools,11586131,1218,315) { Point(doPopMatrix) } Add(GL_GTools,14823203,777,420) { Point(doPushMatrix) link(onEvent,803729:doRotate,[]) } Add(GL_GTools,5778868,1239,420) { Point(doPopMatrix) } Add(ScrollBar,14197128,1057,343) { Left=280 Top=10 Width=270 Max=180 Min=-180 Position=85 link(onPosition,2435371:doWork2,[]) } Add(Math,11330526,1127,343) { OpType=2 Op2=0.01 Default=0.8 link(onResult,5557070:doD,[]) } Add(ScrollBar,6031582,1057,448) { Left=280 Top=40 Width=270 Max=180 Min=-180 Position=-45 link(onPosition,678648:doWork2,[]) } Add(Math,2642053,1127,448) { OpType=2 Op2=0.01 Default=-0.45 link(onResult,10183014:doD,[]) } Add(DoData,12337687,980,273) { Data=Integer(-45) link(onEventData,678648:doWork1,[(1103,279)]) } Add(Hub,194619,931,224) { link(onEvent1,10976063:doData,[]) link(onEvent2,12337687:doData,[(963,237)(963,279)]) } Add(DoData,10976063,980,224) { Data=Integer(85) link(onEventData,2435371:doWork1,[(1117,230)]) } Add(HubEx,2435371,1113,343) { link(onEvent,11330526:doOperation,[]) } Add(HubEx,678648,1099,448) { link(onEvent,2642053:doOperation,[]) }
|