-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple_ref_demo.pd
30 lines (30 loc) · 986 Bytes
/
simple_ref_demo.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#N canvas 554 215 751 272 12;
#X obj 10 90 fc_process;
#X msg 10 60 get reference Body;
#X text 10 10 Move Body in Part;
#X obj 10 150 fcList;
#X obj 10 240 fc_setObjectProperty Group;
#X msg 130 210 Part;
#X text 90 90 compute raw fcpd command;
#X text 180 210 Object to set property to;
#X text 210 240 ask FC to change an object property;
#X text 70 150 convert to fcpd list because Group property is a list
;
#X obj 10 180 trigger bang any bang;
#X text 180 180 trigger right to left \, equal to;
#X obj 410 180 t b a b;
#X text 150 60 message to send to FC;
#X obj 10 40 bng 15 250 50 0 empty empty Click\ me\ ! 17 7 0 10 #fcfcfc
#000000 #000000;
#X text 480 110 PDServer : <<<1053 get reference Body;
#X text 480 130 PDServer : >>> 1053 ^1;
#X text 480 240 ^1 refers to <body object>;
#X text 450 90 FreeCAD logs:;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 3 0 10 0;
#X connect 5 0 4 2;
#X connect 10 0 4 0;
#X connect 10 1 4 1;
#X connect 10 2 5 0;
#X connect 14 0 1 0;