Hi,
I'm using this to generate a list of integers, is there a better way ?
-
Generate an integer list
Work in progress : FCPD a FreeCAD PureData connexion
-
Does exist a vanilla library for such snippets ?
If not, it could be great to create a git repository.Work in progress : FCPD a FreeCAD PureData connexion
-
@FFW There are a great number of them in the various libraries on deken and on this site, about as good as we get. I once brought up the idea of a standard library of common abstractions, but no one expressed any interest beyond supporting the idea and it would require more than one person to accomplish.
-
@FFW The list-abs library is great for message handling.
David. -
@whale-av thats true. But a lot of the abstractions could be updated and optimized with the new PD objects.
-
@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.@oid said:
it would require more than one person to accomplish.
Work in progress : FCPD a FreeCAD PureData connexion
-
@FFW I no longer have the time for such a project, have two massive pd projects to eat up my time. I have mostly moved to just letting the forum fill that role and doing what I can to help it fill that gap. In some ways the forum is better suited since it can be effectively searched in rather vague and directionless ways. I still like the idea of a standard library of abstractions, but it will be up to someone else, if it ever happens.
-
@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
Work in progress : FCPD a FreeCAD PureData connexion
-
@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/ObjectDocumentationWork in progress : FCPD a FreeCAD PureData connexion
-
@FFW I've stopped doing that, instead I use the pddoc format now instead: https://github.com/uliss/pddoc