From: Eduardo DAVILA Date: Tue, 29 Aug 2023 10:19:49 +0000 (+0200) Subject: #3540 Mesh contour with free plane module X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=93723341560ab19e6410ef33bceb7199af47aefb;p=creaMaracasVisu.git #3540 Mesh contour with free plane module --- diff --git a/bbtk/bbs/boxes/MeshContours.bbg b/bbtk/bbs/boxes/MeshContours.bbg index bb80f26..69fec3a 100644 --- a/bbtk/bbs/boxes/MeshContours.bbg +++ b/bbtk/bbs/boxes/MeshContours.bbg @@ -11,75 +11,95 @@ COMPLEXBOX:TRUE COMPLEXBOXNAME:MeshContours PACKAGENAME:creaMaracasVisu COMPLEXOUTPUTS:0 -COMPLEXINPUTS:12 +COMPLEXINPUTS:17 COMPLEX_PORT polydata --230.861513:-13.494768:-900.000000 +-179.362889:72.225524:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT execute --198.058701:-13.350160:-900.000000 +-154.169006:71.947413:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview2D1 --134.477577:-13.765121:-900.000000 +-41.153997:69.802416:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview2D2 --107.689592:-13.903441:-900.000000 +-25.624042:70.487854:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview2D3 --92.197745:-14.041761:-900.000000 +-10.132195:70.349534:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT wxvtkbaseview3D1 --11.349667:-13.612969:-900.000000 +70.715883:70.778326:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT opacity1 --336.839831:-15.459541:-900.000000 +-285.341207:70.260751:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT opacity2 --311.988326:-16.068150:-900.000000 +-260.489702:69.652142:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT opacity3 --283.941628:-16.981062:-900.000000 +-232.443004:68.739230:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT activeContour --160.803429:-14.929316:-900.000000 +-112.181551:71.322005:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT colorForMesh --46.834044:-8.364276:-900.000000 +47.403242:71.488405:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT lineWidth --68.621610:-10.973579:-900.000000 +13.443940:73.417716:-900.000000 FIN_COMPLEX_PORT -BOXES:31 +COMPLEX_PORT +freeplane_transform +140.989735:69.145130:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +172.765902:70.119352:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_boxexecute +118.940198:67.681254:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeContour3D +-90.019371:70.662969:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeContour_FreePlane +-70.730510:70.266188:-900.000000 +FIN_COMPLEX_PORT +BOXES:43 BOX creaVtk:Cutter:Box22 ISEXEC:FALSE --255.532958:-115.101695:-900.000000 --234.317958:-117.601695:-900.000000 +-173.467408:-30.710400:-900.000000 +-152.252408:-33.210400:-900.000000 FIN_BOX BOX creaVtk:Plane:Box23 ISEXEC:FALSE --162.933164:-85.077349:-900.000000 --141.768164:-87.577349:-900.000000 +-164.241942:-21.904072:-900.000000 +-143.076942:-24.404072:-900.000000 PORT Normal:"0 0 1" FIN_BOX BOX vtk:PolyDataToActor:Box24 ISEXEC:FALSE --256.153582:-145.843906:-900.000000 --228.113582:-148.343906:-900.000000 +-174.088032:-61.452611:-900.000000 +-146.048032:-63.952611:-900.000000 PORT Colour:"1 1 1" PORT @@ -90,36 +110,36 @@ FIN_BOX BOX vtk:ImageVtkProperties:Box26 ISEXEC:FALSE --131.630613:-71.885173:-900.000000 --109.095613:-74.385173:-900.000000 +-49.565063:12.506122:-900.000000 +-27.030063:10.006122:-900.000000 FIN_BOX BOX std:MathOperationVector:Box27 ISEXEC:FALSE --126.908349:-79.359456:-900.000000 --102.388349:-81.859456:-900.000000 +-44.842799:5.031839:-900.000000 +-20.322799:2.531839:-900.000000 PORT Type:"2" FIN_BOX BOX creaVtk:Cutter:Box29 ISEXEC:FALSE --166.789353:-115.030874:-900.000000 --145.574353:-117.530874:-900.000000 +-78.710140:-28.188728:-900.000000 +-57.495140:-30.688728:-900.000000 FIN_BOX BOX creaVtk:Plane:Box30 ISEXEC:FALSE --129.774462:-91.701560:-900.000000 --108.609462:-94.201560:-900.000000 +-77.663760:-19.791452:-900.000000 +-56.498760:-22.291452:-900.000000 PORT Normal:"1 0 0" FIN_BOX BOX vtk:PolyDataToActor:Box31 ISEXEC:FALSE --165.607479:-143.024422:-900.000000 --137.567479:-145.524422:-900.000000 +-83.541929:-58.633127:-900.000000 +-55.501929:-61.133127:-900.000000 PORT Colour:"1 1 1" PORT @@ -130,22 +150,22 @@ FIN_BOX BOX creaVtk:Cutter:Box32 ISEXEC:FALSE --93.691287:-144.559533:-900.000000 --72.476287:-147.059533:-900.000000 +-11.875361:-30.463013:-900.000000 +9.339639:-32.963013:-900.000000 FIN_BOX BOX creaVtk:Plane:Box33 ISEXEC:FALSE --88.686880:-131.539384:-900.000000 --67.521880:-134.039384:-900.000000 +-11.863428:-20.687973:-900.000000 +9.301572:-23.187973:-900.000000 PORT Normal:"0 1 0" FIN_BOX BOX vtk:PolyDataToActor:Box34 ISEXEC:FALSE --95.567784:-153.601058:-900.000000 --67.527784:-156.101058:-900.000000 +-13.229918:-57.091665:-900.000000 +14.810082:-59.591665:-900.000000 PORT Colour:"1 1 1" PORT @@ -156,44 +176,44 @@ FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box35 ISEXEC:FALSE --139.080784:-47.612451:-900.000000 --111.800784:-50.112451:-900.000000 +-57.015234:36.778844:-900.000000 +-27.975234:34.278844:-900.000000 FIN_BOX BOX std:MagicBox:Box36 ISEXEC:FALSE --200.267056:-23.399171:-900.000000 --178.667056:-25.899171:-900.000000 +-159.548541:58.012286:-900.000000 +-137.948541:55.512286:-900.000000 FIN_BOX BOX std:MagicBox:Box38 ISEXEC:FALSE --251.307471:-58.309560:-900.000000 --229.707471:-60.809560:-900.000000 +-185.251076:31.852381:-900.000000 +-163.651076:29.352381:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box39 ISEXEC:FALSE --103.447021:-49.610017:-900.000000 --76.167021:-52.110017:-900.000000 +-21.381471:34.781278:-900.000000 +7.658529:32.281278:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box40 ISEXEC:FALSE --69.513133:-46.919231:-900.000000 --42.233133:-49.419231:-900.000000 +12.552417:37.472064:-900.000000 +41.592417:34.972064:-900.000000 FIN_BOX BOX creaMaracasVisu:wxVtkBaseView_Info:Box44 ISEXEC:FALSE --11.979547:-46.964556:-900.000000 -15.300453:-49.464556:-900.000000 +70.086003:37.426739:-900.000000 +99.126003:34.926739:-900.000000 FIN_BOX BOX vtk:PolyDataToActor:Box48 ISEXEC:FALSE --15.713558:-152.281987:-900.000000 -12.326442:-154.781987:-900.000000 +66.351992:-67.890692:-900.000000 +94.391992:-70.390692:-900.000000 PORT Colour:"1 1 1" PORT @@ -204,8 +224,8 @@ FIN_BOX BOX vtk:PolyDataToActor:Box49 ISEXEC:FALSE --7.268940:-159.136559:-900.000000 -20.771060:-161.636559:-900.000000 +74.796610:-74.745264:-900.000000 +102.836610:-77.245264:-900.000000 PORT Colour:"1 1 1" PORT @@ -216,8 +236,8 @@ FIN_BOX BOX vtk:PolyDataToActor:Box50 ISEXEC:FALSE --2.705157:-164.548716:-900.000000 -25.334843:-167.048716:-900.000000 +78.047571:-81.282697:-900.000000 +106.087571:-83.782697:-900.000000 PORT Colour:"1 1 1" PORT @@ -228,78 +248,168 @@ FIN_BOX BOX std:MultipleInputs:Box55 ISEXEC:FALSE --191.492204:-71.150959:-900.000000 --169.522204:-73.650959:-900.000000 +-109.426654:13.240336:-900.000000 +-87.456654:10.740336:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box57 ISEXEC:FALSE --2.561576:-184.701895:-900.000000 -19.463424:-187.201895:-900.000000 +79.691520:-105.749434:-900.000000 +101.716520:-108.249434:-900.000000 PORT Active:"true" FIN_BOX BOX vtk:UpdateRender:Box58 ISEXEC:FALSE --73.806243:-181.922347:-900.000000 --51.781243:-184.422347:-900.000000 +8.259307:-97.531052:-900.000000 +30.284307:-100.031052:-900.000000 PORT Active:"true" FIN_BOX BOX vtk:UpdateRender:Box59 ISEXEC:FALSE --170.765522:-180.588872:-900.000000 --148.740522:-183.088872:-900.000000 +-88.699972:-96.197577:-900.000000 +-66.674972:-98.697577:-900.000000 PORT Active:"true" FIN_BOX BOX vtk:UpdateRender:Box60 ISEXEC:FALSE --253.791671:-181.469186:-900.000000 --231.766671:-183.969186:-900.000000 +-171.726121:-97.077891:-900.000000 +-149.701121:-99.577891:-900.000000 PORT Active:"true" FIN_BOX BOX std:MagicBox:Box68 ISEXEC:FALSE --350.917022:-59.733506:-900.000000 --329.317022:-62.233506:-900.000000 +-308.389126:25.654537:-900.000000 +-286.789126:23.154537:-900.000000 FIN_BOX BOX std:MagicBox:Box69 ISEXEC:FALSE --287.214012:-58.298068:-900.000000 --265.614012:-60.798068:-900.000000 +-244.686116:27.089975:-900.000000 +-223.086116:24.589975:-900.000000 FIN_BOX BOX std:MagicBox:Box70 ISEXEC:FALSE --318.301743:-58.840608:-900.000000 --296.701743:-61.340608:-900.000000 +-275.773847:26.547435:-900.000000 +-254.173847:24.047435:-900.000000 FIN_BOX BOX std:MagicBox:Box46 ISEXEC:FALSE --167.099860:-23.964075:-900.000000 --145.499860:-26.464075:-900.000000 +-116.960204:58.784630:-900.000000 +-95.360204:56.284630:-900.000000 FIN_BOX BOX std:MagicBox:Box47 ISEXEC:FALSE --38.591456:-70.028246:-900.000000 --16.991456:-72.528246:-900.000000 +43.474094:14.468914:-900.000000 +65.074094:11.968914:-900.000000 FIN_BOX BOX std:MagicBox:Box51 ISEXEC:FALSE --64.634469:-27.918927:-900.000000 --43.034469:-30.418927:-900.000000 +15.700219:62.791355:-900.000000 +37.300219:60.291355:-900.000000 +FIN_BOX +BOX +creaVtk:TransformVector:Box52 +ISEXEC:FALSE +135.978136:18.132494:-900.000000 +158.188136:15.632494:-900.000000 +PORT +InX:"0" +PORT +InY:"0" +PORT +InZ:"1" +FIN_BOX +BOX +std:ConcatStrings:Box53 +ISEXEC:FALSE +137.103412:8.380102:-900.000000 +159.863412:5.880102:-900.000000 +PORT +In2:" " +PORT +In4:" " +FIN_BOX +BOX +creaVtk:Plane:Box54 +ISEXEC:FALSE +135.110752:-2.038571:-900.000000 +156.275752:-4.538571:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box56 +ISEXEC:FALSE +143.772420:33.378027:-900.000000 +165.372420:30.878027:-900.000000 +FIN_BOX +BOX +creaVtk:Cutter:Box61 +ISEXEC:FALSE +133.056445:-12.616057:-900.000000 +154.271445:-15.116057:-900.000000 +FIN_BOX +BOX +vtk:PolyDataToActor:Box62 +ISEXEC:FALSE +122.861380:-24.459605:-900.000000 +150.901380:-26.959605:-900.000000 +PORT +Colour:"1 1 1" +PORT +Opacity:"1" +PORT +Representation:"1" +FIN_BOX +BOX +std:MathOperationVector:Box63 +ISEXEC:FALSE +168.518606:7.280919:-900.000000 +193.038606:4.780919:-900.000000 +PORT +Type:"2" +FIN_BOX +BOX +std:MultipleInputs:Box64 +ISEXEC:FALSE +95.496947:-93.795858:-900.000000 +117.466947:-96.295858:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box65 +ISEXEC:FALSE +192.220987:46.906783:-900.000000 +213.820987:44.406783:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box66 +ISEXEC:FALSE +117.876270:40.571502:-900.000000 +139.476270:38.071502:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box67 +ISEXEC:FALSE +-93.410778:58.596914:-900.000000 +-71.810778:56.096914:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box71 +ISEXEC:FALSE +-70.424324:59.354815:-900.000000 +-48.824324:56.854815:-900.000000 FIN_BOX -CONNECTIONS:82 +CONNECTIONS:109 CONNECTION Box23:Out:Box22:ImplicitFunction NumberOfControlPoints:0 @@ -397,9 +507,6 @@ CONNECTION Box44:vtkRenderer:Box57:Renderer NumberOfControlPoints:0 CONNECTION -Box50:BoxChange:Box57:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box40:vtkRenderer:Box58:Renderer NumberOfControlPoints:0 CONNECTION @@ -546,4 +653,88 @@ NumberOfControlPoints:0 CONNECTION Box46:Out:Box57:Active NumberOfControlPoints:0 +CONNECTION +Box52:OutX:Box53:In1 +NumberOfControlPoints:0 +CONNECTION +Box52:OutY:Box53:In3 +NumberOfControlPoints:0 +CONNECTION +Box52:OutZ:Box53:In5 +NumberOfControlPoints:0 +CONNECTION +Box53:Out:Box54:Normal +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box56:In +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box52:Transform +NumberOfControlPoints:0 +CONNECTION +Box54:Out:Box61:ImplicitFunction +NumberOfControlPoints:0 +CONNECTION +Box38:Out:Box61:In +NumberOfControlPoints:0 +CONNECTION +Box61:Out:Box62:In +NumberOfControlPoints:0 +CONNECTION +Box47:Out:Box62:Colour +NumberOfControlPoints:0 +CONNECTION +Box44:vtkRenderer:Box62:Renderer +NumberOfControlPoints:0 +CONNECTION +Box26:Spacing:Box63:In1 +NumberOfControlPoints:0 +CONNECTION +Box63:Out:Box54:Origin +NumberOfControlPoints:0 +CONNECTION +Box50:BoxChange:Box64:In1 +NumberOfControlPoints:0 +CONNECTION +Box62:BoxChange:Box64:In2 +NumberOfControlPoints:0 +CONNECTION +Box64:BoxChange:Box57:BoxExecute +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box65:In +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box63:In0 +NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box66:In +NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box62:BoxExecute +NumberOfControlPoints:0 +CONNECTION +activeContour3D:activeContour3D:Box67:In +NumberOfControlPoints:0 +CONNECTION +activeContour_FreePlane:activeContour_FreePlane:Box71:In +NumberOfControlPoints:0 +CONNECTION +Box71:Out:Box61:Active +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box48:LineWidth +NumberOfControlPoints:0 +CONNECTION +Box51:Out:Box62:LineWidth +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box48:Active +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box49:Active +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box50:Active +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/MeshContours.bbs b/bbtk/bbs/boxes/MeshContours.bbs index b6e433b..b0d32e7 100644 --- a/bbtk/bbs/boxes/MeshContours.bbs +++ b/bbtk/bbs/boxes/MeshContours.bbs @@ -105,6 +105,39 @@ new std:MagicBox Box47 new std:MagicBox Box51 +new creaVtk:TransformVector Box52 + set Box52.InX "0" + set Box52.InY "0" + set Box52.InZ "1" + +new std:ConcatStrings Box53 + set Box53.In2 " " + set Box53.In4 " " + +new creaVtk:Plane Box54 + +new std:MagicBox Box56 + +new creaVtk:Cutter Box61 + +new vtk:PolyDataToActor Box62 + set Box62.Colour "1 1 1" + set Box62.Opacity "1" + set Box62.Representation "1" + +new std:MathOperationVector Box63 + set Box63.Type "2" + +new std:MultipleInputs Box64 + +new std:MagicBox Box65 + +new std:MagicBox Box66 + +new std:MagicBox Box67 + +new std:MagicBox Box71 + connect Box23.Out Box22.ImplicitFunction connect Box22.BoxChange Box24.BoxExecute @@ -138,7 +171,6 @@ connect Box36.BoxChange Box55.In1 connect Box55.BoxChange Box22.BoxExecute connect Box55.BoxChange Box48.BoxExecute connect Box44.vtkRenderer Box57.Renderer -connect Box50.BoxChange Box57.BoxExecute connect Box40.vtkRenderer Box58.Renderer connect Box34.BoxChange Box58.BoxExecute connect Box39.vtkRenderer Box59.Renderer @@ -176,6 +208,29 @@ connect Box46.Out Box60.Active connect Box46.Out Box59.Active connect Box46.Out Box58.Active connect Box46.Out Box57.Active +connect Box52.OutX Box53.In1 +connect Box52.OutY Box53.In3 +connect Box52.OutZ Box53.In5 +connect Box53.Out Box54.Normal +connect Box56.Out Box52.Transform +connect Box54.Out Box61.ImplicitFunction +connect Box38.Out Box61.In +connect Box61.Out Box62.In +connect Box47.Out Box62.Colour +connect Box44.vtkRenderer Box62.Renderer +connect Box26.Spacing Box63.In1 +connect Box63.Out Box54.Origin +connect Box50.BoxChange Box64.In1 +connect Box62.BoxChange Box64.In2 +connect Box64.BoxChange Box57.BoxExecute +connect Box65.Out Box63.In0 +connect Box66.Out Box62.BoxExecute +connect Box71.Out Box61.Active +connect Box51.Out Box48.LineWidth +connect Box51.Out Box62.LineWidth +connect Box67.Out Box48.Active +connect Box67.Out Box49.Active +connect Box67.Out Box50.Active # Complex input ports input polydata Box38.In " " @@ -190,6 +245,11 @@ input opacity1 Box68.In " " input activeContour Box46.In " " input colorForMesh Box47.In " " input lineWidth Box51.In " " +input freeplane_transform Box56.In " " +input freeplane_point Box65.In " " +input freeplane_boxexecute Box66.In " " +input activeContour3D Box67.In " " +input activeContour_FreePlane Box71.In " " # Complex output ports diff --git a/bbtk/bbs/boxes/MeshContours_Interface.bbg b/bbtk/bbs/boxes/MeshContours_Interface.bbg index c1d0bae..4dbc51d 100644 --- a/bbtk/bbs/boxes/MeshContours_Interface.bbg +++ b/bbtk/bbs/boxes/MeshContours_Interface.bbg @@ -10,14 +10,14 @@ AUTHOR:Author ?? COMPLEXBOX:TRUE COMPLEXBOXNAME:MeshContours_Interface PACKAGENAME:creaMaracasVisu -COMPLEXOUTPUTS:5 +COMPLEXOUTPUTS:7 COMPLEX_PORT widget -49.254177:-20.075001:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT active --94.298311:-20.465535:-900.000000 +-113.459846:-19.936211:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT LineWidth @@ -25,37 +25,45 @@ LineWidth FIN_COMPLEX_PORT COMPLEX_PORT widgetA --73.026620:-19.109661:-900.000000 +-73.132485:-19.427255:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT widgetB -68.368567:-19.226112:-900.000000 FIN_COMPLEX_PORT +COMPLEX_PORT +active3D +-109.146641:-19.584994:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +activeFreePlane +-104.700318:-19.584994:-900.000000 +FIN_COMPLEX_PORT COMPLEXINPUTS:0 -BOXES:3 +BOXES:6 BOX wx:LayoutLine:Box54 ISEXEC:FALSE --50.756973:3.077965:-900.000000 -33.320000:0.577965:-900.000000 +-47.686893:1.807587:-900.000000 +-14.366893:-0.692413:-900.000000 PORT Orientation:"H" FIN_BOX BOX wx:CheckBox:Box07 ISEXEC:FALSE --99.368837:21.996475:-900.000000 --77.738837:19.496475:-900.000000 +-112.496076:31.312580:-900.000000 +-90.866076:28.812580:-900.000000 PORT In:"false" PORT -Title:"Contour" +Title:"2D" FIN_BOX BOX wx:ComboBox:Box02 ISEXEC:FALSE --76.848376:21.713002:-900.000000 --50.568376:19.213002:-900.000000 +-25.821527:31.452567:-900.000000 +0.458473:28.952567:-900.000000 PORT In:"0.5 1.0 1.5 2.0 2.5" PORT @@ -63,26 +71,69 @@ Selection:"3" PORT Title:"Contour width " FIN_BOX -CONNECTIONS:7 +BOX +wx:LayoutLine:Box03 +ISEXEC:FALSE +-90.324578:15.641585:-900.000000 +-57.004578:13.141585:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +wx:CheckBox:Box04 +ISEXEC:FALSE +-87.803728:30.960690:-900.000000 +-66.173728:28.460690:-900.000000 +PORT +In:"false" +PORT +Title:"3D" +FIN_BOX +BOX +wx:CheckBox:Box05 +ISEXEC:FALSE +-64.381758:31.138125:-900.000000 +-42.751758:28.638125:-900.000000 +PORT +In:"false" +PORT +Title:"FP" +FIN_BOX +CONNECTIONS:12 CONNECTION Box54:Widget:widget:widget NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box54:Widget3 +Box02:Widget:Box54:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box02:OutString:LineWidth:LineWidth +NumberOfControlPoints:0 +CONNECTION +Box02:Widget:widgetB:widgetB NumberOfControlPoints:0 CONNECTION Box07:Out:active:active NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box54:Widget4 +Box03:Widget:widgetA:widgetA NumberOfControlPoints:0 CONNECTION -Box02:OutString:LineWidth:LineWidth +Box07:Widget:Box03:Widget1 NumberOfControlPoints:0 CONNECTION -Box07:Widget:widgetA:widgetA +Box03:Widget:Box54:Widget2 NumberOfControlPoints:0 CONNECTION -Box02:Widget:widgetB:widgetB +Box04:Widget:Box03:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box05:Widget:Box03:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box04:Out:active3D:active3D +NumberOfControlPoints:0 +CONNECTION +Box05:Out:activeFreePlane:activeFreePlane NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/MeshContours_Interface.bbs b/bbtk/bbs/boxes/MeshContours_Interface.bbs index 35db93a..7187dad 100644 --- a/bbtk/bbs/boxes/MeshContours_Interface.bbs +++ b/bbtk/bbs/boxes/MeshContours_Interface.bbs @@ -19,25 +19,41 @@ new wx:LayoutLine Box54 new wx:CheckBox Box07 set Box07.In "false" - set Box07.Title "Contour" + set Box07.Title "2D" new wx:ComboBox Box02 set Box02.In "0.5 1.0 1.5 2.0 2.5" set Box02.Selection "3" set Box02.Title "Contour width " +new wx:LayoutLine Box03 + set Box03.Orientation "H" + +new wx:CheckBox Box04 + set Box04.In "false" + set Box04.Title "3D" + +new wx:CheckBox Box05 + set Box05.In "false" + set Box05.Title "FP" + -connect Box07.Widget Box54.Widget3 connect Box02.Widget Box54.Widget4 +connect Box07.Widget Box03.Widget1 +connect Box03.Widget Box54.Widget2 +connect Box04.Widget Box03.Widget2 +connect Box05.Widget Box03.Widget3 # Complex input ports # Complex output ports output widget Box54.Widget " " -output active Box07.Out " " output LineWidth Box02.OutString " " -output widgetA Box07.Widget " " output widgetB Box02.Widget " " +output active Box07.Out " " +output widgetA Box03.Widget " " +output active3D Box04.Out " " +output activeFreePlane Box05.Out " " endefine diff --git a/bbtk/bbs/boxes/MeshContours_Widget.bbg b/bbtk/bbs/boxes/MeshContours_Widget.bbg index 89b1917..ab777ec 100644 --- a/bbtk/bbs/boxes/MeshContours_Widget.bbg +++ b/bbtk/bbs/boxes/MeshContours_Widget.bbg @@ -27,14 +27,14 @@ COMPLEX_PORT _widgetB -87.656081:-38.746528:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:8 +COMPLEXINPUTS:11 COMPLEX_PORT _polydata --141.489226:31.493286:-900.000000 +-217.549578:37.259594:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT _execute --167.577089:32.646366:-900.000000 +-243.637441:38.412674:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT _wxvtkbaseview2D1 @@ -54,24 +54,36 @@ _wxvtkbaseview3D1 FIN_COMPLEX_PORT COMPLEX_PORT colorMesh --194.499798:33.358808:-900.000000 +-270.560150:39.125116:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT active_widget --105.058713:31.048561:-900.000000 +-104.903716:33.838502:-900.000000 FIN_COMPLEX_PORT -BOXES:11 +COMPLEX_PORT +Freeplane_point +-163.619075:35.112091:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +Freeplane_transform +-141.884949:35.215866:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +Freeplane_boxexecute +-186.889539:36.415385:-900.000000 +FIN_COMPLEX_PORT +BOXES:17 BOX std:MagicBox:Box36 ISEXEC:FALSE --173.343022:20.256911:-900.000000 --151.743022:17.756911:-900.000000 +-249.403374:26.023219:-900.000000 +-227.803374:23.523219:-900.000000 FIN_BOX BOX std:MagicBox:Box38 ISEXEC:FALSE --145.847430:20.450622:-900.000000 --124.247430:17.950622:-900.000000 +-221.907782:26.216930:-900.000000 +-200.307782:23.716930:-900.000000 FIN_BOX BOX std:MagicBox:Box45 @@ -100,20 +112,20 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Interface:Box52 ISEXEC:FALSE --103.389784:18.691834:-900.000000 --80.399784:16.191834:-900.000000 +-109.744649:19.156824:-900.000000 +-86.754649:16.656824:-900.000000 FIN_BOX BOX creaMaracasVisu:MeshContours:Box53 ISEXEC:FALSE -81.898085:-25.835690:-900.000000 --59.138085:-28.335690:-900.000000 +-50.338085:-28.335690:-900.000000 FIN_BOX BOX std:MagicBox:Box08 ISEXEC:FALSE --197.075110:20.283783:-900.000000 --175.475110:17.783783:-900.000000 +-273.135462:26.050091:-900.000000 +-251.535462:23.550091:-900.000000 FIN_BOX BOX std:ConcatStrings:Box09 @@ -131,7 +143,47 @@ ISEXEC:FALSE PORT In2:"1" FIN_BOX -CONNECTIONS:25 +BOX +std:MagicBox:Box11 +ISEXEC:FALSE +-168.547366:27.369711:-900.000000 +-146.947366:24.869711:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box12 +ISEXEC:FALSE +-145.211439:27.054230:-900.000000 +-123.611439:24.554230:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box13 +ISEXEC:FALSE +-191.182950:27.221081:-900.000000 +-169.582950:24.721081:-900.000000 +FIN_BOX +BOX +std:Mul:Box14 +ISEXEC:FALSE +-60.453706:3.998666:-900.000000 +-39.478706:1.498666:-900.000000 +PORT +In2:"1" +FIN_BOX +BOX +std:MagicBox:Box15 +ISEXEC:FALSE +-108.651884:27.344423:-900.000000 +-87.051884:24.844423:-900.000000 +FIN_BOX +BOX +std:Mul:Box16 +ISEXEC:FALSE +-36.904698:4.176100:-900.000000 +-15.929698:1.676100:-900.000000 +PORT +In2:"1" +FIN_BOX +CONNECTIONS:38 CONNECTION _polydata:_polydata:Box38:In NumberOfControlPoints:0 @@ -205,6 +257,45 @@ CONNECTION Box52:active:Box10:In1 NumberOfControlPoints:0 CONNECTION -active_widget:active_widget:Box10:In2 +Freeplane_point:Freeplane_point:Box11:In +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box53:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Freeplane_transform:Freeplane_transform:Box12:In +NumberOfControlPoints:0 +CONNECTION +Box12:Out:Box53:freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Freeplane_boxexecute:Freeplane_boxexecute:Box13:In +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box53:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +active_widget:active_widget:Box15:In +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box10:In2 +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box14:In2 +NumberOfControlPoints:0 +CONNECTION +Box52:activeFreePlane:Box14:In1 +NumberOfControlPoints:0 +CONNECTION +Box14:Out:Box53:activeContour_FreePlane +NumberOfControlPoints:0 +CONNECTION +Box15:Out:Box16:In2 +NumberOfControlPoints:0 +CONNECTION +Box52:active3D:Box16:In1 +NumberOfControlPoints:0 +CONNECTION +Box16:Out:Box53:activeContour3D NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/MeshContours_Widget.bbs b/bbtk/bbs/boxes/MeshContours_Widget.bbs index 6447a7a..6507403 100644 --- a/bbtk/bbs/boxes/MeshContours_Widget.bbs +++ b/bbtk/bbs/boxes/MeshContours_Widget.bbs @@ -39,6 +39,20 @@ new std:ConcatStrings Box09 new std:Mul Box10 set Box10.In2 "1" +new std:MagicBox Box11 + +new std:MagicBox Box12 + +new std:MagicBox Box13 + +new std:Mul Box14 + set Box14.In2 "1" + +new std:MagicBox Box15 + +new std:Mul Box16 + set Box16.In2 "1" + connect Box38.Out Box53.polydata connect Box45.Out Box53.wxvtkbaseview2D1 @@ -53,6 +67,16 @@ connect Box09.Out Box53.opacity3 connect Box52.LineWidth Box53.lineWidth connect Box10.Out Box53.activeContour connect Box52.active Box10.In1 +connect Box11.Out Box53.freeplane_point +connect Box12.Out Box53.freeplane_transform +connect Box13.Out Box53.freeplane_boxexecute +connect Box15.Out Box10.In2 +connect Box15.Out Box14.In2 +connect Box52.activeFreePlane Box14.In1 +connect Box14.Out Box53.activeContour_FreePlane +connect Box15.Out Box16.In2 +connect Box52.active3D Box16.In1 +connect Box16.Out Box53.activeContour3D # Complex input ports input _polydata Box38.In " " @@ -62,7 +86,10 @@ input _wxvtkbaseview2D3 Box47.In " " input _wxvtkbaseview3D1 Box51.In " " input _execute Box36.In " " input colorMesh Box08.In " " -input active_widget Box10.In2 " " +input Freeplane_point Box11.In " " +input Freeplane_transform Box12.In " " +input Freeplane_boxexecute Box13.In " " +input active_widget Box15.In " " # Complex output ports output _widget Box52.widget " " diff --git a/bbtk/bbs/boxes/Mesh_Application.bbg b/bbtk/bbs/boxes/Mesh_Application.bbg index ca0feb7..2ac58e9 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbg +++ b/bbtk/bbs/boxes/Mesh_Application.bbg @@ -167,7 +167,7 @@ In9:"0 0 0 0 0 0 0 0" FIN_BOX BOX std:GetVectorStringElement:Box24 -ISEXEC:FALSE +ISEXEC:TRUE 56.321765:-38.944139:-900.000000 79.276765:-41.444139:-900.000000 PORT @@ -254,8 +254,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyDeformation:Box47 ISEXEC:FALSE -282.409981:5.887543:-900.000000 -305.899981:3.387543:-900.000000 +283.103901:6.495192:-900.000000 +306.593901:3.995192:-900.000000 PORT title:"Deformation" FIN_BOX @@ -420,8 +420,8 @@ FIN_BOX BOX creaMaracasVisu:Mesh_tool_ApplyExternalMask:Box73 ISEXEC:FALSE -390.370084:5.633070:-900.000000 -413.945084:3.133070:-900.000000 +353.675395:5.882694:-900.000000 +377.250395:3.382694:-900.000000 PORT title:"External Mask" FIN_BOX @@ -861,7 +861,7 @@ ISEXEC:FALSE -80.144058:-47.284744:-900.000000 -58.064058:-49.784744:-900.000000 FIN_BOX -CONNECTIONS:254 +CONNECTIONS:260 CONNECTION Box08:MeshBase:Box15:polydata NumberOfControlPoints:0 @@ -1624,4 +1624,22 @@ NumberOfControlPoints:0 CONNECTION Box125:BoxChange:Box137:BoxExecute NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box17:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box17:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box17:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:actualPoint:Box47:freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box117:boxChange:Box47:freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box117:transform:Box47:freeplane_transform +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_Application.bbs b/bbtk/bbs/boxes/Mesh_Application.bbs index 6236d90..3b3fb3d 100644 --- a/bbtk/bbs/boxes/Mesh_Application.bbs +++ b/bbtk/bbs/boxes/Mesh_Application.bbs @@ -557,6 +557,12 @@ connect Box47.ChangePosition Box139.In2 connect Box140.BoxChange Box47.boxChange connect Box117.boxChange Box10.freeplane_boxexecute connect Box125.BoxChange Box137.BoxExecute +connect Box117.actualPoint Box17.Freeplane_point +connect Box117.boxChange Box17.Freeplane_boxexecute +connect Box117.transform Box17.Freeplane_transform +connect Box117.actualPoint Box47.freeplane_point +connect Box117.boxChange Box47.freeplane_boxexecute +connect Box117.transform Box47.freeplane_transform # Complex input ports input MeshIn Box56.In " " @@ -575,5 +581,6 @@ input BoxChange_ViewerNV Box126.In " " output WidgetOut Box11.Widget " " output MeshOut Box94.Out " " +exec Box24 endefine diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg index 0a9076b..8d93bc8 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbg @@ -23,7 +23,7 @@ COMPLEX_PORT ChangePosition -388.206672:-167.057588:-900.000000 FIN_COMPLEX_PORT -COMPLEXINPUTS:9 +COMPLEXINPUTS:12 COMPLEX_PORT boxChange 14.583096:139.152887:-900.000000 @@ -60,7 +60,19 @@ COMPLEX_PORT meshmanagermodel -131.800179:136.578564:-900.000000 FIN_COMPLEX_PORT -BOXES:105 +COMPLEX_PORT +freeplane_boxexecute +-358.925737:131.530041:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_point +-339.272473:131.776020:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +freeplane_transform +-316.259717:131.106446:-900.000000 +FIN_COMPLEX_PORT +BOXES:107 BOX wx:LayoutLine:Box08 ISEXEC:FALSE @@ -196,8 +208,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box72 ISEXEC:FALSE --116.287868:-80.428989:-900.000000 --93.492868:-82.928989:-900.000000 +-345.426944:43.445403:-900.000000 +-322.631944:40.945403:-900.000000 PORT colorMesh:"0 1 1" FIN_BOX @@ -258,8 +270,8 @@ FIN_BOX BOX wx:CheckBox:Box50 ISEXEC:FALSE --394.807418:132.862997:-900.000000 --373.177418:130.362997:-900.000000 +-419.659658:133.228471:-900.000000 +-398.029658:130.728471:-900.000000 PORT Title:"Active" FIN_BOX @@ -502,8 +514,8 @@ FIN_BOX BOX wx:RadioButton:Box104 ISEXEC:FALSE --401.448024:96.315673:-900.000000 --364.608024:93.815673:-900.000000 +-426.300264:96.681147:-900.000000 +-389.460264:94.181147:-900.000000 PORT In0:"Magenta" PORT @@ -608,26 +620,16 @@ FIN_BOX BOX std:ConcatStrings:Box117 ISEXEC:FALSE --479.325602:127.929555:-900.000000 --456.565602:125.429555:-900.000000 +-504.177842:128.295029:-900.000000 +-481.417842:125.795029:-900.000000 PORT In1:"true" FIN_BOX BOX std:Mul:Box118 ISEXEC:FALSE --474.686679:98.376440:-900.000000 --453.601679:95.876440:-900.000000 -FIN_BOX -BOX -std:ReplaceCleanString:Box119 -ISEXEC:FALSE --470.301977:115.572714:-900.000000 --447.636977:113.072714:-900.000000 -PORT -Replace:"1" -PORT -Search:"true" +-499.538919:98.741914:-900.000000 +-478.453919:96.241914:-900.000000 FIN_BOX BOX creaVtk:MeshManager_tool:Box121 @@ -893,7 +895,25 @@ ISEXEC:FALSE -386.515882:-130.316341:-900.000000 -364.435882:-132.816341:-900.000000 FIN_BOX -CONNECTIONS:208 +BOX +std:MagicBox:Box163 +ISEXEC:FALSE +-366.332241:124.952323:-900.000000 +-344.622241:122.452323:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box164 +ISEXEC:FALSE +-342.846539:124.961354:-900.000000 +-321.136539:122.461354:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box165 +ISEXEC:FALSE +-319.639735:124.823484:-900.000000 +-297.929735:122.323484:-900.000000 +FIN_BOX +CONNECTIONS:213 CONNECTION Box08:Widget:widget:widget NumberOfControlPoints:0 @@ -1237,12 +1257,6 @@ CONNECTION Box69:Out:Box114:wxVtkBaseView3 NumberOfControlPoints:0 CONNECTION -Box117:Out:Box119:In -NumberOfControlPoints:0 -CONNECTION -Box119:Out:Box118:In1 -NumberOfControlPoints:0 -CONNECTION Box50:Out:Box118:In2 NumberOfControlPoints:0 CONNECTION @@ -1518,4 +1532,25 @@ NumberOfControlPoints:0 CONNECTION Box113:BoxChange:Box73:In5 NumberOfControlPoints:0 +CONNECTION +freeplane_boxexecute:freeplane_boxexecute:Box163:In +NumberOfControlPoints:0 +CONNECTION +freeplane_point:freeplane_point:Box164:In +NumberOfControlPoints:0 +CONNECTION +freeplane_transform:freeplane_transform:Box165:In +NumberOfControlPoints:0 +CONNECTION +Box163:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box164:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box165:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box117:Out:Box118:In1 +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs index c3da0b7..b259d4c 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplyDeformation.bbs @@ -225,10 +225,6 @@ new std:ConcatStrings Box117 new std:Mul Box118 -new std:ReplaceCleanString Box119 - set Box119.Replace "1" - set Box119.Search "true" - new creaVtk:MeshManager_tool Box121 set Box121.Tool "35" @@ -330,6 +326,12 @@ new std:MultipleInputs Box160 new std:MultipleInputs Box162 +new std:MagicBox Box163 + +new std:MagicBox Box164 + +new std:MagicBox Box165 + connect Box66.Out Box11.Renderer connect Box66.Out Box37.render @@ -435,8 +437,6 @@ connect Box50.BoxChange Box114.BoxExecute connect Box64.Out Box114.wxVtkBaseView connect Box65.Out Box114.wxVtkBaseView2 connect Box69.Out Box114.wxVtkBaseView3 -connect Box117.Out Box119.In -connect Box119.Out Box118.In1 connect Box50.Out Box118.In2 connect Box37.vtkprop3D Box92.Prop3D connect Box97.BoxChange Box59.In3 @@ -527,6 +527,10 @@ connect Box54.BoxChange Box162.In3 connect Box58.BoxChange Box162.In5 connect Box117.Out Box72.active_widget connect Box113.BoxChange Box73.In5 +connect Box163.BoxChange Box72.Freeplane_boxexecute +connect Box164.Out Box72.Freeplane_point +connect Box165.Out Box72.Freeplane_transform +connect Box117.Out Box118.In1 # Complex input ports input mesh Box67.In " " @@ -538,6 +542,9 @@ input wxvtkbaseview2 Box64.In " " input wxvtkbaseview3 Box65.In " " input wxvtkbaseview4 Box69.In " " input wxvtkbaseview1 Box71.In " " +input freeplane_boxexecute Box163.In " " +input freeplane_point Box164.In " " +input freeplane_transform Box165.In " " # Complex output ports output widget Box08.Widget " " diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg index 933042c..5ddd3f6 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg @@ -70,7 +70,7 @@ freeplane_point FIN_COMPLEX_PORT COMPLEX_PORT freeplane_boxexecute --429.956822:123.049578:-900.000000 +-375.039600:125.091954:-900.000000 FIN_COMPLEX_PORT BOXES:107 BOX @@ -400,8 +400,8 @@ FIN_BOX BOX creaMaracasVisu:MeshContours_Widget:Box62 ISEXEC:FALSE --230.753096:-6.035420:-900.000000 --207.958096:-8.535420:-900.000000 +-232.400613:-9.330453:-900.000000 +-209.605613:-11.830453:-900.000000 PORT colorMesh:"1 1 0" FIN_BOX @@ -850,8 +850,8 @@ FIN_BOX BOX std:ConcatStrings:Box149 ISEXEC:FALSE --380.927327:60.384234:-900.000000 --358.167327:57.884234:-900.000000 +-377.523367:63.561263:-900.000000 +-354.763367:61.061263:-900.000000 FIN_BOX BOX creaMaracasVisu:InteractorStyleMaracas_Model:Box150 @@ -916,16 +916,16 @@ FIN_BOX BOX wx:CheckBox:Box157 ISEXEC:FALSE --475.362673:60.923677:-900.000000 --453.622673:58.423677:-900.000000 +-476.497326:61.831400:-900.000000 +-454.757326:59.331400:-900.000000 PORT Title:"Contour free plane" FIN_BOX BOX std:MagicBox:Box158 ISEXEC:FALSE --435.728781:115.009171:-900.000000 --414.018781:112.509171:-900.000000 +-403.731557:113.420656:-900.000000 +-382.021557:110.920656:-900.000000 FIN_BOX BOX vtk:UpdateRender:Box161 @@ -936,10 +936,10 @@ FIN_BOX BOX std:Mul:Box162 ISEXEC:FALSE --487.258059:52.832968:-900.000000 --466.173059:50.332968:-900.000000 +-485.442614:52.606037:-900.000000 +-464.357614:50.106037:-900.000000 FIN_BOX -CONNECTIONS:213 +CONNECTIONS:221 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -1579,4 +1579,28 @@ NumberOfControlPoints:0 CONNECTION Box157:Out:Box162:In1 NumberOfControlPoints:0 +CONNECTION +Box158:BoxChange:Box62:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box158:BoxChange:Box72:Freeplane_boxexecute +NumberOfControlPoints:0 +CONNECTION +Box142:Out:Box62:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box142:Out:Box72:Freeplane_point +NumberOfControlPoints:0 +CONNECTION +Box141:Out:Box62:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box141:Out:Box72:Freeplane_transform +NumberOfControlPoints:0 +CONNECTION +Box149:Out:Box62:active_widget +NumberOfControlPoints:0 +CONNECTION +Box149:Out:Box72:active_widget +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs index 4e10fcf..32e1106 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs @@ -543,6 +543,14 @@ connect Box162.Out Box161.Active connect Box162.Out Box155.Active connect Box149.Out Box162.In2 connect Box157.Out Box162.In1 +connect Box158.BoxChange Box62.Freeplane_boxexecute +connect Box158.BoxChange Box72.Freeplane_boxexecute +connect Box142.Out Box62.Freeplane_point +connect Box142.Out Box72.Freeplane_point +connect Box141.Out Box62.Freeplane_transform +connect Box141.Out Box72.Freeplane_transform +connect Box149.Out Box62.active_widget +connect Box149.Out Box72.active_widget # Complex input ports input mesh Box67.In " "