protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddParameter(new LoadCombParameter(), "Load Combinations", "LC", "Diffrent loadcombinations for the structure", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Max Iterations", "MI", "Maximum iterations to run before brake", GH_ParamAccess.item, 100);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddParameter(new LoadCombParameter(), "Load Combinations", "LC", "Diffrent loadcombinations for the structure", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Check structure", "Ch", "A boolean that toggles if the structure is checked before calculation. May be turned off to improve speed.", GH_ParamAccess.item, true);
 }
Ejemplo n.º 3
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "Robot system", GH_ParamAccess.item);
     pManager.AddParameter(new TargetParameter(), "Target", "T", "One target per robot", GH_ParamAccess.list);
     pManager.AddTextParameter("Previous joints", "J", "Optional previous joint values. If the pose is ambigous is will select one based on this previous position.", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Display geometry", "M", "Display mesh geometry of the robot", GH_ParamAccess.item, false);
     pManager[2].Optional = true;
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 /// <param name="pManager">GH_InputParamManager: This class is used during Components constructions to add input parameters.</param>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "G", "Closed Curves", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Copies", "C", "Copies", GH_ParamAccess.item,1);
     pManager.AddIntegerParameter("Priority", "P", "Priority", GH_ParamAccess.item,1);
     pManager.AddParameter(new Orientation(),"Orientation", "O", "Orientation", GH_ParamAccess.item);
         // Ha de ser un ObjectOrientation
     pManager.AddParameter(new Criterion(),"Criterion", "Cr", "Criterion", GH_ParamAccess.item);
         // Ha de ser un ObjectCriterion
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new CrossSectionParameter(),"Cross section", "XS", "Cross section for the beam. Can be provided as a full cross section or as a string in correct format. "+
                "String formats:\nRectangular solid: REC[H]x[W]\nRectangular hollow: RHS[H]x[W]x[t]\nCircular solid: CSS[r]\nCircular hollow: CHS[r]x[t]\nUnits are taken as the same units used in the rhino document.", GH_ParamAccess.item);
            pManager.AddParameter(new BeamReleaseParameter(), "Start Release", "SR", "Release at the start point fo the beam", GH_ParamAccess.item);
            pManager.AddParameter(new BeamReleaseParameter(), "End Release", "ER", "Release at the end point fo the beam", GH_ParamAccess.item);
            pManager.AddParameter(new MaterialParam(), "Material", "M", "Material to use in the beam", GH_ParamAccess.item);
            pManager.AddParameter(new Element3dOptPropParameter(), "Cross section Group", "XSG", "Optional cross section group to be used be optimizers", GH_ParamAccess.item);

            pManager[4].Optional = true;
        }
Ejemplo n.º 6
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Name", "N", "Program name", GH_ParamAccess.item, "DefaultProgram");
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "Robot system used in program", GH_ParamAccess.item);
     pManager.AddParameter(new TargetParameter(), "Targets 1", "T1", "List of targets for the first robot", GH_ParamAccess.list);
     pManager.AddParameter(new TargetParameter(), "Targets 2", "T2", "List of targets for the second robot", GH_ParamAccess.list);
     pManager.AddParameter(new CommandParameter(), "Init commands", "C", "Optional list of commands that will run at the start of the program", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Multifile indices", "I", "Optional list of indices to split the program into multiple files. The indices correspond to the first target of the aditional files", GH_ParamAccess.list);
     pManager.AddNumberParameter("Step Size", "S", "Distance in mm to step through linear motions, used for error checking and program simulation. Smaller is more accurate but slower", GH_ParamAccess.item, 1);
     pManager[3].Optional = true;
     pManager[4].Optional = true;
     pManager[5].Optional = true;
 }
