drawing gears

Asked by essex oak

I am a beginner in developing using Delphi.
 I am making a program about all things to do with clocks and have no idea where to start to be able to draw gears. I know the function is in Inkscape but I need the function inside my program.. all help would be welcome

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RIco (rico-rootscore-deactivatedaccount) said :
#1

you need to draw gears in Inkscape... or you need your program to draw gears?

Revision history for this message
essex oak (parksquare) said :
#2

hi Rico
I am writing a program to cover simple wooden clock functions (pendulum length to swing interval, moon cycles etc) and i need my program to draw a gear.
Inkscape has a perfect gear drawing function but i need the function and inputs inside my program. i am only just beginning to teach myself Delphi and can find no relevent information

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) said :
#3

Maybe looking at the code in the gears extension?
/usr/share/inkscape/extensions/gears.py
It's writen in Python.

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) said :
#4

btw, remember that the license is GPL, therefore if you want to use that code you have to stick to the license and its requisites.

Can you help with this problem?

Provide an answer of your own, or ask essex oak for more information if necessary.

To post a message you must log in.