Decal image not rendering - png contained within part file

I recently added a simple decal to the top of a switch which is now part my companies part library. To save having an extra file/image in with the components & running the risk of it getting lost or deleted, I made the decal self-contained within the part (by ticking the option in the Document Properties > Model Display)

The only issue I have now is that the decal isn’t appearing when I render the part in Photoview 360. To make matters worse it now asks for the original PNG file of the decal when I render an assembly which contains the switch. Unfortunately, I no longer have the original PNG file.

Is there a way of rendering the part so that the decal shows? Or is there a way to export the original PNG file back out of the part?

Ta

SolidworksPhotoview 360
Answers 7
AB
AB 2018-01-26 Best Answer

I have had this issue before and have discovered that the components being loaded Lightweight did not show the decals that were placed within the files. The following option needs to be checked.

Then before you try your render, make sure all of your parts that are holding decals are set to resolved (right click the item in the feature tree to see this option). The decal shows up in the images below where it was used in renders. Ignore that the caster wheel looks like it was dipped in baby oil...

This file is checked in to our vault and the decal shows up on all computers in the part document and in the assembly when fully resolved. I'm not sure if that answers any questions but I hope that helps.

comment imagecomment imagecomment imagecomment imagecomment imagecomment image
CB
CB 2018-01-26

I've already stated that the decal is saved within the part. 'Store Appearance, decal, & scene data in model file' is ticked, however, the decal will not render without the original PNG file, even on its own.

However, I have discovered that if I untick that option, then save the part, it then asks me to externally save the decal (PNG file). Once I do that, the decal will render. However, I'm back to square one as I now have a part which requires a separate PNG file for the decal.

So my question still stands - why is the switch decal not rendering when the decal is saved within file (the part is attached in first post)

comment imagecomment image
AB
AB 2018-01-26
<p>Chris Berry wrote:</p><p></p><p>I've already stated that the decal is saved within the part. 'Store Appearance, decal, & scene data in model file' is ticked, however, the decal will not render without the original PNG file, even on its own.</p><p></p><p>However, I have discovered that if I untick that option, then save the part, it then asks me to externally save the decal (PNG file). Once I do that, the decal will render. However, I'm back to square one as I now have a part which requires a separate PNG file for the decal.</p><p style="min-height: 8pt; padding: 0px;"></p><p>So my question still stands - why is the switch decal not rendering when the decal is saved within file (the part is attached in first post) </p>

Unfortunately, I'm unable to open your file as it's a future version (I am on 2016). Now that I think back, I did have an issue with the decal feature and decided to use face mapping on the appearance tab in order to get my render to work. Apologies, this was over a year ago that I did this.

My issue with decal was that it was rendering but it would never remember my orientation options like axis flipping so it would render upside down and backwards on one side.

I'll outline the steps I went through although if you can figure out decals then this should be easier.

1. Right click appearances tab and Add appearance. Select the Mapping tab.

2. Select the face on which to map the image in the Selected Geometry window.

3. Select the Color/Image tab and browse to your external image file (.png or similar) or your appearance file (.p2m).

4. Back on the Mapping tab, in the size/orientation area, modify these dimensions to reflect the real height/width of the decal and then adjust the location under the Mapping area.

5. The mapping type was projection for my scenario.

CB
CB 2018-01-26

The steps that you mention are really on how to apply the PNG file to the face on the part. Its not really what I'm after, but thanks anyway.

It seems that decals dont appear for me if the PNG file is saved within the part.

AB
AB 2018-01-26

Alright, I went ahead and saved this part out so the source was a PNG file, I deleted the appearance and re-added the image as a decal and saved it. I checked the box to save it internal to the assembly and deleted the PNG file from my system completely. I then ran a render with photoview and it showed up in the part level. I added that to an assembly and ran the render again and it worked there as well although it prompted me to look for a PNG file or it wouldn't render properly but I said no to that and it rendered fine anyway.

I'm not sure what else to suggest. Good luck with getting this to work in your assembly.

CB
CB 2018-01-29

Must be something I'm doing or Soildworks just being Solidworks!!

SB
SB 2018-11-15

Chris,

I am having what looks like identical issue.  I'm running Professional 2018 SP4.0. Original image is PNG and decals are saved in the parts.  Same issue you have where when I first start the render, solidworks says it cannot find the .png but I click "no" when it asks for find a replacement.

The first render in solidworks works perfectly.  All decals show up.  Then, if I open a subcomponent, go back to the main assembly, and render it again, some decals disappear.

Things I tried which did not get the decal to show up:

- Increasing the thickness of the part which has the label applied

- Verifying the decal is applied with "mask image" - "no mask"

- Verify "use underlying appearance" in "illumination" is unchecked

The thing that will get the decal to show up again: close solidworks, reload the assemlby, render.

Have you had any luck getting this working?@