Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Question about assigning materials or textures

Anonymous

Question about assigning materials or textures

Anonymous
No aplicable

I'm wondering if there is a simple way to be able to assign a texture to a surface of an object in Autocad 2015, without defining a set colour?

 

I've simplified a lot of my 3D models to have one of the surfaces texture mapped to represent a hole pattern, but the issue I've found (and haven't been able to find a solution for in AutoCAD) is that I have to go into the material, and change the colour if I need it as something other than what I had orignally made the model using. I've attached a sample of what i'm talking about- in this particular instance it's defaulted to a brown- but it could be any of a dozen colours.  And before anyone asks- yes, I know it's possible to be done in post-processing, but from practice, it adds more post processing time than going in and manually changing the colour values, particularly in complex models, and we use a program to generate the colour list for the equipment to be painted.

 

TL:DR version

 

3D models with a set layer, contain a single surface with a texture map to represent a hole pattern, whole object can be any of a dozen colours, but hole pattern has been mapped using a single colour- is it possible to map the hole pattern without a colour?

 

 

 

sample.jpg

 

 

0 Me gusta
Responder
Soluciones aceptadas (1)
1.215 Vistas
12 Respuestas
Respuestas (12)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

if I do understand you correct you want to have one material which only defined bump- or transparency mapping, but the color of the object should be the color of how it's shown in AutoCAD (so e.g. color byLayer).

If that is correct then you can create a "New Generic Material" and assign in the material editor the color to "Color by Object" as shown here:

 

2015-12-10 23-25-50.png

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Anonymous
No aplicable
  • tried that this morning- didn't work the way I was hoping to- it retained the object colour, but didn't get the layer assigned material.

if it helps a bit more- our typical workflow:

  • bring in 3D blocks, arrange as necessary
  • assign materials by layer (materialattach)
  • manual adjust colours on anything that's had a hole pattern texture assigned, if necessary
  • render

the assign colour by object simply retained the autocad layer colour when rendered, not the material attached to the layer. In my example above- the default colour is a blue, so the hole pattern would have been texture mapped by colour with the blue, and the layer colour would have been blue, tried the colour by object- set the layer material to a green, and it rendered out blue on that surface.

the hole patterns are defined by a cutout pattern

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

maybe I misunderstand something, can you upload a drawing with 2 or 3 objects with your material assignments and make a text close to the object that is telling me/us what color you want to see (instead of that the object is rendered)?

Please use _ETRANSMIT so we get the texture-images you are using.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Anonymous
No aplicable

I've attached one of our blocks, with the material on the vinyl and top platform surface set to brown, and the other colour options still remaining within the file. Ideal solution is being able to change everything on the vinyl layer to one of the other vinyl colours WITHOUT exploding the block.

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

is that what you are looking for?

One block inserted 3 times, mapping works and you have different colors depending the layers color of the block-insertion (or the color assigned to the block-insertion directly).

 

2015-12-12 16-17-48.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Anonymous
No aplicable

not exactly, because the sides of it are still the brown vinyl layer. i need EVERYTHING (top textured surface, and sides) on the vinyl layer to show up as the same colour, and not just the top surface

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> because the sides of it are still the brown vinyl layer [...] and not just the top surface

I don't do your work, I just showed on one part that different colors are also working if the geometry objects are within a block.

You are welcome to make the rest in the same way ... within the block change elements to color = byBlock and change the materials to use color of object

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Anonymous
No aplicable

still not a working solution- yes, sure- assign by object and they now get a _lovely_ autocad colour... but assign a material to them, and they strictly stay the yellow/blue/red that the layer they've been coloured is, and not the material assigned to the layer colour.

brought your file back into one of our templates- tried assigning the _yellow layer the vinyl-green material... stayed the yellow layer colour.

0 Me gusta

Anonymous
No aplicable

I'm going to attempt to describe/clarify/explain more (because it seems that something hasn't quite translated properly)

 

What I'm hoping to be able to do (and the more i've been looking, looks like it isnt possible in AutoCAD...3DS yes...autocad no...) is this:

 

-take the hole pattern, strip out any colour dependency

-assign a material (any material) to the layer it's on (vinyl in this case) using materialattach to attach a material by layer (for example an autocad brick)

-have the material that's been assigned to the vinyl layer show up with the hole pattern. (again, in aforementioned brick- have the holes show up in the brick)

-be able to change the material to something else (let's say a grass texture, to keep with the random materials theme going) and have the hole pattern show up in the grass.

 

 

0 Me gusta

Anonymous
No aplicable

appears as though one cannot edit a post (strange...)

but setting materials to by object also breaks our programming which outputs a file for the materials used.

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant
Solución aceptada

Hi,

 

>> looks like it isnt possible in AutoCAD...3DS yes...autocad no

No, not really, not when using the correct wording.

You can only assign one material to an object, this is valid for AutoCAD as well as for 3DS Max (also in 3DS you can't assign 2 materials to one object).

 

What you can do in 3DS is that the material editor is built up more hierarchical and you can use a texture and assign that to 2 materials, if you change that texture information both materials will show this modification. If that is what you are looking for then no, that is not possible in AutoCAD in the same way.

If that is what you are looking for for AutoCAD the only option I see is to create an image called e.g. "BUMPMAP.JPG" use that image for the materials you like. And in case you need to change the mapping use another image and save it with the same name "BUMPMAP.JPG".

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Anonymous
No aplicable

Yeah, i figured as much Alfred, and that's basically what we have been doing (tex map set to the surface, with one colour, edit it as necessary to change colours.)

0 Me gusta