# 3.9.14: Interpolate Shape

The **“Interpolate Shape”**-component allows one to span a design-space with basic means: One Karamba3D-model, which is directly fed into the **“Mapper”**-component acts as the origin of that space; an arbitrary number of other models – the input of the **“Interpolate Shape”**-component – define a coordinate axis each. Linear interpolation takes place between the model at the origin and those defining the axes.

A parameter value of 0.0 corresponds to the origin, 1.0 to the model defining the corresponding axis.

<figure><img src="/files/7COMrmRR5vp4I7bDGOVj" alt=""><figcaption><p>3.9.14.1: Definition for optimizing the shape of a simply supported beam under mid-span single load.</p></figcaption></figure>

Fig. 3.9.14.1 shows a definition where the first 30 eigenforms (the thin red lines in fig. 3.9.14.2) of a simply supported beam serve as the shape-dimensions of the design space.

Galapagos is used to determine the position in that design-space which results in minimum deflection under a single load at mid-span. It is clear (think of a hanging model) that the optimum shape has a sharp kink under the load and is otherwise straight. Fig. 3.9.14.2 shows the result of the optimization run which resembles the ideal shape to a large degree. A sharper bend underneath the load could be achieved by including more shape-dimensions in the design space.

![ Fig. 3.9.14.2: Result of shape optimization (thick red line)](/files/-MCkEai5RODbAJL29A95)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.karamba3d.com/3-in-depth-component-reference/3.8-utilities/3.8.14-interpolate-shape.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
