Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find the position matrix of a snapped part in 3Dx?

Status
Not open for further replies.

CarlosR2022

Electrical
Joined
Sep 16, 2010
Messages
36
Location
US
I have 2 parts: Part1 and Part2 both have 0,0,0 as origin. Then I moved and rotated Part1 randomly and I took the position of Part1 which was a 4x4 matrix called POS1. Then I snapped Part2 to Part1 (instead of using assembly constraints) to have Part2's position matrix as POS2. My question is if I now move Part1 to a new position to have POS1'(11), is it possible to calculate the new position matrix of Part2 POS2' based POS1'?
 
I know about transformation matrices but I don't know what "snap" does in Catia/3Dx.

Off hand I would say that, yes, the Part2 POS2' matrix can be calculated, but do you have the transformation matrix from POS1 to POS1' or does the transformation matrix need to be extracted first?

To be clear, the transformation matrix is multiplied by POS1[] X transform[] = POS1'
 
Thanks, @3DDave, I think I understand now - it is just the matter of figuring out how to do some of the matrix calculations.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top