Signature
Work in progress : FCPD a FreeCAD PureData connexion
-
FFW
Hi,
does anybody know a solution to auto generate an on-parent-gui for abstractions ?My first idea is to python-parse the pd file to find the nearest comment for each in/outlets in order to create the gui.
How can I show creation arguments in the canvas label ?
Another question is the icon integration : which object to use ? how to deal with size and placement ? -
FFW
You can implement a loopback to choose a new number if nothing is sent.
NB : this example stack-overflows if nothing is open.
-
-
FFW
Isn't the real signal the norm of the complex one?
If complex signal is a(t) + i*b(t) then norm is sqr(a²(t) + b²(t))
-
FFW
@Jona @whale-av I can't understand why a contents index was not yet standardized for externals. A simple text file which lists abstractions with a short desc would help.
It's a pity to depends on https://puredata.info/docs/ListOfPdExternals/ instead of an up-to-date local index.timothyschoen starts to list and documents many objects in one file:
https://github.com/timothyschoen/PlugData/blob/main/ObjectDocumentation -
FFW
Hi,
You can find here a python coded client/server running in a PyQt5 application.
As it's designed as FreeCAD plugin, it needs modifications to run standalone but I can help if needed. -
FFW
@Load074 said:
I have a suspicion that there will be some core libraries I'd need which might be beyond my Linux skills to update without a total dependency mess, but I'll see...
Debian sid has a binary of 0.52 and most of the externals are available in the package repository : https://packages.debian.org/sid/multimedia-puredata
-
FFW
@oid I understand.
This python script lists all abstractions in a CSV format:
from pathlib import Path # include path path = Path('/opt/purr-data/lib/pd-l2ork/extra/') # lists externals dirs = [e for e in path.iterdir() if e.is_dir()] # parse externals for abstractions for ext in dirs: abst = [e for e in ext.glob('*.pd*') if e.is_file()] dashHelp = [e for e in ext.glob('*-help.pd') if e.is_file()] dashMeta = [e for e in ext.glob('*-meta.pd') if e.is_file()] # Filter only non help and non meta abst = [a for a in abst if not a in dashHelp] abst = [f"{ext.name}, {a.stem}" for a in abst if not a in dashMeta] print("\n".join(abst))
pd-l2ork has 2566 external abstractions. Adding desc would be quite long