Hi,
Thanks for the questions.
1- The towers should be as little distorted as possible and the walls should try to adapt to them. But there will be gaps if I don't select bend & slice for the towers. I can minimize this by giving a fillet radius and using a central pivot. Then this fillet radius prevents me to use only corners for the corner rule (towers disappear for any non-zero value). Which also causes the second problem.
You are correct, when fillet is enabled the corner vertices are converted internally to Bezier Corner vertices (and the towers are removed if only Corner is selected). In fact Fillet operates on both Corner and Bezier corner vertices in the spline irrespective of the condition set in RailClone.
One solution is to use a different type condition to decide whether or not towers should appear. For example you could change the Material ID of the spline segment preceding a corner to determine whether or not a tower is present. Please see an example of this approach attached. It uses a Conditional Operator to detect if the Material ID is set to 1. If so a tower is used in the corner, if not an empty segment is used instead.
The only problem with this approach is that all the corners are still filleted and I suspect you need them to be bevelled. Mixing bevelled and filleted corners isn't currently possible in one generator.
Another solution therefore might be to manually fillet the vertices that need a tower and then divide the resultant segment to add a Bezier Corner. The bevelled corners should be left as Corner vertex types.
You can then use a conditional operator to add a tower on the Bezier Corner segments and leave a gap using an empty segment on the Corner segments. A second generator is used to add a bevelled corner segment to fill in the holes.
In the attached file you will see an example of this. I've used a Macro called adaptive corners that automatically outputs an empty segment or the correct size to create the gaps.
I hope that helps a little. Please let me know if you have any further questions.
All the best,
Paul