Achieve good preview of a swept cross section

I was wondering what would be a good way to visualise some swept cross sections. I am not looking for the best visuals, just clean even if the rail curves are arbitrary NurbCurves. I am defining a cross section as a Curve and sweeping it along a rail Curve using Brep.CreateFromSweep() which results in a Brep array. I am then using the following code to preview wires and meshes respectively:

foreach (var brep in breps) {
    args.Pipeline.DrawBrepWires(brep, args.Color);
}

foreach (var brep in breps) {
    args.Pipeline.DrawBrepShaded(brep, args.Material);
}

The results for wires is satisfactory, even though I would like to be able not to have the intermediate cross-section visualisations along the curve length (image below).

For mesh visualisation this is even more pronounced, as you can see in the image below, there are a lot of intermediate cross-section visualisations along the curve.

What would be a better way to draw the visualisations? I have tried constructing meshes from brep surfaces/edges individually, drawing surfaces themselves etc.

Hi @Christos_Tsaridis,

Can you share some screen shot of what you’re trying to achieve?

Thanks,

– Dale

The only screenshots I can share is from what I have tried but none of that is what I actually would like to achieve. I am only looking for a clean visualisation, in the pictures above there are a lot of cross sections visible along the length of the curve which I would rather not be there.

I was wondering if there is a better practise for visualising breps than what I shared above.