starpath = { [ 1, 1], [ 0, 3], [-1, 1], [-3, 0], [-1, -1], [ 0, -3], [ 1, -1], [ 3, 0] }; starpath = rotate_xy(starpath * 100mm, 30deg); goto(starpath[-1]); foreach(starpath; v) { move(v); }
... G0 X259.80762114 Y150.00000000 G1 X36.60254038 Y136.60254038 G1 X-150.00000000 Y259.80762114 G1 X-136.60254038 Y36.60254038 G1 X-259.80762114 Y-150.00000000 G1 X-36.60254038 Y-136.60254038 G1 X150.00000000 Y-259.80762114 G1 X136.60254038 Y-36.60254038 G1 X259.80762114 Y150.00000000 ...