protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("data list", "data", "list of objects used to create the components", GH_ParamAccess.list);
     pManager.AddTextParameter("group name", "groupName", "name to give to the group containing the created components", GH_ParamAccess.item);
     pManager.AddGenericParameter("template", "template", "panel used as template for replication and position", GH_ParamAccess.item);
     pManager.AddBooleanParameter("trigger", "trigger", "triggers the component creation", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("CltPanelLibraryType", "CltType", "Clt Panel LibraryType.", GH_ParamAccess.item);
     pManager.AddGenericParameter("TimberFactors", "Factors", "Timber Factors", GH_ParamAccess.item);
     pManager.AddBooleanParameter("ShearCoupling", "ShearCoupling", "Consider shear coupling between layers", GH_ParamAccess.item, true);
     pManager.AddBooleanParameter("GluedNarrowSides", "Glued", "Glue at narrow sides", GH_ParamAccess.item, true);
 }
示例#3
0
 /// <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.AddGenericParameter("RhinoNest Object", "O", "RhinoNest Object", GH_ParamAccess.list);
     pManager.AddGenericParameter("RhinoNest Sheet", "S", "RhinoNest Sheet", GH_ParamAccess.item);
     pManager.AddGenericParameter("RhinoNest Nesting Parameters", "P", "RhinoNest Nesting Parameters",
                                  GH_ParamAccess.item);
 }
示例#4
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Start", "Start", "FemDesign.Reinforcement.PtcShapeStart", GH_ParamAccess.item);
     pManager.AddGenericParameter("Intermidiate", "Intermidiate", "FemDesign.Reinforcement.PtcShapeInner", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("End", "End", "FemDesign.Reinforcement.PtcShapeEnd", GH_ParamAccess.item);
 }
示例#5
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Srf", "Surface.", GH_ParamAccess.item);
     pManager.AddGenericParameter("StiffnessMatrix4Type", "D", "Membrane stiffness matrix", GH_ParamAccess.item);
     pManager.AddGenericParameter("StiffnessMatrix4Type", "K", "Flexural stiffness matrix", GH_ParamAccess.item);
     pManager.AddGenericParameter("StiffnessMatrix2Type", "H", "Shear stiffness matrix", GH_ParamAccess.item);
     pManager.AddNumberParameter("Density", "Density", "Density [t/m2]", GH_ParamAccess.item, 1);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("t1", "t1", "t1 [m]", GH_ParamAccess.item, 0.1);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("t2", "t2", "t2 [m]", GH_ParamAccess.item, 0.1);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("Alpha1", "Alpha1", "Alpha1 [1/°C]", GH_ParamAccess.item, 0.00001);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("Alpha2", "Alpha2", "Alpha2 [1/°C]", GH_ParamAccess.item, 0.00001);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("IgnoreInStImpCalc", "IgnoreInStImpCalc", "Ignore in stability/imperfection calculation", GH_ParamAccess.item, false);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("EdgeConnection", "EdgeConnection", "Optional, rigid if undefined.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddVectorParameter("LocalX", "LocalX", "Set local x-axis. Vector must be perpendicular to surface local z-axis. Local y-axis will be adjusted accordingly. Optional, local x-axis from surface coordinate system used if undefined.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddVectorParameter("LocalZ", "LocalZ", "Set local z-axis. Vector must be perpendicular to surface local x-axis. Local y-axis will be adjusted accordingly. Optional, local z-axis from surface coordinate system used if undefined.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("AverageSurfaceElementSize", "AvgSrfElemSize", "Finite element size. Set average surface element size. If set to 0 FEM-Design will automatically caculate the average surface element size. [m]", GH_ParamAccess.item, 0);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier.", GH_ParamAccess.item, "FS");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
示例#6
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Robot", "R", "The Robot instance that will export this program", GH_ParamAccess.item);
     pManager.AddGenericParameter("Actions", "A", "A program in the form of a list of Actions", GH_ParamAccess.list);
     pManager.AddBooleanParameter("InLineTargets", "i", "If true, targets will be declared inline with the instruction. Otherwise, the will be declared and used as independent variables", GH_ParamAccess.item, true);
     pManager.AddBooleanParameter("Comments", "c", "If true, Machina-style comments with code information will be added to the end of the code instructions", GH_ParamAccess.item, true);
 }
