示例#1
0
        //Set the outputs:
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            pManager.AddSurfaceParameter("Planar", "Planar-Green", "Planar Surfaces", GH_ParamAccess.list);
            pManager.AddSurfaceParameter("SingleCurved", "SingleCurved-Yellow", "Single Curved Surfaces", GH_ParamAccess.list);
            pManager.AddSurfaceParameter("DoubleCurved", "DoubleCurved-Red", "Double Curved Surfaces", GH_ParamAccess.list);

            //pManager.HideParameter(index)
        }
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Tile 01 Bar", "Tile 01 Bar", "Tile 01 Bar", GH_ParamAccess.item);
     pManager.AddSurfaceParameter("Tile 02 Bar", "Tile 02 Bar", "Tile 02 Bar", GH_ParamAccess.item);
     pManager.AddSurfaceParameter("Tile 03 Bar", "Tile 03 Bar", "Tile 03 Bar", GH_ParamAccess.item);
     pManager.AddTextParameter("Tile 01 Count", "", "", GH_ParamAccess.item);
     pManager.AddTextParameter("Tile 02 Count", "", "", GH_ParamAccess.item);
     pManager.AddTextParameter("Tile 03 Count", "", "", GH_ParamAccess.item);
 }
示例#3
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("wave: half surfaces", "", "", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("wave: full surfaces", "", "", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("wave: empty surfaces", "", "", GH_ParamAccess.list);
     pManager.AddColourParameter("colours", "", "", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("uncollapsed", "", "", GH_ParamAccess.list);
     pManager.AddNumberParameter("pattern count", "", "", GH_ParamAccess.list);
     pManager.AddNumberParameter("Entropies", "", "", GH_ParamAccess.list);
 }
示例#4
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     //0
     pManager.AddGenericParameter(Tools.c_o_n, Tools.c_o_s, Tools.c_o_d, GH_ParamAccess.item);
     //1
     pManager.AddSurfaceParameter("Normal Vector", "NV", "Display the normal vector", GH_ParamAccess.list);
 }
示例#5
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     //pManager.AddCurveParameter("DisplayGrids", "DisplayGrids", "DisplayGrids", GH_ParamAccess.list);
     //pManager.AddSurfaceParameter("DisplayBeams", "DisplayBeams", "DisplayBeams", GH_ParamAccess.list);
     //pManager.AddSurfaceParameter("DisplayColumns", "DisplayColumns", "DisplayColumns", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Display", "Display", "Display", GH_ParamAccess.list);
 }
示例#6
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("File Info", "Info", "File info related to bounding box domain", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "Pts", "Points, branched along longitude", GH_ParamAccess.tree);
     pManager.AddCurveParameter("Curves", "Crvs", "Curves representing the longitudinal lines", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Surface", "Srf", "Topo surface genreated from the curves.", GH_ParamAccess.item);
 }
示例#7
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("Soil", "S", "Model of the soil, closed in Geo_Soil class", GH_ParamAccess.item);
     pManager.AddTextParameter("Infos", "I", "Information about terrain creation", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "Points on the terrain", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Surface", "S", "Surface of the terrain", GH_ParamAccess.list);
 }
示例#8
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "S", "Modified surface", GH_ParamAccess.item);
     pManager.AddIntervalParameter("U Domain", "U", "Modified U domain", GH_ParamAccess.item);
     pManager.AddIntervalParameter("V Domain", "V", "Modified V domain", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Closed", "C", "Determine direction of closed surface (0: U direction closed, 1: V direction closed)", GH_ParamAccess.item);
 }
示例#9
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "S", "Resulting surface", GH_ParamAccess.list);
     pManager.AddPointParameter("Vertices", "V", "Surface vertices", GH_ParamAccess.list);
     pManager.AddCurveParameter("Edges", "E", "Surface edges", GH_ParamAccess.list);
     pManager.HideParameter(1);
     pManager.HideParameter(2);
 }
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Text size", GH_ParamAccess.list);
     pManager.AddPlaneParameter("Plane", "Plane", "Text placement", GH_ParamAccess.list);
     pManager.AddColourParameter("Colors", "Color", "Color for text", GH_ParamAccess.item);
     pManager.AddGeometryParameter("Geometry", "Geometry", "Sphere on point to drag", GH_ParamAccess.item);
 }