Ejemplo n.º 7
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new NodeParam(), "Restraint Nodes", "RN",
                "A list of nodes that may contain restraints", GH_ParamAccess.list);

            pManager.AddParameter(new BeamParam(), "Beams", "B",
                "Beams that the structure should consist of", GH_ParamAccess.list);

            // Woops, should be restraints!
            //pManager.AddParameter(
            //    new BeamReleaseParameter(), "Releases", "R", "Releases for the structure", GH_ParamAccess.list);

            pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
        }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.item);
            pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);

            pManager[1].Optional = true;
        }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Modes", "m", "The modes to optimize for", GH_ParamAccess.list);
     pManager.AddNumberParameter("Scale factor", "sFac", "Optional scale factor. Scales all forces based on this value. Deafaults to 1", GH_ParamAccess.item, 1);
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.list);
            pManager.AddNumberParameter("Scale factor", "s", "The displacement scale", GH_ParamAccess.item, 10);
            pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);

            pManager[2].Optional = true;
        }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddTextParameter("Name", "N", "Name of the load combination", GH_ParamAccess.item);
            pManager.AddBooleanParameter("GravityOn", "GO", "Turns gravity on or off for the load case", GH_ParamAccess.item);
            pManager.AddVectorParameter("Gravity Field", "GF", "The driection and aplitude of the gravity. Deafault set to 9.82 m/s^2 in negative z-direction", GH_ParamAccess.item, new Rhino.Geometry.Vector3d(0, 0, -9.82));
            pManager.AddParameter(new PointLoadParameter(), "PointLoads", "PL", "A set of pointloads", GH_ParamAccess.list);

            pManager[3].Optional = true;
        }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new CrossSectionParameter(), "Cross Sections", "XS", "Cross sections to group. Used in optimisations procedures", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Allow Rotation", "R", "Boolean to set if rotation of the section around its own axis should be alowed or not", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Section Chooser Procedure", "SCP", "Choose wich method to use in sectionsizer." +
         " \n 0= check all, bottom up. Allways checks smallest to largest\n 1 = Step to one larger when overutilized \n 2= Sted up if overutilized, down if underutilized. \n 3 = Search all from current ", GH_ParamAccess.item, 0);
     pManager.AddNumberParameter("Minimum Utilization", "minU", "The minimum utilization allowed before the elementis set to converged in optimization", GH_ParamAccess.item, 0.8);
     pManager.AddNumberParameter("Maximum Utilization", "maxU", "The maximum utilization allowed before the elementis set to converged in optimization", GH_ParamAccess.item, 1);
 }
Ejemplo n.º 13
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
     pManager.AddTextParameter("IP", "IP", "IP address of robot", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Connect", "C", "Connect to robot", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("Upload", "U", "Upload program", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("Play", "P", "Play", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("Pause", "S", "Pause", GH_ParamAccess.item, false);
     pManager[1].Optional = true;
 }
 /// <summary>
 ///     Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     if (_parameters == null) _parameters = new RhinoNestKernel.Nesting.RhinoNestNestingParameters();
     pManager.AddNumberParameter("Item to Item Distance", "I2I", "Item to Item Distance", GH_ParamAccess.item,
         _parameters.DistanceItemToItem);
     pManager.AddNumberParameter("Item to Sheet Distance", "I2S", "Item to Sheet Distance", GH_ParamAccess.item,
         _parameters.DistanceItemToSheet);
     pManager.AddNumberParameter("Limit of Variants", "LoV", "Limit of Variants", GH_ParamAccess.item,
         _parameters.LimitVariants);
     pManager.AddNumberParameter("Max time", "Mt", "Max time", GH_ParamAccess.item, _parameters.TimeOut);
     pManager.AddNumberParameter("Precision", "P", "Precision", GH_ParamAccess.item,
         _parameters.DistancePrecision);
     pManager.AddParameter(new GCriterion(), "Global Criterion", "GC", "Global Criterion", GH_ParamAccess.item);
 }
Ejemplo n.º 15
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.Category(), "Category", "C", "Category to query", GH_ParamAccess.item);
 }