示例#7
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Bar", "Bar", "Bar.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BarReinforcement", "BarReinforcement", "BarReinforcment to add to bar. Item or list.", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Overwrite", "Overwrite", "Overwrite if reinforcement bar already exists on bar - by guid.", GH_ParamAccess.item, true);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Shape to add to", "S", "The Shape object to add element(s) to", GH_ParamAccess.item);
     pManager.AddGenericParameter("Element to add", "E", "The element(s) to add to the shapes. For text use a TextBlock or Label, for instance.", GH_ParamAccess.list);
     pManager.AddPointParameter("Element Location", "L", "The point at which to position the element", GH_ParamAccess.list);
     pManager.AddNumberParameter("Scale", "Sc", "The scale (this should match whatever you're using for your shape)", GH_ParamAccess.item, 1);
 }
示例#9
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddGenericParameter("_topology", "_topology", "Topology will be silced", GH_ParamAccess.item);
     manager.AddGenericParameter("_sliceTopology", "_sliceTopology", "Slice Topology", GH_ParamAccess.item);
     manager[1].Optional = false;
     manager.AddBooleanParameter("_transferDictionary_", "_transferDictionary_", "Transfer Dictionary", GH_ParamAccess.item, false);
 }
示例#10
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Web Window", "web", "Web Window Instance",
                                  GH_ParamAccess.item);
     pManager.AddGenericParameter("Setters", "set", "The commands for setting values in the web UI.",
                                  GH_ParamAccess.item);
 }
示例#11
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Bar", "Bar", "Bar. Timber bar element.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.FlexuralStiff", "FlexuralStiff", "BucklingLength definition in Flexural Stiff direction.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.FlexuralWeak", "FlexuralWeak", "BucklingLength definition in Flexural Weak direction.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.LateralTorsional", "LateralTorsional", "BucklingLength definition for Lateral Torsional Buckling.", GH_ParamAccess.item);
 }
示例#12
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Primary Data", "D1", "The data to prefer and use as long as it is not null",
                                  GH_ParamAccess.tree);
     pManager[0].Optional = true;
     pManager.AddGenericParameter("Backup Data", "D2",
                                  "The secondary data to rely on if the primary data is empty or null", GH_ParamAccess.tree);
 }
示例#13
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Bar", "Bar", "Bar. Steel bar element.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.FlexuralStiff", "FlexuralStiff", "BucklingLength definition in Flexural Stiff direction.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.FlexuralWeak", "FlexuralWeak", "BucklingLength definition in Flexural Weak direction.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.PressuredTopFlange", "PressuredTopFlange", "BucklingLength definition for Pressured Top Flange.", GH_ParamAccess.item);
     pManager.AddGenericParameter("BucklingLength.PressuredBottomFlange", "PressuredBottomFlange", "BucklingLength definition for Pressured Bottom Flange.", GH_ParamAccess.item);
 }
示例#14
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Direction", "Direction.", GH_ParamAccess.item);
     pManager.AddGenericParameter("TopBotLocationValue", "TopBotLocVal", "Temperature at top and bottom of surface. Either 1 value (uniform) or 3 values (variable). [\x00B0C]", GH_ParamAccess.list);
     pManager.AddGenericParameter("LoadCase", "LoadCase", "LoadCase.", GH_ParamAccess.item);
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("_neo4jDriver", "DB", "Neo4j Database connection", GH_ParamAccess.item);
     pManager.AddGenericParameter("_parameters", "Perams", "List of parameters", GH_ParamAccess.list);
     pManager.AddTextParameter("Node Name", "N", "Node name", GH_ParamAccess.item);
     pManager.AddTextParameter("Node Id", "Id", "Node ID", GH_ParamAccess.item);
     pManager.AddTextParameter("Variable Names", "Vn", "Variable Names", GH_ParamAccess.list);
     pManager.AddGenericParameter("Variable Values", "Vv", "Variable Values", GH_ParamAccess.list);
 }
示例#16
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Direction", "Vector. Direction of force.", GH_ParamAccess.item);
     pManager.AddGenericParameter("LoadLocationValue", "LoadLocationValue", "LoadLocationValue objects. List of 3 items [q1, q2, q3].", GH_ParamAccess.list);
     pManager.AddGenericParameter("LoadCase", "LoadCase", "LoadCase.", GH_ParamAccess.item);
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
     pManager[4].Optional = true;
 }
