HI all
i have problem in catia where i need to create a line using direction vectors the line must be in 5 deg multiples with each axis
for example 35deg with Z-axis,65deg with Y-axis and 95deg with X-Axis like the value may vary
this is about direction cosines and direction ratios
i need to use vba to get the direction cosines using math
i can do the vba part but i just need the logic to make line 5deg multiples to all 3 axis
below images shows the example
With respect X it is 90deg i need to make it 30deg with respect to Z without changing the X angle and 60deg with respect to Y without affecting any other angle
how to solve this with math equations
Thanks
i have problem in catia where i need to create a line using direction vectors the line must be in 5 deg multiples with each axis
for example 35deg with Z-axis,65deg with Y-axis and 95deg with X-Axis like the value may vary
this is about direction cosines and direction ratios
i need to use vba to get the direction cosines using math
i can do the vba part but i just need the logic to make line 5deg multiples to all 3 axis
below images shows the example
With respect X it is 90deg i need to make it 30deg with respect to Z without changing the X angle and 60deg with respect to Y without affecting any other angle
how to solve this with math equations
Thanks