News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

How to UV map into limited area on facet?

Started by studebaker32, February 21, 2014, 06:10:32 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

studebaker32

I want to UV map an image onto a facet, but I don't want to fill the facet completely.  Example: put a 1" diameter image into the center of a 4"x6" facet on a 4"x6"x4" cube.  When I have tried to map an image onto a facet, TCW 20 fills the entire facet with a rectangular image and distorts it to make it fit.  How do I put an image onto a small part of the facet?  I'd also like to maintain the transparency of a GIF image so that a different facet material surrounds the image, e.g. a painted surface.  Suggestions?

What I really want to do is put a UV map onto a small area on a non-flat SMESH surface.  Is that possible?

Henry Hubich

#1
Please post the image you want to map onto the flat facet, and someone here will figure out how. And if you post a .tcw file containing the SMESH, indicating where you want the image mapped, and maybe someone here can figure that out

Henry H

studebaker32

#2
Well, I tried a bunch of things, finally found one way to do the basics on a flat surface.  For the image, I erased the background around the circular image of Earth, saved it as a .PNG file to preserve transparency.  On one face of the 4"x4"x6" rectangular solid (exploded), I drew a circle and did Modify/3D Objects/Imprint to push the circle out by 0.005", let's say about the thickness of a piece of paper, so the bump doesn't really show at the relative scales, but it's enough to define a circular plane separate from the rectangular face.  I was then able to do an Edit 2D Part, create the UV material, and put it on the circular imprint. 

The part looks correct in TCW 20, saves OK as a JPG image, but saved as a 3D PDF file, all of the solid's faces are covered by small copies of the image.  Don Cheke's website refers to this problem, but I couldn't follow his explanation of how to avoid this.

I haven't created the SMESH object yet, thought I'd master how to do it on a simple surface first.  Here's the JPG image, the TCW file, and a 3D PDF file.







Henry Hubich

Quote from: studebaker32 on February 22, 2014, 06:45:39 AM
Well, I tried a bunch of things, finally found one way to do the basics on a flat surface.  For the image, I erased the background around the circular image of Earth, saved it as a .PNG file to preserve transparency.  On one face of the 4"x4"x6" rectangular solid (exploded), I drew a circle and did Modify/3D Objects/Imprint to push the circle out by 0.005", let's say about the thickness of a piece of paper, so the bump doesn't really show at the relative scales, but it's enough to define a circular plane separate from the rectangular face.  I was then able to do an Edit 2D Part, create the UV material, and put it on the circular imprint. 

The part looks correct in TCW 20, saves OK as a JPG image, but saved as a 3D PDF file, all of the solid's faces are covered by small copies of the image.  Don Cheke's website refers to this problem, but I couldn't follow his explanation of how to avoid this.

I haven't created the SMESH object yet, thought I'd master how to do it on a simple surface first.  Here's the JPG image, the TCW file, and a 3D PDF file.

Good job!

One way to avoid the problem with the PDF would be to slice between the raised circle and the cuboid before assigning any materials, then wrap the image onto the raised circle, and then Group the circle and the cuboid. Don't 3D-Add them. (This will look fine in TCad, too.)

Henry H