Hi,
Please take a look at the attached file and the explanation below for a possible workaround to the corner padding issue. There are two versions.
The first version is by far the easiest. You can use this when your wall will only ever have corners of 0 - 180 degrees (the turns are always in one direction). If you need to be able to create corners that go to the left and right, you'll need to use the more complex solution shown below. In the simple solution you should:
- Set segment's
Alignment > Y option to
Bottom - Export the spacer Segment's
X Fixed Size parameter
- Export the corner Segment's
X Size attribute
- Wire these two together.
- Use the Generator's Y Offset parameter if you want to change the facade's position on the spline.

In the more advanced version you can use an expression to dynamically change the size of the spacing segment based on the angle of the corner. To do this we use an expression as follows:
- Set segment's
Alignment > Y option to
Center - Wire the Spacer segment to a
Transform operator.
- Export the Transform node's
X Fixed Size parameter
- Export the corner Segment's
X and
YSize attribute
- Create a new Arithmetic node and wire the X and Y Size attributes to the inputs (in that order)

- Change the Arithmetic node to
Expression and enter the following:
Input1-(Input2/2)/tan(radToDeg(XVertexAngle/2))*2This will calculate the size needed for the padding in order to allow the correct space for the corner segment. Understanding how RailClone calculates corners helps to explain this. Basically the chamfering algorithm maintains the length of the segment (A) along the outside face of the corner. This in necessary to correctly Bevel the geometry. So we need to calculate the space that remains before the corner in the centre of the segment (C). Using a trigonometry and the Corner angle we can find the length of the part of the segment that extends past the corner (B) and subtract this from the overall length (A) to give us the spacing (C).

I hope that makes some sense! Please let me know if you have any further questions.
Many Thanks,
Paul