{#if modelType === 'stl'} {#if stlLoaded && stlMesh} {/if} {:else if modelType === 'fbx'} {#if fbxLoaded && fbxGroup} {/if} {:else} {/if}