PDA

View Full Version : Instancing question - rotation angle.. (how to do HD Instance's shortest angle)



tyrot
01-28-2014, 08:01 AM
Hello there,

I want to place sunbeds on beach. Some sunbeds must look different angles..

In HD instance i was doing it with shortest angle .. 119658

How can i place my meshes?

In Instance Generator/Rotation/ Alignment choices are giving me weird results:(

thanks

tyrot
01-28-2014, 08:05 AM
I guess - Instance Generator/Rotation/ Alignment/edgealign is giving good result. I will look at it..and try..

UnCommonGrafx
01-28-2014, 02:48 PM
Tyrot,
You mind sharing a screen shot? I'm trying to find this command and I'm not. Second time someone has mentioned it and I kinda want to know.
:)

tyrot
01-28-2014, 03:27 PM
actually - sometimes it does work sometimes it does not.. i couldnt figure out yet ...totally

lertola2
01-28-2014, 06:50 PM
I believe it works the same way as hd instance. Model your object pointing in the positive z direction. Make polygons with a short side. Instance the object onto the polygon object. On the rotation tab of the instance panel set the Alignment to Edge Aligned. The instance will be placed at the center of the polygon and point towards the shortest edge of the polygon.

JonW
01-28-2014, 08:00 PM
Put a polygon the same size footprint as the sunbed for where the sunbeds are going. Then rotate the polygon in the direction you want the poly to point the bed. Best to do the first one & check before you put them all in place or you may have the sunbeds all pointing in the wrong direction.

tyrot
01-28-2014, 11:36 PM
thanks guys!

Waves of light
01-29-2014, 03:44 AM
For my stadium seats:
http://forums.newtek.com/showthread.php?138938-Maracana-Stadium-(Est%E1dio-M%E1rio-Filho)-Brazil-WIP)

I'm using long Isosceles Triangles. This is a link to the reasons why I was getting errors, as I was using squares as placeholders and it couldn't work out the shortest edge : http://forums.newtek.com/showthread.php?139010-LWCAD-Railclone-issue-trying-to-clone-stadium-seats-along-a-path&p=1357098&viewfull=1#post1357098

So in your case, if you 'weld average' the end points of each placeholder (for the direction you want your instanced sunbed to face) LW Instancing should behave properly.

Hope it helps.

tyrot
01-29-2014, 05:27 AM
thank you so much-awesome work btw!

Waves of light
01-29-2014, 05:30 AM
thank you so much-awesome work btw!

No problem. And thanks for your kind words.