protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "JointAccelerationTo", "JointAccelerationTo", "Set the maximum joint angular rotation acceleration value. Movement will be constrained so that the fastest joint accelerates below this threshold.");
            mpManager.AddParameter(false, typeof(Param_Number), "JointAccelerationInc", "JA", "Maximum joint angular rotation acceleration increment in deg/s^2. Decreasing the total to zero or less will reset it back to the robot's default.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "JointAcceleration", "JointAcceleration", "Increase the maximum joint angular rotation acceleration value. Movement will be constrained so that the fastest joint accelerates below this threshold.");
            mpManager.AddParameter(true, typeof(Param_Number), "JointAccelerationInc", "JA", "Maximum joint angular rotation acceleration increment in deg/s^2. Decreasing the total to zero or less will reset it back to the robot's default.", GH_ParamAccess.item);
        }
예제 #2
0
        // For mutable components, register parameters using `RegisterMutableInputParams()` instead
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "MoveTo", "MoveTo", "Moves the device to an absolute location.");
            mpManager.AddParameter(false, typeof(Param_GenericObject), "Point", "P", "Target Point.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Move", "Move", "Moves the device along a speficied vector relative to its current position.");
            mpManager.AddParameter(true, typeof(Param_GenericObject), "Vector", "V", "Translation Vector.", GH_ParamAccess.item);
        }
예제 #3
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "PrecisionTo", "PrecisionTo", "Set the precision at which future actions will execute. Precision is measured as the radius of the smooth interpolation between motion targets. This is usually refered to as \"Zone\", \"Approximate Positioning\" or \"Blending Radius\" in different platforms.");
            mpManager.AddParameter(false, typeof(Param_Number), "Radius", "R", "Radius value in mm.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Precision", "Precision", "Increase the precision at which future actions will execute. Precision is measured as the radius of the smooth interpolation between motion targets. This is usually refered to as \"Zone\", \"Approximate Positioning\" or \"Blending Radius\" in different platforms.");
            mpManager.AddParameter(true, typeof(Param_Number), "RadiusInc", "RInc", "Radius increment in mm.", GH_ParamAccess.item);
        }
예제 #4
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "SpeedTo", "SpeedTo", "Increases the TCP speed at which future actions will execute.");
            mpManager.AddParameter(false, typeof(Param_Number), "Speed", "S", "Speed value in mm/s.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Speed", "Speed", "Sets the TCP speed at which future actions will execute.");
            mpManager.AddParameter(true, typeof(Param_Number), "SpeedInc", "S", "Speed increment in mm/s.", GH_ParamAccess.item);
        }
예제 #5
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Relative
            mpManager.AddComponentNames(true, "ExtrusionRate", "ExtrusionRate", "Increases the extrusion rate of filament for 3D printers.");
            mpManager.AddParameter(true, typeof(Param_Number), "RateInc", "RInt", "Increment of mm of filament per mm of movement", GH_ParamAccess.item);

            // Absolute
            mpManager.AddComponentNames(false, "ExtrusionRateTo", "ExtrusionRateTo", "Sets the extrusion rate of filament for 3D printers.");
            mpManager.AddParameter(false, typeof(Param_Number), "Rate", "R", "Value of mm of filament per mm of movement", GH_ParamAccess.item);
        }
예제 #6
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "AccelerationTo", "AccelerationTo", "Increases the TCP acceleration at which future actions will execute.");
            mpManager.AddParameter(false, typeof(Param_Number), "Acceleration", "A", "TCP acceleration value in mm/s^2. Decreasing the total to zero or less will reset it back the robot's default.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Acceleration", "Acceleration", "Sets the Acceleration at which future actions will execute.");
            mpManager.AddParameter(true, typeof(Param_Number), "AccelerationInc", "A", "TCP acceleration increment in mm/s^2. Decreasing the total to zero or less will reset it back the robot's default.", GH_ParamAccess.item);
        }
예제 #7
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "RotationSpeedTo", "RotationSpeedTo", "Increases the TCP angular rotation speed value new Actions will run at.");
            mpManager.AddParameter(false, typeof(Param_Number), "RotationSpeedInc", "RS", "TCP angular rotation speed increment in deg/s. Decreasing the total to zero or less will reset it back to the robot's default.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "RotationSpeed", "RotationSpeed", "Sets the TCP angular rotation speed value new Actions will run at.");
            mpManager.AddParameter(true, typeof(Param_Number), "RotationSpeedInc", "RS", "TCP angular rotation speed value in deg/s. Setting this value to zero or less will reset it back to the robot's default.", GH_ParamAccess.item);
        }
예제 #8
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "AccelerationTo", "AccelerationTo", "Increases the acceleration at which new Actions will be executed.");
            mpManager.AddParameter(false, typeof(Param_Number), "Acceleration", "A", "Acceleration value for linear motion in mm/s^2, and rotational or angular motion in deg/s^2", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Acceleration", "Acceleration", "Sets the acceleration at which new Actions will be executed.");
            mpManager.AddParameter(true, typeof(Param_Number), "AccelerationInc", "A", "Acceleration increment for linear motion in mm/s^2, and rotational or angular motion in deg/s^2", GH_ParamAccess.item);
        }
