]> Creatis software - creaMaracasVisu.git/commitdiff
Clean Code
authorPablo Garzon <gapablo2001@gmail.com>
Thu, 11 May 2023 12:48:13 +0000 (14:48 +0200)
committerPablo Garzon <gapablo2001@gmail.com>
Thu, 11 May 2023 12:48:13 +0000 (14:48 +0200)
bbtk/bbs/boxes/Mesh_Application.bbg
bbtk/bbs/boxes/Mesh_Application.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyCut.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg
bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs
bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg
bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs

index cc19821f62e2bfb55f1f993ef1806f664b045c33..f99f760f9d751f6fa04a34c5d2acdf11033fc0c7 100644 (file)
@@ -56,7 +56,7 @@ COMPLEX_PORT
 wxvtkbaseview4_In
 206.922345:93.364879:-900.000000
 FIN_COMPLEX_PORT
-BOXES:56
+BOXES:61
 BOX
 creaMaracasVisu:ImageChangeInformation:Box07
 ISEXEC:FALSE
@@ -72,8 +72,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:PolyDataToActor_Widget:Box15
 ISEXEC:FALSE
--104.267222:-30.685106:-900.000000
--81.247222:-33.185106:-900.000000
+-102.522727:-31.382904:-900.000000
+-79.502727:-33.882904:-900.000000
 PORT
 color:"1 0.7 0.7"
 PORT
@@ -499,7 +499,51 @@ ISEXEC:FALSE
 143.256695:-61.192764:-900.000000
 166.861695:-63.692764:-900.000000
 FIN_BOX
-CONNECTIONS:169
+BOX
+wx:ComboBox:Box79
+ISEXEC:FALSE
+-68.158002:-77.391983:-900.000000
+-41.878002:-79.891983:-900.000000
+PORT
+In:"mesh-0"
+FIN_BOX
+BOX
+wx:LayoutLine:Box80
+ISEXEC:FALSE
+-78.280715:-106.840342:-900.000000
+-44.960715:-109.340342:-900.000000
+PORT
+Orientation:"H"
+PORT
+WinTitle:"Mesh Config"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box81
+ISEXEC:FALSE
+-56.622203:-85.152971:-900.000000
+-34.122203:-87.652971:-900.000000
+PORT
+Tool:"60"
+FIN_BOX
+BOX
+wx:CommandButton:Box82
+ISEXEC:FALSE
+-20.945142:-86.889440:-900.000000
+1.329858:-89.389440:-900.000000
+PORT
+Label:"Delete"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box83
+ISEXEC:FALSE
+-22.374052:-96.850958:-900.000000
+0.125948:-99.350958:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+Tool:"70"
+FIN_BOX
+CONNECTIONS:179
 CONNECTION
 Box08:MeshBase:Box15:polydata
 NumberOfControlPoints:0
@@ -696,9 +740,6 @@ CONNECTION
 Box07:Out:Box48:In
 NumberOfControlPoints:0
 CONNECTION
-Box56:Out:Box08:Mesh
-NumberOfControlPoints:0
-CONNECTION
 Box47:ExportIsActive_concatstring_tool:Box57:Box_ConcatString
 NumberOfControlPoints:0
 CONNECTION
@@ -1007,4 +1048,37 @@ NumberOfControlPoints:0
 CONNECTION
 Box12:BoxChange:Box76:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+Box79:Widget:Box80:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box56:Out:Box08:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshNames:Box79:In
+NumberOfControlPoints:0
+CONNECTION
+Box80:Widget:Box20:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box08:BoxChange:Box79:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box79:OutString:Box81:StringParam
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box81:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box79:BoxChange:Box81:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box82:Widget:Box80:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box82:BoxChange:Box83:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box08:MeshManagerModel:Box83:MeshManagerModel
+NumberOfControlPoints:0
 APP_END
index 6d61ac4ccb85aaba139189704948eb10a54bda6b..8cb0df65cabbfe7a7a9c8b88cb1219eea83fa549 100644 (file)
@@ -183,6 +183,23 @@ new std:GetVectorStringElement Box75
 
 new creaMaracasVisu:InteractorStyleMaracas_Model Box76
 
