Imported Model Geometry Texture Is Wrong

Imported Model Geometry Texture Is Wrong

matt_jlt
Collaborator Collaborator
1,636 Views
15 Replies
Message 1 of 16

Imported Model Geometry Texture Is Wrong

matt_jlt
Collaborator
Collaborator

When importing any model, doesn't matter what format it is, Inventor automatically selects one of our custom texture form our library and applies it. It just happens to be a mesh texture. When I look at the solid properties it has applied the imported models appearance but for some reason it always has the mesh texture no matter what the imported model is.

 

This happens on all of our machines and models from all different suppliers. I have ensured the material is not the default material in the template parts, I even deleted it form the standard parts just to be safe. it is still in the library though. 

 

Every time we import something 99% of the items come in with this appearance. We started having this issue when using 2016 and now we are using 2018 we still have it.

 

Does anyone know how to fix this. It takes a long time to reset all of the faces to the correct appearance. Even with macros.

 

thanks, Matt.

imported geometry.jpg

0 Likes
Accepted solutions (2)
1,637 Views
15 Replies
Replies (15)
Message 2 of 16

Antonio.Oscar
Explorer
Explorer

Hi Matt,

 

Texture support is always a hard topic, I believe that 3rd party texture is not support to be imported.

0 Likes
Message 3 of 16

Xun.Zhang
Alumni
Alumni

Hi Matt,

 

Texture support is always a hard topic, I need your example data for more investigation. Would you mind send me the data or Screencast video and describe the final result you've desired via xun.zhang@autodesk.com which would be great for me to debug.

 

Thanks!


Xun
0 Likes
Message 4 of 16

matt_jlt
Collaborator
Collaborator

Thanks for the quick reply. Xun, I have sent you an email with the sample dataset.

 

thanks, Matt.

0 Likes
Message 5 of 16

Xun.Zhang
Alumni
Alumni
Accepted solution

Hi Matt,

 

First of all, thanks for sending the data and file was received.

 

Yes, it’s a defect for us which caused by appearance matching failure when importing 3rd party files which is export from Inventor itself (export from other CAD systems should be fine).

 

Simply speaking, Inventor importing always generate regular RGB color for 3rd party files. But regard to Inventor exported file (say native 3rd party) which carry over its owns appearance such as “Sky Blue Dark” and “AS3678-250” in your source file. When Import such native 3rd party data, Inventor try to match the color to current appearance library with generic type and get the real appearance from system library instead of RGB color. In this way, Inventor can handle native 3rd party with a better appearance migration experience. However, the defect here is that “Sky Blue Dark” is failed to match. After import such igs or stp file, several new generic appearance assets named “0.125.168x” with incorrect texture mapping other than “Sky Blue Dark”. (Notice: In source file, Open appearance browser and Edit “Sky Blue Dark” to open appearance editor, in the bottom left, click Duplicate as generic.)

 

 

Source file

Untitled1.png

Native 3rd party file imported

Untitled.png

 

However, there is a workaround indeed, create a new part with nothing, open appearance browser and click bottom left button to bring up drop down list, select the migration option and check on “migrate to generic”. Then, try to import any 3rd party files, the result should be fine now.

 

Untitled2.png

 

Hope it helps a little bit.


Xun
Message 6 of 16

matt_jlt
Collaborator
Collaborator

Hi Xun, I replied to your email but will use the forum now so others can see the issues.

 

I tried what you suggested but it did not work. I opened a new blank part, changed the migrate settings to generic but It made no difference. I experience this error even if the model is not originally exported from Inventor aswell. Importing geometry exported from other packages cause the same issue.

 

Matt.

0 Likes
Message 7 of 16

Xun.Zhang
Alumni
Alumni

Hi Matt,

 

Yes, you are right, below solution is only for remove mesh stuffs.

Regard to “As you can see that any face that is not the default grey colour when imported is automatically converted to mesh texture.” –

The reason is, the face color is not Default grey at all, they are “AS3678-250”.

 

