Please Sign In or Register to join the Community to see more content!

Understanding recursive templates

Recursive templates allow you to build component-based models in Unify. I often find it hard to explain what they are / how to use them without bringing up a real-world example. My go-to example is a Generator, since it's comprised of multiple components that most people are familiar with.

Below is a conceptual drawing of a Generator that I made. Note that each component is a different color: fuel system, engine, cooling system, exhaust system.

Each individual component has a set of attributes, along with a single "Power" attribute for the Generator as a whole.

Unify lets you build each component as a separate template and then bring them all together under a single Generator template - as visualized below.

And as shown in Unify...