Forums > MaxMSP

I just can't help it

March 1, 2007 | 12:21 pm

Feature request:

An option to have in- and outlets of a selected object spaced independent of the size of the object, i.e. always 2 pixels.

Yep, that means that if the object is longer than (amount of outlets * outlet size + (amount of outlets – 1) * spacer size), the object box will have a tail without outlets.

Mattijs


March 2, 2007 | 12:49 pm

Mattijs Kneppers wrote:
> An option to have in- and outlets of a selected object spaced
> independent of the size of the object, i.e. always 2 pixels.
>
> Yep, that means that if the object is longer than (amount of outlets
> * outlet size + (amount of outlets – 1) * spacer size), the object
> box will have a tail without outlets.

I am not sure if thats a good idea, it will certainly make debugging a
lot more painful. And it has only visual advantages. I guess thats the
reson why you want it, have the allignement of patchchords always at the
same point. But you can easily achive this already:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 420 148 76 196617 move it down;
#P newex 299 184 85 196617 switch 5;
#P newex 299 145 115 196617 unpack 1 2 3 4 5 6;
#P newex 175 184 85 196617 switch 5;
#P newex 175 121 115 196617 unpack 1 2 3 4 5 6;
#P newex 51 184 85 196617 switch 5;
#P newex 51 121 115 196617 unpack 1 2 3 4 5 6;
#P comment 158 96 189 196617 after selecting all chords and hit cmd-y;
#P fasten 5 0 6 0 304 161 304 161;
#P fasten 5 1 6 1 325 161 319 161;
#P fasten 5 2 6 2 346 161 334 161;
#P fasten 5 3 6 3 367 161 349 161;
#P fasten 5 4 6 4 388 161 364 161;
#P fasten 5 5 6 5 409 161 379 161;
#P fasten 3 5 4 5 285 161 255 161;
#P fasten 3 4 4 4 264 161 240 161;
#P fasten 3 3 4 3 243 161 225 161;
#P fasten 3 2 4 2 222 161 210 161;
#P fasten 3 1 4 1 201 161 195 161;
#P fasten 3 0 4 0 180 161 180 161;
#P connect 1 0 2 0;
#P connect 1 1 2 1;
#P connect 1 2 2 2;
#P connect 1 3 2 3;
#P connect 1 4 2 4;
#P connect 1 5 2 5;
#P window clipboard copycount 8;


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


March 2, 2007 | 1:48 pm

Quote: Stefan Tiedje wrote on Fri, 02 March 2007 13:49
—————————————————-
> Mattijs Kneppers wrote:
> > An option to have in- and outlets of a selected object spaced
> > independent of the size of the object, i.e. always 2 pixels.
> >
> > Yep, that means that if the object is longer than (amount of outlets
> > * outlet size + (amount of outlets – 1) * spacer size), the object
> > box will have a tail without outlets.
>
> I am not sure if thats a good idea, it will certainly make debugging a
> lot more painful.

Why is that?

> And it has only visual advantages. I guess thats the
> reson why you want it, have the allignement of patchchords always at the
> same point.

Correct

> But you can easily achive this already:

Nice one :)

>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P comment 420 148 76 196617 move it down;
> #P newex 299 184 85 196617 switch 5;
> #P newex 299 145 115 196617 unpack 1 2 3 4 5 6;
> #P newex 175 184 85 196617 switch 5;
> #P newex 175 121 115 196617 unpack 1 2 3 4 5 6;
> #P newex 51 184 85 196617 switch 5;
> #P newex 51 121 115 196617 unpack 1 2 3 4 5 6;
> #P comment 158 96 189 196617 after selecting all chords and hit cmd-y;
> #P fasten 5 0 6 0 304 161 304 161;
> #P fasten 5 1 6 1 325 161 319 161;
> #P fasten 5 2 6 2 346 161 334 161;
> #P fasten 5 3 6 3 367 161 349 161;
> #P fasten 5 4 6 4 388 161 364 161;
> #P fasten 5 5 6 5 409 161 379 161;
> #P fasten 3 5 4 5 285 161 255 161;
> #P fasten 3 4 4 4 264 161 240 161;
> #P fasten 3 3 4 3 243 161 225 161;
> #P fasten 3 2 4 2 222 161 210 161;
> #P fasten 3 1 4 1 201 161 195 161;
> #P fasten 3 0 4 0 180 161 180 161;
> #P connect 1 0 2 0;
> #P connect 1 1 2 1;
> #P connect 1 2 2 2;
> #P connect 1 3 2 3;
> #P connect 1 4 2 4;
> #P connect 1 5 2 5;
> #P window clipboard copycount 8;
>
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
—————————————————-


March 5, 2007 | 4:50 pm


March 6, 2007 | 9:37 am


March 8, 2007 | 1:41 pm

Mattijs Kneppers schrieb:
> Hmm, I’m not sure I understand you. I wasn’t proposing to change the
> order of the outlets.. the last outlet will still be the last outlet,
> it will only be positioned differently.

What to do if the box is smaller than would fit with the number of outs?
I assumed they have to be cut off then, but the size could also be
limited to a minimum I guess…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


March 8, 2007 | 3:15 pm

Quote: Stefan Tiedje wrote on Thu, 08 March 2007 14:41
—————————————————-
> Mattijs Kneppers schrieb:
> > Hmm, I’m not sure I understand you. I wasn’t proposing to change the
> > order of the outlets.. the last outlet will still be the last outlet,
> > it will only be positioned differently.
>
> What to do if the box is smaller than would fit with the number of outs?
> I assumed they have to be cut off then, but the size could also be
> limited to a minimum I guess…

Yea, that’s the way I see it. Similar to the current implementation.

Mattijs

>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
—————————————————-


Viewing 7 posts - 1 through 7 (of 7 total)