protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circle", "C", "Base Circle", GH_ParamAccess.item); pManager.AddNumberParameter("Radius", "R", "Radius of Pitch Circle", GH_ParamAccess.item); pManager.AddNumberParameter("Angle", "A", "Angle(Degree) between Base Circle Plane and Second Circle Plane", GH_ParamAccess.item, 90.0); pManager.AddNumberParameter("Location", "LA", "Pitch Circle Locate Base Circle in Angle(Degree)", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Gear", "G", "Profile Gear", GH_ParamAccess.list); pManager.AddCircleParameter("Pitch", "C", "Pitch Circle", GH_ParamAccess.list); pManager.AddNumberParameter("Angle", "A", "Helical Angle(Degree)", GH_ParamAccess.item, 30.0); pManager.AddNumberParameter("Heigh", "H", "Gear Heigh", GH_ParamAccess.item, 20.0); pManager.AddBooleanParameter("Solid?", "s", "Solid? solid process could take slow", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Play", "Play", "Play", GH_ParamAccess.item, false); pManager.AddBooleanParameter("3D", "3D", "3D", GH_ParamAccess.item, true); pManager.AddIntegerParameter("Count", "Count", "Count", GH_ParamAccess.item, 500); pManager.AddNumberParameter("TimeStep", "TimeStep", "TimeStep", GH_ParamAccess.item, 0.02); pManager.AddNumberParameter("NeighbourRadius", "Neighbouradius", "NeighbourRadius", GH_ParamAccess.item, 3.0); pManager.AddNumberParameter("Align", "Align", "Align", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Cohesion", "Cohesion", "Cohesion", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Separate", "Separate", "Separate", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Sep Dist", "Sep Dist", "Sep Dist", GH_ParamAccess.item, 5.0); pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); pManager.AddCircleParameter("Attractors", "Attractors", "Attractors", GH_ParamAccess.list); //pManager[10].Optional = true; pManager.AddBooleanParameter("Parallel", "Parallel", "Parallel", GH_ParamAccess.item, false); pManager.AddBooleanParameter("R-Tree", "R-Tree", "R-Tree", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circle", "C", "Circle normal direction determine teeth direction is clockwise or counterclockwise.", GH_ParamAccess.item); pManager.AddIntegerParameter("Teeth", "T", "Teeth number", GH_ParamAccess.item, 12); pManager.AddNumberParameter("TeethDeth", "D", "Teeth depth", GH_ParamAccess.item, 2.0); pManager.AddIntegerParameter("PawlNumber", "pNum", "Pawl number", GH_ParamAccess.item, 3); pManager.AddNumberParameter("PawlRadius", "pRad", "Pawl plate circle offset from tooth tip", GH_ParamAccess.item, 0.2); pManager.AddNumberParameter("PawlThickness", "pThick", "Thichness of pawl", GH_ParamAccess.item, 1.0); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Spring Mesh", "Spring Mesh", "Spring Mesh", GH_ParamAccess.item); pManager.AddCircleParameter("Planarization Regions", "Planarization Regions", "Planarization Regions", GH_ParamAccess.list); pManager.AddNumberParameter("Bending Stiffness", "Bending Stiffness", "Bending Stiffness", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Stiffness", "Stiffness", "Stiffness", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Bending Stiffness (Planar Regions)", "Bending Stiffness (Planar Regions)", "Bending Stiffness (Planar Regions)", GH_ParamAccess.list); pManager.AddNumberParameter("Stiffness (Planar Regions)", "Stiffness (Planar Regions)", "Stiffness (Planar Regions)", GH_ParamAccess.list); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circles", "C", "Circles for spur gears", GH_ParamAccess.list); pManager.AddNumberParameter("Teeth", "T", "Teeth number", GH_ParamAccess.item); pManager.AddNumberParameter("Angle", "A", "pressure angle(Degree), default is 22.5 and range should 15 to 35", GH_ParamAccess.item, 22.5); pManager.AddNumberParameter("shift", "S", "Profile shift coefficient, from 0 to 0.5, default is 0.1", GH_ParamAccess.item, 0.1); pManager.AddNumberParameter("addendum", "ad", "addendum, 1.0 module", GH_ParamAccess.item, 1.0); pManager.AddNumberParameter("dedendum", "de", "dedendum, 1.25 module", GH_ParamAccess.item, 1.25); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circle", "C", "Pair of Pitch Circles", GH_ParamAccess.list); pManager.AddCurveParameter("Polyline", "L", "Three points Polyline", GH_ParamAccess.item); pManager.AddNumberParameter("Teeth", "T", "Teeth Number", GH_ParamAccess.item); pManager.AddNumberParameter("Depth", "D", "Depth", GH_ParamAccess.item); pManager.AddNumberParameter("HoleSize", "H", "Hole size in daimeter", GH_ParamAccess.list); pManager.AddNumberParameter("Angle", "A", "Pressure Angle (Degree)", GH_ParamAccess.item, 22.5); pManager.AddNumberParameter("shift", "S", "Profile shift coefficient, from 0 to 0.5, default is 0.1", GH_ParamAccess.item, 0.1); pManager.AddNumberParameter("addendum", "ad", "addendum, default 0.95", GH_ParamAccess.item, 0.95); pManager.AddNumberParameter("dedendum", "de", "dedendum, default 1.25", GH_ParamAccess.item, 1.25); pManager.AddBooleanParameter("option", "opt", "0= Curve, 1=surface, 2=mesh", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item, false); //p0 pManager.AddBooleanParameter("Play", "Play", "Play", GH_ParamAccess.item, false); //p1 pManager.AddGenericParameter("Environment", "Environment", "Environment", GH_ParamAccess.item); //p2 pManager.AddGenericParameter("BristlebotAgent", "BristlebotAgent", "BristlebotAgent", GH_ParamAccess.item); //p3 pManager.AddIntegerParameter("Count", "Count", "Count", GH_ParamAccess.item, 10); //p4 pManager.AddGenericParameter("SimulationSettings", "SimulationSettings", "SimulationSettings", GH_ParamAccess.item); //p5 pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); //p6 pManager[7].Optional = true; pManager.AddBooleanParameter("UseCoresInParallel", "UseCoresInParallel", "UseCoresInParallel", GH_ParamAccess.item, true); //p7 pManager.AddBooleanParameter("UseR-TreeSearch", "UseR-TreeSearch", "UseR-TreeSearch", GH_ParamAccess.item, true); //p8 }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item); pManager.AddMeshParameter("Starting Mesh", "StartingMesh", "StartingMesh", GH_ParamAccess.item); pManager.AddIntegerParameter("Subiteration Count", "Subiteration Count", "Subiteration Count", GH_ParamAccess.item); pManager.AddBooleanParameter("Grow", "Grow", "Grow", GH_ParamAccess.item); pManager.AddIntegerParameter("Max. Vertex Count", "Max. Vertex Count", "Max. Vertex Count", GH_ParamAccess.item); pManager.AddNumberParameter("Edge Length Constraint Weight", "Edge Length Constraint Weight", "Edge Length Constraint Weight", GH_ParamAccess.item); pManager.AddNumberParameter("Collision Distance", "Collision Distance", "Collision Distance", GH_ParamAccess.item); pManager.AddNumberParameter("Collision Weight", "Collision Weight", "Collision Weight", GH_ParamAccess.item); pManager.AddNumberParameter("Bending Resistance Weight", "Bending Resistance Weight", "Bending Resistance Weight", GH_ParamAccess.item); pManager.AddBooleanParameter("Use R-Tree", "Use R-Tree", "Use R-Tree", GH_ParamAccess.item); pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Curve", "C", "Polyline List", GH_ParamAccess.list); pManager.AddNumberParameter("Radius", "r", "Radius of each node", GH_ParamAccess.list); pManager.AddCircleParameter("Circles", "C", "Circles for the scale", GH_ParamAccess.list); pManager.AddIntegerParameter("U", "U", "division in one direction", GH_ParamAccess.item, 4); pManager.AddIntegerParameter("V", "V", "division in second direction", GH_ParamAccess.item, 4); pManager.AddNumberParameter("VDist", "VD", "division edge by length", GH_ParamAccess.item, 0); for (int i = 1; i < pManager.ParamCount; i++) { pManager[i].Optional = true; } }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Play", "Play", "Play", GH_ParamAccess.item, false); pManager.AddBooleanParameter("3D", "3D", "3D", GH_ParamAccess.item, true); pManager.AddIntegerParameter("Count", "Count", "Number of Agents", GH_ParamAccess.item, 50); pManager.AddNumberParameter("Timestep", "Timestep", "Timestep", GH_ParamAccess.item, 0.02); pManager.AddNumberParameter("Neighbourhood Radius", "Neighbourhood Radius", "Neighbourhood Radius", GH_ParamAccess.item, 3.5); pManager.AddNumberParameter("Alignment", "Alignment", "Alignment", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Cohesion", "Cohesion", "Cohesion", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Separation", "Separation", "Separation", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Separation Distance", "Separation Distance", "Separation Distance", GH_ParamAccess.item, 1.5); pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); pManager[10].Optional = true; pManager.AddBooleanParameter("Use Parallel", "Use Parallel", "Use Parallel", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Use R-Tree", "Use R-Tree", "Use R-Tree", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPointParameter("Points", "Points - 00", "Points", GH_ParamAccess.list); pManager.AddCircleParameter("Apicals", "Apicals - 01", "Apicals", GH_ParamAccess.list); pManager.AddNumberParameter("Masses", "Masses - 02", "Masses", GH_ParamAccess.list); pManager.AddCurveParameter("Boundary Curve", "Boundary Curve - 03", "Boundary Curve", GH_ParamAccess.item); pManager.AddNumberParameter("Rest Length Scale", "Rest Length Scale - 04", "Rest Length Scale", GH_ParamAccess.item, 1.0); pManager.AddNumberParameter("Rest Length Offset", "Rest Length Offset - 05", "Rest Length Offset", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Stiffness", "Stiffness- 06", "Stiffness Scale", GH_ParamAccess.item, 1.0); pManager.AddNumberParameter("Bending Stiffness", "Bending Stiffness - 07", "Stiffness Offset", GH_ParamAccess.item, 0.0); pManager.AddBooleanParameter("In/Out Switch", "In/Out Switch - 08", "In/Out Switch", GH_ParamAccess.item, false); pManager.AddNumberParameter("In/Out Threshold", "In/Out Threshold - 09", "In/Out Threshold", GH_ParamAccess.item, 0.1); pManager.AddNumberParameter("Fixed Point Threshold", "Fixed Point Threshold - 10", "Fixed Point Threshold", GH_ParamAccess.item, 0.05); pManager.AddCurveParameter("Fixed Point Exclusion", "Fixed Point Exclusion - 11", "Fixed Point Exclusion", GH_ParamAccess.list); pManager.AddCurveParameter("Fixed Point Inclusion", "Fixed Point Inclusion - 12", "Fixed Point Inclusion", GH_ParamAccess.list); pManager.AddNumberParameter("Initial Curving Bias", "Initial Curving Bias - 13", "Initial Curving Bias", GH_ParamAccess.item, 0.0); pManager.AddBooleanParameter("Bias Apical Regions", "Bias Apical Regions - 14", "Bias Apical Regions", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset - 00", "Reset", GH_ParamAccess.item, true); pManager.AddIntegerParameter("Random Seed", "Random Seed - 01", "Random Seed", GH_ParamAccess.item, -1); pManager.AddBooleanParameter("Play", "Play - 02", "Play", GH_ParamAccess.item, false); pManager.AddNumberParameter("Relaxation Rate", "Relaxation Rate -03", "Relaxation Rate", GH_ParamAccess.item, 0.4); pManager.AddBooleanParameter("Add Points Automatically", "Add Points Automatically - 04", "Add Points Automatically", GH_ParamAccess.item, true); pManager.AddBooleanParameter("Add Points Manually", "Add Points Manually - 05", "Add Points Automatically", GH_ParamAccess.item, true); pManager.AddCircleParameter("Apical Discs", "Apical Discs - 06", "Apical Discs", GH_ParamAccess.list); pManager.AddBooleanParameter("Fix Apical Discs", "Fix Apical Discs - 07", "Fix Apical Discs", GH_ParamAccess.item); pManager.AddCurveParameter("Boundary Curve", "Boundary Curve - 08", "Boundary Curve", GH_ParamAccess.item); pManager.AddNumberParameter("Point Addition Rate", "Point Addition Rate - 09", "Point Addition Rate", GH_ParamAccess.item, 1.0); pManager.AddIntegerParameter("Max. Point Count", "Max. Point Count - 10", "Max. Point Count", GH_ParamAccess.item, 300); pManager.AddNumberParameter("Min. Separation", "Min. Separation - 11", "Min. Separation", GH_ParamAccess.item, 0.1); pManager.AddNumberParameter("Max. Separation", "Max. Separation - 12", "Max. Separation", GH_ParamAccess.item, 1.0); pManager.AddNumberParameter("Growth Rate", "Growth Rate - 13", "Separation Increment Rate", GH_ParamAccess.item, 1.0); pManager.AddIntegerParameter("Growth Option", "Growth Option - 14", "1 = Half growth, 2 = Full growth", GH_ParamAccess.item, 1); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item, false); //p0 pManager.AddBooleanParameter("Play", "Play", "Play", GH_ParamAccess.item, false); //p1 pManager.AddGenericParameter("Environment", "Environment", "Environment", GH_ParamAccess.item); //p2 pManager.AddBooleanParameter("isSimulation3D", "isSimulation3D", "isSimulation3D", GH_ParamAccess.item, false); //p3 pManager.AddIntegerParameter("Count", "Count", "Count", GH_ParamAccess.item, 10); //p4 pManager.AddNumberParameter("Timestep", "Timestep", "Timestep", GH_ParamAccess.item, 0.01); //p5 pManager.AddNumberParameter("NeighbourhoodRadius", "NeighbourhoodRadius", "NeighbourhoodRadius", GH_ParamAccess.item, 10); //p6 pManager.AddNumberParameter("Alignment", "Alignment", "Alignment", GH_ParamAccess.item, 1); //p7 pManager.AddNumberParameter("Cohesion", "Cohesion", "Cohesion", GH_ParamAccess.item, 1); //p8 pManager.AddNumberParameter("Separation", "Separation", "Separation", GH_ParamAccess.item, 1); //p9 pManager.AddNumberParameter("SeparationDistance", "SeparationDistance", "SeparationDistance", GH_ParamAccess.item, 5); //p10 pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); //p11 pManager[11].Optional = true; pManager.AddBooleanParameter("UseCoresInParallel", "UseCoresInParallel", "UseCoresInParallel", GH_ParamAccess.item, true); //p12 pManager.AddBooleanParameter("UseR-TreeSearch", "UseR-TreeSearch", "UseR-TreeSearch", GH_ParamAccess.item, true); //p13 }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset - 00", "Reset", GH_ParamAccess.item); pManager.AddIntegerParameter("Integrator", "Integrator - 01", "Select numerical integration method. 1 = Euler, 2 = Velocity Verlet", GH_ParamAccess.item); pManager.AddBooleanParameter("Play", "Play - 02", "Play", GH_ParamAccess.item); pManager.AddIntegerParameter("Iteration Count", "Iteration Count - 03", "Iteration Count", GH_ParamAccess.item, 800); pManager.AddGenericParameter("Spring Mesh", "Spring Mesh - 04", "Spring Mesh", GH_ParamAccess.item); pManager.AddNumberParameter("Damping", "Damping - 05", "Damping", GH_ParamAccess.item, 0.2); pManager.AddNumberParameter("Time Step", "Time Step - 06", "Time Step", GH_ParamAccess.item, 0.005); pManager.AddCircleParameter("Force Generators", "Force Generators - 07", "Force Generators", GH_ParamAccess.list); pManager.AddNumberParameter("Gravity Scale", "Gravity Scale - 08", "Gravity Scale", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Rest Length Scale", "Rest Length Scale - 09", "Rest Length Scale", GH_ParamAccess.item, 1.0); pManager.AddNumberParameter("Rest Length Offset", "Rest Length Offset - 10", "Rest Length Offset", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Stiffness Offset", "Stiffness Offset - 11", "Stiffness Offset", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Bending Stiffness Offset", "Bending Stiffness Offset - 12", "Bending Stiffness Offset", GH_ParamAccess.item, 0.0); pManager.AddBooleanParameter("Enable Boundary Bending Stiffness", "Enable Boundary Bending Stiffness - 13", "Enable Boundary Bending Stiffness", GH_ParamAccess.item, false); pManager.AddNumberParameter("Boundary Bending Stiffness", "Boundary Bending Stiffness - 14", "Boundary Bending Stiffness", GH_ParamAccess.item, 0.0); pManager.AddBooleanParameter("Enable Column Bending Stiffness", "Enable Column Bending Stiffness - 15", "Enable Column Bending Stiffness", GH_ParamAccess.item, false); pManager.AddNumberParameter("Column Bending Stiffness", "Column Bending Stiffness - 16", "Column Bending Stiffness", GH_ParamAccess.item, 0.0); //added by Gene pManager.AddIntegerParameter("Enable Equilateral Triangle", "Enable Equilateral Triangle - 15", "Enable Equilateral Triangle", GH_ParamAccess.item, 0); pManager.AddNumberParameter("Equilateral Strength", "Equilateral Strength - 16", "Equilateral Strength", GH_ParamAccess.item, 1.0); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circles", "C", "Sorted list of circles to follow by order", GH_ParamAccess.list); pManager.AddNumberParameter("Multiplier", "M", "strength of the behaviour", GH_ParamAccess.item, 1); pManager.AddBooleanParameter("Loop", "L", "makes agents go back to the start when they reach the last point of the list", GH_ParamAccess.item, true); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circles", "C", "Circles to repel agents", GH_ParamAccess.list); pManager.AddNumberParameter("Multiplier", "M", "strength of the behaviour", GH_ParamAccess.item, 1); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circle", "C", "Circle", GH_ParamAccess.item); pManager.AddPointParameter("Point", "Pt", "Point", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCircleParameter("Circles", "C", "Circles as attractor", GH_ParamAccess.list); pManager.AddBooleanParameter("Attract to Nearest Point", "N", "attracts agents to nearest point to their start point", GH_ParamAccess.item, true); pManager.AddNumberParameter("Multiplier", "M", "strength of the behaviour", GH_ParamAccess.item, 1); }