Door and window alignment in grasshopper style

Hello All,

I have a door script I made and am having trouble figuring out what the alignment variable is for the door or where to derive it from. (exterior, center, interior). I thought it was the ‘profile’ crv and where its positioned but that is not the case.

What controls the styles alignment in a visualarq style?

Hi @jrpdoherty, welcome to the forum :slight_smile:

The alignment property of doors and windows is calculated according to its host thickness and its opening side. The side it opens to is considered the interior so it will be positioned according to that, like below:


With “Show object control points” _PointsOn you can change the opening side of the doors and windows by dragging the control point that is closest to the leaf.