Re: [PD] snap to grid feature when editing

2018-02-21 Thread IOhannes m zmölnig
On 02/21/2018 03:54 PM, Raphaël Ilias wrote:
> That would be a wonderful feature. I wouldn't install a pd fork just for
> that, but I spend (and maybe loose) lots of time aligning boxes with the
> keyboard.

then you should probably start using the "autopatch" feature.
i found it helps tremendously if you are going for neatly aligned
patches (which i do).

gfamdsr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-21 Thread Dan Wilcox
I would make it hot key toggle option. It could be a gui preference but maybe 
better to keep transient.

enohp ym morf tnes
---
Dan Wilcox
danomatika.com
robotcowboy.com


> On Feb 21, 2018, at 6:26 PM, Matt Davey  wrote:
> 
> * snap to grid horizontally makes much more sense to me than vertically - cos 
> most of the time you just want to keep you patch cables straight.  
> * an easy way to turn it on/off would also be very handy.  
> * i would also really like this 

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-21 Thread Ingo Stock
On 02/21/2018 07:42 PM, IOhannes m zmölnig wrote:
> then you should probably start using the "autopatch" feature.
> i found it helps tremendously if you are going for neatly aligned
> patches (which i do).

I do the same. It would be great if "shift + up" and "shift + down"
would move the objects "object height + autopatch distance" pixel
instead of 10 pixel.

Since 0.48-1 it is now "shift + up", "shift + up", "up", "up", "up" to
move one block of code up one row with font size 12.

best wishes, ingo



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-21 Thread Matt Davey
* snap to grid horizontally makes much more sense to me than vertically -
cos most of the time you just want to keep you patch cables straight.
* an easy way to turn it on/off would also be very handy.
* i would also really like this
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-21 Thread Raphaël Ilias
That would be a wonderful feature. I wouldn't install a pd fork just for
that, but I spend (and maybe loose) lots of time aligning boxes with the
keyboard.
A "snap to grid" feature with vertical and horizontal grid steps would be
really time saving !
Of course since this is a user/patcher interface it should not be default
behavior or mandatory

2018-02-18 20:17 GMT+01:00 Dan Wilcox <danomat...@gmail.com>:

>
>
> On Feb 18, 2018, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
>
> From: Roman Haefeli <reduz...@gmail.com>
> To: Pd-List <pd-list@lists.iem.at>
> Subject: Re: [PD] snap to grid feature when editing
> Message-ID: <1518895171.2184.17.ca...@gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Sam, 2018-02-17 at 19:26 +0100, Dan Wilcox wrote:
>
> There is working code for this in one of the Pd forks. I've thought
> about porting it over. It works pretty well for placement but drawing
> the actual grid is problematic due to the number of lines and some
> overlapping.
>
>
> I wasn't thinking about drawing lines on the canvas. I thought more of
> an invisible feature that could be turn on and off by some shortcut.
>
>
> Yeah, that's what I was thinking as well. I'd also integrate this with the
> Tidy Up feature where it would calculate the positions using the grid when
> snapping is enabled.
>
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>


-- 
Raphaël Ilias
  ___
* phae.fr <http://phae.fr>*
 17 places des Halles - Ingrandes
 49123 Ingrandes Le Fresne s/ Loire
 phae.il...@gmail.com / +33 (0) 6 04 45 79 78
  ___
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-18 Thread Dan Wilcox


> On Feb 18, 2018, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> From: Roman Haefeli <reduz...@gmail.com <mailto:reduz...@gmail.com>>
> To: Pd-List <pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] snap to grid feature when editing
> Message-ID: <1518895171.2184.17.ca...@gmail.com 
> <mailto:1518895171.2184.17.ca...@gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> On Sam, 2018-02-17 at 19:26 +0100, Dan Wilcox wrote:
>> There is working code for this in one of the Pd forks. I've thought
>> about porting it over. It works pretty well for placement but drawing
>> the actual grid is problematic due to the number of lines and some
>> overlapping.
> 
> I wasn't thinking about drawing lines on the canvas. I thought more of
> an invisible feature that could be turn on and off by some shortcut. 

Yeah, that's what I was thinking as well. I'd also integrate this with the Tidy 
Up feature where it would calculate the positions using the grid when snapping 
is enabled.


Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-18 Thread Fede Camara Halac
Hello list,

I like how pd allows for non-grid-like canvas behavior. Besides, there is a 
feature already to Tidy Up things.

If grid-behavior is included, though, I would suggest not to make it a default 
behavior, and I would not want cords to be subject to the grid as well.

Best,

Fede

ps: i guess Tk has a grid already, which is the current canvas behavior. So, a 
more complex grid behavior would be to adjust the already given grid size to 
whatever measure fits best for the player.

fdch.github.io/tv



>> On Feb 17, 2018, at 8:19 PM, Roman Haefeli  wrote:
>> 
>> On Sam, 2018-02-17 at 19:26 +0100, Dan Wilcox wrote:
>> There is working code for this in one of the Pd forks. I've thought
>> about porting it over. It works pretty well for placement but drawing
>> the actual grid is problematic due to the number of lines and some
>> overlapping.
> 
> I wasn't thinking about drawing lines on the canvas. I thought more of
> an invisible feature that could be turn on and off by some shortcut. 
> 
> Roman
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-18 Thread baptiste chatel
This would be an interesting feature !

2018-02-17 20:19 GMT+01:00 Roman Haefeli :

> On Sam, 2018-02-17 at 19:26 +0100, Dan Wilcox wrote:
> > There is working code for this in one of the Pd forks. I've thought
> > about porting it over. It works pretty well for placement but drawing
> > the actual grid is problematic due to the number of lines and some
> > overlapping.
>
> I wasn't thinking about drawing lines on the canvas. I thought more of
> an invisible feature that could be turn on and off by some shortcut.
>
> Roman
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-17 Thread Roman Haefeli
On Sam, 2018-02-17 at 19:26 +0100, Dan Wilcox wrote:
> There is working code for this in one of the Pd forks. I've thought
> about porting it over. It works pretty well for placement but drawing
> the actual grid is problematic due to the number of lines and some
> overlapping.

I wasn't thinking about drawing lines on the canvas. I thought more of
an invisible feature that could be turn on and off by some shortcut. 

Roman

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] snap to grid feature when editing

2018-02-17 Thread Dan Wilcox
There is working code for this in one of the Pd forks. I've thought about 
porting it over. It works pretty well for placement but drawing the actual grid 
is problematic due to the number of lines and some overlapping.

> On Feb 17, 2018, at 7:22 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Date: Sat, 17 Feb 2018 17:25:51 +0100
> From: Roman Haefeli >
> To: pd-list@lists.iem.at 
> Subject: [PD] snap to grid feature when editing
> Message-ID: <1518884751.2184.13.ca...@gmail.com 
> >
> Content-Type: text/plain; charset="utf-8"
> 
> Hey all
> 
> I just realized that I almost always hold the shift key down when
> moving objects around with arrow keys in order to emulate a 10-px grid.
> Considering my editing style, a snap-to-grid feature would make my
> patching life a lot easier. It would help me align objects vertically
> with the mouse whereas now I often rather drag over the object in order
> to align it with keys, because doing it with the mouse on a 1-px-grid
> is too finicky (for me at least).  
> 
> Before I submit a feature request, I'd like to get a feeling if such a
> feature only suits my style or if it would be for the benefit of all.
> 
> Roman

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list