Challenge closed, the shortest answer has been acccepted.
A military projection is a projection where all lengths and the angles in the X-Z plane remain unattuned.
Your task is to print a cube in military projection using
-, and any whitespaces you want, given any integer greater than zero as it's side length. You can leave sides out that are not visible to the human eye.
Here are some examples:
/-\ / \ |\ /| Side length: | \ / | 2 \ | / \|/ /-\ / \ / \ / \ / \ |\ /| | \ / | Side length: | \ / | | \ / | 5 | \ / | \ | / \ | / \ | / \ | / \|/ /-\ Side length: |\ /| \|/ 1
(Printing the side lengths is not required.)
For the uppermost corner you must use the dash. As you can see, all sides are equal in length (when measured in characters). You may use any kind of spacing you wish, and omit any characters that don't change the appearance of the cube.
This is code-golf, so the shortest answer in bytes wins!