示例#17
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "Curve", "Curve. Line or Arc.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Dir", "Direction of load. If undefined global Z-axis will be used. For more information about direction - see FEM-Design GUI.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("TopBotLocationValue", "TopBotLocVal", "Temperature at top and bottom of surface. List should contain 2 values - start and end value. [\x00B0C]", GH_ParamAccess.list);
     pManager.AddGenericParameter("LoadCase", "LoadCase", "LoadCase.", GH_ParamAccess.item);
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddGenericParameter("Data", "D", "The data to send.",
                                         GH_ParamAccess.tree);
            pManager.AddGenericParameter("Stream", "S", "Stream(s) and/or transports to send to.", GH_ParamAccess.tree);
            pManager.AddTextParameter("Message", "M", "Commit message. If left blank, one will be generated for you.",
                                      GH_ParamAccess.tree, "");

            Params.Input[2].Optional = true;
        }
示例#19
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter(RS.queleaName + " Settings", RS.queleaNickname + "S", "The settings for your particle, agent, or vehicle; collectively reffered to as 'quelea'.",
                                  GH_ParamAccess.list);
     pManager.AddGenericParameter(RS.emittersName, RS.emitterNickname, RS.emittersDescription,
                                  GH_ParamAccess.list);
     pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, "Restricts and Agent's postion to be contained within the environment. This is most useful for Surface and Polysurface Environments. For Brep Environments, consider using the Contain rules as they will run much faster.",
                                  GH_ParamAccess.item);
     pManager[2].Optional = true;
 }
示例#20
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddGenericParameter(RS.queleaName + " Settings", RS.queleaNickname + "S", "The settings for your particle, agent, or vehicle; collectively reffered to as 'quelea'.", 
                                 GH_ParamAccess.list);
   pManager.AddGenericParameter(RS.emittersName, RS.emitterNickname, RS.emittersDescription,
                                 GH_ParamAccess.list);
   pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, "Restricts and Agent's postion to be contained within the environment. This is most useful for Surface and Polysurface Environments. For Brep Environments, consider using the Contain rules as they will run much faster.",
                                 GH_ParamAccess.item);
   pManager[2].Optional = true;
 }
示例#21
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface. Surface must be flat.", GH_ParamAccess.item);
     pManager.AddGenericParameter("SupportingBars", "SupportingBars", "Single bar element or list of bar elements. List cannot be nested.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("SupportingSlabs", "SupportingSlabs", "Single slab element or list of slab elements. List cannot be nested.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier.", GH_ParamAccess.item, "CO");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
示例#22
0
文件: Export.cs 项目: hrntsm/HoaryFox
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Node", "Node", "StbNode data", GH_ParamAccess.list);
     pManager.AddGenericParameter("Axis", "Axis", "StbAxes data", GH_ParamAccess.item);
     pManager.AddGenericParameter("Story", "Story", "StbStory data", GH_ParamAccess.list);
     pManager.AddGenericParameter("Member", "Mem", "StbMember data", GH_ParamAccess.item);
     pManager.AddGenericParameter("Section", "Sec", "StbSection data", GH_ParamAccess.item);
     pManager.AddTextParameter("Path", "Path", "Output path", GH_ParamAccess.item, _defaultOutPath);
     pManager.AddBooleanParameter("Out?", "Out?", "If it is true, output stb file.", GH_ParamAccess.item, false);
 }
