You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## FreeCAD/PureData connection framework
2
2
3
-
FCPD is a set of [FreeCAD](https://github.com/FreeCAD/FreeCAD) python macros and [Pure-Data](https://github.com/pure-data/pure-data) (aka PD) patches to link the two softwares.
3
+
FCPD is a set of [FreeCAD](https://github.com/FreeCAD/FreeCAD) python macros and [Pure-Data](https://github.com/pure-data/pure-data) (aka PD) patches to link the two software.
4
4
5
5
This repository is no more maintained, please use [FCPDWorkbench](https://github.com/FlachyJoe/FCPDWorkbench).
6
6
@@ -37,8 +37,8 @@ See [Sample/PdAccessObjectProperties.FCMacro](Sample/PdAccessObjectProperties.FC
37
37
38
38
* Import the pdserver module in your macro
39
39
* instantiate a `pdserver.PureDataServer` object with address and port to listen to as constructor arguments
40
-
* set the default message handler i.e. function which take the incomming message as argument and return a stringable value to give back to Pure-Data
41
-
* with message handler registration system you can use different function depending of the first word of the incomming message. Simply call `PureDataServer.register_message_handler([first_word], function_to_call)`
40
+
* set the default message handler i.e. function which take the incoming message as argument and return a stringable value to give back to Pure-Data
41
+
* with message handler registration system you can use different function depending of the first word of the incoming message. Simply call `PureDataServer.register_message_handler([first_word], function_to_call)`
42
42
* run the server with `pureDataServer.run()`
43
43
44
44
### On Pure-Data side
@@ -59,7 +59,7 @@ PD objects are documented. Access help via Right mouse button(RMB) > Help
59
59
60
60
Pure-Data messages are text only so the FreeCAD objects have to be converted to and from string to be processed with Pure-Data.
61
61
62
-
The PureDataServer object automaticaly remove non-conform characters of the callback message i.e. `,` and `=` are converted to space and `';()\[\]{}"` are removed. In this way the `Base.Vector` python object whose string representation is `Vector(0.0,0.0,0.0)` can be a return value of a message handler and converted to `Vector 0.0 0.0 0.0` PD message.
62
+
The PureDataServer object automatically remove non-conform characters of the callback message i.e. `,` and `=` are converted to space and `';()\[\]{}"` are removed. In this way the `Base.Vector` python object whose string representation is `Vector(0.0,0.0,0.0)` can be a return value of a message handler and converted to `Vector 0.0 0.0 0.0` PD message.
0 commit comments