Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Door Textures Rotated 90 degrees

MLWheeler
Booster

Can we have a conversation about this? Seems like it's been an issue for over 10 years with no obvious answers to fix.

 

I am using AC25 library doors (In AC25 Solo), one pocket, one hinged -- both doors have the texture rotated 90 degrees. 

 

texture example.png

 

Also same behaviour for architrave - texture runs perpendicular to material direction.

 

My room has vertical timber acoustic panelling for which I have set up custom surface, material and composites for walls; however, when I apply the surface to my doors, it displays perpendicular to the walls. 

As others have said before, yes, I could setup a duplicate surface and rotate it 90 degrees, but is this really the best solution to this issue? What am I missing?

 

Thanks

 

Marcus

UKI v.25 & 26 Solo - Windows 10
20 REPLIES 20
Karl Wir_n
Enthusiast

On many of the building elements, like walls, slabs etc, you can align the texture in a custom orientation. Got to document>creative imaging>align 3d-texture. Unfortunately there are limitations and the behaviour is different for different tools. The morph tool is the easiest to map and the column tool is the worst. If you try to make a wooden beam and a wooden column and intend to use the same material (since both are wood!) you need to alter the texture rotation in the material settings so that it fits the column. Then you have to select all beams and rotate the texture by using the "align texture" command.

If you after that want to apply the same material to an object, door or window, you might have problems with the direction again. It is funny because making a parameter in the gdl-script that lets the user rotate or translate the texture is very easy! I wonder why GS don't go through their library and add this feature to all scripted objects. I script many objects myself and I also copy objects from the standard library and add extra features to them. When I do that I always add the ability to rotate the texture.

Thanks Karl - I will look into the document>creative imaging>align 3d-texture function in more detail.

 

I wonder if I can get your details - being able to script objects is a useful skill and knowing someone who can would be excellent - I'm sure I would like to commission a few objects in the future if this would be of interest?

 

Thanks again,

 

Marcus 

UKI v.25 & 26 Solo - Windows 10
Zendrix
Booster

Im having the same issue as described:

 

I have corrugated metal walls and the texture is applied vertically by default. I then applied it to a door which i want as continous material and orientation and it simply rotates the texture on the door. Using the option "align 3d-texture" is impossible cause its greyed out, even after accessing that menu with that specific door selected. 


image.png

Align 3D texture does not work for objects (doors).

The only solution is to create a duplicate material rotated 90° as explained earlier.

Unless the door object has an option to rotate the material (but i doubt that).

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
mthd
Ace

Time to make a wish for this if it hasn’t already be done yet.

AC8.1 - AC28 ARM AUS + CI Tools
Apple Mac Studio M1 Max Chip 10C CPU
24C GPU 7.8TF 32GB RAM OS Sequoia
Keep it Perpetual !
Lingwisyer
Guru

Would be surpised if there isn't already a wish carried over from the old forum since this has been an issue for a long time...

Wish: 12472

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

I would think the old forum would be forgotten by now lol !

AC8.1 - AC28 ARM AUS + CI Tools
Apple Mac Studio M1 Max Chip 10C CPU
24C GPU 7.8TF 32GB RAM OS Sequoia
Keep it Perpetual !
Barry Kelly
Moderator

I am not sure it is a problem with the door itself - although it would be nice if there was an option to rotate the materials.

And the frame material orientation certainly need fixing.

 

But if you look at a roof and a wall, the texture maps correctly.

A slab on the other hand, the sides are vertical (as would be expected) but I would think that a vertical material on a slab would run vertically in plan.Not like this.

 

BarryKelly_0-1730081856624.png

 

As door leafs are scripted from PRISMs (basically slabs), it seems they are following the same principles.

Fix the slab orientation (probably too late now after all these years) and the door problem would be fixed as well.

 

The doors could be scripted with a material rotated in the correct way, and it could also be offered as a parameter that the user can set.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Never thought of that, so it is the box mapping that AC uses and how it rotates the axis for door panels...

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

 

AllanP_4-1730093019285.png

 

AllanP_5-1730093033359.png

 

from memory this bit of code changes the pattern to vertical for doors/windows....

 

MAT = materialAttribute_1

!----MY DOOR PANEL HERE
CPRISM_{3} mat, mat, mat, mask,
5, 1,
0, 0, 0, 15, mat,
1, 0, 0, 15, mat,
1, 1, 0, 15, mat,
0, 1, 0, 15, mat,
0, 0, 0, -1, mat

!----MY DOOR PANEL HERE

!----FIX THE MAPPING FOR DOORS
BASE
vert 0, 0, 0 !#1
vert 0, 0, 1 !#2
vert 1, 0, 0 !#3
vert 0, 1, 0 !#4
coor 2, -1, -2, -3, -4
BODY 1

!----FIX THE MAPPING FOR DOORS

 

anything saved as a library part door adds the "coors" lines for you.

 

 

AllanP_0-1730092783563.png

 

AllanP_1-1730092796361.png

 

AllanP_2-1730092809292.png

 

AllanP_3-1730092827940.png

 

and the door leafs do have code for it, but it looks like someone made a mistake

 

AllanP_6-1730095027382.png

 

 

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)