From 94e56cf17d63ebb992fa86ca395e1752b164a40f Mon Sep 17 00:00:00 2001 From: Pablo Garzon Date: Mon, 15 May 2023 16:53:17 +0200 Subject: [PATCH] Clean Code --- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg | 19 ++++++++++++++----- bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs | 5 ++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg index 4983f62..b3da6cb 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbg @@ -72,7 +72,7 @@ COMPLEX_PORT meshmanagermodel -150.374274:130.740991:-900.000000 FIN_COMPLEX_PORT -BOXES:68 +BOXES:69 BOX creaMaracasVisu:ShowNPoints:showNpoints ISEXEC:FALSE @@ -631,7 +631,13 @@ ISEXEC:FALSE -87.782424:-60.650779:-900.000000 -65.597424:-63.150779:-900.000000 FIN_BOX -CONNECTIONS:143 +BOX +creaVtk:PolyDataNormals:Box116 +ISEXEC:FALSE +-26.171954:-9.853810:-900.000000 +-3.766954:-12.353810:-900.000000 +FIN_BOX +CONNECTIONS:144 CONNECTION Box06:LstContourPointsX:Box04:LstX NumberOfControlPoints:0 @@ -765,9 +771,6 @@ CONNECTION Box34:BoxChange:Box31:In2 NumberOfControlPoints:0 CONNECTION -Box04:Out:Box77:In2 -NumberOfControlPoints:0 -CONNECTION title:title:Box08:WinTitle NumberOfControlPoints:0 CONNECTION @@ -1061,4 +1064,10 @@ NumberOfControlPoints:0 CONNECTION Box113:Out:Box97:In NumberOfControlPoints:0 +CONNECTION +Box04:Out:Box116:In +NumberOfControlPoints:0 +CONNECTION +Box116:Out:Box77:In2 +NumberOfControlPoints:0 APP_END diff --git a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs index 759faaa..49715f5 100644 --- a/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs +++ b/bbtk/bbs/boxes/Mesh_tool_ApplySurface.bbs @@ -229,6 +229,8 @@ new std:GetVectorStringElement Box112 new creaVtk:CleanPolyData Box113 +new creaVtk:PolyDataNormals Box116 + connect Box06.LstContourPointsX Box04.LstX connect showNpoints.lstIndexs Box06.LstIndexsIn @@ -270,7 +272,6 @@ connect Box35.Out showNpoints.Image connect Box34.Out Box36.In1 connect Box36.Out Box30.Opacity connect Box34.BoxChange Box31.In2 -connect Box04.Out Box77.In2 connect Box66.Out Box37.render connect Box38.Widget Box39.Widget2 connect Box79.Widget Box40.Widget2 @@ -358,6 +359,8 @@ connect Box112.Out Box29.OpenClose2 connect Box111.Out Box29.OpenClose connect Box77.Out Box113.In connect Box113.Out Box97.In +connect Box04.Out Box116.In +connect Box116.Out Box77.In2 # Complex input ports input point showNpoints.In " " -- 2.47.1