Please see the attached file for a possible solution. I've changed the following:
- Sliced the boards up so that the chamfers are separate pieces, this will allows us to rescale the boards without deforming these sections
- Wired the appropriate chamfers to the top, bottom, corner, and Y Evenly inputs. Used the Segment Y Role Macro to target the ends of the Y Evenly segments.
- Created a macro to scale the Start, End and Default segments to fill the space between the Y Evenly Segments. Note that this requires the most recent version of RailClone as it uses YSectionAdjustedLength.
- Exported the Y Evenly property and wired it to a new Numeric node so that you can control the size of the boards from the Modify panel,
- Took the vertical board out of the generator and created it using a new generator. It's much easier to manage it this way.
- Added a new parameter to control the width of the Vertical board and wired it to the X Size of its generator. I also subtracted it from the size of the horizontal board's generator. The two together will make up the total width of the door.
- Exported the X Offset property of the Vertical board generator and wired it to the node used to calculate the width of the Horizontal Board's generator. This will offset it so that it's on the right-hand side again.
- Connected both parts of the door to a Compose node to recombine them.
I hope that makes some sense.
All the best,