+new wx:ComboBox Box79
+  set Box79.In "mesh-0"
+
+new wx:LayoutLine Box80
+  set Box80.Orientation "H"
+  set Box80.WinTitle "Mesh Config"
+
+new creaVtk:MeshManager_tool Box81
+  set Box81.Tool "60"
+
+new wx:CommandButton Box82
+  set Box82.Label "Delete"
+
+new creaVtk:MeshManager_tool Box83
+  set Box83.BoxProcessMode "Manual"
+  set Box83.Tool "70"
+
 
 connect Box08.MeshBase Box15.polydata
 connect Box08.MeshTemp Box10.mesh
@@ -249,7 +266,6 @@ connect Box55.BoxChange Box48.BoxExecute
 connect Box13.boxchange Box55.In2
 connect Box13.PositionWorld Box48.Origin
 connect Box07.Out Box48.In
-connect Box56.Out Box08.Mesh
 connect Box47.ExportIsActive_concatstring_tool Box57.Box_ConcatString
 connect Box23.Out Box58.In
 connect Box58.Out Box57.In1
@@ -342,6 +358,17 @@ connect Box74.interactorStyleMaracas2 Box76.InteractorStyleMaracas2
 connect Box74.interactorStyleMaracas3 Box76.InteractorStyleMaracas3
 connect Box74.interactorStyleMaracas4 Box76.InteractorStyleMaracas4
 connect Box12.BoxChange Box76.BoxExecute
+connect Box79.Widget Box80.Widget2
+connect Box56.Out Box08.Mesh
+connect Box08.MeshNames Box79.In
+connect Box80.Widget Box20.Widget4
+connect Box08.BoxChange Box79.BoxExecute
+connect Box79.OutString Box81.StringParam
+connect Box08.MeshManagerModel Box81.MeshManagerModel
+connect Box79.BoxChange Box81.BoxExecute
+connect Box82.Widget Box80.Widget4
+connect Box82.BoxChange Box83.BoxExecute
+connect Box08.MeshManagerModel Box83.MeshManagerModel
 
 # Complex input ports
 input MeshIn Box56.In " "
index a1b83795cf862d7e92afc52897cdf2a459fb7070..3635f007d222896c5af52a3765e05695c3ae702e 100644 (file)
@@ -72,7 +72,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:137
+BOXES:142
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -116,8 +116,8 @@ FIN_BOX
 BOX
 vtk:UpdateRender:Box11
 ISEXEC:FALSE
-8.762877:-56.586914:-900.000000
-30.787877:-59.086914:-900.000000
+5.486214:-67.727567:-900.000000
+27.511214:-70.227567:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -952,22 +952,24 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box184
 ISEXEC:FALSE
-82.779947:-45.267631:-900.000000
-116.099947:-47.767631:-900.000000
+72.294626:-57.981082:-900.000000
+105.614626:-60.481082:-900.000000
 PORT
 WinTitle:"Tool"
 FIN_BOX
 BOX
 std:StringSelect:Box185
 ISEXEC:FALSE
-62.490511:-53.070613:-900.000000
-87.010511:-55.570613:-900.000000
+55.412920:-71.682057:-900.000000
+79.932920:-74.182057:-900.000000
 PORT
 In0:"true"
 PORT
 In1:"true"
 PORT
 In2:"false"
+PORT
+In3:"true"
 FIN_BOX
 BOX
 wx:LayoutLine:Box187
@@ -1241,7 +1243,47 @@ ISEXEC:FALSE
 PORT
 In1:"300"
 FIN_BOX
-CONNECTIONS:243
+BOX
+wx:LayoutLine:Box220
+ISEXEC:FALSE
+194.737553:-71.194217:-900.000000
+228.057553:-73.694217:-900.000000
+PORT
+WinTitle:"Split"
+FIN_BOX
+BOX
+wx:CommandButton:Box221
+ISEXEC:FALSE
+211.320144:-45.536576:-900.000000
+233.705144:-48.036576:-900.000000
+PORT
+Label:"Execute"
+FIN_BOX
+BOX
+creaVtk:MeshManager_tool:Box222
+ISEXEC:FALSE
+154.994877:-64.723951:-900.000000
+177.604877:-67.223951:-900.000000
+PORT
+BoxProcessMode:"Manual"
+PORT
+Tool:"50"
+FIN_BOX
+BOX
+creaVtk:PolyDataConnectivityFilter:Box223
+ISEXEC:FALSE
+160.422565:-56.498164:-900.000000
+183.702565:-58.998164:-900.000000
+PORT
+Type:"1"
+FIN_BOX
+BOX
+creaVtk:CleanPolyData:Box224
+ISEXEC:FALSE
+-83.355857:-59.821310:-900.000000
+-61.170857:-62.321310:-900.000000
+FIN_BOX
+CONNECTIONS:250
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -1567,9 +1609,6 @@ CONNECTION
 Box48:widget:Box38:Widget8
 NumberOfControlPoints:0
 CONNECTION