示例#23
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Motions", "Motions", "Motions.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Rotations", "Rotations", "Rotations.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Plastic Limits Forces Motions", "PlaLimM", "Plastic limits forces for motion springs. Optional.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Plastic Limits Moments Rotations", "PlaLimR", "Plastic limits moments for rotation springs. Optional.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("LibraryName", "LibraryName", "When libraryName is not null or empty, the edge connection will be treated as a \"predefined/library\" item. Default is to treat is a a unique \"custom\" edge connection.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Direction", "Vector. Direction of force.", GH_ParamAccess.item);
     pManager.AddGenericParameter("LoadLocationValue", "LoadLocationValue", "LoadLocationValue objects. List of 3 items [q1, q2, q3]. [kN/m²]", GH_ParamAccess.list);
     pManager.AddBooleanParameter("LoadProjection", "LoadProjection", "LoadProjection. \nFalse: Intensity meant along action line (eg. dead load). \nTrue: Intensity meant perpendicular to direction of load (eg. snow load).", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCase", "LoadCase", "LoadCase.", GH_ParamAccess.item);
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddPointParameter("Point", "Point", "Point where to place the PointSupport. [m]", GH_ParamAccess.item);
     pManager.AddGenericParameter("Motions", "Motions", "Motion springs.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Rotations", "Rotations", "Rotation springs.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Plastic Limits Forces Motions", "PlaLimM", "Plastic limits forces for motion springs. Optional.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Plastic Limits Moments Rotations", "PlaLimR", "Plastic limits moments for rotation springs. Optional.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier. Optional, default value if undefined.", GH_ParamAccess.item, "S");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
示例#26
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddGenericParameter("Parent Window", "P", "The parent window", GH_ParamAccess.item);
            pManager.AddGenericParameter("Child Window", "C", "The child window", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Default Option", "D", "Use this if you want to reset the child window to one of the default modes and break its relationship with the parent.", GH_ParamAccess.item);
            pManager[2].Optional = true;
            var defaultOptionParam = pManager[2] as Param_Integer;

            defaultOptionParam.AddNamedValue("Child of GH", 0);
            defaultOptionParam.AddNamedValue("Child of Rhino", 1);
            defaultOptionParam.AddNamedValue("Always on Top", 2);
        }
示例#27
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Line", "Line", "LineCurve", GH_ParamAccess.item);
     pManager.AddGenericParameter("Material", "Material", "Material.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Section", "Section", "Section.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddVectorParameter("LocalY", "LocalY", "Set local y-axis. Vector must be perpendicular to Curve mid-point local x-axis. This parameter overrides OrientLCS", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("OrientLCS", "OrientLCS", "Orient LCS to GCS? If true the LCS of this object will be oriented to the GCS trying to align local z to global z if possible or align local y to global y if possible (if object is vertical). If false local y-axis from Curve coordinate system at mid-point will be used.", GH_ParamAccess.item, true);
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier. Optional, default value if undefined.", GH_ParamAccess.item, "T");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager manager)
        {
            int index = -1;

            index = manager.AddGenericParameter("_cell", "_cell", "Cell", GH_ParamAccess.item);
            manager[index].DataMapping = GH_DataMapping.Flatten;

            index = manager.AddGenericParameter("_vertex", "_vertex", "Vertex", GH_ParamAccess.item);
            manager[index].DataMapping = GH_DataMapping.Graft;

            manager.AddBooleanParameter("_allowOnBoundary", "_allowOnBoundary", "Allow On Boundary", GH_ParamAccess.item);
            manager.AddNumberParameter("_tolerance_", "_tolerance_", "Tolerance", GH_ParamAccess.item, SAM.Core.Tolerance.MacroDistance);
        }
示例#29
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("CountryCode", "CountryCode", "National annex of calculation code D/DK/EST/FIN/GB/H/N/PL/RO/S/TR", GH_ParamAccess.item, "S");
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Structure Elements", "Elements", "Single structure element or list of structure elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Loads", "Loads", "Single PointLoad, LineLoad, SurfaceLoad or PressureLoad element or list of PointLoad, LineLoad, SurfaceLoad or PressureLoad to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCases", "LoadCases", "Single LoadCase element or list of LoadCase elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCombinations", "LoadCombinations", "Single LoadCombination element or list of LoadCombination elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
示例#30
0
        //This region overrides the typical component layout
        #endregion

        #region input and output

        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddGenericParameter("GSA Model(s)", "GSA", "Existing GSA Model(s) to append to" + System.Environment.NewLine +
                                         "If you input more than one model they will be merged" + System.Environment.NewLine + "with first model in list taking priority for IDs", GH_ParamAccess.list);
            pManager.AddGenericParameter("GSA Properties", "Prob", "Sections and Prop2Ds to add/set in model" + System.Environment.NewLine +
                                         "Properties already added to Elements or Members" + System.Environment.NewLine + "will automatically be added with Geometry input", GH_ParamAccess.list);
            pManager.AddGenericParameter("GSA Geometry", "Geo", "Nodes, Element1Ds, Element2Ds, Member1Ds, Member2Ds and Member3Ds to add/set in model", GH_ParamAccess.list);
            pManager.AddGenericParameter("GSA Load", "Load", "Loads to add to the model" + System.Environment.NewLine + "You can also use this input to add Edited GridPlaneSurfaces", GH_ParamAccess.list);
            for (int i = 0; i < pManager.ParamCount; i++)
            {
                pManager[i].Optional = true;
            }
        }
示例#31
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface defining the SurfaceSupport.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Motions", "Motions", "Motions release for the surface support.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Plastic Limits Forces Motions", "PlaLimM", "Plastic limits forces for motion springs. Optional.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddVectorParameter("LocalX", "LocalX", "Set local x-axis. Vector must be perpendicular to surface local z-axis. Local y-axis will be adjusted accordingly. Optional, local x-axis from surface coordinate system used if undefined.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddVectorParameter("LocalZ", "LocalZ", "Set local z-axis. Vector must be perpendicular to surface local x-axis. Local y-axis will be adjusted accordingly. Optional, local z-axis from surface coordinate system used if undefined.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier. Optional, default value if undefined.", GH_ParamAccess.item, "S");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
示例#32
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   // Use the pManager object to register your input parameters.
   // You can often supply default values when creating parameters.
   // All parameters must have the correct access type. If you want 
   // to import lists or trees of values, modify the ParamAccess flag.
   pManager.AddGenericParameter(RS.agentName + " " + RS.queleaName, RS.agentNickname + RS.queleaNickname, RS.agentToGetNeighborsFor, GH_ParamAccess.item);
   pManager.AddGenericParameter(RS.queleaNetworkName, RS.queleaNetworkNickname, RS.queleaNetworkToSearch, GH_ParamAccess.item);
   pManager.AddGenericParameter(RS.visionRadiusName + " " + RS.multiplierName, RS.visionRadiusNickname + RS.multiplierNickname, RS.visionRadiusMultiplierDescription, GH_ParamAccess.item);
   pManager.AddGenericParameter(RS.visionAngleName + " " + RS.multiplierName, RS.visionAngleNickname + RS.multiplierNickname, "The factor by which the Agent's Vision Angle will be multiplied. The result will be used to determine the angle from the velocity that the agent will be able to see neighbors.", GH_ParamAccess.item);
   // If you want to change properties of certain parameters, 
   // you can use the pManager instance to access them by index:
   pManager[2].Optional = true;
   pManager[3].Optional = true;
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, RS.environmentDescription, GH_ParamAccess.item);
   pManager.AddNumberParameter(RS.visionRadiusMultiplierName, RS.visionRadiusMultiplierNickname, RS.visionRadiusMultiplierDescription,
     GH_ParamAccess.item, RS.visionRadiusMultiplierDefault / 5);
 }
