To cast [cube](https://www.dndbeyond.com/sources/basic-rules/spellcasting#Cube)-shaped spells,

> 
> You select a cube's point of origin, which lies anywhere on a face of the cubic effect.
> 
> 
> 

After looking through a multitude of other questions regarding Thunderwave (see [1](https://rpg.stackexchange.com/questions/56895/spell-area-of-effect-range), [2](https://rpg.stackexchange.com/questions/48998/is-thunderwave-centered-on-the-caster), [3](https://rpg.stackexchange.com/questions/144271/can-i-cast-thunderwave-and-be-at-the-center-of-its-bottom-face-but-not-be-affec/144284#144282)), which has a range of **self**, it seems to be general consensus that you can cast Thunderwave as the picture below shows.

[![enter image description here](https://i.stack.imgur.com/1aDW7.png)](https://i.stack.imgur.com/1aDW7.png)

But the thing is, this means you have a range of **5ft** for casting it, doesn't it? Your point of origin is the square 5ft in front of you. I just assumed that a range of **self** meant something like this.

[![enter image description here](https://i.stack.imgur.com/8IU0Q.png)](https://i.stack.imgur.com/8IU0Q.png)

You wouldn't take damage since:

> 
> A cube's point of origin is not included in the cube's area of effect, unless you decide otherwise. 
> 
> 
> 

In order for both these images to be possible casts of Thunderwave, a range of **self** and a **5ft** are the same. Is this interpretation correct?

PS: I didn't show the cube to have 15ft height, but that's to keep things simple. Assume the cube has the proper height, but for this question, we are focusing on the bottom third of it.