This commit adds the ability to shift the involute profile inside or outside. Profile shift is implemented as coefficient, i.e. normalized by the module, so that it the whole profile scales with the module without chaning shape. To verify the profile, the tests implement an "over pins measurement" using formulae found in literature. Backward compatibility with FreeCAD-v0.20 is garanteed by already existing tests, not touched by this commit. This addresses issue #5618.
271 lines
7.3 KiB
XML
271 lines
7.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>InvoluteGearParameter</class>
|
|
<widget class="QWidget" name="InvoluteGearParameter">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>253</width>
|
|
<height>301</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Involute parameter</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_NumberOfTeeth">
|
|
<property name="text">
|
|
<string>Number of teeth:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="spinBox_NumberOfTeeth">
|
|
<property name="minimum">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>9999</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>26</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_Modules">
|
|
<property name="text">
|
|
<string>Module:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="Gui::InputField" name="Quantity_Modules">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">mm</string>
|
|
</property>
|
|
<property name="decimals" stdset="0">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="maximum" stdset="0">
|
|
<double>2000.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep" stdset="0">
|
|
<double>2.000000000000000</double>
|
|
</property>
|
|
<property name="value" stdset="0">
|
|
<double>2.500000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_PressureAngle">
|
|
<property name="text">
|
|
<string>Pressure angle:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="Gui::InputField" name="Quantity_PressureAngle">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">deg</string>
|
|
</property>
|
|
<property name="decimals" stdset="0">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="maximum" stdset="0">
|
|
<double>90.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep" stdset="0">
|
|
<double>2.000000000000000</double>
|
|
</property>
|
|
<property name="value" stdset="0">
|
|
<double>20.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_HighPrecision">
|
|
<property name="text">
|
|
<string>High precision:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="comboBox_HighPrecision">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>True</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>False</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_ExternalGear">
|
|
<property name="text">
|
|
<string>External gear:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="comboBox_ExternalGear">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>True</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>False</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_Addendum">
|
|
<property name="text">
|
|
<string>Addendum Coefficient</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_Addendum">
|
|
<property name="maximum">
|
|
<double>5.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.050000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="label_Dedendum">
|
|
<property name="text">
|
|
<string>Dedendum Coefficient</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_Dedendum">
|
|
<property name="maximum">
|
|
<double>5.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.050000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>1.250000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_RootFillet">
|
|
<property name="text">
|
|
<string>Root Fillet Coefficient</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_RootFillet">
|
|
<property name="maximum">
|
|
<double>2.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.020000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.380000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="label_ProfileShift">
|
|
<property name="text">
|
|
<string>Profile Shift Coefficient</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_ProfileShift">
|
|
<property name="minimum">
|
|
<double>-3.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>3.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::InputField</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>Gui/InputField.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|