예제 #9
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "RotateTo", "RotateTo", "Rotates the device to a specified orientation.");
            mpManager.AddParameter(false, typeof(Param_Plane), "Plane", "Pl", "Target spatial orientation.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Rotate", "Rotate", "Rotates the device a specified angle in degrees along the specified vector.");
            mpManager.AddParameter(true, typeof(Param_Vector), "Axis", "V", "Rotation axis, with positive rotation direction is defined by the right-hand rule.", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "Angle", "A", "Rotation angle in degrees.", GH_ParamAccess.item);
        }
예제 #10
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "ExternalAxisTo", "ExternalAxisTo", "Set the values of one of the robot's external axes.");
            mpManager.AddParameter(false, typeof(Param_Integer), "AxisNumber", "EAid", "Axis number from 1 to 6.", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "Value", "v", "Increment value in mm or degrees.", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "ExternalAxis", "ExternalAxis", "Increase the values of one of the robot's external axes.");
            mpManager.AddParameter(true, typeof(Param_Integer), "AxisNumber", "EAid", "Axis number from 1 to 6.", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "Increment", "inc", "New value in mm or degrees.", GH_ParamAccess.item);
        }
예제 #11
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "TransformTo", "TransformTo", "Performs a compound absolute transformation to target Plane. The device's new absolute position and orientation will be those of the Plane.");
            mpManager.AddParameter(false, typeof(Param_Plane), "Plane", "P", "Target Plane to transform to", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Transform", "Transform", "Performs a compound relative transformation as a rotation + translation. Note that when performing relative transformations, the R+T versus T+R order matters.");
            mpManager.AddParameter(true, typeof(Param_Vector), "Direction", "TV", "Translation vector.", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Vector), "Axis", "RV", "Rotation axis.", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "Angle", "A", "Rotation angle in degrees.", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Vector), "Translation First", "t", "Apply translation first? Note that when performing relative transformations, the R+T versus T+R order matters.", GH_ParamAccess.item);
        }
예제 #12
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Relative
            mpManager.AddComponentNames(true, "Temperature", "Temperature", "Increments the working temperature of one of the device's parts. Useful for 3D printing operations.");
            mpManager.AddParameter(true, typeof(Param_Number), "TemperatureInc", "TInc", "Temperature increment in °C", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_String), "DevicePart", "P", "Device's part that will change temperature, e.g. \"extruder\", \"bed\", etc.", GH_ParamAccess.item, "extruder");
            mpManager.AddParameter(true, typeof(Param_Boolean), "WaitToReachTemp", "w", "If true, execution will wait for the part to heat up and resume when reached the target.", GH_ParamAccess.item, true);

            // Absolute
            mpManager.AddComponentNames(false, "TemperatureTo", "TemperatureTo", "Sets the working temperature of one of the device's parts. Useful for 3D printing operations.");
            mpManager.AddParameter(false, typeof(Param_Number), "Temperature", "T", "Temperature value in °C", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_String), "DevicePart", "P", "Device's part that will change temperature, e.g. \"extruder\", \"bed\", etc.", GH_ParamAccess.item, "extruder");
            mpManager.AddParameter(false, typeof(Param_Boolean), "WaitToReachTemp", "w", "If true, execution will wait for the part to heat up and resume when reached the target.", GH_ParamAccess.item, true);
        }
예제 #13
0
        protected override void RegisterMutableInputParams(GH_MutableInputParamManager mpManager)
        {
            // Absolute
            mpManager.AddComponentNames(false, "AxesTo", "AxesTo", "Set the axes' rotation angle in degrees at the joints of mechanical devices, specially robotic arms.");
            mpManager.AddParameter(false, typeof(Param_Number), "A1", "A1", "Angular value in degrees for Axis 1", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "A2", "A2", "Angular value in degrees for Axis 2", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "A3", "A3", "Angular value in degrees for Axis 3", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "A4", "A4", "Angular value in degrees for Axis 4", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "A5", "A5", "Angular value in degrees for Axis 5", GH_ParamAccess.item);
            mpManager.AddParameter(false, typeof(Param_Number), "A6", "A6", "Angular value in degrees for Axis 6", GH_ParamAccess.item);

            // Relative
            mpManager.AddComponentNames(true, "Axes", "Axes", "Increase the axes' rotation angle in degrees at the joints of mechanical devices, specially robotic arms.");
            mpManager.AddParameter(true, typeof(Param_Number), "A1Inc", "A1", "Rotational increment in degrees for Axis 1", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "A2Inc", "A2", "Rotational increment in degrees for Axis 2", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "A3Inc", "A3", "Rotational increment in degrees for Axis 3", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "A4Inc", "A4", "Rotational increment in degrees for Axis 4", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "A5Inc", "A5", "Rotational increment in degrees for Axis 5", GH_ParamAccess.item);
            mpManager.AddParameter(true, typeof(Param_Number), "A6Inc", "A6", "Rotational increment in degrees for Axis 6", GH_ParamAccess.item);
        }