[PD-dev] Finished iemguts' [canvasselect] and a max-toolbox-like proof of concept

Luke Iannini lukexipd at gmail.com
Wed Jun 17 02:55:23 CEST 2009


Yo all,
My usual caveat applies: that I'm as nearly unconscious as I always am
when I'm releasing public works :)

I had a flight today which gave me a chance to finish up
[canvasselect] (by merging in some code from zexy's tabdump in my
usual naive fashion to make it output index-lists rather than just
post() the currently selected objects (thus, IO, you should probably
double check my work :) )), and then put it to work starting to create
some patching-assist functionality similar to max-toolbox.

I'm pretty excited for what can come out of this!

What I've got so far is the start of the [meta-abs] library,
[meta-connect] - it works like: select one or more objects, press "[",
select a new group of objects you'd like to connect the first group
to, and press "]".  [meta-connect] will magically connect them all
(you can make some lovely line art selecting a big pile of [bng]s :)
).

Not amazingly useful, yet, but the start o' something good : ).  I
sketched a mini-domain language for this sort of thing here:
http://puredata.info/dev/GuiIdeas#object-numbering a long while ago.
I'd love to hear some ideas on how such complex autopatching would
work ideally, as I'll be implementing a suite of this type of thing
over the next couple weeks.

IOhannes, do you know if it's possible to get and set the coordinates
of arbitrary objects simply by index, much like [canvasposition] can
do now but including externals etc. where you can't place a
[canvasposition] object?  This would enable the final piece of
maxtoolbox layout stuff, which was Pd's Tidy... function times 10000,
and would let me do stuff like "connect the 4 horizontally-aligned
selected objects above to the 4 selected objects below" or simply
"connect these all top to bottom" with a single keycommand.

Back soon with more...
Best
Luke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: canvasselect-list_of_selected_objects.diff
Type: application/octet-stream
Size: 942 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090616/b219aeb6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meta-connect.pd
Type: application/octet-stream
Size: 1027 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090616/b219aeb6/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meta-connect-help.pd
Type: application/octet-stream
Size: 870 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090616/b219aeb6/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: canvasselect.pd_darwin
Type: application/octet-stream
Size: 13448 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090616/b219aeb6/attachment-0003.obj>


More information about the Pd-dev mailing list