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]](http://howto.nicubunu.ro/gears/gears_01.png)
A few parameters to adjust (with Live Preview enabled to see their effect in real time) and we get a toothed wheel:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_02.png)
Now add a circle:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_03.png)
And use the Align and Distribute dialog to align it to the center (I used here "e;Relative to: Biggest Item"):
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_04.png)
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]](http://howto.nicubunu.ro/gears/gears_05.png)
Now to create spokes. Add a rectangle and align it to the center:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_07.png)
Duplicate the rectangle and rotate it 90°:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_09.png)
Select both rectangles and rotate them freely:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_10.png)
Select everything and do an union:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_11.png)
For the middle of the gear create a small circle, align it to the center and do another union:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_13.png)
The hole for the axis is another circle aligned to the center and substracted from the wheel:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_14.png)
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]](http://howto.nicubunu.ro/gears/gears_15.png)
And do a complex mechanism:
![[fedora gears]](http://howto.nicubunu.ro/gears/gears_16.png)
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]](http://howto.nicubunu.ro/gears/gears_17.png)
And that was all for today! Expect a follow-up (maybe next week) about coloring those gears.
All the materials included on this page are free to use, but if you find them useful, pretty please (this is not a requirement, only my humble wish) send an email to dioanad at server gmail.com with thanks for motivating me to publish some content and expressing your unhappiness to the same person for destroying my motivation to publish even more.

19 comments:
thx
Damn you nicu!! You make it look so easy! I wish I could do stuff like that without having to copy other people :D
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.
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.
when i try to align it no the middle it doesn't do anything!
@manal: surely you selected both objects and from the Align and Distribute dialog used "Relative to: Biggest item", just as in my screenshot?
please help me where to i fund the subtract for the center of gear???
@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.
@nicu thank you you were right it worked now thankyou heaps
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. :)
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!
@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
Thank you that help me a lot.
I try to make bevel gears?
all the best
philsing from France
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
Very nice of you to show how to do this. You made it very easy to do.
thanks
george
Houston, Texas USA
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
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
ok its not that the circle is incomplete i cant seem to do 'difference' on gears?
alex
i didnt do the ungroup!
feeling quite stupid, thanks for the great tutorial
alex
Post a Comment