Easy Vectors
How to make a vector?
How to make a vector?
It's pretty handy to use one of the two new blocks listed in the left to make any designing into a vector.
It's pretty handy to use one of the two new blocks listed in the left to make any designing into a vector.
the "trackToVector" block is a report block. Put the script in it and it will turn what the script draw on the stage into a vector and report it.
the "trackToVector" block is a report block. Put the script in it and it will turn what the script draw on the stage into a vector and report it.
In this case this block turn a square into a vector and it is assigned to the variable "shape".
In this case this block turn a square into a vector and it is assigned to the variable "shape".
Then how could we draw the vector shape? Go to Pen category and there is a block named "drawVector". It could draw the vector shape in any size and specified stitch length. Let's make a random square flower.
Then how could we draw the vector shape? Go to Pen category and there is a block named "drawVector". It could draw the vector shape in any size and specified stitch length. Let's make a random square flower.
Put the shape variable into the first input of "drawVector" block. The second input of this block is to specify the size of the design it will draw. The style param could be ignored. The stitch length defines the stitch length as we do with "run stitch by ..." block from the embroidery category.
Put the shape variable into the first input of "drawVector" block. The second input of this block is to specify the size of the design it will draw. The style param could be ignored. The stitch length defines the stitch length as we do with "run stitch by ..." block from the embroidery category.
If an embroidery block is put before this block. It is suggested that the stitch length in the "drawVector" block should be multiple times of the value of the density in the embroidery block.
If an embroidery block is put before this block. It is suggested that the stitch length in the "drawVector" block should be multiple times of the value of the density in the embroidery block.