示例#11
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     ///pManager.AddNumberParameter("nodal_coordinates", "R", "[[x1,y1,z1],...](DataTree)", GH_ParamAccess.tree);///
     ///pManager.AddNumberParameter("element_node_relationship(shell)", "IJKL", "[[No.i,No.j,No.k,No.l(if triangle:-1),material No.,thickness],...](DataTree)", GH_ParamAccess.tree);///
     pManager.AddPointParameter("nodes", "NOD", "Point3d of nodes", GH_ParamAccess.item);
     pManager.AddSurfaceParameter("shells", "SHELL", "Plate of elements", GH_ParamAccess.list);
     pManager.AddNumberParameter("material number", "mat No.", "material number of the plate", GH_ParamAccess.list);
     pManager.AddNumberParameter("thickness", "thickness", "thickness of folding plate", GH_ParamAccess.list);
 }
示例#12
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("Terrain", "T", "Model of the terrain, closed in Geo_Terrain class", GH_ParamAccess.item);
     pManager.AddTextParameter("Infos", "I", "Information about terrain creation", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "Points on the terrain", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Surface", "S", "Surface of the terrain", GH_ParamAccess.list);
     pManager.AddCurveParameter("Hull", "H", "Curve of the terrain", GH_ParamAccess.list);
     pManager.AddNumberParameter("Angle", "ang", "The string  list with coordinates information", GH_ParamAccess.item);
 }
示例#13
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Info", "I", "General info about the generated wind field.", GH_ParamAccess.item);
     pManager.AddSurfaceParameter("Inlet", "I", "Inlet of the generated wind field", GH_ParamAccess.item);
     pManager.AddNumberParameter("z vector", "z", "z vector to be used for plotting", GH_ParamAccess.list);
     pManager.AddNumberParameter("wind profile", "U", "Normalized mean wind profile", GH_ParamAccess.list);
     pManager.AddNumberParameter("turbulence intensity", "I", "turbulence intensity", GH_ParamAccess.list);
     pManager.AddGenericParameter("3c3d_FOURN.f", "3c...", "File needed for the generation of the turbulent wind profile.", GH_ParamAccess.item);
 }
        /// <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.AddSurfaceParameter("Surface", "Srfc", "Surface to assemble the RFOpening from.", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Opening Number", "No", "Optional index number to assign to the RFEM object.", GH_ParamAccess.item);
            pManager.AddIntegerParameter("In Surface No", "InSrfcNo", "Index number assigned to the surface this opening belongs to.", GH_ParamAccess.item);
            pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
            pManager.AddTextParameter("Boundary Line List", "Bound", "Boundary Line List", GH_ParamAccess.item);


            // 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);
        }
        /// <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.AddSurfaceParameter("Surface", "Srfc", "Surface related to the RFSurface object.", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Surface Number", "No", "Index number of the RFEM object.", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Material Number", "Mat", "Material index number.", GH_ParamAccess.item);
            pManager.AddNumberParameter("Thickness [m]", "H", "Surface thickness.", GH_ParamAccess.item);
            pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
            pManager.AddTextParameter("Boundary Lines List", "BoundList", "List of index numbers of boundary lines", GH_ParamAccess.item);
            pManager.AddTextParameter("Geometry Type", "G Type", "Geometry Type", GH_ParamAccess.item);
            pManager.AddTextParameter("Thickness Type", "Th Type", "Thickness Type", GH_ParamAccess.item);
            pManager.AddTextParameter("Stiffness Type", "S Type", "Stiffness Type", GH_ParamAccess.item);
            pManager.AddTextParameter("Area [m²]", "A", "Surface area", GH_ParamAccess.item);


            // 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);
        }
示例#16
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddBrepParameter("AnchorGeometry", "AnchorGeometry", "3D Geometry of the Anchors", GH_ParamAccess.tree);
     pManager.AddSurfaceParameter("spheres", "spheres", "spheres", GH_ParamAccess.list);
 }
示例#17
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("oSurface", "S", "Output Surface", GH_ParamAccess.item);
 }
示例#18
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("AdjustedSurface", "AdjustedSurface", "Your adjusted surface", GH_ParamAccess.item);
 }
示例#19
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Subdiviion surfaces", "S", "Surfaces obtained by subdivision", GH_ParamAccess.list);
 }
示例#20
0
 //Set the outputs:
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddNumberParameter("Angles", "Angles", "Angles between Surfaces", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("AdjustedSurfaces", "AdjustedSurfaces", "AdjustedSurfaces", GH_ParamAccess.list);
 }
示例#21
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "S", "Dividing surface", GH_ParamAccess.tree);
     pManager.AddInterval2DParameter("Interval", "I", "The corresponding interval for each surface", GH_ParamAccess.tree);
 }
示例#22
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddLineParameter("lines", "BEAM", "Line of elements", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("shells", "SHELL", "Plate of elements", GH_ParamAccess.list);
 }
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Wave: half surfaces", "", "", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Wave: full surfaces", "", "", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Wave: empty surfaces", "", "", GH_ParamAccess.list);
 }