Can I also use dynamic 3D models?
What are dynamic models?
The K3 provides some frequently required dynamic models directly. These are 3D models that adapt interactively to the user's input, for example:
- a table top in width and length,
- a front door in width and height,
- a wedding ring in diameter and number of stones.
To use them:
- Open the editor of your configurator.
- Click on Loading...in the sidebar.
- Click on Loading....
- In the following dialog, select one of the models and click on the corresponding "+" symbol.
- Set the default values for the parameters of the model in the following dialog. Each dynamic model has different parameters. These default values are normally overwritten later.
This adds the model to your model collection. You can now use it in Regeln, exactly as explained above for static models.
You can add the same dynamic model more than once, so you can change the name of the model. For example, you could have a red and a blue dimension chain.
However, you can also change other properties of the dynamic model, such as the length of a dimension chain. To do this, click on
Which dynamic models does the K3 recognize?
Box
The "box" is simply a cuboid whose size can be changed.
You could also obtain this behavior simply by using a static model of a cuboid. In contrast, the box has these advantages:
- You can round the edges.
- The texture can remain constant: For example, if you want to display a panel with a wood grain and want to change the length, the grain texture will be stretched during normal scaling. This looks unrealistic. If you change the "length" of the box instead, the texture will remain in its original state.
Dimension chain
We have a eigenen Artikel for dimensioning.
Extrusion
Here you can define a path in 2D, also by performing calculations and then "extruding" this path "extrude" this path, i.e. use it as a base surface from which a body is constructed.
This is exciting for profiles of all kinds and also for complex shapes.
The path is defined by a list of points that can be connected as follows:
- move: no connection
- line: A straight line
- arc: an arc that connects to the previous line without a bend and passes through the target point.
- spline: If several points are connected in this way one after the other, a cubic spline is created, i.e. a curved connection is created.
For the extrusion, you can either simply specify a length or a list of three-dimensional points. These then define a path along which extrusion takes place.
CSG
The CSG model is used to cut out a part from a model (Constructive Solid Geometry).
Two groups of models are selected for this purpose:
- the "base models" are cut out
- the "models" are used as cut-out shapes
The model selections in these two cases work like this:
- Only models that have a
key
are displayed. - All models with this key that are actually displayed in the scene by the rules, and only these, are used.
Finally, you can specify an operation:
- sub: Is almost always used, this is the subtraction described above. _ add: Adds the two models.
- intersect: Shows the intersection of both models.
Group
This model can be used to group several other models. The selection of models works as described under CSG.
The advantage of grouping several models is that they can then be manipulated together.
Imagine, for example, that you want to display a half-open door. The door is composed of 4 models for the frame. For the rotation, you would now have to rotate and move the 4 models in a complicated way.
However, if you group them first, you only need to rotate the group.
Part
Here you can select one or more (static!) models. Their internal structure, which consists of nested submodels, is then displayed. Several of these submodels can be selected and only these are then displayed.
In this way, you can pack several of your models into one GLB file and then with this model and display them individually.
Dynamic lighting models
In addition to physical objects, various light sources can now also be integrated into the scene as dynamic models. These enable realistic lighting situations directly in the configurator, including shadows and ambient light.
Supported light sources
Model type | Description |
---|---|
Point light | Shines evenly in all directions from a single point. Supports shadow casting. |
Spotlight | Directs light in a cone shape onto a target. Target position is freely adjustable. |
** Directional light | Simulates parallel light like sunlight. Light source itself is not visible. |
Environment | Uses HDRI environment images to illuminate the entire scene. |
Sky | Creates a procedural sky with adjustable sun position and atmosphere. |
Features and controls
All light sources support configurable properties such as color, intensity, shadow cast and, if applicable, target position. The values can be controlled by numerical expression or anchoring.
A specific editing tool is available for each light source, which is activated in model editing mode. Visual aids (e.g. light cones, target points, direction arrows) are displayed to make alignment easier.
HDRI environments
A separate HDR or EXR image can be uploaded for ambient lighting. This is used as a light source and optionally as a background.
- Supported formats:
.hdr
,.exr
- Displayed directly in the upload field as a preview
- Blurred background (blur) is configurable
Notes on use
- The new light sources are not automatically visible in augmented reality views.
- Shadow casting increases the graphical complexity and can affect performance.
- The light models can be linked to rules (e.g. only visible in certain configurations).