Complex sentence: The stencil is both the resulting image or pattern and the intermediate object; the context in which "stencil" is used makes clear which meaning is intended.
Split into simpler sentences: The stencil is both the resulting image or pattern and the intermediate object. The context in which "stencil" is used makes clear which meaning is intended.