縫製パターンのオブジェクトを再定義する

redefining objects

Now, does the point W look right to you?

Have a look at this figure explaining size measurements `sz25` (waist height at the side) and `sz26` (waist height in the front).  In most cases waist height at the side is more than that in the front, because it passes along the thighs and then along the body which is usually curved inside at the waist. In the front, however, the skirt passes along venter protrusion which is higher than the hips and then it falls down vertically.

So, point W should actually be higher than both W2 and W1. We don't have to guess how much higher. It is calculated in the size that we selected. We can simply refer to sz25 and sz26 for this very set of size measurements and the system will provide the required values.

That is why in our settings and calculations we have defined `dif_side = sz25 - sz26` - this variable tells us how much higher the top corner of the side seam is from the center front.

I shall redefine point W now so that it is in the right place.

`w=apply(w,dif_side,-90)` // Redefine waist level at the side
Angle of -90 degrees is upwards. It is the same as angle of 270 degrees.

We can now see both the old and the new points W on the screen. We applied the difference from the old point W upwards. The old object cannot be used later in the code, as its name now belongs to a new object, the W point that is higher.

In this example we redefined an object deliberately and documented it. Sometimes this happens in a more subtle way, e.g. you move or rotate an object during dart manipulation and use the same name for the new position of your object. It is important to remember that you see both old and new objects on the screen, but can only use the ones that were created later - lower in the code of the pattern draft.

前の記事

ポイントとオブジェクトの名前を選択する方法

パターンコマンド