AddThis Social Bookmark Button

16 April 2008

F10 Gears: Drawing the Gears

While I am still thinking about putting back some blue on the Gears theme proposal for Fedora 10 (and, of course, while counting down the few days remaining until the upcoming Fedora 9 release) here is a short howto about drawing gears, so anyone can learn to make them.

In fact drawing gears is not hard at all, I cheat and use an effect included in the recently released Inkscape 0.46 (available both in F8 and F9) Effects > Render > Gears:

[fedora gears]


A few parameters to adjust (with Live Preview enabled to see their effect in real time) and we get a toothed wheel:
[fedora gears]


Now add a circle:
[fedora gears]


And use the Align and Distribute dialog to align it to the center (I used here "e;Relative to: Biggest Item"):
[fedora gears]


Then substract the circle from the wheel (you may need to upgroup once, as the Gear effect greated the wheel as a group):
[fedora gears]


Now to create spokes. Add a rectangle and align it to the center:
[fedora gears] [fedora gears]


Duplicate the rectangle and rotate it 90°:
[fedora gears] [fedora gears]


Select both rectangles and rotate them freely:
[fedora gears]


Select everything and do an union:
[fedora gears]


For the middle of the gear create a small circle, align it to the center and do another union:
[fedora gears] [fedora gears]


The hole for the axis is another circle aligned to the center and substracted from the wheel:
[fedora gears]


And the first gear is done!

Another gears coupled with it must have similar teeth, so use the Gear plugin and change only the number of teeth:
[fedora gears]


And do a complex mechanism:
[fedora gears]


You may want to increase the complexity further by adding some parallel gears, which may have their own parameters (as long as they are not coupled with the initial gears):
[fedora gears]


And that was all for today! Expect a follow-up (maybe next week) about coloring those gears.

19 comments:

axet said...

thx

Mike McGrath said...

Damn you nicu!! You make it look so easy! I wish I could do stuff like that without having to copy other people :D

nicu said...

But it is that simple... creating graphics is not such voodoo stuff some may want to make you think.
And with awesome tools at hand like Inkscape, it becomes even easier.

mvpittman said...

Hey thanks for sharing... Easy or not I've enjoyed seeing the tutorials. It's an awesome way of promoting the tools, the distro, and F/OSS.

Manal said...

when i try to align it no the middle it doesn't do anything!

nicu said...

@manal: surely you selected both objects and from the Align and Distribute dialog used "Relative to: Biggest item", just as in my screenshot?

Susan said...

please help me where to i fund the subtract for the center of gear???

nicu said...

@susan: select the inner circle and the gear (make sure the gear is an object, not a group) and use Path->Difference.

I suspect your problem is grouping, when creating the gear with the effect, it is a group. So you have to select it and hit "ungroup" once.

Susan said...

@nicu thank you you were right it worked now thankyou heaps

Sylvia Wei said...

Thank you, nicu!

I hope it'll click for me some day, and that I can make things like this without having to copy. I'll contribute back to the community once I do. :)

kasienka said...

Great! I am using Inscape for the first time and ... it seems that it will not be the last time ;-)
The only problem I have is that I am not able to put the biggest gear at the very bottom... I have tried Object/Lower to Bottom, but without success ;-(
Great job!

nicu said...

@kasienka: I wonder if your problem is related to groups or layers, maybe your object is in a group and you move it to the bottom of the group, or in a layer and you move it at the bottom of that layer

Anonymous said...

Thank you that help me a lot.

I try to make bevel gears?

all the best

philsing from France

nicu said...

One way to make them beveled would be to use the effect I used in this 3D text tutorial: http://howto.nicubunu.ro/3d_text_inkscape/ or use advanced SVG filters: http://wiki.inkscape.org/wiki/index.php/Filter_Effects#Mockups_of_Filter_editing_and_related_dialogs

George said...

Very nice of you to show how to do this. You made it very easy to do.
thanks
george
Houston, Texas USA

Anonymous said...

thanks for the tutorial
when i make a circle first time it is just a little line so i move the circle round.
i cant get it exact so i cant do 'difference'. is the a short cut to sort this out?
thanks again, alex

Anonymous said...

i just reread that and it isnt clear.
once i have moved the little circle node around the is stil a gap in the outline of the circle
please help
alex

Anonymous said...

ok its not that the circle is incomplete i cant seem to do 'difference' on gears?
alex

Anonymous said...

i didnt do the ungroup!
feeling quite stupid, thanks for the great tutorial
alex

Post a Comment