- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have roof i want to get direction of vector along the surface towards end point of roof.
I have following:
1.Surface normal
2.Required Angles.
3.end point of roof.
(Shared in below image)
I have tried by following way:
Since i have vetor surface normal and Z axis And Angle:
double angleBetweenFaceNormalAndZaxis = normalDirectionOfFace.AngleTo(XYZ.BasisZ);
XYZ normalDirectionOfFaceAlongZaxis= (normalDirectionOfFace) * (Math.Cos(angleBetweenFaceNormalAndZaxis));
but vector direction not modified when i have drawn line along above vector(normalDirectionOfFaceAlongZaxis).
DIrection is remains as normalDirectionOfFace?
IS their anyone knows how do we get vector direction per our requirement?
-----------------------------------------------------------------------------------------------------------
As shown in below image i have calculated following things:
1.t1,t2 angle
2.distance of roof
3.endpointof roof
unknown:
i want to calculate the start point of roof?
my thinking is if i get direction along surface i can get solution?
Solved! Go to Solution.