Configure product with model tree

  1. Home
  2. Backend
  3. Product & Configuration
  4. Configure product with model tree

Configure product with model tree

There are two ways to prepare your 3D model. The first way is to create the configuration of the model within the editor, in the model tree. The second way is to create the configuration during the making of the drawings in the 3D drawing program and following the workflow to set up the model tree and and automatically importing the configuration. Within the documentation the workflow and setting up the configuration within the 3D model is explained.

It’s very important all the objects are drawn in the same spot. This means all the different types have to be in the center of the drawing program and not one type being on the left and the other one on the right of the center. The different types have to be created on the same spot where they have to be visualised, so when a customer switches between different types, these have the same placement.

The window on the right of the drawing program is the model tree as well.

In this part we are going to tell you how to setup the configuration within the editor, using the model tree. For this we will give examples using two different pot types.

After importing a 3D model in the the tab ‘Imports’, you can get an overview and complete the configuration in the tab ‘model tree’. This is actually the tree of all the objects that are processed into the 3D drawing.

Before you start it’s very important to select the correct unit, you can select the unit that’s been used for the creation of the drawing. If the wrong unit is selected, you might not get an image, the image is too small or other problems may occur proceeding in the configuration. You can select the correct unit in the selection bar Units, you can choose from m (meter), cm (centimeter), mm (millimeter), ft (feet) or in (inches).

In our example we use 2 different types, Type 1 and Type 2. By clicking the eye button, you can turn these on or off. By turning off a type, this type will not be visible.

By clicking a part in the model tree (left window), this part will be circled in the drawing.

This works the other way around as well, click on the part of the product and this part will be selected in the model tree.

By using the left mouse button you can rotate the product, by using the right mouse button you can move the product and by using the middle mouse button (scroll wheel) you can zoom in and out on the product.

Set up a configuration

By holding the CTRL button and clicking on nodes you can select multiple nodes. One or multiple nodes can easily be moved or be placed under a different node.

Click the 3 dots next to the node to create and subdivide a new node (append), adjust the node (edit) or remove a node (delete)

From the model tree in in the drawing program (in our example) the camera and lamp are imported as well. We don’t need these in our model tree in the editor, so we can delete these nodes by using the delete button. After this you can click the confirm button if you’re sure you want to delete the node, or click cancel if you don’t want to delete the node.

This leaves us the RootNode, Type 1 node and Type 2 node. Now you have to choose what options within these 2 types the customers can select. This means you have to set up the question for what sort of pot you want.

Creating a new node (Question):
1. Click on the three dots next to the RootNode
2. Go to ‘Append’
3. Select ‘Question’
4. After this a new screen will popup with information you have to fill in

  • Select ‘Make new item’ (to create an new question) or select an already existing question
  • Enter value: Name the question (such as the example below)

5. Click ‘Add node’ to create the node or click ‘dismiss’ to cancel
Then the node ‘Pot type’ is added to the system. This node can easily be moved to the correct place. In the example below we dragged the node up (right below RootNode). Rhen we moved the nodes ‘Type 1’ and ‘Type 2’ and placed (subdivided) them under ‘Pot type’, this means this is an option for customers to choose from. Now the system has found an error, the label ‘Caution’ shows up under ‘Pot type’. To find out what the problem is you can go to ‘Caution’. In this case the problem is ‘(-)No options found under category’. This means there are no options (answers) found for this category (question).

What the system expects is options (answers) to be divided under a category (question). Type 1 and Type 2 are divides under this node, the system however doesn’t know these are options. You can adjust this by following the next steps:
1. Go to the dots next to the node (Type 1)
2. Click ‘Edit’

3. In the next screen that pops up (picture above) you can select ‘Answer’ as type
4. Select ‘Make new item’ as Node
5. Then fill in the name at ‘Enter value’ (such as the following example ‘Type 1’)

6. Click ‘Apply’ to make the changes, click ‘Dismiss’ to cancel

By doing this the type of node is adjusted in option, as you can see in the example below:

7. Follow the same steps for the other options, such as Type 2

Now we have created a configuration for the variation of two pot types. By using the green on/off button next to the node you can see what type is chosen. When one type is on, the other is automatically turned off. As you can see in the example below Type 1 is turned on and Type 2 is turned off. The type that is turned on is the type that is displayed.

This way you can endlessly create new variations for every type that can be chosen.
Under every option you can create a different question. This way the option can be personalized as much as you want.

Adding a new node

1. Click the three dots next to the node you want to use
2. Select ‘Append’
3. Select the kind of node you want to add (Question, Answer, Mat-group, Offset, Part-sku, Node)

4. Fill in the information in the popup screen
5. Click ‘Add node’ to create the node or click ‘Dismiss’ to cancel
6. After this you can drag the node to the right place

Adjusting the name

To change the name of the node you just have to move your mouse across the name of the node. Then you can click on the note icon or doubleclick the name of the node. Then you can change or replace the node name. Press enter to save the name.

The next step is to change the material on the outside of the pot, this is the ‘outershell’ for every pot type. We want to create one question for selecting the material for the outside of the pot. And we want to change this for Type 1 and Type 2. So we want to use this question for both types. The options can be materials such as plastic and ceramics. The outershell node stands for the outside material. Click on the plus in the outershell node to see the 3D model, right now the node is set as mesh, but we want to change his to a material group.

When a node gets the label material group, this will be exported to the tab ‘material groups’ as well.

1. Click on the three dots at the outershell node
2. Click edit
3. Adjust the information in the screen that pops up:

Change the type, by selecting ‘material group’
Node ID: Select ‘make new item’ if you want to create a new file for this
Enter value: Name the group (this name will be used in the material groups)
Node name: Name the node (this name will be used for the attribute that will be created for this material)
4. Click ‘apply’ to make the changes, or ‘dismiss’ to cancel
Then the label of the outershell node will be changed from ‘mesh’ to ‘matgroup’

If you want Type 2 to get the exact same options for the outershell, you can take the exact same steps as you did for Type 1, but instead of creating a new item, you select an existing group (the one you created for Type 1). So in this case there’s no need to create a new group. This way all the materials you can choose for Type 1 can also be used for Type 2 and when a change is made in this part of Type 1, this will be automatically adopted by the meshes of Type 2.

Now we’ve made a configuration with a variation between two different types and a selection of materials for the outside of the pot.

To save this configuration, click ‘save changes’. After saving the button ‘Generate configuration’ will become clickable and the configuration will be implemented in all the following tabs (Graph, Attributes, Components, etc.)