Hi everyone, how can I solve this problem when the subassembly is located in a compound situation (cut and fill)!
but this one is ok for sections located in fill situation completely
Hi @giscivil92, I hope you are doing well. Can you please post another image where you draft the correct shape representation for the first image?
Regards!
@ecfernandez Hello, Thanks
the mentioned area is a yellow hatch 15cm below existing ground and in an embankment situation,
I think because the section is compound, the machine makes a mistake!
Hi @giscivil92, the challenge you face is partly caused by the fact that you are trying to create a whole road section with just one subassembly. Commonly, the desired use of subassemblies is to break down the road section into manageable pieces that give us more control while creating highly complex section geometries.
In your case, I see you managed to divide the logic branches for cut and fill, which I remember you posted about a few days ago. However, as you already noticed, this configuration worked only for Full Cut sections and Full Fill sections.
Trying to give you an idea of how to solve this issue. I changed almost entirely your subassembly in this way.
1. I erased your cut-fill logic branches.
2. After the road section geometry, I inserted a variable (CaseFillCut) to control the occurrence of four cases for a switch. Considering both sides of the road, these cases will be standard options for Cut-Cut, Fill-Fill, Cut-Fill, and Fill-Cut. However, you know this can become even more complex depending on the road and terrain geometries.
3. I created a switch to control how the daylight slopes and the surface links are generated.
This is Cut-Cut
This is Fill-Fill
This is Cut-Fill
And this is Fill-Cut
4. I added input parameters to control the values for CrossSlope, CutSlope, and FillSlope, which you had hardcoded previously. This adds more flexibility in C3D, allowing you to adjust things if necessary.
5. Finally, at every branch of the switch, I added the surface Link, which now goes just until the intersection point between the Top of the road, and an auxiliary link I created for the purpose of computing the location of the point. Again, this may need to be refined depending on many variables, but in your case may be enough. This will solve the surface link for what you named compound situation in your post title.
This is the complete flowchart:
I attached the subassembly so you can check it.
Can't find what you're looking for? Ask the community or share your knowledge.