Look in your config or ini file for your space station. There should be a line for docking ports. Looks like this:
Code:
BEGIN_DOCKLIST
0 0 7.15 0 0 1 0 1 0
The first three numbers are the position of the docking port from the vessel mesh's center. The next three tell you which direction the port faces.
The final three numbers tell you which way the port is rotated about the docking axis. The port in the example is located at
x:0, y:0, and z:7.15 meters from mesh center.
The dock points in the +Z direction (0, 0, 1), and it's oriented so that "up" as you look at it is in the +Y direction (0, 1, 0).
Those last three numbers are what I think you are worried about. Always make sure the direction and orientation coordinates are a unit one in length.
Hope that helps.
---------- Post added at 12:43 AM ---------- Previous post was at 12:37 AM ----------
BTW, all this stuff is in the Orbiter docs, which are a more accurate source than I am.