Procedural Straight Skeleton

Procedural Straight Skeleton provides a geometry nodes setup designed to implement the straight skeleton algorithm. It generates structural frameworks by shrinking a polygon inward, making it useful for creating elements like procedural roofs.

The node group includes various parameters to control the generation process. Users can adjust the shift step length and the number of steps for the shrinking operation. Additional controls include merge distance threshold for un-collided vertices, normal flipping to control shrinking versus expanding, and a final height parameter for the extruded geometry. A specific toggle allows the shrinking to continue based on interpolation after a hole is closed.