Exemple #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);
 }
 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);
 }
Exemple #3
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);
 }
Exemple #4
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;
        }
Exemple #5
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;
        }
Exemple #6
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_VectorParam("X Axis", "X", "List of vectors representing the X axes of the tensors", GH_ParamAccess.list);
     pManager.Register_VectorParam("Y Axis", "Y", "List of vectors representing the Y axes of the tensors", GH_ParamAccess.list);
     pManager.Register_VectorParam("Z Axis", "Z", "List of vectors representing the Z axes of the tensors", GH_ParamAccess.list);
 }
Exemple #7
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_VectorParam("Vector", "V", "Vector to add to each vector in the field");
 }