示例#34
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            //0
            pManager.AddGeometryParameter("Geometry", "Geom", "Input Surface or Mesh", GH_ParamAccess.item);

            //1
            pManager.AddGenericParameter("TargetLengthFunction", "L", "A function determining local edge length", GH_ParamAccess.item);

            //2
            pManager.AddCurveParameter("FixCurves", "FixC", "Curves which will be kept sharp during remeshing. Can be boundary or internal curves", GH_ParamAccess.list);
            pManager[2].Optional = true;

            //3
            pManager.AddPointParameter("FixVertices", "FixV", "Points to keep fixed during remeshing", GH_ParamAccess.list);
            pManager[3].Optional = true;

            //4
            pManager.AddIntegerParameter("Flip", "Flip", "Criterion used to decide when to flip edges (0 for valence based, 1 for angle based)", GH_ParamAccess.item, 1);

            //5
            pManager.AddNumberParameter("PullStrength", "Pull", "Strength of pull to target geometry (between 0 and 1). Set to 0 for minimal surfaces", GH_ParamAccess.item, 0.8);

            //6
            pManager.AddIntegerParameter("Iterations", "Iter", "Number of steps between outputs", GH_ParamAccess.item, 1);

            //7
            pManager.AddBooleanParameter("Reset", "Reset", "True to initialize, false to run remeshing. Connect a timer for continuous remeshing", GH_ParamAccess.item, true);
        }
示例#35
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddGenericParameter(RS.particleName + " " + RS.queleaName + " Settings", RS.particleNickname + RS.queleaNickname + "S", RS.particleDescription, GH_ParamAccess.item);
   pManager.AddNumberParameter(RS.maxSpeedName, RS.maxSpeedNickname, RS.maxSpeedDescription, GH_ParamAccess.item, RS.maxSpeedDefault);
   pManager.AddNumberParameter(RS.maxForceName, RS.maxForceNickname, RS.maxForceDescription, GH_ParamAccess.item, RS.maxForceDefault);
   pManager.AddNumberParameter(RS.visionRadiusName, RS.visionRadiusNickname, RS.visionRadiusDescription, GH_ParamAccess.item, RS.visionRadiusDefault);
   pManager.AddNumberParameter(RS.visionAngleName, RS.visionAngleNickname, RS.visionAngleDescription, GH_ParamAccess.item, RS.visionAngleDefault);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   // Use the pManager object to register your input parameters.
   // You can often supply default values when creating parameters.
   // All parameters must have the correct access type. If you want 
   // to import lists or trees of values, modify the ParamAccess flag.
   pManager.AddGenericParameter(RS.particleName + " " + RS.queleaName, RS.particleNickname + RS.queleaNickname, RS.particleDescription, GH_ParamAccess.item);
 }
