#N canvas 515 175 676 636 10; #X text 265 5 interaction with a line; #X text 179 513 12 : Normal displacement; #X msg 108 303 setFN 0; #X msg 110 383 setKN 0; #X msg 108 512 setdN 0; #X obj 17 577 iLine2D; #X msg 106 194 setY1 0; #X msg 107 240 setY2 0; #X msg 105 169 setX1 -1; #X msg 106 217 setX2 1; #X msg 107 273 setPmax 1; #X text 211 257 X and Y position of the 2 points defining the line. ; #X text 209 288 maximum depth of the interaction line.; #X text 185 305 7 : Normal constant force; #X text 178 445 10 : Normal damping; #X msg 109 327 setFT 0; #X msg 109 445 setDN 0; #X msg 109 472 setDT 0; #X msg 107 543 setdT 0; #X text 163 31 This object should be used for the simulation of interaction between a collection of masses and a line.; #X text 51 74 message to change parameter / default value / creation arg number / description; #X text 208 397 normal rigidity. Forces are proportional to the depth between the mass and the line. The force is applied only to one side of the line.; #X text 187 107 1 : Name; #X text 186 169 2 : X coordinate of the the 1st point of the line; #X text 186 193 3 : Y coordinate of the the 1st point of the line; #X text 186 216 4 : X coordinate of the the 2nd point of the line; #X text 186 240 5 : Y coordinate of the the 2nd point of the line; #X text 185 273 6 : Maximum depth (1); #X text 185 325 8 : Tangential constant force; #X text 210 342 normal and tangential (to the line) constant forces applied to the mass when it is in interaction with this object.; #X text 184 383 9 : Normal rigidity; #X text 178 471 11 : Tangential damping; #X text 209 487 normal and tangential damping for the mass.; #X text 179 544 13 : Tangential displacement; #X text 208 564 displaces the mass when it is in the interactor field. ; #X text 208 124 this is the name of the mass interacting with this object. you can also connect the output of this object to a mass to allow an interaction with this mass.; #X connect 2 0 5 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 5 0; #X connect 9 0 5 0; #X connect 10 0 5 0; #X connect 16 0 5 0; #X connect 17 0 5 0; #X connect 18 0 5 0;