Setting up Subclustering by Attributes

This section details the setup of subclustering by attributes.

In OnePart Reduce, the user can group parts related to their shape (clustering). Inside these clusters made based only on their 3D Shape, it is now possible to "subclusterize" by any attribute used in OnePart.

Context:

These attributes can be alphanumeric (such as color, material, surface treatment, vendor ...) or can be numeric (such as size, number of holes, thickness ...). It can also be used in some cases without any shape clustering. In these cases, it can be considered as a group by multiple attributes.

Once the subclustering has been done, it is possible to filter the clusters with specific attributes.

To set up clustering by attribute, you must select which attributes you want to use for the subcluster. By default, only the size and the material are available. Then the users can select which attributes to use and how to use it in the universe.

  1. In Mashup Builder, open the reduce page.
  2. Edit the properties of the app OnePartReduce Create Universe Hit.
  3. Click the Attributes tab to add attributes with the options:
    1. Value: Provide the meta from the data model with the prefix.
    2. Label: Provide the same meta without the prefix.

      This will be the displayed name in the user interface. You can configure i18n on this field using the reference “meta_LABEL” (for example, “meta_main_color”).

    3. Default Value: Set value by default.
    4. Split mode: Choose if numerical or alpha.
    5. Split by default: Select if the split option is enabled by default or not.
      For example, to add the color attribute: