Tapered extrusion but with angles per edge

Made a simple script for a tech-support call, thought maybe it’s useful for others too.
The attached file contains a C# script which creates a specific extrusion brep from a closed, planar polyline. You get to specify the straight extrusion height (could be zero), the tapered extrusion height (must be larger than zero) and, per edge, a taper angle.

This is very simple code which doesn’t handle any kind of self-intersection cases, but it is pretty fast.

angledextrusion.gh (15.7 KB)

7 Likes

Cool
A bit similar to that, I put also different angles for roofs and it is possible to have concave part on polyline.

3 Likes

Thanks David !

This can be useful also as a plain Rhino command/script. :slight_smile:

1 Like