コード例 #1
0
        protected override void RegisterOutputParams(GH_OutputParamManager pManager)
        {
            pManager.AddPointParameter("Point on A", "A", "Point on the first curve", GH_ParamAccess.item);
            pManager.AddNumberParameter("Param on A", "tA", "Param on the first curve", GH_ParamAccess.item);

            pManager.AddPointParameter("Point on B", "B", "The second curve", GH_ParamAccess.item);
            pManager.AddNumberParameter("Param on B", "tB", "Param on the second curve", GH_ParamAccess.item);
        }
コード例 #2
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Points", "P", "All points in ABCD order.", GH_ParamAccess.list);
     pManager.AddPointParameter("Top Right", "A", "Top right corner point.", GH_ParamAccess.item);
     pManager.AddPointParameter("Top Left", "B", "Top left corner point.", GH_ParamAccess.item);
     pManager.AddPointParameter("Bottom Left", "C", "Bottom left corner point.", GH_ParamAccess.item);
     pManager.AddPointParameter("Bottom Right", "D", "Bottom right corner point.", GH_ParamAccess.item);
 }
コード例 #3
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   base.RegisterOutputParams(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.AddPointParameter("Prediction Location", "PL",
                                "The location the agent predicts to be its future location.", GH_ParamAccess.item);
   pManager.AddPointParameter("Path Point", "PP",
                                "The point on the path that the agent will steer towards.", 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(1);
 }
コード例 #4
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter(RS.positionName, RS.positionNickname, RS.positionDescription, GH_ParamAccess.item);
     pManager.AddVectorParameter(RS.velocityName, RS.velocityNickname, RS.velocityDescription, GH_ParamAccess.item);
     pManager.AddVectorParameter(RS.accelerationName, RS.accelerationNickName, RS.accelerationDescription, GH_ParamAccess.item);
     pManager.AddIntegerParameter(RS.lifespanName, RS.lifespanNickname, RS.lifespanDescription, GH_ParamAccess.item);
     //pManager.AddIntegerParameter(RS.massName, RS.massNickname, RS.massDescription, GH_ParamAccess.item);
     //pManager.AddIntegerParameter(RS.bodySizeName, RS.bodySizeNickname, RS.bodySizeDescription, GH_ParamAccess.item);
     pManager.AddPointParameter("Surface Position", "SP", "For particles bound to Surface and Polysurface Environments, the position of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Surface Velocity", "SV", "For particles bound to Surface and Polysurface Environments, the velocity of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Surface Acceleration", "SA", "For particles bound to Surface and Polysurface Environments, the acceleration of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
     //pManager.HideParameter(pManager.ParamCount-2);
 }
コード例 #5
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   pManager.AddPointParameter(RS.positionName, RS.positionNickname, RS.positionDescription, GH_ParamAccess.item);
   pManager.AddVectorParameter(RS.velocityName, RS.velocityNickname, RS.velocityDescription, GH_ParamAccess.item);
   pManager.AddVectorParameter(RS.accelerationName, RS.accelerationNickName, RS.accelerationDescription, GH_ParamAccess.item);
   pManager.AddIntegerParameter(RS.lifespanName, RS.lifespanNickname, RS.lifespanDescription, GH_ParamAccess.item);
   //pManager.AddIntegerParameter(RS.massName, RS.massNickname, RS.massDescription, GH_ParamAccess.item);
   //pManager.AddIntegerParameter(RS.bodySizeName, RS.bodySizeNickname, RS.bodySizeDescription, GH_ParamAccess.item);
   pManager.AddPointParameter("Surface Position", "SP", "For particles bound to Surface and Polysurface Environments, the position of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
   pManager.AddVectorParameter("Surface Velocity", "SV", "For particles bound to Surface and Polysurface Environments, the velocity of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
   pManager.AddVectorParameter("Surface Acceleration", "SA", "For particles bound to Surface and Polysurface Environments, the acceleration of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
   //pManager.HideParameter(pManager.ParamCount-2);
 }
コード例 #6
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Point", "P", "", GH_ParamAccess.item);
     pManager.AddVectorParameter("Tangent", "T", "", GH_ParamAccess.item);
     pManager.AddVectorParameter("Binormal", "B", "", GH_ParamAccess.item);
     pManager.AddVectorParameter("Normal", "N", "", GH_ParamAccess.item);
 }
コード例 #7
0
 //register all output parameters
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "C", "Curves with new domain", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "division Parameters", GH_ParamAccess.list);
     pManager.AddNumberParameter("Parameters", "t", "division Parameters", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
コード例 #8
0
 //register all output parameters
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "C", "Curves with updated domains", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "Division Points", GH_ParamAccess.list);
     pManager.AddVectorParameter("Tangents", "T", "Tangents at divisions", GH_ParamAccess.list);
     pManager.AddNumberParameter("Parameters", "t", "Division Parameters", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
コード例 #9
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Info", "Info", "Description of the outputs", GH_ParamAccess.tree);
     pManager.AddPointParameter("Points", "Points", "Points that were extracted from probe files",
                                GH_ParamAccess.tree);
     pManager.AddMeshParameter("Mesh", "Mesh",
                               "Correct mesh that matches the extracted points from probe files", GH_ParamAccess.tree);
 }
コード例 #10
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   pManager.AddPlaneParameter(RS.orientationName, RS.orientationNickname, RS.orientationDescription, GH_ParamAccess.item);
   pManager.AddPointParameter("Wheel Positions", "WP", "A list of positions of each wheel on the vehicle.", GH_ParamAccess.list);
   pManager.AddVectorParameter("Wheel Tangential Velocity", "WV", "The distance each wheel travels on the vehicle.", GH_ParamAccess.list);
   pManager.AddNumberParameter("Wheel Angles", "WA", "A list of angles of each wheel on the vehicle.", GH_ParamAccess.list);
   pManager.AddNumberParameter("Wheel Radii", "WR", "A list of radii of each wheel on the vehicle.", GH_ParamAccess.list);
   pManager.AddNumberParameter("Wheel Angular Velocity", "WS", "The speeds the wheels are rotating at.", GH_ParamAccess.list);
 }
