It is currently Thu May 23, 2013 3:11 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Radial lines
PostPosted: Tue Jun 12, 2012 9:14 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1776
Location: Dallas, TX
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Intermediate Level



There has to be an easy way to do this but I can't remember if there is a script for this or not. I want to take a vertical line and create additional lines rotated at 5 degree increments until a full circle is acheived. Doing this manually is a real pain. I looked at Gfig and a couple of other ways but I finally gave up. Anybody know of a way to render this quickly?


Attachments:
Radial Lines_1.jpg
Radial Lines_1.jpg [ 5.06 KiB | Viewed 366 times ]
Radial Lines_2.jpg
Radial Lines_2.jpg [ 6.48 KiB | Viewed 366 times ]
Radial Lines_3.jpg
Radial Lines_3.jpg [ 17.87 KiB | Viewed 366 times ]

_________________
Image
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 10:07 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
Using the path tool:
- start Path editor, create a diameter to make a new Path
- duplicate that path, rotate 5° (Rotate tools in "Path" mode)
- merge the two paths
- duplicate, rotate 10 degrees, and merge (save this one)
- duplicate, rotate 20 degrees, and merge
- duplicate, rotate 40 degrees, and merge
- duplicate, rotate 80 degrees, and merge
- grab path with 4 lines saved earlier, rotate 160°, and merge.
- stroke the path if needed.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 11:06 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1776
Location: Dallas, TX
Ofnuts - I'm glad it was you that responded first. What I'm looking for is more of a one click way to do what you are describing. You did it with paths and strokes, I did it with the pencil tool, duplicate/merge and Layer>Transform>Arbitrary Rotation, but either way there are all the rotation steps involved. I was thinnking there was already a script to do this with options on setting up the degrees of rotation sort of like using GAP to make the cylinder rotate in increments does.

You've made some pretty awesome ones before using Python. I dunno but, I would think this would be a simple script to create for folks like yourself. The preview window would be great. Care to tackle this?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 4:47 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
Clone layer tool would work good for this too. :)
Drawable Multiplication (not sure if that rotates though)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 4:53 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
http://registry.gimp.org/node/22383 - drawable multiplication script
http://registry.gimp.org/node/25422 - clone layer tool
http://registry.gimp.org/node/22254 - copy rotate
http://registry.gimp.org/node/15534 - radial copy

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 5:56 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1776
Location: Dallas, TX
Thanks Rod! I think the Copy-Rotate was the one I wwas looking for but I can't seem to get it to work. It appears to be making copies, transform and putting it on a floating layer then anchoring it. I mean I se the filter cycling the steps but in the end it doesn't render anything. I tried it with a solid background and then again with a transparent background....still nothing. Any clues?



Edit: It was a hardware problem................the nut between the chair and the keyboard. (Forgot to set the coordinates)


Works like a charm! Thanks again.


Attachments:
Guage.png
Guage.png [ 29.17 KiB | Viewed 300 times ]

_________________
Image


Last edited by Draconian on Tue Jun 12, 2012 6:29 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 6:00 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
Draconian wrote:
Thanks Rod! I think the Copy-Rotate was the one I wwas looking for but I can't seem to get it to work. It appears to be making copies, transform and putting it on a floating layer then anchoring it. I mean I se the filter cycling the steps but in the end it doesn't render anything. I tried it with a solid background and then again with a transparent background....still nothing. Any clues?


It may only be compatible with Gimp-2.6.12 OR you need to make a selection first.
No error messages in the error dialog?

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 

 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 6:32 pm  (#8) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 347
Location: Wisconsin
If you don't mind using paths, I posted a script that copies, shifts and rotates paths:
http://gimpchat.com/viewtopic.php?f=11&t=1415&p=17181&hilit=path+rotate#p17181

Note: the script registers in the Paths menu (right click on the path to operate on)

(I think that was one of the first times I posted something here on GimpChat)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 6:38 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1776
Location: Dallas, TX
bkh1914 wrote:
If you don't mind using paths, I posted a script that copies, shifts and rotates paths:
http://gimpchat.com/viewtopic.php?f=11&t=1415&p=17181&hilit=path+rotate#p17181

Note: the script registers in the Paths menu (right click on the path to operate on)

(I think that was one of the first times I posted something here on GimpChat)


Thanks BKH1914. That looks interesting too, I'll have to check that one out as well. For right now, the Copy-Rotate is the cat's meow for making simple guages like the one in my post above.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Radial lines
PostPosted: Tue Jun 12, 2012 6:58 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9012
Location: "Looking for my eraser" =P
Have you checked out the Clone Layer Tool Draconian?
That is one great plug-in for creating multiple copies and rotating them by any degree very easily.
Plus at the same time you can set more effects for the same layer. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group