...
laminalast - Every time the program runs through the for loop another sine wave is drawn.
lamina{~}last:
- x: origin0 + sin(πi/2)*amp
- y: origin1 + i*(x/(periods*4)
- z: origin2
...
laminai+2 - Uses the 'concat' function to enter create a character string out of a space and the point (origin - zcpoint)into AutoCad.
laminai+3 - Uses the 'point' function to turn the 3*1 matrix (laminalast + zcpoint) into a text format that AutoCad can read.
...
line0 - Uses the 'concat' function to enter create a character string out of the point 'origin' a space and the point converted in line laminai+7 into AutoCad.
line1 - Uses the 'concat' function to enter creat a character string out of the point 'laminalast' a space and the point described below into Autocad.
- x: laminalast0 + t
- y: laminalast1
- z: laminalast2
laminai+8 - Uses the 'concat' function to create a character string out of a space, the AutoCad command "line," a space, the character string created in line0, and a space.
laminai+9 - Uses the 'concat' function to create a character string out of a the AutoCad command "line," a space, the character string created in line1 and a space.
laminai+10 -
laminai+11 -
laminai+12 -
...