コード例 #11
0
ファイル: Stb2Line.cs プロジェクト: hrntsm/HoaryFox
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Nodes", "pt", "output StbNodes to point3d", GH_ParamAccess.list);
     pManager.AddLineParameter("Columns", "Col", "output StbColumns to Line", GH_ParamAccess.tree);
     pManager.AddLineParameter("Girders", "Gird", "output StbGirders to Line", GH_ParamAccess.tree);
     pManager.AddLineParameter("Posts", "Pst", "output StbPosts to Line", GH_ParamAccess.tree);
     pManager.AddLineParameter("Beams", "Beam", "output StbBeams to Line", GH_ParamAccess.tree);
     pManager.AddLineParameter("Braces", "Brc", "output StbBraces to Line", GH_ParamAccess.tree);
 }
コード例 #12
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Guid", "Guid", "Guid.", GH_ParamAccess.item);
     pManager.AddPointParameter("Origo", "Origo", "Origo.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Direction", "Direction.", GH_ParamAccess.item);
     pManager.AddNumberParameter("DimensionX", "DimensionX", "DimensionX. [m]", GH_ParamAccess.item);
     pManager.AddNumberParameter("DimensionY", "DimensionY", "DimensionY. [m]", GH_ParamAccess.item);
     pManager.AddTextParameter("Name", "Name", "Name.", GH_ParamAccess.item);
 }