-Box77:Out:Box97:In
-NumberOfControlPoints:0
-CONNECTION
 Box43:Widget:Box44:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -1694,18 +1733,9 @@ CONNECTION
 Box60:Out:Box121:In
 NumberOfControlPoints:0
 CONNECTION
-Box77:Out:Box93:Mesh
-NumberOfControlPoints:0
-CONNECTION
 Box77:BoxChange:Box93:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box105:Out:Box77:In2
-NumberOfControlPoints:0
-CONNECTION
-Box77:Out:Box45:Mesh
-NumberOfControlPoints:0
-CONNECTION
 Box138:Widget:Box135:Widget4
 NumberOfControlPoints:0
 CONNECTION
@@ -1972,4 +2002,37 @@ NumberOfControlPoints:0
 CONNECTION
 Box136:BoxChange:Box227:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+Box221:Widget:Box220:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box46:Out:Box222:MeshManagerModel
+NumberOfControlPoints:0
+CONNECTION
+Box223:Out:Box222:Meshes
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box223:In
+NumberOfControlPoints:0
+CONNECTION
+Box221:BoxChange:Box222:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box220:Widget:Box184:Widget8
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box77:In2
+NumberOfControlPoints:0
+CONNECTION
+Box97:Out:Box45:Mesh
+NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box224:In
+NumberOfControlPoints:0
+CONNECTION
+Box224:Out:Box97:In
+NumberOfControlPoints:0
+CONNECTION
+Box97:Out:Box93:Mesh
+NumberOfControlPoints:0
 APP_END
index 47ac4269a6c5104a08df20c00c9e92676ee634f9..73c3811aa2390c3f5f21c931951ea76209eb5e06 100644 (file)
@@ -359,6 +359,7 @@ new std:StringSelect Box185
   set Box185.In0 "true"
   set Box185.In1 "true"
   set Box185.In2 "false"
+  set Box185.In3 "true"
 
 new wx:LayoutLine Box187
   set Box187.WinTitle "Patch"
@@ -465,6 +466,21 @@ new std:GetVectorDoubleSubVector Box218
 new std:ConcatStrings Box227
   set Box227.In1 "300"
 
+new wx:LayoutLine Box220
+  set Box220.WinTitle "Split"
+
+new wx:CommandButton Box221
+  set Box221.Label "Execute"
+
+new creaVtk:MeshManager_tool Box222
+  set Box222.BoxProcessMode "Manual"
+  set Box222.Tool "50"
+
+new creaVtk:PolyDataConnectivityFilter Box223
+  set Box223.Type "1"
+
+new creaVtk:CleanPolyData Box224
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -560,7 +576,6 @@ connect Box71.Out Box96.wxVtkBaseView
 connect Box96.vtkRenderer Box66.In
 connect Box37.widget Box79.Widget7
 connect Box48.widget Box38.Widget8
-connect Box77.Out Box97.In
 connect Box43.Widget Box44.Widget1
 connect Box78.Widget Box98.Widget2
 connect Box80.Widget Box98.Widget4
@@ -601,10 +616,7 @@ connect Box126.Widget Box131.Widget3
 connect Box103.Widget Box50.Widget5
 connect Box60.Out Box130.In
 connect Box60.Out Box121.In
-connect Box77.Out Box93.Mesh
 connect Box77.BoxChange Box93.BoxExecute
-connect Box105.Out Box77.In2
-connect Box77.Out Box45.Mesh
 connect Box138.Widget Box135.Widget4
 connect Box142.BoxChange Box144.BoxExecute
 connect Box141.BoxChange Box143.BoxExecute
