Post Reply 

Center Lines of the Selection as Strokes

Aug 21, 2014, 18:11 (This post was last modified: Aug 21, 2014 18:14 by Guy.)
Post: #1
Star Center Lines of the Selection as Strokes
[attachment=3891]Hello,

I would like to put on specific places of my picture some local grids (composed of 4 squares each).
After some research, I almost managed, but the last part goes astray: here is how i do:
1) Rectangle Select of one of the parts I want to "grid".
(I check "fixed aspect ratio" to get a nice square)
2) I then choose "center lines" down in the select options.
-At that point I have what I need (4 squares), now, I just have to "draw the selection" down on my layer by:
3) going to Edit/stroke Selection

-> but the problem is that only the big square (outline) of my selection takes gets drawn, the inside Center Lines dont get drawn on the picture.

Any idea how I could do that? Like to put here and there square grids of different sizes...?

thanks Smile

Guy
Find all posts by this user
Quote this message in a reply
Aug 21, 2014, 19:05
Post: #2
RE: Center Lines of the Selection as Strokes
Lots of ways, I think I know what you are after (or maybe not)

Packing in for the day, so rather than reams of text, a little video, just under 3 mins.

http://www.youtube.com/watch?v=a5hRmmVNPFg&hd=1

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 22, 2014, 08:26
Post: #3
RE: Center Lines of the Selection as Strokes
@rich2005, thanks for the tip, it was interesting but gave strange result, I think as ofnuts says, that the offset is taken from the corner of the picture.
[undefined=undefined]

@ofnuts, it looks like a good plugin, I downloaded the .py file, then copied it in the plugin folder under c:/My user name/gimp/plugin, then restarted the gimp but I cant find it under render/pattern..
Any other place I need to copy it? or do i need to activate it somehow?

thanks Smile


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Aug 22, 2014, 08:48 (This post was last modified: Aug 22, 2014 08:51 by rich2005.)
Post: #4
RE: Center Lines of the Selection as Strokes
(Aug 22, 2014 08:26)Guy Wrote:  @rich2005, thanks for the tip, it was interesting but gave strange result, I think as ofnuts says, that the offset is taken from the corner of the picture.

Not so much the corner of the picture, but the corner of the layer, then if the layer = the selection...

[Image: M8psgMD.jpg]

Many ways to do this, If as your image, to prevent disaster I would be working on a new transparent layer. Set some guide lines up, enable snap to guides, paint along them, constraining the brush with the shift key.

edit: like this http://docs.gimp.org/2.8/en/gimp-tutoria...lines.html

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 22, 2014, 10:13 (This post was last modified: Aug 22, 2014 10:14 by Guy.)
Post: #5
RE: Center Lines of the Selection as Strokes
@rich2005,
yeah..good point, I managed now! Smile thanks, I did like that:
1) new transparent layer,
2) rectangle Select where I need to have it,
3) Layer/Crop to Selection, (so I crop the layer)
4) Filter/Render/Pattern/Grid
It worked good like this for me.

Problem solved, thank you guys! Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to smooth jagged lines Evanm 1 111 Mar 20, 2019 09:21
Last Post: paynekj
  Deleting my whole picture instead of selection...Why? mrcool88 1 183 Feb 25, 2019 09:53
Last Post: paynekj
  Can't Draw Colored lines mafunk42 1 187 Feb 13, 2019 09:10
Last Post: paynekj
  Save trtansformed selection? TDLucas 1 211 Feb 12, 2019 15:50
Last Post: paynekj
  Font selection case dependent riderdan 1 213 Jan 2, 2019 09:31
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS