Change internal mapping of 3D parts

Change internal mapping of 3D parts

alex.van.canneyt
Participant Participant
378 Views
3 Replies
Message 1 of 4

Change internal mapping of 3D parts

alex.van.canneyt
Participant
Participant

Hello

 

Im trying to understand how this principle works in Inventor.

Case:

 

We have 2 different bolts, 1 is constrained in an assembly.
Example of how this could be constrained, 2 red planes coincident, 2 coincident axises.

alexvancanneyt_0-1683724037321.png

Now we want to replace this bolt with a bigger one, so we replace the part in the assembly.
The result is this:

alexvancanneyt_1-1683724536453.png

My question is:

How can we edit the second bolt so that is has the same position as the first bolt when replaced in the assembly?

- Can we rename the internal parameter from edges/planes to same one as the first bolt?

- Do we just need to make sure the XYZ matches?

- does autodesk has tools to edit the part references?

- Any ilogic solutions?

 

I did not find any topics regarding this issue.

 

I want to know this to correct legacy data. I want to know what the limitations are on this subject.

 

Thanks!

 

0 Likes
Accepted solutions (1)
379 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

Hi @alex.van.canneyt.  That is a very complex topic and is very difficult to fully explain without the full knowledge of all those who developed the design software, and how everything is created and works.  Many geometric objects have 'direction' (a direction they are pointing), even when you may not think they would have, and this direction plays a role in assembly constraints.  For instance both a Face object, and a WorkAxis have a direction.  The geometry of a 'planar' Face object is a Plane object, and a Plane object has a property called Normal, which returns a UnitVector, which is used in 3D coordinate space to indicate direction.  The Line geometry of a WorkAxis object also has a property called Direction, which also returns a UnitVector.  This is how you can have constraints that can be Mate vs Flush or Aligned vs Apposed, it all has to do with the natural direction of the selected objects.  And that natural direction is established in how the objects were created.  Similar to how sketched lines all have a start point and an end point, which means there is a start and end, which means direction.  That direction is sometimes important.  If you generated 10 bolds all from the same template bolt, and they were all very similar except for diameter and length, then they would all act the same when replacing one with another, but the replacement bolt does not share the same ancestry, its directions may be different. 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

alex.van.canneyt
Participant
Participant

Hello, thanks for the explanation!
Is it possible to change the direction of the plane normal vector or to rename edge id's?
Or do we not have access to these model parameters

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor
Accepted solution

Hi @alex.van.canneyt.  We can not change the natural directions of geometry in the models without basically recreating those models.  And most geometries have sort of internal ID's assigned to them by the design software, to ensure they can be uniquely identified from all other pieces of geometry, and we can not change that internal ID.  If both models were saved from the same base model, then the same face in both models may have the same internal ID.  What really needs to happen when you replace a component in an assembly, and the new model is not aligned the same was as the other model was, is to edit the constraint object itself, not the geometry of the model files.  If you had a Mate type constraint between the Faces of two components,  then you replace one of the components with another component from different ancestry, it does not know which face of the new component to replace that side of the constraint with, because none of the faces of the new component have the same internal ID as the face of the previous component.  And I have heard that sometimes when you mirror geometry, some aspects of the newly created geometry that was created may have some different direction(s) than the original it was mirrored from.  I don't really know why.

We do have the ability to assign custom names to some types of geometry within parts (not in assemblies), but those names that we can assign are not the same as the internal names of the geometry assigned by the software, so that would not help in the manual process.  It can sometimes help when replacing components by code, and then trying to fix existing constraints (if any were broken), by trying to find the equivalent geometry object in the new component by the custom name that we assigned to both the old and new components before that point.  But this is a very complex process, and requires a lot of preparation and knowledge of both models.  That situation of replacing components and sometimes the constraints getting broken has been a major pain for everyone since the very beginning, and I don't think that anyone has a 100% universal way to fix this problem from ever happening again.  There are some things that can help lessen how often it happens within certain fully controlled sets of model files, with enough preparations, but I think entire books could be written about how to do those things.  Sometimes, when there are multiple designers involved (past & present) in creating all the model files, and years worth of pre-existing model files that you may be working with, including content center and/or library models (which are ReadOnly), it just doesn't make practical cense to attempt to prepare every model file individually for the possibility that you may need to replace one with another in an assembly, and try to maintain all their possible types of constraints.  It can be a monumental endeavor to attempt it from that direction.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)