We mark an area on a map, we click a button and wait. We receive a representation of the terrain and its coordinates. It works perfectly. What more do we need?
Not exactly true. At least, that's not the way it works.
When you start a new model using the Google Earth Template, the axis/origin is already established and is visible in the viewer. Have you ever wondered why it's there if you haven't drawn anything yet? The default axis (red/blue/green lines) position marks the "Spacial Center" of your model. Everything you add will be relative to that point in space. You can move the axis anywhere you'd like but it will not change the location of that spacial center. If you do move the axis, when you import the terrain, it will still align itself to the spacial center and not to where you moved the axis. Anything else you insert or draw will be also be aligned relative to that position. If you insert or make a component, all objects within that component will be aligned relative to the component's axis (child-parent) and the component will be aligned relative to the spacial center. You can completely delete the terrain and it won't affect anything. The terrain is only there to serve as a visual marker so that you can reposition the drawing axis and not lose your spacial center.You have to think "Object Oriented." Every object you draw is oriented to the axis of its container, not the the axis of the terrain. The exception being the outer/upper most object (the Model itself). The contents of a component (child objects) are oriented to the axis of the component (parent). If you move an object that contains child objects, the children AND their axis will move with them. Your sketchup model is the parent of everything contained within it and IT is aligned relative to the spacial center This is true with all aspects of Object Oriented Programming and not unique to Sketchup.
Um, are you sure you have ever uploaded a single component using the "Share component" action instead of uploading the whole model? Because those that have know what I was talking about. Just try it yourself:
I just tried what you explained, step by step, and I do see what you describe, but (and there is always a but) I looked into it deeper and discovered that there is a consideration of which you may not be aware. When you move the component's axis before you share it, it also moves the components "Insert Point" to the axis' origin. After you move the axis to roof, you have to reset the insert point before you share it. If you don't, when you download the component, it will come in with the roof locked onto the terrain. But, even so, there is nothing preventing you from raising it so that it's not sunken. It's not glued to the ground, it just comes in that way. But with anything you import, After you import it, you have to place it correctly before you preview it.