Using rhino curves to create custom curtain grids in a curtain wall

What I want to do is really simple, I here have this curtain wall, divided only in the vertical direction, let’s say the base curve is 12100 mm, and my optimum panel length in the U direction is 2500 mm, I want to create a much 2500 mm divisions as possible but make the last 2 panels equal, meaning I’d get 3 * 2500 mm panels and the last two panels would be equal at 2300 mm.
I tried to create it in Revit but the last part of creating two equal panels at the end seems impossible to automate for a large number of these walls in Revit through the type parameters, so I thought I may create the division lines in using grasshopper and create curtain grids out of them in Revit, but I don’t believe rhino inside has this feature of curtianing curtain grids yet, so any ideas how I can create this?
Screenshot 2023-07-04 200949

Hey @208ramyy98 ,

You can go through the below topic, should contain what you are looking for…

Here’s a little something to get your started.


Re_Add Grid Line.gh (11.6 KB)

Hey @Japhy, I am trying to do this my self and your last file upload is out of date. Is there an updated version for this node?

Hi Dave, there isn’t anything here that won’t work in any version.

Do note that the units are for a MM file, if you are in Feet you’ll need to adjust.