Skip to content

Commit

Permalink
🆙 GH MeshFunctionSettings extendable menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lorinczandrea committed Oct 8, 2024
1 parent 4343168 commit d26469b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public override void registerEvaluationUnits(EvaluationUnitManager mngr)

GH_ExtendableMenu gH_ExtendableMenu0 = new GH_ExtendableMenu(0, "");
gH_ExtendableMenu0.Name = "Generate surface mesh";
gH_ExtendableMenu0.Expand();
gH_ExtendableMenu0.RegisterInputPlug(evaluationUnit.Inputs[0]);
gH_ExtendableMenu0.RegisterInputPlug(evaluationUnit.Inputs[1]);
gH_ExtendableMenu0.RegisterInputPlug(evaluationUnit.Inputs[2]);
Expand All @@ -60,11 +61,13 @@ public override void registerEvaluationUnits(EvaluationUnitManager mngr)

GH_ExtendableMenu gH_ExtendableMenu1 = new GH_ExtendableMenu(1, "");
gH_ExtendableMenu1.Name = "Smooth mesh";
gH_ExtendableMenu1.Expand();
gH_ExtendableMenu1.RegisterInputPlug(evaluationUnit.Inputs[4]);
evaluationUnit.AddMenu(gH_ExtendableMenu1);

GH_ExtendableMenu gH_ExtendableMenu2 = new GH_ExtendableMenu(2, "");
gH_ExtendableMenu2.Name = "Check mesh";
gH_ExtendableMenu2.Expand();
gH_ExtendableMenu2.RegisterInputPlug(evaluationUnit.Inputs[5]);
gH_ExtendableMenu2.RegisterInputPlug(evaluationUnit.Inputs[6]);
gH_ExtendableMenu2.RegisterInputPlug(evaluationUnit.Inputs[7]);
Expand Down

0 comments on commit d26469b

Please sign in to comment.