Esempio n. 1
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);
        }
Esempio n. 2
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);
        }
        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);
            mpManager.AddParameter(false, typeof(Param_String), "Target", "t", "Which set of External Axes to target? \"All\", \"Cartesian\" or \"Joint\"?", GH_ParamAccess.item, "All");

            // 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);
            mpManager.AddParameter(true, typeof(Param_String), "Target", "t", "Which set of External Axes to target? \"All\", \"Cartesian\" or \"Joint\"?", GH_ParamAccess.item, "All");
        }
Esempio n. 4
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);
        }