Ejemplo n.º 1
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_CurveParam("Curves", "C", "The curves group", GH_ParamAccess.list);
     pManager.Register_DoubleParam("Lengths", "L", "One length for each curve. If the number of lengths is less than the one of curves, length values are repeated in pattern.\nIf there are no lengths, then the physical length of the curves is computed.", GH_ParamAccess.list);
     pManager[1].Optional = true;
     pManager.Register_LineParam("Wanted path", "P", "The lines from the start to the end of the path", GH_ParamAccess.list);
 }
Ejemplo n.º 2
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager inputManager)
 {
     inputManager.Register_DoubleParam("Thickness", "T", "Default thickness", 1.0, GH_ParamAccess.item);                 //name, nick, description, default, isList
     inputManager.Register_DoubleParam("Thickness scale", "dT", "Default thickness scale", 0.9, GH_ParamAccess.item);    //name, nick, description, default, isList
     //profile settings
     inputManager.Register_CurveParam("Profile curve", "P", "Default profile curve", GH_ParamAccess.item);               //name, nick, description, default, isList
     inputManager.Register_PlaneParam("Profile Pivot", "PP", "Profile pivot plane", Plane.WorldXY, GH_ParamAccess.item); //name, nick, description, default, isList
 }
Ejemplo n.º 3
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_CurveParam("Curves", "C", "The curves group", GH_ParamAccess.list);
     pManager.Register_LineParam("Wanted path", "L", "The lines from the start to the end of the path", GH_ParamAccess.list);
 }