コード例 #13
0
        protected override void RegisterOutputParams(GH_OutputParamManager manager)
        {
            manager.AddParameter(
                param: new Parameters.Element(),
                name: "Host Panel",
                nickname: "HP",
                description: "Finds the host panel (i.e., wall) associated with this panel",
                access: GH_ParamAccess.item
                );
            manager.AddParameter(
                param: new Parameters.ElementType(),
                name: "Curtain Grid Panel Symbol",
                nickname: "PS",
                description: "Panel Symbol. This can be a DB.PanelType of a DB.FamilySymbol depending on the type of panel hosted on the curtain wall.",
                access: GH_ParamAccess.item
                );
            manager.AddPointParameter(
                name: "Curtain Grid Panel Base Point",
                nickname: "PBP",
                description: "Base point/anchor of the curtain panel",
                access: GH_ParamAccess.item
                );
            manager.AddVectorParameter(
                name: "Curtain Grid Panel Orientation Vector",
                nickname: "POV",
                description: "Orientation vector of the curtain panel",
                access: GH_ParamAccess.item
                );
            // DB.Panel is missing a .Locked property ?!
            //manager.AddBooleanParameter(
            //  name: "Locked?",
            //  nickname: "L?",
            //  description: "Whether curtain grid panel is locked",
            //  access: GH_ParamAccess.item
            //  );
            manager.AddBooleanParameter(
                name: "Is Lockable?",
                nickname: "IL?",
                description: "Whether curtain grid panel is lockable",
                access: GH_ParamAccess.item
                );

            // panel properties
            manager.AddNumberParameter(
                name: "Panel Width",
                nickname: "W",
                description: "Panel width",
                access: GH_ParamAccess.item
                );
            manager.AddNumberParameter(
                name: "Panel Height",
                nickname: "H",
                description: "Panel height",
                access: GH_ParamAccess.item
                );
        }
コード例 #14
0
        protected override void RegisterOutputParams(GH_OutputParamManager pManager)
        {
            // Add displacements, reactions, element forces etc

            pManager.AddTextParameter(
                "Messageboard", "log", "Outputs a log of the performed calculation", GH_ParamAccess.list);

            pManager.AddParameter(new ResultElementParam(), "Result Elements", "RE", "Result elements, storing results from the calculation", GH_ParamAccess.list);
            pManager.AddPointParameter("p", "p", "p", GH_ParamAccess.list);
        }
コード例 #15
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Guid", "Guid", "Guid.", GH_ParamAccess.item);
     pManager.AddTextParameter("Type", "Type", "Type.", GH_ParamAccess.item);
     pManager.AddPointParameter("Point", "Point", "Point.", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "Direction", "Direction.", GH_ParamAccess.item);
     pManager.AddNumberParameter("q", "q", "Load intensity. [kN]", GH_ParamAccess.item);
     pManager.AddTextParameter("LoadCaseGuid", "LoadCaseGuid", "LoadCase guid reference.", GH_ParamAccess.item);
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
 }
コード例 #16
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Points", "Pts", "Resulting points", GH_ParamAccess.tree);
     pManager.AddCurveParameter("Curve", "C", "Elastica", GH_ParamAccess.list);
     pManager.AddNumberParameter("Length", "L", "Curve length", GH_ParamAccess.item);
     pManager.AddNumberParameter("Width", "W", "Distance between point A and B", GH_ParamAccess.list);
     pManager.AddNumberParameter("Height", "H", "Height of curve", GH_ParamAccess.item);
     pManager.AddNumberParameter("Angle", "A", "Angle", GH_ParamAccess.list);
     pManager.AddNumberParameter("Angle", "F", "etbne", GH_ParamAccess.list);
 }
