Itoo Software Forum

Author Topic: Is this possible (Curtain Wall with sloped top  (Read 872 times)

TL1895

  • Sr. Member
  • ****
  • Posts: 294
Is this possible (Curtain Wall with sloped top
« on: March 17, 2015, 04:33:35 PM »
I need to make this curtainwall have a slope at the indicated top portion.

Any way to do this with RC?
(Currently setup as linear1s.)

Thank you :)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Is this possible (Curtain Wall with sloped top
« Reply #1 on: March 17, 2015, 07:11:11 PM »
Hi,

This is tricky to resolve because there's not a way with a single generator to make some of the horizontal elements flat, while others deform to follow the spline. I've found a workaround by creating two generators, one for the top of the wall and one for the bottom.



In order for the vertical segments to align correctly, both generators must use the same spline and this should be the that defines the roof-line. All the segments for the top of the style have been set to vertical to ensure they follow the curve. The segments for the bottom of the wall have been set to Stepped mode so that they don't follow the spline and moved down to the ground-plane using the Arithmetic expression -XSplineCoords.z.

The top and bottom are separated using a clipping spline that cuts the style in two. In the image above it's the white rectangle. For the generator that creates the top of the wall the clipping mode is set to Include and for the bottom it is set to Exclude. By doing this the two halves should fit nicely together.

The completed node tree looks like this:



I've attached the file for you to look at. There's also a more complex A2S version included. I hope that helps, please let me know if you need anything further.

Kind regards,

Paul

Paul Roberts
iToo Software

TL1895

  • Sr. Member
  • ****
  • Posts: 294
Re: Is this possible (Curtain Wall with sloped top
« Reply #2 on: March 17, 2015, 07:19:16 PM »
Thanks a lot Paul, I'll check it out :)  8)

TL1895

  • Sr. Member
  • ****
  • Posts: 294
Re: Is this possible (Curtain Wall with sloped top
« Reply #3 on: March 17, 2015, 07:41:05 PM »
Hi Paul,

Well, maybe I should have uploaded my file first...I tried to make your solution work in my scene, but no love :(
Do you see anything totally incorrect in my partial scene?  Thanks again!  :D

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Is this possible (Curtain Wall with sloped top
« Reply #4 on: March 18, 2015, 11:36:45 AM »
Hi,

Your scene looks fine to me. I've attached a slightly adapted version that uses the Clipping technique.



Please let me know if this is what you're after.

Many thanks,

Paul
Paul Roberts
iToo Software

TL1895

  • Sr. Member
  • ****
  • Posts: 294
Re: Is this possible (Curtain Wall with sloped top
« Reply #5 on: March 18, 2015, 01:32:58 PM »
Thank you Paul!

I'll try it out later today as the project deadline is upon me :)
; But for now, I've had good results using vraypattern for that tricky part, and RailClone for the rest...