Beispiel #1
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new RuleParameter(),
                           "Rules",
                           "R",
                           "Suggested Monoceros Rules",
                           GH_ParamAccess.list);
     pManager.AddParameter(new RuleParameter(),
                           "Rules Indifferent",
                           "RI",
                           "Suggested Indifferent Monoceros Rules",
                           GH_ParamAccess.list);
 }
Beispiel #2
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new ModuleParameter(),
                           "Module",
                           "M",
                           "Empty Monoceros Module",
                           GH_ParamAccess.item);
     pManager.AddParameter(new RuleParameter(),
                           "Rules",
                           "R",
                           "Monoceros Rules making the Empty rule Indifferent",
                           GH_ParamAccess.list);
 }
Beispiel #3
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new SlotParameter(),
                           "Source Slots",
                           "SS",
                           "Slots generated from Monoceros Module described by the " +
                           "Monoceros Rule as source.",
                           GH_ParamAccess.list);
     pManager.AddParameter(new SlotParameter(),
                           "Target Slots",
                           "TS",
                           "Slots generated from Monoceros Module described by the " +
                           "Monoceros Rule as target.",
                           GH_ParamAccess.list);
 }
 // OUTPUT
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddNumberParameter("Number of rotated tiles", "Offsetes count", "", GH_ParamAccess.item);
     pManager.AddParameter(new PatternHistoryParam());
     pManager.AddNumberParameter("Pattern Count", "", "", GH_ParamAccess.list);
     pManager.AddNumberParameter("Average contradiction value", "", "", GH_ParamAccess.item);
 }
Beispiel #5
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     // Loaded Structure
     pManager.AddParameter(new StructureParameter());
     // Info
     //pManager.AddTextParameter("Information", "Info", "Feedback on Loading Operation", GH_ParamAccess.item);
 }
Beispiel #6
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new PatternFromSampleParam());
     pManager.AddPointParameter("Half tiles", "", "", GH_ParamAccess.list);
     pManager.AddPointParameter("Full tiles", "", "", GH_ParamAccess.list);
     pManager.AddPointParameter("Empty tiles", "", "", GH_ParamAccess.list);
 }
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            var p = new GH_TurtleMeshParam();

            p.Name     = "TurtleMesh";
            p.NickName = "T";
            pManager.AddParameter(p);
        }
Beispiel #8
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new ModuleParameter(),
                           "Module",
                           "M",
                           "Monoceros Module",
                           GH_ParamAccess.item);
 }
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            pManager.AddNumberParameter("Lowest eigenfrequency", "EigenFreq", "Lowest eigenfrequiences of the structure within the span", GH_ParamAccess.list);
            pManager.AddParameter(new StructureParameter(), "Stucture", "Structure", "MiStrAn structure", GH_ParamAccess.item);

            pManager.AddNumberParameter("Residuals", "Res", "Residuals for each eigenvalue", GH_ParamAccess.list);
            pManager.AddTextParameter("Analysis info", "info", "Feedback from the solver routine", GH_ParamAccess.item);
        }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new RuleParameter(),
                           "Rules",
                           "R",
                           "Monoceros Rules",
                           GH_ParamAccess.list);
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     // Use the pManager object to register your output parameters.
     // Output parameters do not have default values, but they too must have the correct access type.
     pManager.AddParameter(new Param_RFEM(), "Nodes", "Nodes", "Nodes from the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Lines", "Lines", "Lines from the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Members", "Members", "Members from the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Surfaces", "Sfcs", "Surfaces from the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Openings", "Ops", "Openings from the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Nodal Supports", "NodSup", "Nodal Supports from in the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Line Supports", "LineSup", "Line Supports from in the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Line Hinges", "LineHinges", "Line Hinges from in the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Cross Sections", "CroSecs", "Cross Sections from in the RFEM Model.", GH_ParamAccess.list);
     pManager.AddParameter(new Param_RFEM(), "Material", "Mat", "Materials from the RFEM Model.", GH_ParamAccess.list);
     // Sometimes you want to hide a specific parameter from the Rhino preview.
     // You can use the HideParameter() method as a quick way:
     // pManager.HideParameter(0);
 }
Beispiel #12
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new RuleParameter(),
                           "Rules Explicit",
                           "R",
                           "Explicit Monoceros Rules",
                           // TODO: consider returning a tree
                           GH_ParamAccess.list);
 }
