
Originally Posted by
kevd I am working on a project to visualise in a 3d manner stress in pipe. I am being provided with a stress vector (containing 2D polar coordinates, being the magnitude (-9999 to 9999) and and direction (0 to 180 degrees)). I am taking this data and mapping it onto a 3D visualisation i am about to create.
I will know the location of the centre of the pipe, A, (say (0,0,0)) and the location of the data point where the vector is to be mapped to, B (say (0,1,0) for sake of argument). From this, i'm hoping i can use the vector AB, to calculate the normal to the plane, and hence the equation of the plane.
And Thats where i need a way to get the 2d polar co-ordinates specified on that plane, to 3D so i can map the direction on the visualisation (maybe by using the equation of the plane and the one 3D point i already know on the plane, the Z co-ordinate of the second point may be obtainable), but this is where i need the help.
If my assumprions are way off please say, as i only was only given this information/project yesterday, and am only now beginning to look into how to achieve it.