@@ -694,6 +706,17 @@ connect Box68.Spacing Box208.Spacing
 connect Box67.Out Box159.Mesh
 connect Box227.Out Box147.Type
 connect Box136.BoxChange Box227.BoxExecute
+connect Box221.Widget Box220.Widget2
+connect Box46.Out Box222.MeshManagerModel
+connect Box223.Out Box222.Meshes
+connect Box67.Out Box223.In
+connect Box221.BoxChange Box222.BoxExecute
+connect Box220.Widget Box184.Widget8
+connect Box04.Out Box77.In2
+connect Box97.Out Box45.Mesh
+connect Box77.Out Box224.In
+connect Box224.Out Box97.In
+connect Box97.Out Box93.Mesh
 
 # Complex input ports
 input point showNpoints.In " "
index f0646c17e84ed3444d01b1e1c7d9ca0850a8621e..60c4917c0cf757d6799921adb370febc5d0f1d92 100644 (file)
@@ -72,7 +72,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:84
+BOXES:85
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -767,7 +767,13 @@ I:"3"
 PORT
 Size:"3"
 FIN_BOX
-CONNECTIONS:173
+BOX
+creaVtk:CleanPolyData:Box133
+ISEXEC:FALSE
+-99.940321:-63.576453:-900.000000
+-77.755321:-66.076453:-900.000000
+FIN_BOX
+CONNECTIONS:174
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -1186,9 +1192,6 @@ CONNECTION
 Box114:Out:Box60:Type
 NumberOfControlPoints:0
 CONNECTION
-Box77:Out:Box115:In
-NumberOfControlPoints:0
-CONNECTION
 Box115:Out:Box45:Mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -1287,4 +1290,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box132:Out:Box130:In1
 NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box133:In
+NumberOfControlPoints:0
+CONNECTION
+Box133:Out:Box115:In
+NumberOfControlPoints:0
 APP_END
index 8fa0a4d3f5e66f86eccdeaf67f048c2daeb6db2e..0c8f9cf3cba53b86aadd7aab6bba1deafa9a8557 100644 (file)
@@ -281,6 +281,8 @@ new std:GetVectorDoubleSubVector Box132
   set Box132.I "3"
   set Box132.Size "3"
 
+new creaVtk:CleanPolyData Box133
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -406,7 +408,6 @@ connect Box111.Out Box57.In
 connect Box57.Out Box112.sk1
 connect Box112.Out1 Box114.In1
 connect Box114.Out Box60.Type
-connect Box77.Out Box115.In
 connect Box115.Out Box45.Mesh
 connect Box96.Out Box116.In
 connect Box116.Out Box109.In
@@ -440,6 +441,8 @@ connect Box129.Widget Box101.Widget1
 connect Box60.Out Box132.In
 connect Box132.Out Box131.In1
 connect Box132.Out Box130.In1
+connect Box77.Out Box133.In
+connect Box133.Out Box115.In
 
 # Complex input ports
 input point showNpoints.In " "
index 2838285aa2ae3bfd3bb3d079dcc6377fdc49017d..4983f628db6884250ff88069ce451e441c2b1619 100644 (file)
@@ -72,7 +72,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:67
+BOXES:68
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -625,7 +625,13 @@ ISEXEC:FALSE
 PORT
 I:"1"
 FIN_BOX
-CONNECTIONS:142
+BOX
+creaVtk:CleanPolyData:Box113
+ISEXEC:FALSE
+-87.782424:-60.650779:-900.000000
+-65.597424:-63.150779:-900.000000
+FIN_BOX
+CONNECTIONS:143
 CONNECTION
 Box06:LstContourPointsX:Box04:LstX
 NumberOfControlPoints:0
@@ -963,9 +969,6 @@ CONNECTION
 Box48:widget:Box38:Widget8
 NumberOfControlPoints:0
 CONNECTION
-Box77:Out:Box97:In
-NumberOfControlPoints:0
-CONNECTION
 Box97:Out:Box45:Mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -1052,4 +1055,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box111:Out:Box29:OpenClose
 NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box113:In
+NumberOfControlPoints:0
+CONNECTION
+Box113:Out:Box97:In
+NumberOfControlPoints:0
 APP_END
