for cmd, values in zip(cmd_values[::2], cmd_values[1::2]):
// Numbers are separated either by commas, or by +/- signs (but not at// the beginning of the string).
points = ([*map(float, re.split(",|(?<!^)(?=[+-])", values))] if values
else [(0., 0.)])// Only for "z/Z" (CLOSEPOLY).
points = np.reshape(points, (-1, 2))
if cmd.islower():
points += vertices[-1][-1]