It is as if one were to look at the shapes that crystals grow into and ask not, "What mechanisms produce these shapes?" (a question answered in the laboratory, not the armchair, by discovering that atoms bind to each other in ways that form orderly lattices), but "What is a shape?"
Why aren't both questions valuable to ask? The latter one must have contributed to the eventual formation of the mathematical field of geometry.
I find it difficult to see any trace of the idea in Euclid. Circles and straight lines, yes, but any abstract idea of shape in general, if it can be read into geometry at all, would only be in the modern axiomatisation. And done by mathematicians finding actual theorems, not by philosophers assuming there is an actual thing behind our use of the word, that it is their task to discover.
Thagard (2012) contains a nicely compact passage on thought experiments: