News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Question: 2 separate materials to a single 3d element and exporting as a 3d pdf

Started by CRCAD2, December 30, 2018, 01:58:21 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

CRCAD2

TC 2018 Pro Platinum

Is there a way to apply two separate materials to a single 3d element and have it display properly when exported as a 3d pdf?  In the example shown in the pictures below, a box has had a texture uv wrapped to the front face of the box.  The remaining faces of the box were selected with the facet editor and a second, solid color material was applied to these faces.  When viewed natively in Turbocad the materials display properly.  When exported as a 3d pdf however, the secondary material is not displayed but rather the unwrapped image from the texture is shown on the remaining faces.  Obviously there are a couple of ways to make things display properly in the pdf, the most obvious of which is to create a texture with the remaining solid color in addition to the front image and then wrap the remaining faces of the box.  Alternatively, the box could be sliced into pieces, each with its own material.  For my purposes on my current project, I would like to use the simpler and faster process of simply using the facet editor if there is some way to do this and have it display correctly in the resultant 3d pdf.

Any help or answer, one way or the other, is appreciated.

Jeff_in_90620

Remove material applications from all facets, then apply the second material to the object.

Finally, apply the UV wrapping to the one facet.

Let us know how it turns out.  If it doesn't work, then you might need a different PDF printer driver (but I have reported some problems with the 3D PDF output).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

CRCAD2

Doesn't work.  I've tried every sequence and combination of applying materials that I can think of and nothing works.  The only thing that sometimes happens is that both the uv map AND the secondary material are displayed on all the facets which tints the uv map to the color of the secondary material.  No matter what combination or sequence I use, I have not been able to get 2 different materials (whether uv maps or otherwise) to export correctly using the native 3dpdf generator.

Torfinn

Have you try'd to copy the facet you want different then the rest of the "Box" ??
Take away material you have now, copy out the facet, set the material you want to the "Box" and on the "facet" you wrap the material you want there.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

CRCAD2

I don't understand what you mean by "copy the facet." How do you copy a single facet?  If you mean to create a separate element for just the face of the box then yes, that works.  However, by creating separate drawing elements for different faces, the resultant 3d pdf ends up with multiple model nodes for each element.  I am running some secondary java code in the pdf  which applies actions to each drawing element and I am trying to end up with a single pdf model node for each element.  Multiple model nodes end up being problematic.

Torfinn

Yes, from TC Surface to Smesh and you can copy the facet, but of course it will be a new element with extra nodes.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

See if this helps >
> UV maps to U3D pdf using Solid objects.
> think of it as one image material per solid object
> you could create a single image that contains all the art work needed for your object,create a material then apply it to your object then UV map the material accordingly.

OR

Extract all the faces on your object with the Extract entity tool this will give you individual objects apply the material then UV map accordingly.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

I was working on an example of what Dean might be suggesting as Dean was posting.
A rudimentary example is attached herewith.  "Rudimentary", as I'm a complete novice at this stuff.

I watched a short, basic, instructional video on using the UV Mapping Tool, on YouTube here.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Below is a screen-capture of my working on the UV Mapping in TC 20PP.

How I created the Image I used for the UV Mapping is another story; though it was pretty simplistic.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

CRCAD2

Ok, we seem to be getting off track here.  I know how to create image textures and uv map all the facets.  I know how create separate elements via extraction, slicing, etc., and apply different materials to each element.   These approaches will result in the model displaying properly in the pdf.  I am aware of this and stated this in my original post.

I will ask my question again which is this and only this:  Can a SINGLE 3d drawing element have two (or more) different materials applied to different facets of the SAME element and then be exported as a 3d pdf and have the materials display properly?

I mean no disrespect and I appreciate all the replies and efforts but I am only trying to determine the answer to my original question.  Based on the responses here and my efforts to try and make this work I would say the answer is no.

Again thanks for the replies.

Dean

With UV mapping > One material > a wrapped image can be used . Create all the data that you need in that Single image > create the image in a photo editor.

When you say A "Single 3D  drawing element" I mean, that could be anything  ;D

Or you could send your complaint to TC support.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0