Beispiel #13
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new Param_ScriptVariable
     {
         Name        = "Output",
         NickName    = "O",
         Description = ""
     });
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new StructureParameter(), "Analysed structure", "Structure", "Use visualise results to view", GH_ParamAccess.item);
     pManager.AddVectorParameter("Tx Ty Tz [m]", "Displacements", "Solved displacements in m", GH_ParamAccess.list);
     pManager.AddVectorParameter("Rx Ry Rz", "Rotations", "Solved rotations", GH_ParamAccess.list);
     pManager.AddNumberParameter("r [kN]", "Reactions", "solved reactions in kN", GH_ParamAccess.list);
     pManager.AddVectorParameter("P1 P2 0 [MPa]", "PrincipalStresses", "Principal stresses in MPa", GH_ParamAccess.list);
     pManager.AddNumberParameter("Principal stress angles", "PS Angles", "Angles for principal stresses in each element [degrees]", GH_ParamAccess.list);
     pManager.AddNumberParameter("von Mises stresses", "vMis", "von Mises stresses in each element", GH_ParamAccess.list);
 }
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            // Use the pManager object to register your output parameters.
            pManager.AddParameter(new Param_RFEM(), "Calculation Results", "Results", "Calculation results of the specified load case or load combination.", GH_ParamAccess.item);

            // Output parameters do not have default values, but they too must have the correct access type.
            // Sometimes you want to hide a specific parameter from the Rhino preview.
            // You can use the HideParameter() method as a quick way:
            // pManager.HideParameter(0);
        }
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            // change to assembled model parameter
            /*sN = list of structural nodes (duplicates are culled) */
            pManager.AddPointParameter("Nodes", "sN", "Model Node Coordinates", GH_ParamAccess.list);
            pManager.AddParameter(new Parameters.StructureParameter());

            /*The following does not need to be an output of the component, now it is to check if the component works*/
            // pManager.AddMatrixParameter("Node Matrix", "COOR", "Node Matrix  for Structural Analysis", GH_ParamAccess.item);
            // pManager.AddNumberParameter("Element Matrix", "MMEM", "Element Matrix for Structural Analysis", GH_ParamAccess.list);
        }
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            pManager.AddTextParameter("Output", "Output", "Output", GH_ParamAccess.list);
            pManager.AddNumberParameter("Volume", "Volume", "Volume", GH_ParamAccess.item);
            var p = new MolecularParam();

            p.Name     = "Molecular";
            p.NickName = "M";
            p.Access   = GH_ParamAccess.item;
            pManager.AddParameter(p);
        }
Beispiel #18
0
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            Param_GenericObject parameter = new Param_GenericObject();

            parameter.Name        = "Pipe Output";
            parameter.NickName    = "pipe_name";
            parameter.Description = "Output from the pipe.";
            parameter.Access      = GH_ParamAccess.list;
            parameter.DataMapping = GH_DataMapping.Flatten;
            pManager.AddParameter(parameter);
        }
Beispiel #19
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new ModuleNameParameter(),
                           "Module Name",
                           "MN",
                           "Module name (converted to lowercase).",
                           GH_ParamAccess.list);
     pManager.AddPointParameter("Module Part Center Points",
                                "Pt",
                                "Points in the center of Module Parts. Module parts will be fit" +
                                " into the Slots of the Envelope.",
                                GH_ParamAccess.list);
     pManager.AddGeometryParameter("Geometry",
                                   "G",
                                   "Geometry contained in the module.",
                                   GH_ParamAccess.list);
     pManager.AddPlaneParameter("Base Plane",
                                "B",
                                "Grid space base plane. Defines orientation of the grid.",
                                GH_ParamAccess.list);
     pManager.AddVectorParameter("Module Part Diagonal",
                                 "D",
                                 "Vector specifying single Module Part dimensions" +
                                 "in base-plane-aligned XYZ axes. The Module Part Diagonal " +
                                 "must match Envelope's Slot diagonals.",
                                 GH_ParamAccess.item);
     pManager.AddBooleanParameter("Is Compact",
                                  "C",
                                  "Does the Module hold together?",
                                  GH_ParamAccess.item);
     pManager.AddBooleanParameter("Is Valid",
                                  "V",
                                  "Is the Module valid for the Monoceros WFC Solver?",
                                  GH_ParamAccess.item);
     pManager.AddPlaneParameter("Connectors",
                                "CP",
                                "Connector planes",
                                GH_ParamAccess.list);
     pManager.AddIntegerParameter("Connector Indices",
                                  "CI",
                                  "Connector indices",
                                  GH_ParamAccess.list);
     pManager.AddVectorParameter("Connector Directions",
                                 "CD",
                                 "Directions of connectors as unit vectors aligned to the " +
                                 "base plane - a list parallel to CP.",
                                 GH_ParamAccess.list);
     pManager.AddBooleanParameter("Connector Use Pattern",
                                  "CU",
                                  "Connector use pattern - a list parallel to CP. " +
                                  "(only if R are provided)",
                                  GH_ParamAccess.list);
 }
