Skip to main content

Create a modular product

A modular product lets customers combine separate products, for example sofa elements, that snap together in the 3D viewer. It consists of:

  • A bundle product: the main product. It acts as a canvas where customers place the other products.
  • Simple products: the modules customers place on the canvas.

This tutorial covers the 3D files, the products, the connection points, the collisions and the attribute that ties everything together.

Step 1: Prepare the 3D files​

Each simple product needs connection points in its 3D file. These are offset nodes where other modules can connect.

  1. Add an offset node at each point where another model should connect. Name it offset_<name>_e instead of the usual off_<name>_e, so connection points are easy to recognize.

  2. Add a geometry inside each offset node. A cube works well, but any geometry is fine.

  3. Place each node just outside the mesh.

    caution

    If a node falls inside the model's bounding box, other modules can't reach the connection point and won't snap to it.

  4. Export the file as .fbx.

Step 2: Create the simple products​

For each module:

  1. Go to Catalog › Products and click + Create.

  2. Fill in the required fields and set Type to Simple.

    Product type in the product form

  3. Click Save.

  4. Go to Visualization › 3D Visualization, create a visualization for the product and upload its 3D model.

Step 3: Create the bundle product​

  1. Create a product as in step 2, but set Type to Bundle, then click Save.
  2. Create a 3D visualization for the bundle product, without a 3D model.
  3. Open the Showcase tab of the visualization.
  4. In the Assets section, add a drop area.
  5. Click the gear icon in the viewer and select the collision checkbox.
  6. Click Save changes, then save the showcase.

Step 4: Create connectors​

  1. In the side menu, go to Connectors.

  2. Click + Create and add a connector for each type of connection point. Use the same names as the offset nodes in your 3D files.

    Connectors list with the Create button

Step 5: Turn offset groups into connectors​

For each simple product's 3D visualization:

  1. Open the Offsets groups tab.

  2. Turn on Connector for every offset group that is a connection point.

    Turning on the connector for offset groups

Step 6: Define which modules connect​

For each simple product:

  1. Open the product and select Dependencies.

  2. Click + Create and fill in the details.

  3. Under Provides, select the connectors this product provides.

  4. Under Requires, select the connectors it may connect to.

    Provides and Requires connectors of a dependency

Step 7: Map the connection modules​

  1. Go to Mapping › Visualization and open the mapping of the simple product.

  2. Scroll down to Map to Connection Modules.

  3. Match each connection module to the offset group from the 3D model.

    Mapping connection modules to offsets

Step 8: Set up collision for the simple products​

The bundle product already has collision turned on (step 3). Now turn it on for each simple product:

  1. Open the product's 3D visualization and go to the Showcase tab.

  2. Click the eye icon in the viewer, then Collision Bounds. The Collision bound section appears on the right.

  3. Select Enabled.

  4. Click the gear icon in the viewer and turn on collision.

  5. Click Save.

    Collision settings in the showcase

Step 9: Create the bundle attribute​

  1. Go to Catalog › Attributes and create a bundle attribute.

  2. Click Link product to add each simple product as an option.

    Products linked to a bundle attribute

  3. Save the attribute.

  4. Link the attribute to the bundle product.

Step 10: Test the product​

Open the bundle product and click Preview. Check that:

  • Every module connects at the right points.
  • Modules only connect where the dependencies allow it.