# ----------------------------------
# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
-# - /home/garzon/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
+# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
# ----------------------------------
include std
set Box134.Orientation "V"
set Box134.WinTitle "1.3 Apply Changes"
+new creaVtk:CleanMeshWithPatch Box135
+
+new creaMaracasVisu:PolyDataToActor_Widget Box136
+ set Box136.active "true"
+ set Box136.color "1 1 1"
+ set Box136.meshOpacity "100"
+
+new wx:LayoutLine Box137
+ set Box137.WinTitle "Beta"
+
+new wx:CommandButton Box138
+ set Box138.Label "Run"
+
connect Box06.LstContourPointsX Box04.LstX
connect showNpoints.lstIndexs Box06.LstIndexsIn
connect Box133.Out Box115.In
connect Box134.Widget Box82.Widget4
connect Box42.Widget Box134.Widget3
+connect Box67.Out Box135.Mesh
+connect Box04.Out Box135.Patch
+connect showNpoints.lstPointsX Box135.LstX
+connect showNpoints.lstPointsY Box135.LstY
+connect showNpoints.lstPointsZ Box135.LstZ
+connect showNpoints.lstIndexs Box135.LstIndexs
+connect Box135.Out Box136.polydata
+connect Box66.Out Box136.render
+connect Box136.widget Box137.Widget2
+connect Box137.Widget Box106.Widget4
+connect Box138.Widget Box137.Widget4
+connect Box138.BoxChange Box136.boxexecute
+connect Box68.Spacing Box135.Spacing
# Complex input ports
input point showNpoints.In " "