Exemplo n.º 1
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            //change the param access thing to have individual items, list or tree etc
            pManager.Register_MeshParam("mesh", "m", "Mesh to planarise");

            pManager.Register_IntegerParam("metric", "D/N", " 0 = euclidian error metric, 1 = normal based error metric", 1);

            pManager.Register_IntegerParam("numberOfPanels", "n", "number of planar panels required for output", 90);

            pManager.Register_BooleanParam("run", "R", "run planarisation", false);
        }
Exemplo n.º 2
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours", GH_ParamAccess.tree);
     pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours (the center points of each stacked rectangle", GH_ParamAccess.tree);
     pManager.Register_RectangleParam("Regions", "Rgns", "Regions that represent the area on the resulting graph occupied by each hour given", GH_ParamAccess.tree);
     pManager.Register_RectangleParam("Rectangles", "Rcts", "Rectangles plotted on the resulting histogram, one per groups of hours given", GH_ParamAccess.list);
     pManager.Register_MeshParam("Mesh", "Msh", "A mesh representing the resulting graph, with vertex colors assigned where applicable", GH_ParamAccess.item);
     pManager.Register_RectangleParam("Trim Boundary", "Bnd", "A Trimming Boundary. Useful for marking percentage of hours given against a 100% maximum.", GH_ParamAccess.item);
 }
Exemplo n.º 3
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours", GH_ParamAccess.tree);
     pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours", GH_ParamAccess.tree);
     pManager.Register_MeshParam("Mesh", "Msh", "A mesh representing the resulting graph, with vertex colors assigned where applicable.", GH_ParamAccess.list);
 }
Exemplo n.º 4
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.Register_CurveParam("Regions", "Rgns", "Regions that represent each slice on the resulting Pie Graph", GH_ParamAccess.list);
     pManager.Register_MeshParam("Mesh", "Msh", "Meshes that represent the resulting graph, with vertex colors assigned where applicable.", GH_ParamAccess.list);
     pManager.Register_ColourParam("Colors", "Clrs", "Colors corresponding to each region", GH_ParamAccess.list);
 }
Exemplo n.º 5
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours", GH_ParamAccess.list);
     pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours", GH_ParamAccess.list);
     pManager.Register_RectangleParam("Regions", "Rgns", "Regions that represent the area on the resulting graph occupied by each hour given", GH_ParamAccess.list);
     pManager.Register_MeshParam("Mesh", "Msh", "A mesh representing the resulting graph, with vertex colors assigned where applicable.", GH_ParamAccess.item);
 }
Exemplo n.º 6
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours", GH_ParamAccess.list);
     pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours", GH_ParamAccess.list);
     pManager.Register_CurveParam("Lines", "Lns", "Lines that represent the area on the resulting graph occupied by each hour given", GH_ParamAccess.list);
     pManager.Register_ColourParam("Colors", "Clrs", "Colors corresponding to each line produced", GH_ParamAccess.item);
     pManager.Register_MeshParam("Mesh", "Msh", "A mesh representing the resulting graph, with vertex colors assigned where applicable.", GH_ParamAccess.item);
     pManager.Register_GeometryParam("Trim Boundary", "Bnd", "A Trimming Boundary.  May be a rectangle or a circle, depending on the plot type.", GH_ParamAccess.item);
 }
Exemplo n.º 7
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.Register_MeshParam("Terrain Mesh", "M", "Terrain Mesh");
     pManager.Register_DoubleParam("Contour Base Level", "B", "Contour Base Level");
     pManager.Register_DoubleParam("Contour Interval","I","Contour Interval");
 }
Exemplo n.º 8
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.Register_StringParam("Info", "I", "Information");
     pManager.Register_MeshParam("Mesh", "M", "Constructed Mesh");
     pManager.Register_LineParam("Edges", "E", "Constructed Edges");
 }