Need help with creating component

Hi,

I want to create a dynamic component for this shape.

Maybe somebody has an example?

Spie.skp (16.3 KB)

Thanks in advance.

I think this is what you want
Spie.skp (28.0 KB)