Inventor Customization

Inventor Customization

Reply
Valued Contributor
cean_au
Posts: 100
Registered: ‎07-11-2011
Message 1 of 1 (95 Views)

how to place a part along a line?

95 Views, 0 Replies
03-25-2012 07:51 PM

Hi,

 

I know the start and end points of a line, but can't figure out how to place a part alone it using vb.net. For example, the line is from (0,0,0)-(1,1,1)

 

For the oMatrix, I can translation to the start point, but how to calculate the rotation angle? The yaw angle can be the rotation angle about Z axis. From the pitch angle, could I get the rotation angle about X axis & Y axis?

 

Thanks for help

 

Cean

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.