title: Create a a segment with the given number of verts and hook and empty to every verts in the segment
body: <p>How can I create a segment with for example 30 verices and then connect an empty with an Hook parenting to every veritces in the segment, all this via Python in Blender 3d?</p>