cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Align 3D texture on door leaf?

naomihansen
Contributor
Hi,

I'm not finding any way to control the 3D texture alignment on a door object. I'd like to get my texture to align with the wall texture around it (the idea here is to have the door disappear in the wall by aligning the siding and minimizing the trim). Am I missing something?
Thanks,
Naomi
Naomi Hansen

Terry & Terry Architecture



Running AC26 on Mac OSX12.5.1
6 REPLIES 6

Nader Belal
Mentor
I had run with a similar problem

Check The GDL Guide COOR (and it's versions)

PS: Coor must be put after the the script snippet that defines a body
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Barry Kelly
Moderator
Yes I would say that COOR is what you are looking for.
Because it is a door and they are scripted in the X-Y plane. you will wnat to adjust the X & Y values i should think.

Here is a script I use for adjusting tiles on the top of my bath hob.
material hob_mat
prism_ 5, hob_height,
	0,0,15,
	0,b,15,
	a,b,15,
	a,0,15,
	0,0,-1!,

VERT 0+tile_fill_origin_x,0+tile_fill_origin_y,0 !Origin
VERT 1+tile_fill_origin_x,0+tile_fill_origin_y,0 !X direction
VERT 0+tile_fill_origin_x,1+tile_fill_origin_y,0 !Y direction
VERT 0+tile_fill_origin_x,0+tile_fill_origin_y,1 !Z direction
COOR 2+256,1,2,3,4
body -1
I also have an editable hotspot set up for the tile fill origin that I can drag around in 3D.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Ghaleb Khadra
Graphisoft
Graphisoft
Hi All,

Thank you for requesting this feature, and for your active participation on the forums.

I am happy to say that we have added this into our Wish database.
As reference, the Wish number is 12472

Thank you all for sharing your ideas with us, and thank you all who voted.

[Stay Active. Stay Awesome ]
Kind regards,
Ghaleb
Ghaleb Khadra
BIM Expert
GRAPHISOFT

For Troubleshooting and useful Tips & Tricks visit
https://helpcenter.graphisoft.com

naomihansen
Contributor
Thanks for your input!
I'm not savvy enough with GDL to make it worth my time to figure out this COOR thing. If this door were more important to the project, I would, but in this situation, it's just not worth the time I would need to put into it. I'll just wait for the wish-list item to become a reality.
However, I wanted to thank you for responding, and will now figure out a way to get notified when people answer my questions (since it's taken an embarrassingly long time for me to thank you).
Naomi
Naomi Hansen

Terry & Terry Architecture



Running AC26 on Mac OSX12.5.1

Barry Kelly
Moderator
naomihansen wrote:
However, I wanted to thank you for responding, and will now figure out a way to get notified when people answer my questions (since it's taken an embarrassingly long time for me to thank you).

This may help.

https://archicad-talk.graphisoft.com/viewtopic.php?f=16&t=68961&p=306505&hilit=profile#p306505


If you remember to check here for a reply that is!


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Lingwisyer
Legend
coor{3} 2,
	4 + 8 + 16,! + 32 + 64 + 128,
	WALL_TEXTURE_WRAP[3], WALL_TEXTURE_WRAP[4], WALL_TEXTURE_WRAP[5],
	WALL_TEXTURE_WRAP[6], WALL_TEXTURE_WRAP[7], WALL_TEXTURE_WRAP[8],
	WALL_TEXTURE_WRAP[9], WALL_TEXTURE_WRAP[10], WALL_TEXTURE_WRAP[11],
	WALL_TEXTURE_WRAP[12], WALL_TEXTURE_WRAP[13], WALL_TEXTURE_WRAP[14]
body 1

Any idea how to detect when a custom texture origin has been set? Toggling flag 32 changes texture alignment between local and global.

IF WALL_SKINS_PARAMS[1][12] then				!skin 1, fill orientation
		FLAG = 	4 + 8 + 16
	else
		FLAG = 	4 + 8 + 16 + 32 + 64 + 128
endIF

Thought this might work, but it does not appear to do anything...



Ling.

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

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!