Sweep Mystery

 From:  Phiro
9829.7 
For example, Inkscape do it with squares and diamonds
squares are soft points, diamonds are hard points.

Perhaps a script could change type of a point (or joint)