summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-gears.cpp
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2008-01-06 22:30:35 +0000
committerbryce <bryce@users.sourceforge.net>2008-01-06 22:30:35 +0000
commitc3de16bd2f5755f4e5dc9ed589067bb54b2251fc (patch)
tree5ec9200093704512228cd584c2a09238542fe88b /src/live_effects/lpe-gears.cpp
parentr17530@shi: ted | 2008-01-06 13:50:53 -0800 (diff)
downloadinkscape-c3de16bd2f5755f4e5dc9ed589067bb54b2251fc.tar.gz
inkscape-c3de16bd2f5755f4e5dc9ed589067bb54b2251fc.zip
Fix missing tooltips in LPE's. (Closes LP: #178471)
Whitespace cleanup. (bzr r4413)
Diffstat (limited to 'src/live_effects/lpe-gears.cpp')
-rw-r--r--src/live_effects/lpe-gears.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/live_effects/lpe-gears.cpp b/src/live_effects/lpe-gears.cpp
index 00709f66c..699f2c83b 100644
--- a/src/live_effects/lpe-gears.cpp
+++ b/src/live_effects/lpe-gears.cpp
@@ -210,8 +210,15 @@ namespace LivePathEffect {
LPEGears::LPEGears(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
teeth(_("Teeth"), _("The number of teeth"), "teeth", &wr, this, 10),
- phi(_("Phi"), _("???"), "phi", &wr, this, 5)
+ phi(_("Phi"), _("Tooth pressure angle (typically 20-25 deg). The ratio of teeth not in contact."), "phi", &wr, this, 5)
{
+ /* Tooth pressure angle: The angle between the tooth profile and a perpendicular to the pitch
+ * circle, usually at the point where the pitch circle meets the tooth profile. Standard angles
+ * are 20 and 25 degrees. The pressure angle affects the force that tends to separate mating
+ * gears. A high pressure angle means that higher ratio of teeth not in contact. However, this
+ * allows the teeth to have higher capacity and also allows fewer teeth without undercutting.
+ */
+
teeth.param_make_integer();
teeth.param_set_range(3, NR_HUGE);
registerParameter( dynamic_cast<Parameter *>(&teeth) );