Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to place a part along a line?

0 REPLIES 0
Reply
Message 1 of 1
cean_au
230 Views, 0 Replies

how to place a part along a line?

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

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report