Ejemplo n.º 16
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.View(), "View", "View", string.Empty, GH_ParamAccess.item);
 }
Ejemplo n.º 17
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddCurveParameter("Axis", "A", string.Empty, GH_ParamAccess.item);
     manager[manager.AddParameter(new Parameters.ElementType(), "Type", "T", string.Empty, GH_ParamAccess.item)].Optional = true;
     manager[manager.AddParameter(new Parameters.Element(), "Level", "L", string.Empty, GH_ParamAccess.item)].Optional    = true;
 }
Ejemplo n.º 18
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program to simulate", GH_ParamAccess.item);
     pManager.AddNumberParameter("Time", "T", "Advance the simulation to this time", GH_ParamAccess.item, 0);
     pManager.AddBooleanParameter("Normalized", "N", "Time value is normalized (from 0 to 1)", GH_ParamAccess.item, true);
 }
Ejemplo n.º 19
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
 }
Ejemplo n.º 20
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program to simulate", GH_ParamAccess.item);
     pManager.AddNumberParameter("Time", "T", "Advance the simulation to this time", GH_ParamAccess.item, 0);
     pManager.AddBooleanParameter("Normalized", "N", "Time value is normalized (from 0 to 1)", GH_ParamAccess.item, true);
 }
Ejemplo n.º 21
0
Archivo: Util.cs Proyecto: zimhe/Robots
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
 }
Ejemplo n.º 22
0
Archivo: Util.cs Proyecto: zimhe/Robots
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddPlaneParameter("Plane", "P", "Plane to convert to euler, quaternion or axis angle values.", GH_ParamAccess.item);
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "The robot system will select the orientation type (ABB = quaternions, KUKA = euler angles in degrees, UR = axis angles in radians). If this input is left unconnected, the 3D rotation will be expressed in quaternions.", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
Ejemplo n.º 23
0
Archivo: Util.cs Proyecto: zimhe/Robots
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddNumberParameter("Numbers", "N", "Input 6 or 7 numbers. The first 3 should correspond to the x, y and z coordinates of the origin. The last 3 or 4 should be a 3D rotation expressed in euler angles in degrees, axis angles in radians or quaternions.", GH_ParamAccess.list);
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "The robot system will select the orientation type (ABB = quaternions, KUKA = euler angles in degrees, UR = axis angles in radians). If this input is left unconnected, it will assume the 3D rotation is expressed in quaternions.", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
Ejemplo n.º 24
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.HostObject(), "Host", "H", "Host object to query for its faces", GH_ParamAccess.item);
 }
Ejemplo n.º 25
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Connect to the program output from the simulation component", GH_ParamAccess.item);
     pManager.AddNumberParameter("Length", "L", "Length of trail", GH_ParamAccess.item, 500);
     pManager.AddIntegerParameter("Mechanical group", "M", "Index of mechanical group", GH_ParamAccess.item, 0);
 }
Ejemplo n.º 26
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddLineParameter("Centre Line", "CL", "Centre line of the beam", GH_ParamAccess.item);
     pManager.AddParameter(new BeamPropertiesParam(), "Properties", "P", "Properties for the beam", GH_ParamAccess.item);
     pManager.AddVectorParameter("Normal", "N", "Normal of the beam", GH_ParamAccess.item);
 }
Ejemplo n.º 27
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Modes", "m", "The modes to evaluate", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
 }
Ejemplo n.º 28
0
Archivo: Util.cs Proyecto: zimhe/Robots
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddNumberParameter("Degrees", "D", "Degrees", GH_ParamAccess.list);
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "Robot system", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Mechanical group", "G", "Mechanical group index", GH_ParamAccess.item, 0);
 }
Ejemplo n.º 29
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.ParameterValue(), "ParameterValue", "V", "Parameter value to decompose", GH_ParamAccess.item);
 }