If you want all shows default, please make sure that the part or faces are assigned with “Default” before export to natural 3rd party files.

Please have a try and let me know what’s the finding in your end. 😊


Xun
0 Likes
Message 8 of 16

Xun.Zhang
Alumni
Alumni

@matt_jlt,

 

We are investigate such problem actively, we need more details from you.

 

Could you help show me the image for Generic in the editor? Steps: open appearance browser, search Generic, double click to invoke editor and take an screen shot.

 

on the other hand, is that possible to try below workflow to see if it helps or not?

1.Project setting -> appearance libraries and set Inventor material library as default, the same for material libraries.

2.Close Inventor and restart. process the export and import workflow as usual.

 

Please let me know if there is any problem around or not.

Thanks for your help!

 


Xun
0 Likes
Message 9 of 16

matt_jlt
Collaborator
Collaborator

Xun, I have attached both Generic And Default appearance screenshots.

 

Generic Appearance Window.jpgGeneric Appearance Window 2.jpg

0 Likes
Message 10 of 16

Xun.Zhang
Alumni
Alumni
Accepted solution

Hi Matt,

 

Thank you so much for the details. The problem now is clear for us.

 

It’s a un-sync library problem and there is no further action for fixing for now.

 

Details:

Pre-conditions:

  1. There are two machines, let's say machine A and B.
  2. There are two libraries with the same name, such as X.adsklib in both Machine A and B.
  3. The "Generic" appearance is different in both machines, for example, refer to below images for both "Generic" definition. (One with texture and the other one without texture)

Untitled.png

Steps:

  1. Machine A create a new part (Or import any 3rd party file) and save it, say part 1.ipt.
  2. Machine B open part1.prt, the texture is missing and show sick.

 

In this case, the texture indeed missing since it’s not stored in Machine B and the Generic appearance is different in both machine A and B.

 

There are three workarounds:

  1. Share the library from Machine A to B and copy the texture image from machine A to B.
  2. Share the “Generic” appearance from Machine A to B copy the texture image from machine A to B.
  3. Re-import the 3rd party file in Machine B directly to drop the texture information.
  4. Leverage Pack & Go to pack texture image and library together from Machine A to B.

 

Hope it helps!

Thanks!


Xun
Message 11 of 16

matt_jlt
Collaborator
Collaborator
Xun, why does the issue occur when I export on machine A and re-import on Machine A. The issue always occurs. Another example, on Machine A I have a model that is set to blue and part is inventor 2016. I save the model and open it in inventor 2018, the model is now a different texture I did not want. The issue is that inventor is applying textures when it shouldn't be. An imported step file blue colour only part with no textures imported into inventor will turn into a mesh texture which shouldn't be there. The appearance library is the exact same as inventor 2016 but migrated and the machine is the same.
0 Likes
Message 12 of 16

Xun.Zhang
Alumni
Alumni

Hi Matt,

 

Thank you so much, if so, we need the library from you side. 

Please send me the adsklib file or a link to download via xun.zhang@autodesk.com and we will take a further investigation.

 

By the way, it would be great if we can set up a connect with remote investigation if possible.

 

Thank you as always!


Xun
Message 13 of 16

Xun.Zhang
Alumni
Alumni

Hi Matt,

 

One more to try, please let me know the result then.

 

  • Machine A – Create a new part file

Thanks!


Xun
0 Likes
Message 14 of 16

matt_jlt
Collaborator
Collaborator
There is only one step? What do you want me to do with the part file?

Thanks, matt.
0 Likes
Message 15 of 16

Xun.Zhang
Alumni
Alumni

Hi Matt,

 

After create the part, open appearance browser and check if the same problem happen or not.

 

Thanks!


Xun
0 Likes
Message 16 of 16

matt_jlt
Collaborator
Collaborator
Ok. If I create a part in inventor 2018, change face appearances. Save, close and re-open. The colours stay correct.
0 Likes