Skip to content

Commit a3545e4

Browse files
committed
Update PD help
1 parent 1986fcd commit a3545e4

File tree

1 file changed

+95
-24
lines changed

1 file changed

+95
-24
lines changed

pure-data/pdhelp/FCPD-help.pd

Lines changed: 95 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,95 @@
1-
#N canvas 779 205 551 516 12;
2-
#X obj 11 80 helplink fc_client;
3-
#X text 150 80 client/server connection with FreeCAD;
4-
#X obj 10 110 helplink fc_process;
5-
#X text 150 110 send message to FreeCAD;
6-
#X obj 10 140 helplink fc_recompute;
7-
#X text 150 140 ask FreeCAD to recompute ActiveDocument;
8-
#X text 10 50 BASE;
9-
#X text 10 190 VECTOR & PLACEMENT;
10-
#X obj 10 250 helplink fc_vectorXYZ;
11-
#X obj 0 0 cnv 15 550 50 empty empty FCPD 20 12 0 16 #e0e0e0 #404040
12-
0;
13-
#X obj 10 310 helplink fc_PlacementPosRot;
14-
#X obj 10 340 helplink fc_setPlacementPos;
15-
#X text 10 390 PROPERTIES & CONSTRAINTS;
16-
#X obj 10 420 helplink fc_getObjectProperty;
17-
#X obj 10 450 helplink fc_setObjectProperty;
18-
#X obj 10 280 helplink fc_isVector;
19-
#X obj 10 220 helplink fc_vector;
20-
#X text 120 6 a framework to connect FreeCAD and PureData \; (c)2020
21-
flachyjoe and contributors;
22-
#X obj 300 220 helplink part;
23-
#X obj 300 250 helplink draft;
24-
#X text 300 190 WORKBENCHES;
1+
#N canvas 843 43 575 930 12;
2+
#X obj 10 1740 helplink fc_process;
3+
#X obj 10 150 helplink fc_recompute;
4+
#X text 150 150 ask FreeCAD to recompute ActiveDocument;
5+
#X text 10 120 BASE;
6+
#X obj 0 0 cnv 15 550 50 empty empty FCPD 20 12 0 16 #e0e0e0 #404040 0;
7+
#X obj 10 1550 helplink part;
8+
#X obj 10 1580 helplink draft;
9+
#X text 10 1520 WORKBENCHES;
10+
#X text 120 6 a framework to connect FreeCAD and PureData \; (c)2020-2025 @FlachyJoe and contributors;
11+
#X obj 10 610 helplink XYZvector;
12+
#X text 150 610 Create a vector from its X \, Y \, Z coords;
13+
#X obj 10 640 helplink vectorXYZ;
14+
#X text 150 640 Retrieve X \, Y \, Z coords of a vector;
15+
#X obj 10 670 helplink isVector;
16+
#X text 150 670 Bang left or right if input is a vector or not;
17+
#X obj 10 990 helplink placementPosRot;
18+
#X text 150 990 Split a placement in position (vector) and rotation;
19+
#X obj 10 1020 helplink setPlacementPos;
20+
#X text 150 1020 Move a placement to the specified position;
21+
#X obj 10 1050 helplink setPlacementRot;
22+
#X text 150 1050 Rotate a placement to the specified rotation;
23+
#X obj 10 950 helplink isRotation;
24+
#X obj 10 1080 helplink translatePlacement;
25+
#X text 150 1080 Add the specified vector to the placement position;
26+
#X obj 10 1110 helplink rotatePlacement;
27+
#X text 150 1110 Combine the specified rotation to the placement;
28+
#X text 150 950 Bang left or right if input is a rotation or not;
29+
#X text 10 580 VECTOR & ROTATION & PLACEMENT;
30+
#X obj 10 890 helplink YPRrotation;
31+
#X text 150 890 Create a rotation from Yaw Pich Roll values;
32+
#X obj 10 920 helplink rotationYPR;
33+
#X text 150 920 Retrieve Yaw Pitch Roll of a rotation;
34+
#X obj 10 700 helplink vectorAdd;
35+
#X obj 10 730 helplink vectorMinus;
36+
#X obj 10 760 helplink vectorMult;
37+
#X text 150 760 Multiply a vector by a scalar;
38+
#X text 150 730 Subtract a vector to another;
39+
#X text 150 700 Add a vector to another;
40+
#X obj 10 780 helplink Ox;
41+
#X text 150 790 vector (1 \, 0 \, 0);
42+
#X obj 10 810 helplink Oy;
43+
#X obj 10 840 helplink Oz;
44+
#X text 150 850 vector (0 \, 0 \, 1);
45+
#X text 150 820 vector (0 \, 1 \, 0);
46+
#X text 10 260 SCALAR;
47+
#X obj 10 280 helplink pi;
48+
#X obj 10 320 helplink -pi;
49+
#X obj 10 350 helplink 0.5pi;
50+
#X obj 10 380 helplink -0.5pi;
51+
#X obj 10 410 helplink neg;
52+
#X text 150 410 -x;
53+
#X text 10 450 LIST;
54+
#X obj 11 480 helplink fcList;
55+
#X text 150 480 convert a PD list in a FC list;
56+
#X obj 10 510 helplink castList;
57+
#X text 150 510 convert a FC list \, vector or rotation to a PD list;
58+
#X obj 10 540 helplink isList;
59+
#X text 150 540 bang at left or right if input is a FC list or not;
60+
#X text 10 1150 OBJECT;
61+
#X obj 10 1420 helplink fc_getObjectProperty;
62+
#X obj 10 1450 helplink fc_setObjectProperty;
63+
#X text 160 1420 .;
64+
#X text 160 1450 .;
65+
#X obj 10 1180 helplink fc_addObject;
66+
#X text 160 1180 create an object in the ActiveDocument and return it;
67+
#X obj 10 1210 helplink fc_byLabel;
68+
#X text 160 1210 retrieve an object in the ActiveDocument by its label;
69+
#X obj 10 1240 helplink fc_clicknselect;
70+
#X text 160 1240 click on a FC object and its ref is return to PD;
71+
#X obj 10 1270 helplink fc_copy;
72+
#X text 160 1270 duplicate the given object \, optional its dependencies;
73+
#X obj 10 1300 helplink fc_delete;
74+
#X text 160 1300 delete the given object;
75+
#X obj 10 1330 helplink fc_isObject;
76+
#X text 160 1330 bang left/right if data is object/or not;
77+
#X obj 10 1360 helplink fc_isType;
78+
#X text 160 1360 bang left/right if object is of the given type/or not;
79+
#X obj 10 1390 helplink fc_link;
80+
#X text 160 1390 create a link of the given object in the ActiveDocument;
81+
#X obj 10 1480 helplink fc_object;
82+
#X text 160 1480 create \, modify \, delete an object;
83+
#X text 10 190 DATA FLOW;
84+
#X obj 11 220 helplink fc_controler;
85+
#X text 150 220 create a (bidirectional) data tunnel to FC;
86+
#X text 10 1650 INTERNAL;
87+
#X obj 10 1680 helplink fc_client;
88+
#X obj 10 1710 helplink fc_giveme;
89+
#X text 150 1740 send raw message to FreeCAD server;
90+
#X text 150 1710 ask for a PD binder to a python method;
91+
#X text 150 1680 communicate with FC python server;
92+
#X obj 10 1770 helplink commandline;
93+
#X text 150 1770 a place for the user to type text;
94+
#X obj 10 1610 helplink shape;
95+
#X text 27 53 Abstractions named "fc_*" are asynchronous. Data are sent to FC and the left-most outlet bang when the return values on other outlets are ready. The others are full PD and compute during a control tick.;

0 commit comments

Comments
 (0)