index 86f8581020e2a9be33d023c4be874082496c1171..759faaaa3076f7ef5fb2cadc5d5c5c1b09261303 100644 (file)
@@ -227,6 +227,8 @@ new std:GetVectorStringElement Box111
 new std:GetVectorStringElement Box112
   set Box112.I "1"
 
+new creaVtk:CleanPolyData Box113
+
 
 connect Box06.LstContourPointsX Box04.LstX
 connect showNpoints.lstIndexs Box06.LstIndexsIn
@@ -325,7 +327,6 @@ connect Box71.Out Box96.wxVtkBaseView
 connect Box96.vtkRenderer Box66.In
 connect Box37.widget Box79.Widget7
 connect Box48.widget Box38.Widget8
-connect Box77.Out Box97.In
 connect Box97.Out Box45.Mesh
 connect Box97.Out Box93.Mesh
 connect Box43.Widget Box44.Widget1
@@ -355,6 +356,8 @@ connect Box111.Out Box06.OpenClose
 connect Box112.Out Box06.OpenClose2
 connect Box112.Out Box29.OpenClose2
 connect Box111.Out Box29.OpenClose
+connect Box77.Out Box113.In
+connect Box113.Out Box97.In
 
 # Complex input ports
 input point showNpoints.In " "
index 6bf45b6f2a7876b2b5c33ce1743693105d3a25cb..184f6ad8a8b0c0bd18a5b5931734cca3ac334e70 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.5 BBG BlackBox Diagram file
-# - /home/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg
+# - /home/garzon/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbg
 # ----------------------------------
 
 APP_START
@@ -72,7 +72,7 @@ COMPLEX_PORT
 meshmanagermodel
 -150.374274:130.740991:-900.000000
 FIN_COMPLEX_PORT
-BOXES:63
+BOXES:64
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
@@ -579,7 +579,13 @@ TypeControlsInterface:"2"
 PORT
 lstTransparenceBoundaries:"0"
 FIN_BOX
-CONNECTIONS:124
+BOX
+creaVtk:CleanPolyData:Box123
+ISEXEC:FALSE
+-82.462323:-64.239585:-900.000000
+-60.277323:-66.739585:-900.000000
+FIN_BOX
+CONNECTIONS:125
 CONNECTION
 Box31:BoxChange:Box11:BoxExecute
 NumberOfControlPoints:0
@@ -803,9 +809,6 @@ CONNECTION
 Box48:widget:Box38:Widget8
 NumberOfControlPoints:0
 CONNECTION
-Box77:Out:Box97:In
-NumberOfControlPoints:0
-CONNECTION
 Box97:Out:Box45:Mesh
 NumberOfControlPoints:0
 CONNECTION
@@ -952,4 +955,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box102:Out:Box122:In
 NumberOfControlPoints:0
+CONNECTION
+Box77:Out:Box123:In
+NumberOfControlPoints:0
+CONNECTION
+Box123:Out:Box97:In
+NumberOfControlPoints:0
 APP_END
index 8f2cf48c9293041f85d75fe75570ff78c8275806..98681a72c365d6d6e2050037a8b779286751e4bf 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs
+# - /home/garzon/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyThresholdConnectivity.bbs
 # ----------------------------------
 
 include std
@@ -208,6 +208,8 @@ new creaMaracasVisu:ColorLayerImageView Box122
   set Box122.TypeControlsInterface "2"
   set Box122.lstTransparenceBoundaries "0"
 
+new creaVtk:CleanPolyData Box123
+
 
 connect Box31.BoxChange Box11.BoxExecute
 connect Box58.Out Box57.In
@@ -268,7 +270,6 @@ connect Box71.Out Box96.wxVtkBaseView
 connect Box96.vtkRenderer Box66.In
 connect Box37.widget Box79.Widget7
 connect Box48.widget Box38.Widget8
-connect Box77.Out Box97.In
 connect Box97.Out Box45.Mesh
 connect Box97.Out Box93.Mesh
 connect Box43.Widget Box44.Widget1
@@ -318,6 +319,8 @@ connect Box107.Widget Box105.Widget6
 connect Box106.BoxChange Box122.BoxExecute
 connect Box122.Widget Box105.Widget7
 connect Box102.Out Box122.In
+connect Box77.Out Box123.In
+connect Box123.Out Box97.In
 
 # Complex input ports
 input point showNpoints.In " "