Bird Tatami Fill-Stitch

Last modified by Stella170101 on 2020/07/04 10:32

 BIRD In this tutorial you learn to program a special stitch to fill the areas in your design!

 

1. Write this script in the object, in which you want to use it.

If you use the Tatami Fill-Stitch several times in your project, you have to program the line and the pattern in !every! object you use it in. A tip would be to use the backpack function.

Make sure that you always choose a new name for the broadcast, otherwise there will be problems.

Good to know:

If you are up to do more than one tutorial card, make sure to create new variables “for this actor, object, or one of its clones only”, otherwise variables with the same name could lead to problems.

create variables

Random number:

So that the stitch does not become too periodically, you can vary the stitch length between a certain maximum and minimum value.

4.png

2. Now start and insert the bricks step by step into your script.

Bird Tatami Code 1

You have to set the variable “width in mm” when using the stitch.

Lists:

At this point you set the variables “parts”, “random max” und “random min” to the values you set in the tutorial “Lists”. Therefore it is important to do this tutorial first. You can find it here.

7.png

6.png

Tatami_3.png

You can access an element of a list in the formula editor at  “functions”:

6.1.png

7.1.png

3. Now start and insert the bricks step by step into your script.

Bird Tatami Code 2

Attention:

There are many similar formulas in this tutorial, you should stick to the tutorial here. Maybe you missed something?

5. Check the bricks, if it still doesn’t work.

Here you get to the previous tutorial. 

Here you get to the next tutorial.