示例#37
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter("Environment", "En", "The Surface or Polysurface Environment to flow over.", GH_ParamAccess.item);
   pManager.AddNumberParameter("Step distance", "D", "The distance the particle will move each timestep. Smaller distances will lead to more accurate results.",
     GH_ParamAccess.item, 0.1);
   pManager.AddNumberParameter("Rotation Angle", "A", "The angle that the surface tangent vector will be multiplied by PI and rotated by. A 0 angle will cause the particle to flow across the surface whereas a 0.5 angle will cause the particle to flow down the surface.",
     GH_ParamAccess.item, 0.5);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   // Use the pManager object to register your input parameters.
   // You can often supply default values when creating parameters.
   // All parameters must have the correct access type. If you want 
   // to import lists or trees of values, modify the ParamAccess flag.
   pManager.AddGenericParameter(RS.vehicleName + " " + RS.queleaName, RS.vehicleNickname + RS.queleaNickname, RS.vehicleDescription, GH_ParamAccess.item);
   pManager.AddNumberParameter(RS.visionRadiusName + " " + RS.multiplierName, RS.visionRadiusNickname + RS.multiplierNickname, RS.visionRadiusMultiplierDescription, GH_ParamAccess.item, RS.visionRadiusMultiplierDefault/5);
   pManager.AddNumberParameter(RS.visionAngleName + " " + RS.multiplierName, RS.visionAngleNickname + RS.multiplierNickname, RS.visionAngleMultiplierDescription, GH_ParamAccess.item, RS.visionAngleMultiplierDefault/8);
   pManager.AddBooleanParameter("Crossed?", "C", "If true, the sensors will affect the wheels on the opposite side. If false, a higher sensor reading on the left side will cause the left wheel to turn faster causing the vehicle to turn to its right. Generally, if the sensors are not crossed, then the vehicle will steer away from areas with high values.",
     GH_ParamAccess.item, false);
 }
示例#39
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddGenericParameter(RS.particleName + " " + RS.queleaName, RS.particleNickname + RS.queleaNickname, RS.particleDescription, GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, RS.bounceContainBehaviorEnvironmentDescription, GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddGenericParameter(RS.queleaNetworkName, RS.queleaNetworkNickname, RS.queleaNetworkDescription, GH_ParamAccess.item);
 }
 /// <summary>
 ///     Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Report", "R", "Report", GH_ParamAccess.list);
 }
示例#43
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter("Bitmap Image", "I", "An image from which the brightness values will be used to steer the Vehicle. Ideally, this will be a grayscale somewhat blurry image.", GH_ParamAccess.item);
 }
示例#44
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddBooleanParameter(RS.resetName, RS.resetNickname, RS.resetDescription, GH_ParamAccess.item, RS.resetDefault);
   pManager.AddGenericParameter(RS.systemName, RS.systemNickname, RS.systemDescription, GH_ParamAccess.item);
   
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter(RS.queleaNetworkName, RS.queleaNetworkNickname, RS.neighborsToReactTo, GH_ParamAccess.item);
 }
示例#46
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddGenericParameter(RS.agentName + " " + RS.queleaName + " Settings", RS.agentNickname + RS.queleaNickname + "S", RS.agentDescription, GH_ParamAccess.item);
   pManager.AddNumberParameter("Wheel Radius", "W", "The radius of the wheels.", GH_ParamAccess.item, RS.wheelRadiusDefault);
 }
示例#47
0
 /// <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.AddGenericParameter("RhinoNest Object", "O", "RhinoNest Object", GH_ParamAccess.list);
     pManager.AddGenericParameter("RhinoNest Sheet", "S", "RhinoNest Sheet", GH_ParamAccess.item);
     pManager.AddGenericParameter("RhinoNest Nesting Parameters", "P", "RhinoNest Nesting Parameters",
         GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   base.RegisterInputParams(pManager);
   pManager.AddGenericParameter("Target Point", "P", "Point to be attracted to.", GH_ParamAccess.item);
 }