コード例 #17
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     base.RegisterOutputParams(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.AddNumberParameter("Sensor Values", "V", "The values read by the left and right sensor.", GH_ParamAccess.list);
     pManager.AddPointParameter("Sensor Positions", "P", "The position of the left and right sensor.", 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(1);
 }
コード例 #18
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   base.RegisterOutputParams(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.AddNumberParameter("Sensor Values", "V", "The values read by the left and right sensor.", GH_ParamAccess.list);
   pManager.AddPointParameter("Sensor Positions", "P", "The position of the left and right sensor.", 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(1);
 }
コード例 #19
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   base.RegisterOutputParams(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.AddGeometryParameter("Sphere", "S", "The resulting wander sphere for debugging purposes.", GH_ParamAccess.item);
   pManager.AddPointParameter("Target Point", "P",
     "The target point that the agent will seek for debugging purposes.", 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(pManager.ParamCount - 2);
   //pManager.HideParameter(pManager.ParamCount - 1);
 }
コード例 #20
0
 protected override void RegisterOutputParams(GH_OutputParamManager manager)
 {
     manager.AddParameter(
         param: new Parameters.ElementType(),
         name: "Curtain Grid Mullion Type",
         nickname: "CGMT",
         description: "Curtain Grid Mullion Type",
         access: GH_ParamAccess.item
         );
     manager.AddCurveParameter(
         name: "Curtain Grid Mullion Axis Curve",
         nickname: "C",
         description: "Axis curve of the given curtain grid mullion instance",
         access: GH_ParamAccess.item
         );
     manager.AddPointParameter(
         name: "Curtain Grid Mullion Base Point",
         nickname: "MBP",
         description: "Base point of given given curtain grid mullion instance",
         access: GH_ParamAccess.item
         );
     manager.AddBooleanParameter(
         name: "Locked?",
         nickname: "L?",
         description: "Whether curtain grid mullion line is locked",
         access: GH_ParamAccess.item
         );
     manager.AddBooleanParameter(
         name: "Is Lockable?",
         nickname: "IL?",
         description: "Whether curtain grid mullion line is lockable",
         access: GH_ParamAccess.item
         );
     //manager.AddNumberParameter(
     //  name: "Mullion Length",
     //  nickname: "L",
     //  description: "Mullion Length",
     //  access: GH_ParamAccess.item
     //  );
 }
コード例 #21
0
ファイル: VoxelGridToList.cs プロジェクト: arendvw/voxeltools
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddBooleanParameter("Bool", "B", "True/false value for all cells", GH_ParamAccess.list);
     pManager.AddPointParameter("Pts", "P", "All points that belong to the grid", GH_ParamAccess.list);
 }
コード例 #22
0
ファイル: ReadBrick.cs プロジェクト: Loong97/Brick-Builder
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPlaneParameter("Planes", "P", "Planes for the tool to pick", GH_ParamAccess.tree);
     pManager.AddTextParameter("Types", "T", " types of the bricks", GH_ParamAccess.tree);
     pManager.AddPointParameter("Corners", "C", "Corners of each brick", GH_ParamAccess.tree);
 }
コード例 #23
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Point", "Point", "Point.", GH_ParamAccess.item);
     pManager.AddNumberParameter("TopValue", "TopVal", "TopValue.", GH_ParamAccess.item);
     pManager.AddNumberParameter("BottomValue", "BotVal", "BotValue.", GH_ParamAccess.item);
 }
コード例 #24
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   pManager.AddPointParameter(RS.positionHistoryName, RS.positionHistoryNickname, RS.positionHistoryDescription, GH_ParamAccess.tree);
   //pManager.AddPointParameter(RS.positionHistoryName, RS.positionHistoryNickname, RS.positionHistoryDescription, GH_ParamAccess.list);
   //pManager.AddPointParameter(RS.positionHistoryName, RS.positionHistoryNickname, RS.positionHistoryDescription, GH_ParamAccess.tree);
 }
コード例 #25
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddMeshParameter("Mesh Faces", "F", "The sub mesh faces (for coloring)", GH_ParamAccess.list);
     pManager.AddPointParameter("Face Centers", "C", "The centers of each mesh face (for vector previews)", GH_ParamAccess.list);
     pManager.AddNumberParameter("Face Aspects", "A", "The aspect of each mesh face (measured in degrees)", GH_ParamAccess.list);
 }
コード例 #26
0
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Streamed Point", "P", "Streamed point.", GH_ParamAccess.item);
 }
コード例 #27
0
        protected override void RegisterOutputParams(GH_OutputParamManager pManager)
        {
            // Add displacements, reactions, element forces etc

            pManager.AddTextParameter(
                "Messageboard", "log", "Outputs a log of the performed calculation", GH_ParamAccess.list);

            pManager.AddParameter(new ResultElementParam(), "Result Elements", "RE", "Result elements, storing results from the calculation", GH_ParamAccess.list);
            pManager.AddPointParameter("p", "p", "p", GH_ParamAccess.list);
        }
コード例 #28
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
   pManager.AddPointParameter(RS.positionName, RS.positionNickname, RS.positionDescription, GH_ParamAccess.item);
   pManager.AddPointParameter("Surface Position", "SP", "For particles bound to Surface Environments, the position of the Agent mapped to a 2D plane representing the bounds of the surface.", GH_ParamAccess.item);
 }