summaryrefslogtreecommitdiffstats
path: root/src/live_effects
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
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')
-rw-r--r--src/live_effects/lpe-gears.cpp9
-rw-r--r--src/live_effects/lpe-skeletalstrokes.cpp2
2 files changed, 9 insertions, 2 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) );
diff --git a/src/live_effects/lpe-skeletalstrokes.cpp b/src/live_effects/lpe-skeletalstrokes.cpp
index effa66e54..a2fe2be8a 100644
--- a/src/live_effects/lpe-skeletalstrokes.cpp
+++ b/src/live_effects/lpe-skeletalstrokes.cpp
@@ -66,7 +66,7 @@ LPESkeletalStrokes::LPESkeletalStrokes(LivePathEffectObject *lpeobject) :
spacing(_("Spacing"), _("Space between copies of the pattern"), "spacing", &wr, this, 0),
normal_offset(_("Normal offset"), "", "normal_offset", &wr, this, 0),
tang_offset(_("Tangential offset"), "", "tang_offset", &wr, this, 0),
- vertical_pattern(_("Pattern is vertical"), "", "vertical_pattern", &wr, this, false)
+ vertical_pattern(_("Pattern is vertical"), "Rotate pattern 90 deg before applying", "vertical_pattern", &wr, this, false)
{
registerParameter( dynamic_cast<Parameter *>(&pattern) );
registerParameter( dynamic_cast<Parameter *>(&copytype) );