# ----------------------------------
# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
+# - /home/garzon/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Mesh_tool_ApplyPatch.bbs
# ----------------------------------
include std
set Box58.In6 "----------------------"
set Box58.In7 "+> Insert group after"
set Box58.In8 "- Delete group"
- set Box58.In9 "Tool - 3 points to surface"
+ set Box58.In9 "Tool - 3 or 4 points to surface"
new creaMaracasVisu:ShowNPoints_Tools Box60
set Box110.TargetReduction "0.5"
new std:AddStringToVector Box111
- set Box111.In0 "Tool - 4 points to surface"
- set Box111.In1 "Tool - Inverse Normals"
+ set Box111.In0 "Tool - Inverse Normals"
new std:VectorFilterString Box112
- set Box112.In0 "0 1 2 3 4 5 6 7 8 9 10 11 12"
- set Box112.In1 "1 5 10 20 30 40 50 0 100 110 190 200 210"
+ set Box112.In0 "0 1 2 3 4 5 6 7 8 9 10 11"
+ set Box112.In1 "1 5 10 20 30 40 50 0 100 110 200 210"
set Box112.Type "2"
new std:ConcatStrings Box114
connect Box95.Out Box96.In
connect Box99.Out Box100.In1
connect Box100.Out Box95.Param
-connect Box99.Widget Box101.Widget4
connect Box99.BoxChange Box103.In4
connect Box103.BoxChange Box98.boxexecute
connect Box71.Out Box105.wxVtkBaseView
connect Box78.Widget Box117.Widget2
connect Box80.Widget Box117.Widget4
connect Box117.Widget Box44.Widget3
-connect Box118.Widget Box101.Widget1
connect Box118.Out Box96.ScalarFactor
connect Box118.BoxChange Box103.In3
connect Box119.Out Box58.StringVector
connect Box120.BoxChange Box126.In1
connect Box126.BoxChange Box31.BoxExecute
connect Box127.Widget Box129.Widget4
-connect Box129.Widget Box101.Widget7
connect Box121.Widget Box129.Widget6
+connect Box99.Widget Box101.Widget7
+connect Box118.Widget Box101.Widget4
+connect Box129.Widget Box101.Widget1
# Complex input ports
input point showNpoints.In " "