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)