Dividing circles into equal parts?

Post questions on how to use or achieve an effect in Inkscape.
mittalpa
Posts: 7
Joined: Sat Apr 26, 2008 12:01 pm

Dividing circles into equal parts?

Postby mittalpa » Sat Apr 26, 2008 12:15 pm

Hi
I have 2 circles: one inside another. I need to divide the area between circles, along radius lines, into 60 equal parts.

How can I achieve this? Please advice.

Thanks
Pankaj

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Dividing circles into equal parts?

Postby aho » Sat Apr 26, 2008 4:36 pm

>I have 2 circles: one inside another. I need to divide the area between circles[...]

Some... ring, right?

>[...]along radius lines, into 60 equal parts.

In 6° steps, right?

Like this?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Dividing circles into equal parts?

Postby microUgly » Sun Apr 27, 2008 7:47 pm

aho wrote:Like this?

I'm getting a '403 Forbidden' on that URL

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Dividing circles into equal parts?

Postby aho » Sun Apr 27, 2008 8:22 pm

Ye, I'm sorry. The server's HDD went up in smoke. The issues is addressed as we speak and it should work again in an hour or so.

edit: It will take longer due to a bomb evacuation. This month is just great, really.

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Dividing circles into equal parts?

Postby aho » Mon Apr 28, 2008 4:20 am

Up again.

mittalpa
Posts: 7
Joined: Sat Apr 26, 2008 12:01 pm

Re: Dividing circles into equal parts?

Postby mittalpa » Tue Apr 29, 2008 12:18 am

Exactly, how do you do that?

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Dividing circles into equal parts?

Postby aho » Tue Apr 29, 2008 4:54 am

1. Create a ring. Either by using difference (path->difference) with two circles or by converting the stroke of a circle to path (path->stroke to path).
2. Draw a straight horizontal or vertical line (use the bezier tool and hold ctrl) on top which is longer than the diameter of the circle. (And either center it through the align dialog or use the grid to place it accurately.)
3. Select the line and duplicate it (ctrl+d).
4. Rotate it by 6° (object->transform).
5. Select both lines and combine em (ctrl+k).
6. Switch to the node tool and select two nodes at one end, then hit the "join selected endnodes with a new segment" button.
7. Repeat the same with the other side.

Now you should have a ring and some kind of hourglass shape.

8. Ensure that the "hourglass" is below the ring.
9. Select both, then Path->Intersection.
10. Path->Break apart (ctrl+shift+k).
11. Group (ctrl+g).
12. Edit->Clones->Create Tiled Clones...

[Symmetry]
P1: Simple Translation
[x]Rows, Columns: 1 x 30

[Shift]
Shift X, Per Column: -100%

[Rotation]
Angle, Per Column: 6°

create.

13. Del (the original should be still selected at this point)... if the clones disappear go to File->Inkscape Preferences... Clones... When the original is deleted, its clones are: [x] unlinked.
14. Select all (ctrl+a).
15. Ungroup (ctrl+shift+g).

The statusbar should read: 60 objects of type Path in layer <whatever>.

16. In order to check that everything is alright use: Effects->Color->Randomize to colorize everything in some random colors.

mittalpa
Posts: 7
Joined: Sat Apr 26, 2008 12:01 pm

Re: Dividing circles into equal parts?

Postby mittalpa » Wed Apr 30, 2008 5:14 am

phew .. i dozed off while reading it. how did you manage to write it??? :)

I will try it out soon and update the results. Thanks for step by step tutorial.

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Dividing circles into equal parts?

Postby aho » Wed Apr 30, 2008 7:38 am

Ye, it's indeed a bit long winded (easy to do tho). That's why I asked first if this is really what you're looking for.


Return to “Help with using Inkscape”