Esempio n. 1
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_PointParam("Sample Points", "SP", "Tree of lists representing N-dimensional points. These points must be parallel to the list of incoming Sample Vectors.", GH_ParamAccess.tree);
     pManager.Register_VectorParam("Sample Vectors", "SV", "Tree of lists representing M-dimensional vectors. These vectors must be parallel to the list of incoming Sample Points.", GH_ParamAccess.tree);
     pManager.Register_PointParam("Test Points To Interpolate", "TP", "Tree of lists representing N-dimensional points, these points will be the reference points for each interpolation", GH_ParamAccess.tree);
     pManager.Register_DoubleParam("Radius", "R", "Radius from each test point to use in the interpolation", 0.0d);
     pManager.Register_DoubleParam("Interpolation Strength", "p", "1 for linear, n for higher strengths", 2.0d);
 }
Esempio n. 2
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_PointParam("Field Points", "P", "List of points in the vector field (parallel to V)", GH_ParamAccess.list);
     pManager.Register_VectorParam("Field Vectors", "V", "List of vectors in the vector field (parallel to P)", GH_ParamAccess.list);
     pManager.Register_PointParam("Start Points", "SP", "Points to simulate travelling through the vector field", GH_ParamAccess.list);
     pManager.Register_GenericParam("Settings", "S", "Settings object to customize integration parameters");
     pManager[3].Optional = true;
     pManager.Register_BooleanParam("Reset simulation", "R", "Reset the simulation to the starting point", false);
 }
Esempio n. 3
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            pManager.Register_PointParam("Field Points", "P", "List of points in the vector field (parallel to V)", GH_ParamAccess.list);
            pManager.Register_GenericParam("Field Vectors", "VT", "List of vectors in the vector field, or tensors representing a vector field (parallel to P)", GH_ParamAccess.list);
            pManager.Register_PointParam("Travelling Point", "TP", "Point to simulate travelling through the vector field");
            pManager.Register_GenericParam("Dynamics", "D", "List of dynamics to modify the vector field with", GH_ParamAccess.list);
            pManager.Register_GenericParam("Settings", "SS", "Static Settings object to customize integration parameters");

            pManager[0].Optional = true;
            pManager[1].Optional = true;
            pManager[3].Optional = true;
            pManager[4].Optional = true;
        }
Esempio n. 4
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            pManager.Register_PointParam("Field Points", "P", "List of points in the vector field (parallel to V)", GH_ParamAccess.list);
            pManager.Register_VectorParam("Field Vectors", "V", "List of vectors in the vector field (parallel to P)", GH_ParamAccess.list);
            pManager.Register_PointParam("Start Points", "SP", "Points to simulate travelling through the vector field", GH_ParamAccess.list);
            pManager.Register_IntegerParam("Particle Life Time", "T", "Number of iterations for each particle to exist, by default these are respawned at their original start points when this time is up", 0);
            pManager.Register_GenericParam("Dynamics", "D", "List of dynamics to modify the vector field with", GH_ParamAccess.list);
            pManager.Register_GenericParam("Settings", "DS", "Dynamic Settings object to customize integration parameters");
            pManager.Register_BooleanParam("Reset simulation", "R", "Reset the simulation to the starting point", true);

            pManager[0].Optional = true;
            pManager[1].Optional = true;
            pManager[4].Optional = true;
            pManager[5].Optional = true;
        }
Esempio n. 5
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_PointParam("Singularity Points", "SP", "List of points, where each point relates to a vector (parallel to V)", GH_ParamAccess.list);
     pManager.Register_DoubleParam("Exponent", "h", "h controls the fall-off of the gravity effect, higher is faster fall-off", 1.0d);
     pManager.Register_DoubleParam("Factor", "k", "Scalar multiple of the gravity force (positive for attraction, negative for repulsion)", 1.0d);
     pManager.Register_BooleanParam("Exact", "e", "Use exact geodesic distances to calculate path when on a surface, otherwise use a fast approximation", false);
 }
Esempio n. 6
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager inputManager)
 {
     inputManager.Register_GenericParam("Cell prototype", "C", "Cell Prototype to be created for each point.", GH_ParamAccess.item);                                    //name, nick, description, defaul, isList
     inputManager.Register_PointParam("Serie of Points", "P", "Serie of points.", GH_ParamAccess.list);                                                                 //name, nick, description, defaul, isList
     //optional configuration, if null - each cell is in it's default state
     inputManager.Register_GenericParam("State Configuration", "SC", "State Configuration - specifies initial state for each cell in the serie.", GH_ParamAccess.list); //name, nick, description, defaul, isList
     Params.Input[2].Optional = true;
 }
Esempio n. 7
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_VectorParam("Vectors", "Vecs", "Control vectors", GH_ParamAccess.list);
     pManager.Register_PointParam(
         "Destination",
         "Pt",
         "Point around which to construct destination mesh",
         new Point3d(0.0, 0.0, 0.0),
         GH_ParamAccess.item);
 }
Esempio n. 8
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            pManager.Register_PointParam("Point Field", "P", "List of points, where each point relates to a vector (parallel to V)", GH_ParamAccess.list);
            pManager.Register_VectorParam("Vector Field", "V", "List of vectors, where each vector relates to a point (parallel to P)", GH_ParamAccess.list);
            pManager.Register_GenericParam("Dynamics", "D", "List of dynamics to modify the vector field with", GH_ParamAccess.list);
            pManager.Register_SurfaceParam("Surface", "S", "Optional surface to create geodesic curves between points in space instead of direct lines");

            // vector field is optional, will create a field of 0 vectors if not present
            pManager[1].Optional = true;
            pManager[2].Optional = true;
            pManager[3].Optional = true;
        }
Esempio n. 9
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_PointParam("Curve Points", "P", "List of points representing a curve", GH_ParamAccess.list);
 }
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager inputManager)
 {
     inputManager.Register_PointParam("Points", "P", "Selection of Points/cells with a custom initial state", GH_ParamAccess.list);              //name, nick, description, defaul, isList
     inputManager.Register_GenericParam("Custom initial State", "S", "Custom initial State for the selected cells/points", GH_ParamAccess.item); //name, nick, description, defaul, isList
 }