Sweep Termination in Grasshopper

I am working on an automated cutlist generating plugin. I want to know how to terminate the sweep perpendicular .



1.3dm (61.9 KB) Mitre_Sweep.gh (12.4 KB)

This isn’t precisely the same thing because the section curves are now perpendicular to the rail, but it’s very close.


Mitre_Sweep_2020May11a.gh (19.9 KB)

P.S. Standby, that was too hasty…

I think the result you want is more like this? But for some reason, it isn’t a ‘Closed Brep’ as expected. :frowning:


Mitre_Sweep_2020May11c.gh (26.9 KB)


MitreSweep.gh (12.0 KB)

Wow. Aside from the cleanup of the unnecessary List Item components and differences in where we grafted, the most significant factor in getting a ‘Closed Brep’ appears to be the DeBrep component?! If you skip that then you too get an ‘Open Brep’. I wonder why?

Thank you everybody this was exactly what I needed.