minor fixes in gear panel

This commit is contained in:
wmayer 2014-08-08 13:21:06 +02:00
parent 420e71afbb
commit 854596aaa0
4 changed files with 80 additions and 16 deletions

View File

@ -12,10 +12,11 @@
<file>icons/PartDesign_PolarPattern.svg</file>
<file>icons/PartDesign_Scaled.svg</file>
<file>icons/PartDesign_MultiTransform.svg</file>
<file>icons/PartDesign_Hole.svg</file>
<file>icons/Tree_PartDesign_Pad.svg</file>
<file>icons/Tree_PartDesign_Revolution.svg</file>
<file>icons/PartDesign_InvoluteGear.svg</file>
<file>icons/PartDesign_Hole.svg</file>
<file>icons/Tree_PartDesign_Pad.svg</file>
<file>icons/Tree_PartDesign_Revolution.svg</file>
<file>icons/PartDesign_InternalExternalGear.svg</file>
<file>icons/PartDesign_InvoluteGear.svg</file>
<file>translations/PartDesign_af.qm</file>
<file>translations/PartDesign_de.qm</file>
<file>translations/PartDesign_fi.qm</file>

View File

@ -1,10 +1,72 @@
<?xml version="1.0"?><svg width="1000" height="1000" xmlns="http://www.w3.org/2000/svg">
<title>High Resolution Gear</title>
<metadata id="metadata4083">image/svg+xml</metadata>
<g>
<title>Layer 1</title>
<g externalResourcesRequired="false" id="layer1">
<path d="m457.674194,1l-20.76886,118.302437l0.079987,0.079193c-25.386719,4.14814 -49.948639,10.796745 -73.40979,19.650475l0,-0.079178l-77.084137,-92.101566l-72.451248,41.857128l41.13826,112.790565l0.159546,0.079254c-19.642059,16.123276 -37.644791,34.189743 -53.759094,53.839432l-0.079803,-0.240234l-112.790565,-41.138397l-41.857117,72.45134l92.101555,77.164093c-8.839218,23.441681 -15.428467,47.966858 -19.570518,73.329895l-0.079956,-0.079315l-118.302452,20.768799l0,83.714264l118.302452,20.768799l0.079956,-0.079224c4.141754,25.362976 10.7313,49.888 19.570518,73.329773l-92.101555,77.164185l41.857117,72.450989l112.790565,-41.138062l0.079803,-0.240295c16.114304,19.649048 34.116806,37.716187 53.759094,53.838806l-0.159546,0.079285l-41.13826,112.790588l72.451248,41.857178l77.084137,-92.10083l0,-0.079834c23.461151,8.853882 48.023071,15.502441 73.40979,19.650452l-0.079987,0.079285l20.76886,118.302307l83.634155,0l20.76886,-118.302307l-0.079773,-0.079285c25.381592,-4.136658 49.950745,-10.72998 73.409912,-19.570618l77.163757,92.101685l72.451294,-41.857117l-41.218018,-112.790527c19.597717,-16.082031 37.591675,-34.086304 53.679321,-53.679382l112.8703,41.138245l41.777466,-72.451233l-92.02179,-77.164124c8.841187,-23.444763 15.507629,-47.963196 19.650513,-73.329834l118.302429,-20.688782l0,-83.714233l-118.302429,-20.768768c-4.143738,-25.339447 -10.818176,-49.828888 -19.650513,-73.250153l92.02179,-77.164093l-41.777466,-72.451157l-112.8703,41.138214c-16.088074,-19.593384 -34.080933,-37.597275 -53.679321,-53.679367l41.218018,-112.790497l-72.451294,-41.857121l-77.163757,92.101475c-23.459167,-8.83992 -48.02832,-15.433525 -73.409912,-19.570435l0.079773,-0.079254l-20.76886,-118.302377l-83.634155,0l0,-0.00054zm41.857117,203.693954c162.853027,0 294.916931,131.984085 294.916931,294.837265c0,162.852997 -132.063904,294.836945 -294.916931,294.836945c-162.852936,0 -294.836975,-131.983948 -294.836975,-294.836945c0,-162.85318 131.984039,-294.837265 294.836975,-294.837265z" id="path4050" stroke-dashoffset="0" stroke-miterlimit="4" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="#3f3f3f"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
id="svg3087"
version="1.1"
inkscape:version="0.48.0 r9654"
sodipodi:docname="Neues Dokument 5">
<defs
id="defs3089" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.9497475"
inkscape:cx="24"
inkscape:cy="24"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="746"
inkscape:window-height="606"
inkscape:window-x="150"
inkscape:window-y="150"
inkscape:window-maximized="0" />
<metadata
id="metadata3092">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
transform="matrix(0.04814141,0,0,0.04814141,-0.04814054,-0.04809916)"
id="g3077">
<title
id="title3079">Layer 1</title>
<g
externalResourcesRequired="false"
id="layer1-1">
<path
style="fill:#3f3f3f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0"
inkscape:connector-curvature="0"
d="m 457.67419,1 -20.76886,118.30244 0.08,0.0792 c -25.38672,4.14814 -49.94864,10.79674 -73.40979,19.65047 l 0,-0.0792 -77.08414,-92.101569 -72.45124,41.857128 41.13826,112.790561 0.15954,0.0793 c -19.64206,16.12327 -37.64479,34.18974 -53.75909,53.83943 l -0.0798,-0.24023 -112.79056,-41.1384 -41.857117,72.45134 92.101557,77.16409 c -8.83922,23.44168 -15.42847,47.96686 -19.57052,73.3299 l -0.08,-0.0793 -118.302448,20.7688 0,83.71426 118.302448,20.7688 0.08,-0.0792 c 4.14175,25.36298 10.7313,49.888 19.57052,73.32977 l -92.101557,77.16419 41.857117,72.45099 112.79056,-41.13806 0.0798,-0.2403 c 16.1143,19.64905 34.1168,37.71619 53.75909,53.83881 l -0.15954,0.0793 -41.13826,112.79059 72.45124,41.85718 77.08414,-92.10083 0,-0.0798 c 23.46115,8.85389 48.02307,15.50244 73.40979,19.65046 l -0.08,0.0793 20.76886,118.30231 83.63416,0 20.76886,-118.30231 -0.0798,-0.0793 c 25.38159,-4.13666 49.95074,-10.72998 73.40991,-19.57062 l 77.16375,92.10168 72.4513,-41.85711 -41.21802,-112.79053 c 19.59772,-16.08203 37.59168,-34.08631 53.67932,-53.67938 l 112.8703,41.13824 41.77747,-72.45123 -92.02179,-77.16413 c 8.84118,-23.44476 15.50763,-47.96319 19.65051,-73.32983 l 118.30243,-20.68878 0,-83.71423 -118.30243,-20.76877 c -4.14374,-25.33945 -10.81818,-49.82889 -19.65051,-73.25016 L 952.13147,286.49106 910.354,214.0399 797.4837,255.17812 C 781.39563,235.58473 763.40277,217.58084 743.80438,201.49875 L 785.0224,88.708254 712.5711,46.851133 635.40735,138.95261 c -23.45917,-8.83992 -48.02832,-15.43353 -73.40991,-19.57044 l 0.0798,-0.0793 -20.76886,-118.302378 -83.63416,0 0,-5.4e-4 z m 41.85712,203.69395 c 162.85303,0 294.91693,131.98409 294.91693,294.83727 0,162.853 -132.0639,294.83694 -294.91693,294.83694 -162.85294,0 -294.83697,-131.98394 -294.83697,-294.83694 0,-162.85318 131.98403,-294.83727 294.83697,-294.83727 z"
id="path4050"
stroke-miterlimit="4" />
</g>
</g>
</g>
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -103,7 +103,7 @@ class _ViewProviderInvoluteGear:
vobj.Proxy = self
def getIcon(self):
return ":/icons/PartDesign_InvoluteGear.svg"
return ":/icons/PartDesign_InternalExternalGear.svg"
def attach(self, vobj):
self.ViewObject = vobj
@ -134,6 +134,7 @@ class _InvoluteGearTaskPanel:
self.obj = obj
self.form=FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/PartDesign/InvoluteGearFeature.ui")
self.form.setWindowIcon(QtGui.QIcon(":/icons/PartDesign_InternalExternalGear.svg"))
QtCore.QObject.connect(self.form.Quantity_Modules, QtCore.SIGNAL("valueChanged(double)"), self.modulesChanged)
QtCore.QObject.connect(self.form.Quantity_PressureAngle, QtCore.SIGNAL("valueChanged(double)"), self.angleChanged)

View File

@ -122,7 +122,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>High Precision:</string>
<string>High precision:</string>
</property>
</widget>
</item>
@ -149,7 +149,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>external Gear:</string>
<string>External gear:</string>
</property>
</widget>
</item>