Read Object Dimensions

Function Description

Reads the object dimension list [x,y,z] from step parameters or a local JSON file.

Use Cases

Generally used when dynamically setting box dimensions in depalletizing projects, or when subsequent point cloud classification operations need to be performed based on object dimensions.

Inputs

  • None.

Outputs

  • Object Dimensions: List of length, width, and height dimensions corresponding to the object.

Parameters

  • Read the size from the parameter

    • After checking, box dimensions can be set directly in the parameters. When running this step, dimension values will be read from the parameters.

    • After unchecking, dimension values will be read from a selected local JSON file.

  • Box Size Settings

    Set the following parameters after checking Read the size from the parameter.

    • Length on X axis: Set the length of the object along the X axis.

    • Length on Y axis: Set the width of the object along the Y axis.

    • Length on Z axis: Set the height of the object along the Z axis.

  • The file name of box dimensions

    After unchecking Read the size from the parameter, click the folder icon on the right side of the “Box Dimension File Name” parameter to select a local JSON file containing object dimension information.