Update of /cvsroot/pure-data/externals/nusmuk/msd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19404/msd
Modified Files: msd-help.pd Log Message:
Index: msd-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd/msd-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** msd-help.pd 28 Dec 2006 15:55:17 -0000 1.1 --- msd-help.pd 16 May 2007 22:10:20 -0000 1.2 *************** *** 1,3 **** ! #N canvas 479 25 563 818 10; #X obj 4 369 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577 0; --- 1,3 ---- ! #N canvas 479 25 563 764 10; #X obj 4 369 cnv 15 550 15 empty empty empty 20 12 0 14 -158509 -66577 0; *************** *** 155,163 **** #X text 562 325 Rigidity with power = 1/2; #N canvas 0 0 450 300 (subpatch) 0; ! #X array rigidity4 52 float 1; #A 0 -400 -361 -324 -289 -256 -225 -196 -169 -144 -121 -100 -81 -64 -49 -36 -25 -16 -9 -4 -1 0 1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484 529 576 625 676 729 784 841 900 ! 900; #X array zero 51 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 --- 155,163 ---- #X text 562 325 Rigidity with power = 1/2; #N canvas 0 0 450 300 (subpatch) 0; ! #X array rigidity4 51 float 1; #A 0 -400 -361 -324 -289 -256 -225 -196 -169 -144 -121 -100 -81 -64 -49 -36 -25 -16 -9 -4 -1 0 1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484 529 576 625 676 729 784 841 900 ! ; #X array zero 51 float 1; #A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 *************** *** 366,370 **** internal parameters of links and masses.; #X restore 12 478 pd dynamic settings; ! #N canvas 382 95 598 603 attributes______ 0; #X obj 11 95 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577 0; --- 366,370 ---- internal parameters of links and masses.; #X restore 12 478 pd dynamic settings; ! #N canvas 191 75 634 669 attributes______ 1; #X obj 11 95 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577 0; *************** *** 390,412 **** #X text 170 170 Output all masses positions in a list on outlet No 1; - #X text 140 305 $1 : Attribute type ( massesPos / massesSpeeds / massesForces - / linksPos ); #X text 140 280 Get specific attribute on specific element; #X msg 20 278 get $1 ($2); #X text 7 240 Specific :; ! #X text 140 375 The get message return the asked attribute preceded by an identifier and the creation No of the element. The identifier is made of the asked parameter and the way you asked for it.; ! #X text 141 451 message; ! #X text 381 451 response; ! #X text 140 432 Examples with 3 masses numbered 0 , 1 and 2 and named mas:; ! #X text 146 541 [get massesPos mas( -----> [massesPosId 0 x0(; ! #X text 335 556 [massesPosId 2 x2(; ! #X text 335 571 [massesPosId 1 x1(; ! #X text 174 470 [get massesPos( -----> [massesPos 0 x0(; ! #X text 335 484 [massesPos 2 x2(; ! #X text 335 498 [massesPos 1 x1(; ! #X text 160 520 [get massesPos 1( -----> [massesPosNo 1 x1(; #X text 15 30 The attributes messages ask the object to output some of his internal parameters. They can be output by lists for positions --- 390,410 ---- #X text 170 170 Output all masses positions in a list on outlet No 1; #X text 140 280 Get specific attribute on specific element; #X msg 20 278 get $1 ($2); #X text 7 240 Specific :; ! #X text 140 381 The get message return the asked attribute preceded by an identifier and the creation No of the element. The identifier is made of the asked parameter and the way you asked for it.; ! #X text 141 457 message; ! #X text 381 457 response; ! #X text 140 438 Examples with 3 masses numbered 0 , 1 and 2 and named mas:; ! #X text 146 547 [get massesPos mas( -----> [massesPosId 0 x0(; ! #X text 335 562 [massesPosId 2 x2(; ! #X text 335 577 [massesPosId 1 x1(; ! #X text 174 476 [get massesPos( -----> [massesPos 0 x0(; ! #X text 335 490 [massesPos 2 x2(; ! #X text 335 504 [massesPos 1 x1(; ! #X text 160 526 [get massesPos 1( -----> [massesPosNo 1 x1(; #X text 15 30 The attributes messages ask the object to output some of his internal parameters. They can be output by lists for positions *************** *** 414,419 **** #X text 170 199 Output all forces applied on masses in a list on outlet No 1; ! #X text 140 342 ($2) : - If not defined all the attributes are send for all the elements. - Ids or/and creations No; #X restore 12 499 pd attributes______; #X text 9 761 KEYWORDS: physical model mass spring damper link; --- 412,424 ---- #X text 170 199 Output all forces applied on masses in a list on outlet No 1; ! #X text 140 348 ($2) : - If not defined all the attributes are send for all the elements. - Ids or/and creations No; + #X text 140 305 $1 : Attribute type ( massesPos / massesPosName / + massesSpeeds / massesSpeedsName / massesForces / massesForces / linksPos + / linksPos ); + #X text 146 596 [get massesPosName( -----> [massesPosName name_0 x0( + ; + #X text 336 626 [massesPosName name_1 x1(; + #X text 336 611 [massesPosName name_2 x2(; #X restore 12 499 pd attributes______; #X text 9 761 KEYWORDS: physical model mass spring damper link;