Ejemplo n.º 30
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager inputParamManager)
 {
     inputParamManager.AddParameter(new GooJSAMObjectParam <SAMObject>(), "_SAMAnalytical", "_SAMAnalytical", "SAM Analytical Object", GH_ParamAccess.item);
 }
Ejemplo n.º 31
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddNumberParameter("Numbers", "N", "Input 6 or 7 numbers. The first 3 should correspond to the x, y and z coordinates of the origin. The last 3 or 4 should be a 3D rotation expressed in euler angles in degrees, axis angles in radians or quaternions.", GH_ParamAccess.list);
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "The robot system will select the orientation type (ABB = quaternions, KUKA = euler angles in degrees, UR = axis angles in radians). If this input is left unconnected, it will assume the 3D rotation is expressed in quaternions.", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new Param_OwlTensorSet(), "Weights", "W", "Weights", GH_ParamAccess.item);
     pManager.AddParameter(new Param_OwlTensorSet(), "Biases", "B", "Biases", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Activation", "F(x)", "Activation function per layer. 0:Linear 1:Relu 2:Sigmoid 3:Tanh", GH_ParamAccess.list);
 }
Ejemplo n.º 33
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.ElementType(), "Type", "T", "ElementType to query for its similar types", GH_ParamAccess.item);
 }
Ejemplo n.º 34
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new Param_OwlTensor());
 }
Ejemplo n.º 35
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager inputParamManager)
 {
     inputParamManager.AddParameter(new GooLevelParam(), "_levels", "_levels", "SAM Architectural Levels", GH_ParamAccess.list);
 }
Ejemplo n.º 36
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new RTreeParameter(), "RTree", "R", "", GH_ParamAccess.item);
     pManager.AddPointParameter("Point", "P", "", GH_ParamAccess.item);
     pManager.AddNumberParameter("Tolerance", "T", "", GH_ParamAccess.item, 1e-4);
 }
Ejemplo n.º 37
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new TargetParameter(), "Target", "T", "Target", GH_ParamAccess.item);
 }
Ejemplo n.º 38
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
     pManager.AddTextParameter("Folder", "F", "Folder", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ResultElementParam(), "Result Elements", "RE", "Result elements, storing results from the calculation", GH_ParamAccess.list);
     pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Show deflections", "def", "Enables or disables showing deformed sections", GH_ParamAccess.item, false);
     pManager.AddNumberParameter("ScalingFactor", "sfac", "Scaling factor for the drawing.", GH_ParamAccess.item, 1);
 }
Ejemplo n.º 40
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
     pManager.AddTextParameter("Code", "C", "Custom code", GH_ParamAccess.tree);
 }
Ejemplo n.º 41
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.Family(), "Family", "F", "Family to query for its types", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.item);
 }
Ejemplo n.º 43
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new NodeParam(), "Restraint Nodes", "RN", "A list of nodes that may contain restraints", GH_ParamAccess.list);

            pManager.AddParameter(new BeamParam(), "Beams", "B", "Beams that the structure should consist of", GH_ParamAccess.list);
        }
Ejemplo n.º 44
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
     pManager.AddTextParameter("Folder", "F", "Folder", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
     pManager.AddNumberParameter("Max Ratio", "R", "Maximum ratio of eigenvalue in relation to the first before break", GH_ParamAccess.item, 5);
 }
Ejemplo n.º 46
0
        protected override void RegisterInputParams(GH_InputParamManager manager)
        {
            base.RegisterInputParams(manager);

            manager.AddParameter(new Parameters.ElementFilter(), "Filter", "F", "Filter", GH_ParamAccess.item);
        }
Ejemplo n.º 47
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new CurveOnSurfaceParameter(), "Curve on Surface", "C", "", GH_ParamAccess.item);
     pManager.AddNumberParameter("Parameter", "t", "", GH_ParamAccess.item);
 }