Beispiel #20
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new ModuleNameParameter(),
                           "Source Module Name",
                           "SMN",
                           "Source module name",
                           GH_ParamAccess.item);
     pManager.AddIntegerParameter("Source Connector Index",
                                  "SC",
                                  "Source connector number",
                                  GH_ParamAccess.item);
     pManager.AddParameter(new ModuleNameParameter(),
                           "Target Module Name",
                           "TMN",
                           "Target module name",
                           GH_ParamAccess.item);
     pManager.AddIntegerParameter("Target Connector Index",
                                  "TC",
                                  "Target connector index",
                                  GH_ParamAccess.item);
 }
Beispiel #21
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new ModuleNameParameter(),
                           "Module Name",
                           "MN",
                           "Module name",
                           GH_ParamAccess.item);
     pManager.AddIntegerParameter("Connector Index",
                                  "C",
                                  "Connector index",
                                  GH_ParamAccess.item);
     pManager.AddTextParameter("Type", "T", "Connector type", GH_ParamAccess.item);
 }
Beispiel #22
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Center",
                                "Pt",
                                "Center point of the slot",
                                GH_ParamAccess.list);
     pManager.AddPlaneParameter("Base Plane",
                                "B",
                                "Grid space base plane. Defines orientation of the grid.",
                                GH_ParamAccess.list);
     pManager.AddVectorParameter(
         "Diagonal",
         "D",
         "World grid slot diagonal vector specifying single grid slot dimension " +
         "in base-plane-aligned XYZ axes",
         GH_ParamAccess.list);
     pManager.AddParameter(new ModuleNameParameter(),
                           "Allowed Module Names",
                           "MN",
                           "Initiate the slot with specified Module names allowed.",
                           GH_ParamAccess.list);
     // The following are output as lists to preserve the same tree structure with the Module Names
     pManager.AddBooleanParameter("Is Deterministic",
                                  "Det",
                                  "The Slot allow placement of exactly one Module Part if true.",
                                  GH_ParamAccess.list);
     pManager.AddBooleanParameter("Allows All Modules",
                                  "All",
                                  "The Slot allows placement of any Module if true.",
                                  GH_ParamAccess.list
                                  );
     pManager.AddBooleanParameter("Allows Nothing",
                                  "Nil",
                                  "The Slot allows placement of no Module if true.",
                                  GH_ParamAccess.list
                                  );
     pManager.AddBooleanParameter("Is Valid",
                                  "Val",
                                  "The Slot valid for the Monoceros WFC Solver if true.",
                                  GH_ParamAccess.list);
 }
Beispiel #23
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Center",
                                "Pt",
                                "Center point of the slot",
                                GH_ParamAccess.list);
     pManager.AddPlaneParameter("Base Plane",
                                "B",
                                "Grid space base plane. Defines orientation of the grid.",
                                GH_ParamAccess.list);
     pManager.AddVectorParameter(
         "Diagonal",
         "D",
         "World grid slot diagonal vector specifying single grid slot dimension " +
         "in base-plane-aligned XYZ axes",
         GH_ParamAccess.list);
     pManager.AddParameter(new ModuleNameParameter(),
                           "Allowed Module Names",
                           "MN",
                           "Initiate the slot with specified Module names allowed.",
                           GH_ParamAccess.list);
     pManager.AddBooleanParameter("Allows All Modules",
                                  "A",
                                  "The Slot allows any Module to be placed in it if true.",
                                  GH_ParamAccess.list
                                  );
     pManager.AddBooleanParameter("Allows Nothing",
                                  "N",
                                  "The Slot allows no Module to be placed in it if true.",
                                  GH_ParamAccess.list
                                  );
     pManager.AddBooleanParameter("Is Valid",
                                  "V",
                                  "Is the Slot valid for the Monoceros WFC Solver?",
                                  GH_ParamAccess.item);
 }
Beispiel #24
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new PterodactylGrasshopperBitmapParam(), "Report Part", "Report Part", "Created part of the report (Markdown text with referenced Image)", GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new GH_PointCloudParam(), "Point Cloud", "PCD", "Point Cloud data", GH_ParamAccess.item);
 }
Beispiel #26
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new Param_Material(), "Material", "M", "Material Properties", GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new EdgeConstraint_Param());
 }
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            Param_OGLShader param_OGLShader = new Param_OGLShader();

            pManager.AddParameter(param_OGLShader, "Material", "M", "The material override", GH_ParamAccess.item);
        }
Beispiel #29
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new Param_Cloud(), "Cloud", "C", "Cloud with UserData", GH_ParamAccess.item);
 }
Beispiel #30
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddParameter(new DMesh3_Param(), "Mesh", "dm3", "cut mesh", GH_ParamAccess.item);
 }