Inventor Customization

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

how to place a part along a line?

91 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.