Ejemplo n.º 48
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddPlaneParameter("Plane", "P", "Plane to convert to euler, quaternion or axis angle values.", GH_ParamAccess.item);
     pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "The robot system will select the orientation type (ABB = quaternions, KUKA = euler angles in degrees, UR = axis angles in radians). If this input is left unconnected, the 3D rotation will be expressed in quaternions.", GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
Ejemplo n.º 49
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.ParameterKey(), "ParameterKey", "K", "Parameter key to decompose", GH_ParamAccess.item);
 }
Ejemplo n.º 50
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new Param_VoxelGrid(), "Grids", "G", "Voxelgrid to analyse", GH_ParamAccess.item);
 }
Ejemplo n.º 51
0
 protected override void AddDefaultInput(GH_InputParamManager pManager)
 {
     pManager.AddParameter(CreateParameter(GH_ParameterSide.Input, pManager.ParamCount));
       pManager.AddParameter(CreateParameter(GH_ParameterSide.Input, pManager.ParamCount));
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new UtilisationParam(), "Utilisation", "U", "Highest utilisation", GH_ParamAccess.item);
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.list);
            pManager.AddBooleanParameter("DisplayToggles", "DT", "Toggles the forces to display. Input should be a list of 6 booleans (N, Vy, Vz, T, Myy, Mzz). [Normal force, shear in weak axis, shear in strong axis, torsion, bending in strong direction, bending in weak direction]", GH_ParamAccess.list);
            pManager.AddNumberParameter("ScalingFactor", "sfac", "Scaling factor for the drawing. Input should be either one 'global' scaling factor or a list of 6 individual ones.", GH_ParamAccess.list, 1);
            pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);

            pManager[3].Optional = true;
        }
Ejemplo n.º 54
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new SpeckleBaseParam("Object", "O", "Object to get values from.", GH_ParamAccess.item));
     pManager.AddGenericParameter("Key", "K", "List of keys", GH_ParamAccess.item);
 }
Ejemplo n.º 55
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new TargetParameter(), "Target", "T", "Target", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new UtilisationParam(), "Utilisation", "U", "Highest utilisation", GH_ParamAccess.item);
 }
Ejemplo n.º 57
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
     pManager.AddTextParameter("Code", "C", "Custom code", GH_ParamAccess.list);
 }
Ejemplo n.º 58
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.Element(), "Element", "E", "Element to inspect", GH_ParamAccess.item);
 }
Ejemplo n.º 59
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item);
            pManager.AddIntegerParameter("First set", "A", "First set of objects. Input a list of index values that correspond to the first collision group. The order is the same as the meshes output of the kinematics component. The environment would be an additional last mesh.", GH_ParamAccess.list, new int[] { 7 });
            pManager.AddIntegerParameter("Second set", "B", "Second set of objects. Input a list of index values that correspond to the second collision group. The order is the same as the meshes output of the kinematics component. The environment would be an additional last mesh.", GH_ParamAccess.list, new int[] { 4 });
            pManager.AddMeshParameter("Environment", "E", "Single mesh object representing the environment", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Environment plane", "P", "If attached to the robot, plane index where the environment is attached to", GH_ParamAccess.item, -1);
            pManager.AddNumberParameter("Linear step size", "Ls", "Linear step size in mm to check for collisions", GH_ParamAccess.item, 100);
            pManager.AddNumberParameter("Angular step size", "As", "Angular step size in rad to check for collisions", GH_ParamAccess.item, PI / 4);

            pManager[3].Optional = true;
        }
Ejemplo n.º 60
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager[manager.AddParameter(new Parameters.ElementFilter(), "Filter", "F", "Filter", GH_ParamAccess.item)].Optional = true;
     manager[manager.AddTextParameter("FamilyName", "F", string.Empty, GH_ParamAccess.item)].Optional = true;
     manager[manager.AddTextParameter("TypeName", "N", string.Empty, GH_ParamAccess.item)].Optional   = true;
 }