diff --git a/WorkFeature/Doc/WF_releasesDocumentation.pdf b/WorkFeature/Doc/WF_releasesDocumentation.pdf
index b2d1763..7eae71b 100644
Binary files a/WorkFeature/Doc/WF_releasesDocumentation.pdf and b/WorkFeature/Doc/WF_releasesDocumentation.pdf differ
diff --git a/WorkFeature/Icons/WF_4pointsCube.svg b/WorkFeature/Icons/WF_4pointsCube.svg
index b3b3615..449fff3 100644
--- a/WorkFeature/Icons/WF_4pointsCube.svg
+++ b/WorkFeature/Icons/WF_4pointsCube.svg
@@ -327,6 +327,174 @@
id="radialGradient5473"
xlink:href="#linearGradient5238-3-9-7-8-5"
inkscape:collect="always" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
image/svg+xml
-
+
@@ -385,7 +553,7 @@
inkscape:connector-curvature="0" />
+ transform="matrix(-0.07181862,0.04750673,-0.04824701,-0.07071667,53.382707,79.100288)" />
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/WorkFeature/Icons/WF_Beam.svg b/WorkFeature/Icons/WF_Beam.svg
index 381ab55..2cda4c0 100644
--- a/WorkFeature/Icons/WF_Beam.svg
+++ b/WorkFeature/Icons/WF_Beam.svg
@@ -14,7 +14,7 @@
width="64"
height="64"
id="svg3017"
- inkscape:version="0.48.3.1 r9886"
+ inkscape:version="0.48.5 r10040"
sodipodi:docname="WF_Beam.svg"
inkscape:export-filename="/home/mark/HyperbolaIcon.png"
inkscape:export-xdpi="90"
@@ -398,15 +398,15 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="1301"
- inkscape:window-height="744"
+ inkscape:window-width="1366"
+ inkscape:window-height="702"
id="namedview13601"
showgrid="false"
inkscape:zoom="5.840651"
inkscape:cx="60.002575"
inkscape:cy="25.215672"
- inkscape:window-x="65"
- inkscape:window-y="24"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg3017" />
-
-
+
+ sodipodi:nodetypes="ccssscccccc"
+ transform="matrix(-0.37450424,-0.5067961,0.81446679,-0.60186189,27.487169,66.65621)" />
+
+
+
diff --git a/WorkFeature/Icons/WF_Difference.svg b/WorkFeature/Icons/WF_Difference.svg
new file mode 100644
index 0000000..494acb0
--- /dev/null
+++ b/WorkFeature/Icons/WF_Difference.svg
@@ -0,0 +1,998 @@
+
+
+
+
diff --git a/WorkFeature/Icons/WF_FCCamera_02.svg b/WorkFeature/Icons/WF_FCCamera_02.svg
index b03199b..6a283d7 100644
--- a/WorkFeature/Icons/WF_FCCamera_02.svg
+++ b/WorkFeature/Icons/WF_FCCamera_02.svg
@@ -15,7 +15,7 @@
inkscape:version="0.48.3.1 r9886"
width="64"
height="64"
- sodipodi:docname="FCCamera_02.png">
+ sodipodi:docname="WF_FCCamera_02.svg">
@@ -24,7 +24,7 @@
image/svg+xml
-
+
@@ -39,148 +39,34 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="640"
- inkscape:window-height="480"
+ inkscape:window-width="785"
+ inkscape:window-height="600"
id="namedview3038"
showgrid="false"
- inkscape:zoom="3.6875"
+ inkscape:zoom="7.078125"
inkscape:cx="32"
inkscape:cy="32"
inkscape:window-x="65"
- inkscape:window-y="24"
+ inkscape:window-y="336"
inkscape:window-maximized="0"
inkscape:current-layer="svg3036" />
+ ?
diff --git a/WorkFeature/Icons/WF_NpointsLine.svg b/WorkFeature/Icons/WF_NpointsLine.svg
new file mode 100644
index 0000000..8a9cbc4
--- /dev/null
+++ b/WorkFeature/Icons/WF_NpointsLine.svg
@@ -0,0 +1,562 @@
+
+
+
+
diff --git a/WorkFeature/Icons/WF_Sweep.svg b/WorkFeature/Icons/WF_Sweep.svg
new file mode 100644
index 0000000..381ab55
--- /dev/null
+++ b/WorkFeature/Icons/WF_Sweep.svg
@@ -0,0 +1,454 @@
+
+
+
+
diff --git a/WorkFeature/Icons/WF_isCommon.svg b/WorkFeature/Icons/WF_isCommon.svg
new file mode 100644
index 0000000..965907e
--- /dev/null
+++ b/WorkFeature/Icons/WF_isCommon.svg
@@ -0,0 +1,998 @@
+
+
+
+
diff --git a/WorkFeature/Ressources/Parametric2D.dat b/WorkFeature/Ressources/Parametric2D.dat
new file mode 100644
index 0000000..6915c18
--- /dev/null
+++ b/WorkFeature/Ressources/Parametric2D.dat
@@ -0,0 +1,23 @@
+Name, a (t), b (a,t), X (a,b,t), Y(a,b,t), Polar, tmin, tmax, tstep
+['Circle', '10 # Radius', 'a', 'a*cos(t)', 'a*sin(t)', '0', '2*pi', '0.01', '0']
+['Ellipse', '10 # X Radius 1', '20 # Y Radius 2', 'a*cos(t)', 'b*sin(t)', '0', '2*pi', '0.01', '0']
+['Double egg', '10 # Radius', '0', 'a*cos(t)*cos(t)', 't', '-pi', 'pi', '0.01', '1']
+['Catenary or funicular', '10', '0', 'a*log((1+sin(t))/(cos(t)))', 'a/cos(t)', '-pi/2 + 0.01', 'pi/2 - 0.01', '0.01', '0']
+['Sinusoid', '5 ', '1', 't', 'a*sin(t/b)', '0', '10', '0.01', '0']
+['Dipole part1', '5 ', '1', '-pow(a*a*cos(t),0.5)', 't', '-pi/2', 'pi/2', '0.01', '1']
+['Dipole part2', '5 ', '1', 'pow(a*a*cos(t),0.5)', 't', '-pi/2', 'pi/2', '0.01', '1']
+['Tear drop', '10', '2', 'a*cos(t)', 'a*sin(t)*pow(sin(t/2),b)', '0', '2*pi', '0.01', '0']
+['Kulp quartic', '10', '2*a', 'a*tan(t)', 'b*cos(t)', '-pi', 'pi', '0.01', '0']
+['Lemniscate of Bernoulli', '10', '1+pow(cos(t),2)', 'a*sin(t)/b', 'a*sin(t)*cos(t)/b', '-pi', 'pi', '0.01', '0']
+["Pascal's snail", '10', '2', 'a*(1+b*cos(t))', 't', '0', '2*pi', '0.01', '1']
+['Archimedian spiral', '2.5 # Radius', 'a', 'a*t', 't', '0', '5*2*pi # 5 circles', '0.01', '1']
+['Simple folium', '10 # Radius', '0', 'a*(cos(t)**3)', 't', '0', 'pi', '0.01', '1']
+['Regular bifolium', '2.5 # Radius', 'a', '4*a*sin(t)*(cos(t)**2)', 't', '0', 'pi', '0.01', '1']
+['Equilateral trefoil', '10 ', 'a', 'a*cos(3*t)', 't', '0', 'pi', '0.01', '1']
+['Circle with Teeth', '37 # Number of Teeth', '(a+cos(a*t)*2)*1 # 1 is diameter', 'b*cos(t)', 'b*sin(t)', '0.0', '2*pi', '0.01', '0']
+['Spiral', '0.5 ', '-0.75', 'a*t', 'b*t', '0', '10*2*pi', '0.01', '1']
+['transcendental butterfly curve ', '4', '24', 'exp(sin(t))-2*cos(a*t)+pow(sin((2*t-pi)/b),5)', 't', '-8*pi', '8*pi', '0.01', '1']
+['Parabola', '10 # Parabola parameter >0', 'a', 't', 'sqrt(2*a*t)', '0.01', '10', '0.01', '0']
+['Witch of Agnesi', '100 # Radius', 'a', 'a*tan(t)', 'b*cos(t)*cos(t)', '-pi/2.5+0.01', 'pi/2.5-0.01', '0.01', '0']
+['Kappa', '10 # Radius', 'a', 'a*tan(t)', 't', '0', '2*pi', '0.01', '1']
+['Trefle de Habenicht', '3', 'a', '1+cos(a*t)+(sin(a*t)*sin(a*t))', 't', '0', '2*pi', '0.01', '1']
diff --git a/WorkFeature/Ressources/Parametric3D.dat b/WorkFeature/Ressources/Parametric3D.dat
new file mode 100644
index 0000000..7a89a75
--- /dev/null
+++ b/WorkFeature/Ressources/Parametric3D.dat
@@ -0,0 +1,20 @@
+Name, a (t), b (a,t),c (a,b,t), X (a,b,c,t), Y (a,b,c,t), Z (a,b,c,t), tmin, tmax, tstep
+['Cylindrical helix', '10 # Radius', '10*0.05 #Vert. step', '1 # +-1 direction of rotation ', 'a*cos(t)', 'c*a*sin(t)', 'b*t', '0.0', '5*2*pi #5 circles', '0.01']
+['Circle with Teeth', '37', '1', '(a+cos(a*t)*2)*b', 'c*cos(t)', 'c*sin(t)', '0', '0.0', '2*pi', '0.01']
+['Seam of a tennis ball', '5', '5', '2*(sqrt(a*b))', 'a*(cos(t))+b*(cos(3*t))', 'a*(sin(t))-b*(sin(3*t))', 'c*(sin(2*t))', '0.0', '2*pi', '0.05*pi']
+['Archytas curve part1', '10', '0', '0', 'a*(cos(t)*cos(t))', 'a*(cos(t)*sin(t))', 'a*(sqrt((1-cos(t))*cos(t)))', '-1*pi/2', '+1*pi/2', '0.005*pi']
+['Archytas curve part2', '10', '0', '0', 'a*(cos(t)*cos(t))', 'a*(cos(t)*sin(t))', '-a*(sqrt((1-cos(t))*cos(t)))', '-1*pi/2', '+1*pi/2', '0.005*pi']
+['Conical helix', '25', '20', 'sin(a)*cos(b)/sin(b)', 'a*exp(c*t)*cos(t)', 'a*exp(c*t)*sin(t)', '-1*exp(c*t)*cos(a)/sin(a)', '0.0', '10*2*pi', '0.01']
+['Tangentoidal crown', '37', '1', '1 ', 'a*cos(t)', 'a*sin(t)', 'b*tan(c*t/2)', '0.0', '2*pi', '0.01']
+['Clelia', '10', '0', '20', 'a*cos(c*t)*cos(t)', 'a*cos(c*t)*sin(t)', 'a*sin(c*t)', '0.0', '2*pi', '0.01']
+['Cylindric sine wave', '25', '10', '5 #c>0', 'a*cos(t)', 'a*sin(t)', 'b*cos(c*t)', '0.0', '10*pi', '0.01']
+['Skew circle', '10', '0', '0', '-a*cos(t)*( 1-(pow(cos(t),2)/3) )', '-a*sin(t) *( 1+(sin(2*t)/3) ) ', 'a*(t/2 +(pow(sin(t),2))/4)', '0.01', '10*pi', '0.01']
+['Egg with Teeth', '1', '1', '(a+cos(a*t)*2)*b', 'c*cos(t)*c', 'c*sin(t)', '0', '0.0', '2*pi', '0.01']
+['Flower', '6.2', '3.1*t', '2', 'a*sin(t)-c*sin(b)', 'a*cos(t)-c*cos(b)', '0', '0.0', '10*2*pi', '0.1']
+['Bicylindrical', '5 # Radius of Cyl 1', '5 # Radius of Cyl 2', '0 # Axis distance', 'a*cos(t)', 'sqrt(b*b-pow(2*c+a*sin(t),2))', 'c+a*sin(t)', '0', '2*pi', '0.01']
+['Bicylindrical eight curved', '5 # Radius of Cyl 1', '10 # Radius of Cyl 2', '2.5 # Axis distance', 'a*cos(t)', '-sqrt(b*b-pow(2*c+a*sin(t),2))', 'c+a*sin(t)', '-pi', 'pi', '0.01']
+['Bicylindrical C small', '5 # Radius of Cyl 1', '5 # Radius of Cyl 2', '1.5 # Axis distance', 'a*cos(t)', '-sqrt(abs(b*b-pow(2*c+a*sin(t),2)))', 'c+a*sin(t)', '-pi', 'pi', '0.01']
+['Horopter', '20 # Radius', '10', 'tan(t/2)', '(2*a)/(1+c*c)', 'b*c', 'c*(2*a)/(1+c*c)', '-pi+0.01', 'pi-0.01', '0.01']
+['3D Lissajous', '10 ', '10', '0', 'a*cos(3*t)', 'a*sin(2*t)', 'b*sin(7*t)', '0.0', '2*pi', '0.01']
+['Trefoil knot', '10', '0', '1 #-1 senestre', 'a*(cos(t)+2*cos(2*t))', 'a*(sin(t)-2*sin(2*t))', 'a*2*c*sin(3*t)', '0.0', '2*pi', '0.01']
+['Nfoil knot', '10', '10 #number of foils', '1 #-1 senestre', 'a*(cos(t)+2*cos((b-1)*t))', 'a*(sin(t)-2*sin((b-1)*t))', 'a*2*c*sin(b*t)', '0.0', '2*pi', '0.01']
diff --git a/WorkFeature/Ui/WFGui_2015.py b/WorkFeature/Ui/WFGui_2015.py
new file mode 100644
index 0000000..f04e200
--- /dev/null
+++ b/WorkFeature/Ui/WFGui_2015.py
@@ -0,0 +1,3309 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'WFGui_2015.ui'
+#
+# Created: Wed Nov 4 07:10:00 2015
+# by: PySide UI code generator 4.11.2
+#
+# WARNING! All changes made in this file will be lost!
+
+from PySide import QtCore, QtGui
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(382, 845)
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_wf.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ Form.setWindowIcon(icon)
+ self.gridLayout_34 = QtGui.QGridLayout(Form)
+ self.gridLayout_34.setObjectName(_fromUtf8("gridLayout_34"))
+ self.scrollArea = QtGui.QScrollArea(Form)
+ self.scrollArea.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.scrollArea.setFrameShadow(QtGui.QFrame.Sunken)
+ self.scrollArea.setLineWidth(1)
+ self.scrollArea.setMidLineWidth(0)
+ self.scrollArea.setWidgetResizable(True)
+ self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
+ self.scrollAreaWidgetContents = QtGui.QWidget()
+ self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 362, 786))
+ self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+ self.gridLayout_128 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
+ self.gridLayout_128.setObjectName(_fromUtf8("gridLayout_128"))
+ self.tabWidget_7 = QtGui.QTabWidget(self.scrollAreaWidgetContents)
+ self.tabWidget_7.setMinimumSize(QtCore.QSize(0, 0))
+ self.tabWidget_7.setTabPosition(QtGui.QTabWidget.West)
+ self.tabWidget_7.setObjectName(_fromUtf8("tabWidget_7"))
+ self.Origin_Tab_2 = QtGui.QWidget()
+ self.Origin_Tab_2.setObjectName(_fromUtf8("Origin_Tab_2"))
+ self.gridLayout_65 = QtGui.QGridLayout(self.Origin_Tab_2)
+ self.gridLayout_65.setObjectName(_fromUtf8("gridLayout_65"))
+ self.button_origin = QtGui.QPushButton(self.Origin_Tab_2)
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Axes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_origin.setIcon(icon1)
+ self.button_origin.setIconSize(QtCore.QSize(32, 32))
+ self.button_origin.setObjectName(_fromUtf8("button_origin"))
+ self.gridLayout_65.addWidget(self.button_origin, 0, 0, 1, 1)
+ self.frame_6 = QtGui.QFrame(self.Origin_Tab_2)
+ self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_6.setObjectName(_fromUtf8("frame_6"))
+ self.gridLayout_66 = QtGui.QGridLayout(self.frame_6)
+ self.gridLayout_66.setObjectName(_fromUtf8("gridLayout_66"))
+ self.groupBox_13 = QtGui.QGroupBox(self.frame_6)
+ self.groupBox_13.setObjectName(_fromUtf8("groupBox_13"))
+ self.gridLayout_67 = QtGui.QGridLayout(self.groupBox_13)
+ self.gridLayout_67.setObjectName(_fromUtf8("gridLayout_67"))
+ self.radioButton_verbose = QtGui.QRadioButton(self.groupBox_13)
+ self.radioButton_verbose.setChecked(False)
+ self.radioButton_verbose.setAutoExclusive(False)
+ self.radioButton_verbose.setObjectName(_fromUtf8("radioButton_verbose"))
+ self.gridLayout_67.addWidget(self.radioButton_verbose, 0, 0, 1, 1)
+ self.radioButton_biColor = QtGui.QRadioButton(self.groupBox_13)
+ self.radioButton_biColor.setAutoExclusive(False)
+ self.radioButton_biColor.setObjectName(_fromUtf8("radioButton_biColor"))
+ self.gridLayout_67.addWidget(self.radioButton_biColor, 1, 0, 1, 1)
+ self.radioButton_copy = QtGui.QRadioButton(self.groupBox_13)
+ self.radioButton_copy.setObjectName(_fromUtf8("radioButton_copy"))
+ self.gridLayout_67.addWidget(self.radioButton_copy, 2, 0, 1, 1)
+ self.horizontalLayout_44 = QtGui.QHBoxLayout()
+ self.horizontalLayout_44.setObjectName(_fromUtf8("horizontalLayout_44"))
+ self.label_10 = QtGui.QLabel(self.groupBox_13)
+ self.label_10.setObjectName(_fromUtf8("label_10"))
+ self.horizontalLayout_44.addWidget(self.label_10)
+ self.tolerance_edit = QtGui.QLineEdit(self.groupBox_13)
+ self.tolerance_edit.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.tolerance_edit.setObjectName(_fromUtf8("tolerance_edit"))
+ self.horizontalLayout_44.addWidget(self.tolerance_edit)
+ self.gridLayout_67.addLayout(self.horizontalLayout_44, 3, 0, 1, 1)
+ self.gridLayout_66.addWidget(self.groupBox_13, 0, 0, 1, 1)
+ self.gridLayout_65.addWidget(self.frame_6, 1, 0, 1, 1)
+ spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_65.addItem(spacerItem, 2, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Origin_Tab_2, icon1, _fromUtf8(""))
+ self.Point_Tab1_2 = QtGui.QWidget()
+ self.Point_Tab1_2.setObjectName(_fromUtf8("Point_Tab1_2"))
+ self.gridLayout_68 = QtGui.QGridLayout(self.Point_Tab1_2)
+ self.gridLayout_68.setObjectName(_fromUtf8("gridLayout_68"))
+ spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_68.addItem(spacerItem1, 10, 0, 1, 1)
+ self.button_circle_center = QtGui.QPushButton(self.Point_Tab1_2)
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerCirclePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_circle_center.setIcon(icon2)
+ self.button_circle_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_circle_center.setObjectName(_fromUtf8("button_circle_center"))
+ self.gridLayout_68.addWidget(self.button_circle_center, 4, 0, 1, 1)
+ self.button_point_line_point = QtGui.QPushButton(self.Point_Tab1_2)
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_line_point.setIcon(icon3)
+ self.button_point_line_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_line_point.setObjectName(_fromUtf8("button_point_line_point"))
+ self.gridLayout_68.addWidget(self.button_point_line_point, 9, 0, 1, 1)
+ self.button_face_center = QtGui.QPushButton(self.Point_Tab1_2)
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_center.setIcon(icon4)
+ self.button_face_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_face_center.setObjectName(_fromUtf8("button_face_center"))
+ self.gridLayout_68.addWidget(self.button_face_center, 5, 0, 1, 1)
+ self.horizontalLayout_45 = QtGui.QHBoxLayout()
+ self.horizontalLayout_45.setObjectName(_fromUtf8("horizontalLayout_45"))
+ self.button_line_center = QtGui.QPushButton(self.Point_Tab1_2)
+ self.button_line_center.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon5 = QtGui.QIcon()
+ icon5.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_center.setIcon(icon5)
+ self.button_line_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_center.setObjectName(_fromUtf8("button_line_center"))
+ self.horizontalLayout_45.addWidget(self.button_line_center)
+ self.spin_line_center = QtGui.QSpinBox(self.Point_Tab1_2)
+ self.spin_line_center.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_line_center.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_line_center.setMinimum(2)
+ self.spin_line_center.setMaximum(100)
+ self.spin_line_center.setSingleStep(1)
+ self.spin_line_center.setObjectName(_fromUtf8("spin_line_center"))
+ self.horizontalLayout_45.addWidget(self.spin_line_center)
+ self.gridLayout_68.addLayout(self.horizontalLayout_45, 2, 0, 1, 1)
+ self.button_Npoints_center = QtGui.QPushButton(self.Point_Tab1_2)
+ icon6 = QtGui.QIcon()
+ icon6.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_NpointsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_Npoints_center.setIcon(icon6)
+ self.button_Npoints_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_Npoints_center.setObjectName(_fromUtf8("button_Npoints_center"))
+ self.gridLayout_68.addWidget(self.button_Npoints_center, 1, 0, 1, 1)
+ self.button_line_face_point = QtGui.QPushButton(self.Point_Tab1_2)
+ icon7 = QtGui.QIcon()
+ icon7.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_face_point.setIcon(icon7)
+ self.button_line_face_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_face_point.setObjectName(_fromUtf8("button_line_face_point"))
+ self.gridLayout_68.addWidget(self.button_line_face_point, 6, 0, 1, 1)
+ self.horizontalLayout_46 = QtGui.QHBoxLayout()
+ self.horizontalLayout_46.setObjectName(_fromUtf8("horizontalLayout_46"))
+ self.button_object_center = QtGui.QPushButton(self.Point_Tab1_2)
+ icon8 = QtGui.QIcon()
+ icon8.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_center.setIcon(icon8)
+ self.button_object_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_object_center.setObjectName(_fromUtf8("button_object_center"))
+ self.horizontalLayout_46.addWidget(self.button_object_center)
+ self.checkBox_object_center = QtGui.QCheckBox(self.Point_Tab1_2)
+ self.checkBox_object_center.setObjectName(_fromUtf8("checkBox_object_center"))
+ self.horizontalLayout_46.addWidget(self.checkBox_object_center)
+ self.gridLayout_68.addLayout(self.horizontalLayout_46, 0, 0, 1, 1)
+ self.button_line_extrema = QtGui.QPushButton(self.Point_Tab1_2)
+ icon9 = QtGui.QIcon()
+ icon9.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_extremaLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_extrema.setIcon(icon9)
+ self.button_line_extrema.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_extrema.setObjectName(_fromUtf8("button_line_extrema"))
+ self.gridLayout_68.addWidget(self.button_line_extrema, 3, 0, 1, 1)
+ self.button_point_face_point = QtGui.QPushButton(self.Point_Tab1_2)
+ icon10 = QtGui.QIcon()
+ icon10.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_face_point.setIcon(icon10)
+ self.button_point_face_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_face_point.setObjectName(_fromUtf8("button_point_face_point"))
+ self.gridLayout_68.addWidget(self.button_point_face_point, 8, 0, 1, 1)
+ icon11 = QtGui.QIcon()
+ icon11.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_point.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Point_Tab1_2, icon11, _fromUtf8(""))
+ self.Point_Tab2_2 = QtGui.QWidget()
+ self.Point_Tab2_2.setObjectName(_fromUtf8("Point_Tab2_2"))
+ self.gridLayout_70 = QtGui.QGridLayout(self.Point_Tab2_2)
+ self.gridLayout_70.setObjectName(_fromUtf8("gridLayout_70"))
+ self.button_twolines_point = QtGui.QPushButton(self.Point_Tab2_2)
+ icon12 = QtGui.QIcon()
+ icon12.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twolines_point.setIcon(icon12)
+ self.button_twolines_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_twolines_point.setObjectName(_fromUtf8("button_twolines_point"))
+ self.gridLayout_70.addWidget(self.button_twolines_point, 0, 0, 1, 1)
+ self.horizontalLayout_47 = QtGui.QHBoxLayout()
+ self.horizontalLayout_47.setSizeConstraint(QtGui.QLayout.SetFixedSize)
+ self.horizontalLayout_47.setObjectName(_fromUtf8("horizontalLayout_47"))
+ self.button_point_on_line = QtGui.QPushButton(self.Point_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_point_on_line.sizePolicy().hasHeightForWidth())
+ self.button_point_on_line.setSizePolicy(sizePolicy)
+ self.button_point_on_line.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon13 = QtGui.QIcon()
+ icon13.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_alongLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_on_line.setIcon(icon13)
+ self.button_point_on_line.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_on_line.setObjectName(_fromUtf8("button_point_on_line"))
+ self.horizontalLayout_47.addWidget(self.button_point_on_line)
+ self.distance_point_on_line = QtGui.QLineEdit(self.Point_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.distance_point_on_line.sizePolicy().hasHeightForWidth())
+ self.distance_point_on_line.setSizePolicy(sizePolicy)
+ self.distance_point_on_line.setMinimumSize(QtCore.QSize(50, 0))
+ self.distance_point_on_line.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.distance_point_on_line.setObjectName(_fromUtf8("distance_point_on_line"))
+ self.horizontalLayout_47.addWidget(self.distance_point_on_line)
+ self.gridLayout_70.addLayout(self.horizontalLayout_47, 1, 0, 1, 1)
+ self.horizontalLayout_48 = QtGui.QHBoxLayout()
+ self.horizontalLayout_48.setObjectName(_fromUtf8("horizontalLayout_48"))
+ self.button_distPoint = QtGui.QPushButton(self.Point_Tab2_2)
+ icon14 = QtGui.QIcon()
+ icon14.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPointPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distPoint.setIcon(icon14)
+ self.button_distPoint.setIconSize(QtCore.QSize(32, 32))
+ self.button_distPoint.setObjectName(_fromUtf8("button_distPoint"))
+ self.horizontalLayout_48.addWidget(self.button_distPoint)
+ self.dist_point = QtGui.QLineEdit(self.Point_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.dist_point.sizePolicy().hasHeightForWidth())
+ self.dist_point.setSizePolicy(sizePolicy)
+ self.dist_point.setMinimumSize(QtCore.QSize(40, 0))
+ self.dist_point.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.dist_point.setObjectName(_fromUtf8("dist_point"))
+ self.horizontalLayout_48.addWidget(self.dist_point)
+ self.spin_dist_point = QtGui.QSpinBox(self.Point_Tab2_2)
+ self.spin_dist_point.setMinimumSize(QtCore.QSize(30, 0))
+ self.spin_dist_point.setMaximumSize(QtCore.QSize(30, 16777215))
+ self.spin_dist_point.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
+ self.spin_dist_point.setKeyboardTracking(False)
+ self.spin_dist_point.setMinimum(1)
+ self.spin_dist_point.setMaximum(100)
+ self.spin_dist_point.setSingleStep(1)
+ self.spin_dist_point.setProperty("value", 1)
+ self.spin_dist_point.setObjectName(_fromUtf8("spin_dist_point"))
+ self.horizontalLayout_48.addWidget(self.spin_dist_point)
+ self.gridLayout_70.addLayout(self.horizontalLayout_48, 2, 0, 1, 1)
+ self.horizontalLayout_49 = QtGui.QHBoxLayout()
+ self.horizontalLayout_49.setObjectName(_fromUtf8("horizontalLayout_49"))
+ self.button_cut_wire_point = QtGui.QPushButton(self.Point_Tab2_2)
+ self.button_cut_wire_point.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon15 = QtGui.QIcon()
+ icon15.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWirePoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_wire_point.setIcon(icon15)
+ self.button_cut_wire_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_cut_wire_point.setObjectName(_fromUtf8("button_cut_wire_point"))
+ self.horizontalLayout_49.addWidget(self.button_cut_wire_point)
+ self.spin_wire_cut_point = QtGui.QSpinBox(self.Point_Tab2_2)
+ self.spin_wire_cut_point.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_wire_cut_point.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_wire_cut_point.setMinimum(2)
+ self.spin_wire_cut_point.setMaximum(100)
+ self.spin_wire_cut_point.setSingleStep(1)
+ self.spin_wire_cut_point.setObjectName(_fromUtf8("spin_wire_cut_point"))
+ self.horizontalLayout_49.addWidget(self.spin_wire_cut_point)
+ self.gridLayout_70.addLayout(self.horizontalLayout_49, 3, 0, 1, 1)
+ self.button_click_for_point = QtGui.QRadioButton(self.Point_Tab2_2)
+ icon16 = QtGui.QIcon()
+ icon16.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_point.setIcon(icon16)
+ self.button_click_for_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_click_for_point.setCheckable(True)
+ self.button_click_for_point.setObjectName(_fromUtf8("button_click_for_point"))
+ self.gridLayout_70.addWidget(self.button_click_for_point, 4, 0, 1, 1)
+ self.button_object_base_point = QtGui.QPushButton(self.Point_Tab2_2)
+ icon17 = QtGui.QIcon()
+ icon17.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectBasePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_base_point.setIcon(icon17)
+ self.button_object_base_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_object_base_point.setObjectName(_fromUtf8("button_object_base_point"))
+ self.gridLayout_70.addWidget(self.button_object_base_point, 5, 0, 1, 1)
+ self.button_point_to_sketch = QtGui.QPushButton(self.Point_Tab2_2)
+ icon18 = QtGui.QIcon()
+ icon18.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2Sketch.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_to_sketch.setIcon(icon18)
+ self.button_point_to_sketch.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_to_sketch.setObjectName(_fromUtf8("button_point_to_sketch"))
+ self.gridLayout_70.addWidget(self.button_point_to_sketch, 6, 0, 1, 1)
+ spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_70.addItem(spacerItem2, 7, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Point_Tab2_2, icon11, _fromUtf8(""))
+ self.Axis_Tab1_2 = QtGui.QWidget()
+ self.Axis_Tab1_2.setObjectName(_fromUtf8("Axis_Tab1_2"))
+ self.gridLayout_4 = QtGui.QGridLayout(self.Axis_Tab1_2)
+ self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
+ self.button_object_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon19 = QtGui.QIcon()
+ icon19.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_axis.setIcon(icon19)
+ self.button_object_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_object_axis.setObjectName(_fromUtf8("button_object_axis"))
+ self.gridLayout_4.addWidget(self.button_object_axis, 0, 0, 1, 1)
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_twopoints_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_twopoints_axis.sizePolicy().hasHeightForWidth())
+ self.button_twopoints_axis.setSizePolicy(sizePolicy)
+ self.button_twopoints_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon20 = QtGui.QIcon()
+ icon20.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2pointsLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twopoints_axis.setIcon(icon20)
+ self.button_twopoints_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_twopoints_axis.setObjectName(_fromUtf8("button_twopoints_axis"))
+ self.horizontalLayout.addWidget(self.button_twopoints_axis)
+ self.extension_twopoints_axis = QtGui.QLineEdit(self.Axis_Tab1_2)
+ self.extension_twopoints_axis.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.extension_twopoints_axis.setObjectName(_fromUtf8("extension_twopoints_axis"))
+ self.horizontalLayout.addWidget(self.extension_twopoints_axis)
+ self.gridLayout_4.addLayout(self.horizontalLayout, 1, 0, 1, 1)
+ self.button_Npoints_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon21 = QtGui.QIcon()
+ icon21.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_NpointsLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_Npoints_axis.setIcon(icon21)
+ self.button_Npoints_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_Npoints_axis.setObjectName(_fromUtf8("button_Npoints_axis"))
+ self.gridLayout_4.addWidget(self.button_Npoints_axis, 2, 0, 1, 1)
+ self.horizontalLayout_51 = QtGui.QHBoxLayout()
+ self.horizontalLayout_51.setObjectName(_fromUtf8("horizontalLayout_51"))
+ self.verticalLayout_3 = QtGui.QVBoxLayout()
+ self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
+ self.button_cylinder_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ self.button_cylinder_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon22 = QtGui.QIcon()
+ icon22.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinderAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cylinder_axis.setIcon(icon22)
+ self.button_cylinder_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_cylinder_axis.setObjectName(_fromUtf8("button_cylinder_axis"))
+ self.verticalLayout_3.addWidget(self.button_cylinder_axis)
+ self.button_plane_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ self.button_plane_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon23 = QtGui.QIcon()
+ icon23.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_plane_axis.setIcon(icon23)
+ self.button_plane_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_plane_axis.setObjectName(_fromUtf8("button_plane_axis"))
+ self.verticalLayout_3.addWidget(self.button_plane_axis)
+ self.button_face_normal = QtGui.QPushButton(self.Axis_Tab1_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_face_normal.sizePolicy().hasHeightForWidth())
+ self.button_face_normal.setSizePolicy(sizePolicy)
+ self.button_face_normal.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon24 = QtGui.QIcon()
+ icon24.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceNormal.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_normal.setIcon(icon24)
+ self.button_face_normal.setIconSize(QtCore.QSize(32, 32))
+ self.button_face_normal.setObjectName(_fromUtf8("button_face_normal"))
+ self.verticalLayout_3.addWidget(self.button_face_normal)
+ self.horizontalLayout_51.addLayout(self.verticalLayout_3)
+ self.frame_8 = QtGui.QFrame(self.Axis_Tab1_2)
+ self.frame_8.setMinimumSize(QtCore.QSize(60, 0))
+ self.frame_8.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.frame_8.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_8.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_8.setObjectName(_fromUtf8("frame_8"))
+ self.gridLayout_72 = QtGui.QGridLayout(self.frame_8)
+ self.gridLayout_72.setObjectName(_fromUtf8("gridLayout_72"))
+ self.extension_face_normal = QtGui.QLineEdit(self.frame_8)
+ self.extension_face_normal.setMinimumSize(QtCore.QSize(40, 0))
+ self.extension_face_normal.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.extension_face_normal.setObjectName(_fromUtf8("extension_face_normal"))
+ self.gridLayout_72.addWidget(self.extension_face_normal, 0, 0, 1, 1)
+ self.horizontalLayout_51.addWidget(self.frame_8)
+ self.gridLayout_4.addLayout(self.horizontalLayout_51, 3, 0, 1, 1)
+ self.horizontalLayout_52 = QtGui.QHBoxLayout()
+ self.horizontalLayout_52.setObjectName(_fromUtf8("horizontalLayout_52"))
+ self.button_point_line_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ self.button_point_line_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon25 = QtGui.QIcon()
+ icon25.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLineAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_line_axis.setIcon(icon25)
+ self.button_point_line_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_line_axis.setObjectName(_fromUtf8("button_point_line_axis"))
+ self.horizontalLayout_52.addWidget(self.button_point_line_axis)
+ self.extension_line = QtGui.QLineEdit(self.Axis_Tab1_2)
+ self.extension_line.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.extension_line.setObjectName(_fromUtf8("extension_line"))
+ self.horizontalLayout_52.addWidget(self.extension_line)
+ self.point_loc_comboBox = QtGui.QComboBox(self.Axis_Tab1_2)
+ self.point_loc_comboBox.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.point_loc_comboBox.setObjectName(_fromUtf8("point_loc_comboBox"))
+ self.point_loc_comboBox.addItem(_fromUtf8(""))
+ self.point_loc_comboBox.addItem(_fromUtf8(""))
+ self.point_loc_comboBox.addItem(_fromUtf8(""))
+ self.horizontalLayout_52.addWidget(self.point_loc_comboBox)
+ self.gridLayout_4.addLayout(self.horizontalLayout_52, 4, 0, 1, 1)
+ self.horizontalLayout_53 = QtGui.QHBoxLayout()
+ self.horizontalLayout_53.setObjectName(_fromUtf8("horizontalLayout_53"))
+ self.button_line_point_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_line_point_axis.sizePolicy().hasHeightForWidth())
+ self.button_line_point_axis.setSizePolicy(sizePolicy)
+ self.button_line_point_axis.setMinimumSize(QtCore.QSize(0, 0))
+ self.button_line_point_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon26 = QtGui.QIcon()
+ icon26.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_point_axis.setIcon(icon26)
+ self.button_line_point_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_point_axis.setObjectName(_fromUtf8("button_line_point_axis"))
+ self.horizontalLayout_53.addWidget(self.button_line_point_axis)
+ self.extension_line_point_axis = QtGui.QLineEdit(self.Axis_Tab1_2)
+ self.extension_line_point_axis.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.extension_line_point_axis.setObjectName(_fromUtf8("extension_line_point_axis"))
+ self.horizontalLayout_53.addWidget(self.extension_line_point_axis)
+ self.gridLayout_4.addLayout(self.horizontalLayout_53, 5, 0, 1, 1)
+ self.button_twolines_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon27 = QtGui.QIcon()
+ icon27.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_twoLinesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twolines_axis.setIcon(icon27)
+ self.button_twolines_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_twolines_axis.setObjectName(_fromUtf8("button_twolines_axis"))
+ self.gridLayout_4.addWidget(self.button_twolines_axis, 6, 0, 1, 1)
+ self.button_plane_point_line_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon28 = QtGui.QIcon()
+ icon28.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_plane_point_line_axis.setIcon(icon28)
+ self.button_plane_point_line_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_plane_point_line_axis.setObjectName(_fromUtf8("button_plane_point_line_axis"))
+ self.gridLayout_4.addWidget(self.button_plane_point_line_axis, 7, 0, 1, 1)
+ spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_4.addItem(spacerItem3, 8, 0, 1, 1)
+ icon29 = QtGui.QIcon()
+ icon29.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_axis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Axis_Tab1_2, icon29, _fromUtf8(""))
+ self.Axis_Tab2_2 = QtGui.QWidget()
+ self.Axis_Tab2_2.setObjectName(_fromUtf8("Axis_Tab2_2"))
+ self.gridLayout_73 = QtGui.QGridLayout(self.Axis_Tab2_2)
+ self.gridLayout_73.setObjectName(_fromUtf8("gridLayout_73"))
+ self.button_line_plane_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon30 = QtGui.QIcon()
+ icon30.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePlaneAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_plane_axis.setIcon(icon30)
+ self.button_line_plane_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_plane_axis.setObjectName(_fromUtf8("button_line_plane_axis"))
+ self.gridLayout_73.addWidget(self.button_line_plane_axis, 0, 0, 1, 1)
+ self.button_twoplanes_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon31 = QtGui.QIcon()
+ icon31.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2PlanesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twoplanes_axis.setIcon(icon31)
+ self.button_twoplanes_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_twoplanes_axis.setObjectName(_fromUtf8("button_twoplanes_axis"))
+ self.gridLayout_73.addWidget(self.button_twoplanes_axis, 1, 0, 1, 1)
+ self.horizontalLayout_54 = QtGui.QHBoxLayout()
+ self.horizontalLayout_54.setObjectName(_fromUtf8("horizontalLayout_54"))
+ self.button_distLine = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon32 = QtGui.QIcon()
+ icon32.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distLine.setIcon(icon32)
+ self.button_distLine.setIconSize(QtCore.QSize(32, 32))
+ self.button_distLine.setObjectName(_fromUtf8("button_distLine"))
+ self.horizontalLayout_54.addWidget(self.button_distLine)
+ self.dist_line = QtGui.QLineEdit(self.Axis_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.dist_line.sizePolicy().hasHeightForWidth())
+ self.dist_line.setSizePolicy(sizePolicy)
+ self.dist_line.setMinimumSize(QtCore.QSize(40, 0))
+ self.dist_line.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.dist_line.setObjectName(_fromUtf8("dist_line"))
+ self.horizontalLayout_54.addWidget(self.dist_line)
+ self.spin_dist_line = QtGui.QSpinBox(self.Axis_Tab2_2)
+ self.spin_dist_line.setMinimumSize(QtCore.QSize(30, 0))
+ self.spin_dist_line.setMaximumSize(QtCore.QSize(30, 16777215))
+ self.spin_dist_line.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
+ self.spin_dist_line.setKeyboardTracking(False)
+ self.spin_dist_line.setMinimum(1)
+ self.spin_dist_line.setMaximum(100)
+ self.spin_dist_line.setSingleStep(1)
+ self.spin_dist_line.setProperty("value", 1)
+ self.spin_dist_line.setObjectName(_fromUtf8("spin_dist_line"))
+ self.horizontalLayout_54.addWidget(self.spin_dist_line)
+ self.gridLayout_73.addLayout(self.horizontalLayout_54, 2, 0, 1, 1)
+ self.horizontalLayout_55 = QtGui.QHBoxLayout()
+ self.horizontalLayout_55.setObjectName(_fromUtf8("horizontalLayout_55"))
+ self.button_angleLine = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon33 = QtGui.QIcon()
+ icon33.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_angleLine.setIcon(icon33)
+ self.button_angleLine.setIconSize(QtCore.QSize(32, 32))
+ self.button_angleLine.setObjectName(_fromUtf8("button_angleLine"))
+ self.horizontalLayout_55.addWidget(self.button_angleLine)
+ self.angle_line = QtGui.QLineEdit(self.Axis_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_line.sizePolicy().hasHeightForWidth())
+ self.angle_line.setSizePolicy(sizePolicy)
+ self.angle_line.setMinimumSize(QtCore.QSize(40, 0))
+ self.angle_line.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.angle_line.setObjectName(_fromUtf8("angle_line"))
+ self.horizontalLayout_55.addWidget(self.angle_line)
+ self.spin_angle_line = QtGui.QSpinBox(self.Axis_Tab2_2)
+ self.spin_angle_line.setMinimumSize(QtCore.QSize(30, 0))
+ self.spin_angle_line.setMaximumSize(QtCore.QSize(30, 16777215))
+ self.spin_angle_line.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
+ self.spin_angle_line.setKeyboardTracking(False)
+ self.spin_angle_line.setMinimum(1)
+ self.spin_angle_line.setMaximum(100)
+ self.spin_angle_line.setSingleStep(1)
+ self.spin_angle_line.setProperty("value", 1)
+ self.spin_angle_line.setObjectName(_fromUtf8("spin_angle_line"))
+ self.horizontalLayout_55.addWidget(self.spin_angle_line)
+ self.gridLayout_73.addLayout(self.horizontalLayout_55, 3, 0, 1, 1)
+ self.horizontalLayout_56 = QtGui.QHBoxLayout()
+ self.horizontalLayout_56.setObjectName(_fromUtf8("horizontalLayout_56"))
+ self.button_cut_wire_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ self.button_cut_wire_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon34 = QtGui.QIcon()
+ icon34.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWireAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_wire_axis.setIcon(icon34)
+ self.button_cut_wire_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_cut_wire_axis.setObjectName(_fromUtf8("button_cut_wire_axis"))
+ self.horizontalLayout_56.addWidget(self.button_cut_wire_axis)
+ self.spin_wire_cut_axis = QtGui.QSpinBox(self.Axis_Tab2_2)
+ self.spin_wire_cut_axis.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_wire_cut_axis.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_wire_cut_axis.setMinimum(2)
+ self.spin_wire_cut_axis.setMaximum(100)
+ self.spin_wire_cut_axis.setSingleStep(1)
+ self.spin_wire_cut_axis.setObjectName(_fromUtf8("spin_wire_cut_axis"))
+ self.horizontalLayout_56.addWidget(self.spin_wire_cut_axis)
+ self.gridLayout_73.addLayout(self.horizontalLayout_56, 4, 0, 1, 1)
+ self.horizontalLayout_57 = QtGui.QHBoxLayout()
+ self.horizontalLayout_57.setObjectName(_fromUtf8("horizontalLayout_57"))
+ self.button_cut_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ self.button_cut_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon35 = QtGui.QIcon()
+ icon35.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_axis.setIcon(icon35)
+ self.button_cut_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_cut_axis.setObjectName(_fromUtf8("button_cut_axis"))
+ self.horizontalLayout_57.addWidget(self.button_cut_axis)
+ self.spin_axis_cut = QtGui.QSpinBox(self.Axis_Tab2_2)
+ self.spin_axis_cut.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_axis_cut.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_axis_cut.setMinimum(2)
+ self.spin_axis_cut.setMaximum(100)
+ self.spin_axis_cut.setSingleStep(1)
+ self.spin_axis_cut.setObjectName(_fromUtf8("spin_axis_cut"))
+ self.horizontalLayout_57.addWidget(self.spin_axis_cut)
+ self.gridLayout_73.addLayout(self.horizontalLayout_57, 5, 0, 1, 1)
+ self.horizontalLayout_58 = QtGui.QHBoxLayout()
+ self.horizontalLayout_58.setObjectName(_fromUtf8("horizontalLayout_58"))
+ self.button_extension_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_extension_axis.sizePolicy().hasHeightForWidth())
+ self.button_extension_axis.setSizePolicy(sizePolicy)
+ icon36 = QtGui.QIcon()
+ icon36.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargeLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_extension_axis.setIcon(icon36)
+ self.button_extension_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_extension_axis.setObjectName(_fromUtf8("button_extension_axis"))
+ self.horizontalLayout_58.addWidget(self.button_extension_axis)
+ self.extension_axis = QtGui.QLineEdit(self.Axis_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.extension_axis.sizePolicy().hasHeightForWidth())
+ self.extension_axis.setSizePolicy(sizePolicy)
+ self.extension_axis.setMinimumSize(QtCore.QSize(40, 0))
+ self.extension_axis.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.extension_axis.setObjectName(_fromUtf8("extension_axis"))
+ self.horizontalLayout_58.addWidget(self.extension_axis)
+ self.gridLayout_73.addLayout(self.horizontalLayout_58, 6, 0, 1, 1)
+ self.button_click_for_axis = QtGui.QRadioButton(self.Axis_Tab2_2)
+ icon37 = QtGui.QIcon()
+ icon37.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_axis.setIcon(icon37)
+ self.button_click_for_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_click_for_axis.setObjectName(_fromUtf8("button_click_for_axis"))
+ self.gridLayout_73.addWidget(self.button_click_for_axis, 7, 0, 1, 1)
+ self.button_object_base_axes = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon38 = QtGui.QIcon()
+ icon38.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_baseObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_base_axes.setIcon(icon38)
+ self.button_object_base_axes.setIconSize(QtCore.QSize(32, 32))
+ self.button_object_base_axes.setObjectName(_fromUtf8("button_object_base_axes"))
+ self.gridLayout_73.addWidget(self.button_object_base_axes, 8, 0, 1, 1)
+ self.button_line_to_sketch = QtGui.QPushButton(self.Axis_Tab2_2)
+ self.button_line_to_sketch.setIcon(icon18)
+ self.button_line_to_sketch.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_to_sketch.setObjectName(_fromUtf8("button_line_to_sketch"))
+ self.gridLayout_73.addWidget(self.button_line_to_sketch, 9, 0, 1, 1)
+ spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_73.addItem(spacerItem4, 10, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Axis_Tab2_2, icon29, _fromUtf8(""))
+ self.Wire_Tab_2 = QtGui.QWidget()
+ self.Wire_Tab_2.setObjectName(_fromUtf8("Wire_Tab_2"))
+ self.gridLayout_74 = QtGui.QGridLayout(self.Wire_Tab_2)
+ self.gridLayout_74.setObjectName(_fromUtf8("gridLayout_74"))
+ self.lineEdit = QtGui.QLineEdit(self.Wire_Tab_2)
+ self.lineEdit.setReadOnly(True)
+ self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
+ self.gridLayout_74.addWidget(self.lineEdit, 0, 0, 1, 1)
+ self.tabWidget_8 = QtGui.QTabWidget(self.Wire_Tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.tabWidget_8.sizePolicy().hasHeightForWidth())
+ self.tabWidget_8.setSizePolicy(sizePolicy)
+ self.tabWidget_8.setObjectName(_fromUtf8("tabWidget_8"))
+ self.tab_14 = QtGui.QWidget()
+ self.tab_14.setObjectName(_fromUtf8("tab_14"))
+ self.gridLayout_75 = QtGui.QGridLayout(self.tab_14)
+ self.gridLayout_75.setObjectName(_fromUtf8("gridLayout_75"))
+ self.scrollArea_2 = QtGui.QScrollArea(self.tab_14)
+ self.scrollArea_2.setWidgetResizable(True)
+ self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2"))
+ self.scrollAreaWidgetContents_5 = QtGui.QWidget()
+ self.scrollAreaWidgetContents_5.setGeometry(QtCore.QRect(0, 0, 259, 650))
+ self.scrollAreaWidgetContents_5.setObjectName(_fromUtf8("scrollAreaWidgetContents_5"))
+ self.gridLayout_76 = QtGui.QGridLayout(self.scrollAreaWidgetContents_5)
+ self.gridLayout_76.setObjectName(_fromUtf8("gridLayout_76"))
+ spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_76.addItem(spacerItem5, 7, 0, 1, 1)
+ self.groupBox_14 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_14.setObjectName(_fromUtf8("groupBox_14"))
+ self.gridLayout_77 = QtGui.QGridLayout(self.groupBox_14)
+ self.gridLayout_77.setObjectName(_fromUtf8("gridLayout_77"))
+ self.label_y_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_y_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_y_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_y_3.setObjectName(_fromUtf8("label_y_3"))
+ self.gridLayout_77.addWidget(self.label_y_3, 3, 0, 1, 1)
+ self.ParCurve_a_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_a_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_a_2.setSizePolicy(sizePolicy)
+ self.ParCurve_a_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_a_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_a_2.setMaxLength(32769)
+ self.ParCurve_a_2.setObjectName(_fromUtf8("ParCurve_a_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_a_2, 0, 1, 1, 1)
+ self.label_b_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_b_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_b_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_b_3.setObjectName(_fromUtf8("label_b_3"))
+ self.gridLayout_77.addWidget(self.label_b_3, 1, 0, 1, 1)
+ self.ParCurve_y_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_y_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_y_2.setSizePolicy(sizePolicy)
+ self.ParCurve_y_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_y_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_y_2.setMaxLength(32769)
+ self.ParCurve_y_2.setObjectName(_fromUtf8("ParCurve_y_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_y_2, 3, 1, 1, 1)
+ self.checkBox_polar_2 = QtGui.QCheckBox(self.groupBox_14)
+ self.checkBox_polar_2.setAutoExclusive(True)
+ self.checkBox_polar_2.setObjectName(_fromUtf8("checkBox_polar_2"))
+ self.gridLayout_77.addWidget(self.checkBox_polar_2, 4, 1, 1, 1)
+ self.label_x_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_x_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_x_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_x_3.setObjectName(_fromUtf8("label_x_3"))
+ self.gridLayout_77.addWidget(self.label_x_3, 2, 0, 1, 1)
+ self.ParCurve_x_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_x_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_x_2.setSizePolicy(sizePolicy)
+ self.ParCurve_x_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_x_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_x_2.setMaxLength(32769)
+ self.ParCurve_x_2.setObjectName(_fromUtf8("ParCurve_x_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_x_2, 2, 1, 1, 1)
+ self.label_a_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_a_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_a_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_a_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_a_3.setObjectName(_fromUtf8("label_a_3"))
+ self.gridLayout_77.addWidget(self.label_a_3, 0, 0, 1, 1)
+ self.ParCurve_b_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_b_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_b_2.setSizePolicy(sizePolicy)
+ self.ParCurve_b_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_b_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_b_2.setMaxLength(32769)
+ self.ParCurve_b_2.setObjectName(_fromUtf8("ParCurve_b_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_b_2, 1, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_14, 2, 0, 1, 1)
+ self.horizontalLayout_59 = QtGui.QHBoxLayout()
+ self.horizontalLayout_59.setObjectName(_fromUtf8("horizontalLayout_59"))
+ self.ParCurve_comboBox_2 = QtGui.QComboBox(self.scrollAreaWidgetContents_5)
+ self.ParCurve_comboBox_2.setObjectName(_fromUtf8("ParCurve_comboBox_2"))
+ self.horizontalLayout_59.addWidget(self.ParCurve_comboBox_2)
+ self.ParCurve_button_edit_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_edit_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_edit_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_edit_2.setObjectName(_fromUtf8("ParCurve_button_edit_2"))
+ self.horizontalLayout_59.addWidget(self.ParCurve_button_edit_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_59, 0, 0, 1, 1)
+ self.horizontalLayout_61 = QtGui.QHBoxLayout()
+ self.horizontalLayout_61.setObjectName(_fromUtf8("horizontalLayout_61"))
+ self.checkBox_close_2 = QtGui.QCheckBox(self.scrollAreaWidgetContents_5)
+ self.checkBox_close_2.setEnabled(True)
+ self.checkBox_close_2.setObjectName(_fromUtf8("checkBox_close_2"))
+ self.horizontalLayout_61.addWidget(self.checkBox_close_2)
+ self.checkBox_face_2 = QtGui.QCheckBox(self.scrollAreaWidgetContents_5)
+ self.checkBox_face_2.setEnabled(False)
+ self.checkBox_face_2.setObjectName(_fromUtf8("checkBox_face_2"))
+ self.horizontalLayout_61.addWidget(self.checkBox_face_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_61, 5, 0, 1, 1)
+ self.horizontalLayout_60 = QtGui.QHBoxLayout()
+ self.horizontalLayout_60.setObjectName(_fromUtf8("horizontalLayout_60"))
+ self.label_name_2 = QtGui.QLabel(self.scrollAreaWidgetContents_5)
+ self.label_name_2.setFrameShape(QtGui.QFrame.Box)
+ self.label_name_2.setFrameShadow(QtGui.QFrame.Raised)
+ self.label_name_2.setLineWidth(3)
+ self.label_name_2.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_name_2.setObjectName(_fromUtf8("label_name_2"))
+ self.horizontalLayout_60.addWidget(self.label_name_2)
+ self.ParCurve_name_2 = QtGui.QLineEdit(self.scrollAreaWidgetContents_5)
+ self.ParCurve_name_2.setObjectName(_fromUtf8("ParCurve_name_2"))
+ self.horizontalLayout_60.addWidget(self.ParCurve_name_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_60, 1, 0, 1, 1)
+ self.groupBox_15 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_15.setObjectName(_fromUtf8("groupBox_15"))
+ self.gridLayout_78 = QtGui.QGridLayout(self.groupBox_15)
+ self.gridLayout_78.setObjectName(_fromUtf8("gridLayout_78"))
+ self.label_tmin_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tmin_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmin_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmin_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmin_3.setObjectName(_fromUtf8("label_tmin_3"))
+ self.gridLayout_78.addWidget(self.label_tmin_3, 0, 0, 1, 1)
+ self.ParCurve_tmin_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmin_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmin_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tmin_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmin_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmin_2.setMaxLength(32769)
+ self.ParCurve_tmin_2.setObjectName(_fromUtf8("ParCurve_tmin_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tmin_2, 0, 1, 1, 1)
+ self.label_tmax_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tmax_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmax_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmax_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmax_3.setObjectName(_fromUtf8("label_tmax_3"))
+ self.gridLayout_78.addWidget(self.label_tmax_3, 1, 0, 1, 1)
+ self.ParCurve_tmax_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmax_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmax_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tmax_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmax_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmax_2.setMaxLength(32769)
+ self.ParCurve_tmax_2.setObjectName(_fromUtf8("ParCurve_tmax_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tmax_2, 1, 1, 1, 1)
+ self.label_tstep_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tstep_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tstep_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tstep_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tstep_3.setObjectName(_fromUtf8("label_tstep_3"))
+ self.gridLayout_78.addWidget(self.label_tstep_3, 2, 0, 1, 1)
+ self.ParCurve_tstep_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tstep_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tstep_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tstep_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tstep_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tstep_2.setMaxLength(32769)
+ self.ParCurve_tstep_2.setObjectName(_fromUtf8("ParCurve_tstep_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tstep_2, 2, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_15, 3, 0, 1, 1)
+ self.groupBox_16 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_16.setObjectName(_fromUtf8("groupBox_16"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_16)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.checkBox_points_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_points_2.setAutoExclusive(True)
+ self.checkBox_points_2.setObjectName(_fromUtf8("checkBox_points_2"))
+ self.gridLayout_2.addWidget(self.checkBox_points_2, 0, 0, 1, 1)
+ self.checkBox_polyline_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_polyline_2.setChecked(True)
+ self.checkBox_polyline_2.setAutoExclusive(True)
+ self.checkBox_polyline_2.setObjectName(_fromUtf8("checkBox_polyline_2"))
+ self.gridLayout_2.addWidget(self.checkBox_polyline_2, 0, 1, 1, 1)
+ self.checkBox_bspline_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_bspline_2.setEnabled(True)
+ self.checkBox_bspline_2.setChecked(False)
+ self.checkBox_bspline_2.setAutoExclusive(True)
+ self.checkBox_bspline_2.setObjectName(_fromUtf8("checkBox_bspline_2"))
+ self.gridLayout_2.addWidget(self.checkBox_bspline_2, 1, 0, 1, 1)
+ self.checkBox_bezier_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_bezier_2.setEnabled(True)
+ self.checkBox_bezier_2.setChecked(False)
+ self.checkBox_bezier_2.setAutoExclusive(True)
+ self.checkBox_bezier_2.setObjectName(_fromUtf8("checkBox_bezier_2"))
+ self.gridLayout_2.addWidget(self.checkBox_bezier_2, 1, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_16, 4, 0, 1, 1)
+ self.horizontalLayout_62 = QtGui.QHBoxLayout()
+ self.horizontalLayout_62.setObjectName(_fromUtf8("horizontalLayout_62"))
+ self.ParCurve_button_store_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_store_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_store_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_store_2.setObjectName(_fromUtf8("ParCurve_button_store_2"))
+ self.horizontalLayout_62.addWidget(self.ParCurve_button_store_2)
+ spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_62.addItem(spacerItem6)
+ self.ParCurve_button_apply_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_apply_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_apply_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_apply_2.setObjectName(_fromUtf8("ParCurve_button_apply_2"))
+ self.horizontalLayout_62.addWidget(self.ParCurve_button_apply_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_62, 6, 0, 1, 1)
+ self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_5)
+ self.gridLayout_75.addWidget(self.scrollArea_2, 0, 0, 1, 1)
+ self.tabWidget_8.addTab(self.tab_14, _fromUtf8(""))
+ self.tab_15 = QtGui.QWidget()
+ self.tab_15.setObjectName(_fromUtf8("tab_15"))
+ self.gridLayout_80 = QtGui.QGridLayout(self.tab_15)
+ self.gridLayout_80.setObjectName(_fromUtf8("gridLayout_80"))
+ self.scrollArea_5 = QtGui.QScrollArea(self.tab_15)
+ self.scrollArea_5.setWidgetResizable(True)
+ self.scrollArea_5.setObjectName(_fromUtf8("scrollArea_5"))
+ self.scrollAreaWidgetContents_6 = QtGui.QWidget()
+ self.scrollAreaWidgetContents_6.setGeometry(QtCore.QRect(0, 0, 207, 692))
+ self.scrollAreaWidgetContents_6.setObjectName(_fromUtf8("scrollAreaWidgetContents_6"))
+ self.gridLayout_81 = QtGui.QGridLayout(self.scrollAreaWidgetContents_6)
+ self.gridLayout_81.setObjectName(_fromUtf8("gridLayout_81"))
+ self.horizontalLayout_63 = QtGui.QHBoxLayout()
+ self.horizontalLayout_63.setObjectName(_fromUtf8("horizontalLayout_63"))
+ self.ParCurve_comboBox_3 = QtGui.QComboBox(self.scrollAreaWidgetContents_6)
+ self.ParCurve_comboBox_3.setObjectName(_fromUtf8("ParCurve_comboBox_3"))
+ self.horizontalLayout_63.addWidget(self.ParCurve_comboBox_3)
+ self.ParCurve_button_edit_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_edit_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_edit_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_edit_3.setObjectName(_fromUtf8("ParCurve_button_edit_3"))
+ self.horizontalLayout_63.addWidget(self.ParCurve_button_edit_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_63, 0, 0, 1, 1)
+ self.horizontalLayout_64 = QtGui.QHBoxLayout()
+ self.horizontalLayout_64.setObjectName(_fromUtf8("horizontalLayout_64"))
+ self.label_name_3 = QtGui.QLabel(self.scrollAreaWidgetContents_6)
+ self.label_name_3.setFrameShape(QtGui.QFrame.Box)
+ self.label_name_3.setFrameShadow(QtGui.QFrame.Raised)
+ self.label_name_3.setLineWidth(3)
+ self.label_name_3.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_name_3.setObjectName(_fromUtf8("label_name_3"))
+ self.horizontalLayout_64.addWidget(self.label_name_3)
+ self.ParCurve_name_3 = QtGui.QLineEdit(self.scrollAreaWidgetContents_6)
+ self.ParCurve_name_3.setObjectName(_fromUtf8("ParCurve_name_3"))
+ self.horizontalLayout_64.addWidget(self.ParCurve_name_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_64, 1, 0, 1, 1)
+ self.groupBox_17 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_17.setObjectName(_fromUtf8("groupBox_17"))
+ self.formLayout_3 = QtGui.QFormLayout(self.groupBox_17)
+ self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
+ self.label_a_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_a_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_a_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_a_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_a_4.setObjectName(_fromUtf8("label_a_4"))
+ self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_a_4)
+ self.ParCurve_a_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_a_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_a_3.setSizePolicy(sizePolicy)
+ self.ParCurve_a_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_a_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_a_3.setMaxLength(32769)
+ self.ParCurve_a_3.setObjectName(_fromUtf8("ParCurve_a_3"))
+ self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.ParCurve_a_3)
+ self.label_b_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_b_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_b_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_b_4.setObjectName(_fromUtf8("label_b_4"))
+ self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_b_4)
+ self.ParCurve_b_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_b_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_b_3.setSizePolicy(sizePolicy)
+ self.ParCurve_b_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_b_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_b_3.setMaxLength(32769)
+ self.ParCurve_b_3.setObjectName(_fromUtf8("ParCurve_b_3"))
+ self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.ParCurve_b_3)
+ self.label_c_2 = QtGui.QLabel(self.groupBox_17)
+ self.label_c_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_c_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_c_2.setObjectName(_fromUtf8("label_c_2"))
+ self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_c_2)
+ self.ParCurve_c_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_c_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_c_3.setSizePolicy(sizePolicy)
+ self.ParCurve_c_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_c_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_c_3.setMaxLength(32769)
+ self.ParCurve_c_3.setObjectName(_fromUtf8("ParCurve_c_3"))
+ self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.ParCurve_c_3)
+ self.label_x_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_x_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_x_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_x_4.setObjectName(_fromUtf8("label_x_4"))
+ self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_x_4)
+ self.ParCurve_x_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_x_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_x_3.setSizePolicy(sizePolicy)
+ self.ParCurve_x_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_x_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_x_3.setMaxLength(32769)
+ self.ParCurve_x_3.setObjectName(_fromUtf8("ParCurve_x_3"))
+ self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.ParCurve_x_3)
+ self.label_y_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_y_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_y_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_y_4.setObjectName(_fromUtf8("label_y_4"))
+ self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_y_4)
+ self.label_z_2 = QtGui.QLabel(self.groupBox_17)
+ self.label_z_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_z_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_z_2.setObjectName(_fromUtf8("label_z_2"))
+ self.formLayout_3.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_z_2)
+ self.ParCurve_z_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_z_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_z_3.setSizePolicy(sizePolicy)
+ self.ParCurve_z_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_z_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_z_3.setMaxLength(32769)
+ self.ParCurve_z_3.setObjectName(_fromUtf8("ParCurve_z_3"))
+ self.formLayout_3.setWidget(5, QtGui.QFormLayout.FieldRole, self.ParCurve_z_3)
+ self.ParCurve_y_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_y_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_y_3.setSizePolicy(sizePolicy)
+ self.ParCurve_y_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_y_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_y_3.setMaxLength(32769)
+ self.ParCurve_y_3.setObjectName(_fromUtf8("ParCurve_y_3"))
+ self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.ParCurve_y_3)
+ self.gridLayout_81.addWidget(self.groupBox_17, 2, 0, 1, 1)
+ self.groupBox_18 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_18.setObjectName(_fromUtf8("groupBox_18"))
+ self.gridLayout_82 = QtGui.QGridLayout(self.groupBox_18)
+ self.gridLayout_82.setObjectName(_fromUtf8("gridLayout_82"))
+ self.label_tmin_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tmin_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmin_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmin_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmin_4.setObjectName(_fromUtf8("label_tmin_4"))
+ self.gridLayout_82.addWidget(self.label_tmin_4, 0, 0, 1, 1)
+ self.label_tmax_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tmax_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmax_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmax_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmax_4.setObjectName(_fromUtf8("label_tmax_4"))
+ self.gridLayout_82.addWidget(self.label_tmax_4, 1, 0, 1, 1)
+ self.ParCurve_tmax_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmax_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmax_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tmax_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmax_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmax_3.setMaxLength(32769)
+ self.ParCurve_tmax_3.setObjectName(_fromUtf8("ParCurve_tmax_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tmax_3, 1, 1, 1, 1)
+ self.label_tstep_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tstep_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tstep_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tstep_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tstep_4.setObjectName(_fromUtf8("label_tstep_4"))
+ self.gridLayout_82.addWidget(self.label_tstep_4, 2, 0, 1, 1)
+ self.ParCurve_tstep_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tstep_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tstep_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tstep_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tstep_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tstep_3.setMaxLength(32769)
+ self.ParCurve_tstep_3.setObjectName(_fromUtf8("ParCurve_tstep_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tstep_3, 2, 1, 1, 1)
+ self.ParCurve_tmin_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmin_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmin_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tmin_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmin_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmin_3.setMaxLength(32769)
+ self.ParCurve_tmin_3.setObjectName(_fromUtf8("ParCurve_tmin_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tmin_3, 0, 1, 1, 1)
+ self.gridLayout_81.addWidget(self.groupBox_18, 3, 0, 1, 1)
+ self.groupBox_19 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_19.setObjectName(_fromUtf8("groupBox_19"))
+ self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_19)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.checkBox_points_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_points_3.setAutoExclusive(True)
+ self.checkBox_points_3.setObjectName(_fromUtf8("checkBox_points_3"))
+ self.gridLayout_3.addWidget(self.checkBox_points_3, 0, 0, 1, 1)
+ self.checkBox_polyline_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_polyline_3.setChecked(True)
+ self.checkBox_polyline_3.setAutoExclusive(True)
+ self.checkBox_polyline_3.setObjectName(_fromUtf8("checkBox_polyline_3"))
+ self.gridLayout_3.addWidget(self.checkBox_polyline_3, 0, 1, 1, 1)
+ self.checkBox_bspline_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_bspline_3.setChecked(False)
+ self.checkBox_bspline_3.setAutoExclusive(True)
+ self.checkBox_bspline_3.setObjectName(_fromUtf8("checkBox_bspline_3"))
+ self.gridLayout_3.addWidget(self.checkBox_bspline_3, 1, 0, 1, 1)
+ self.checkBox_bezier_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_bezier_3.setEnabled(True)
+ self.checkBox_bezier_3.setChecked(False)
+ self.checkBox_bezier_3.setAutoExclusive(True)
+ self.checkBox_bezier_3.setObjectName(_fromUtf8("checkBox_bezier_3"))
+ self.gridLayout_3.addWidget(self.checkBox_bezier_3, 1, 1, 1, 1)
+ self.gridLayout_81.addWidget(self.groupBox_19, 4, 0, 1, 1)
+ self.checkBox_close_3 = QtGui.QCheckBox(self.scrollAreaWidgetContents_6)
+ self.checkBox_close_3.setObjectName(_fromUtf8("checkBox_close_3"))
+ self.gridLayout_81.addWidget(self.checkBox_close_3, 5, 0, 1, 1)
+ self.horizontalLayout_65 = QtGui.QHBoxLayout()
+ self.horizontalLayout_65.setObjectName(_fromUtf8("horizontalLayout_65"))
+ self.ParCurve_button_store_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_store_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_store_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_store_3.setObjectName(_fromUtf8("ParCurve_button_store_3"))
+ self.horizontalLayout_65.addWidget(self.ParCurve_button_store_3)
+ spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_65.addItem(spacerItem7)
+ self.ParCurve_button_apply_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_apply_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_apply_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_apply_3.setObjectName(_fromUtf8("ParCurve_button_apply_3"))
+ self.horizontalLayout_65.addWidget(self.ParCurve_button_apply_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_65, 6, 0, 1, 1)
+ spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_81.addItem(spacerItem8, 7, 0, 1, 1)
+ self.scrollArea_5.setWidget(self.scrollAreaWidgetContents_6)
+ self.gridLayout_80.addWidget(self.scrollArea_5, 0, 0, 1, 1)
+ self.tabWidget_8.addTab(self.tab_15, _fromUtf8(""))
+ self.gridLayout_74.addWidget(self.tabWidget_8, 1, 0, 1, 1)
+ icon39 = QtGui.QIcon()
+ icon39.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_wire.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Wire_Tab_2, icon39, _fromUtf8(""))
+ self.tab_16 = QtGui.QWidget()
+ self.tab_16.setObjectName(_fromUtf8("tab_16"))
+ self.gridLayout = QtGui.QGridLayout(self.tab_16)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout_66 = QtGui.QHBoxLayout()
+ self.horizontalLayout_66.setObjectName(_fromUtf8("horizontalLayout_66"))
+ self.button_linecenter_circle = QtGui.QPushButton(self.tab_16)
+ icon40 = QtGui.QIcon()
+ icon40.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineCenterCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_linecenter_circle.setIcon(icon40)
+ self.button_linecenter_circle.setIconSize(QtCore.QSize(32, 32))
+ self.button_linecenter_circle.setObjectName(_fromUtf8("button_linecenter_circle"))
+ self.horizontalLayout_66.addWidget(self.button_linecenter_circle)
+ self.radius_circle = QtGui.QLineEdit(self.tab_16)
+ self.radius_circle.setMinimumSize(QtCore.QSize(40, 0))
+ self.radius_circle.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.radius_circle.setObjectName(_fromUtf8("radius_circle"))
+ self.horizontalLayout_66.addWidget(self.radius_circle)
+ self.gridLayout.addLayout(self.horizontalLayout_66, 0, 0, 1, 1)
+ self.button_linepoint_circle = QtGui.QPushButton(self.tab_16)
+ icon41 = QtGui.QIcon()
+ icon41.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_linepoint_circle.setIcon(icon41)
+ self.button_linepoint_circle.setIconSize(QtCore.QSize(32, 32))
+ self.button_linepoint_circle.setObjectName(_fromUtf8("button_linepoint_circle"))
+ self.gridLayout.addWidget(self.button_linepoint_circle, 1, 0, 1, 1)
+ self.button_3points_circle = QtGui.QPushButton(self.tab_16)
+ icon42 = QtGui.QIcon()
+ icon42.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_3points_circle.setIcon(icon42)
+ self.button_3points_circle.setIconSize(QtCore.QSize(32, 32))
+ self.button_3points_circle.setObjectName(_fromUtf8("button_3points_circle"))
+ self.gridLayout.addWidget(self.button_3points_circle, 2, 0, 1, 1)
+ self.horizontalLayout_67 = QtGui.QHBoxLayout()
+ self.horizontalLayout_67.setObjectName(_fromUtf8("horizontalLayout_67"))
+ self.button_cut_circle = QtGui.QPushButton(self.tab_16)
+ icon43 = QtGui.QIcon()
+ icon43.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_circle.setIcon(icon43)
+ self.button_cut_circle.setIconSize(QtCore.QSize(32, 32))
+ self.button_cut_circle.setObjectName(_fromUtf8("button_cut_circle"))
+ self.horizontalLayout_67.addWidget(self.button_cut_circle)
+ self.spin_circle_cut = QtGui.QSpinBox(self.tab_16)
+ self.spin_circle_cut.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_circle_cut.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_circle_cut.setMinimum(2)
+ self.spin_circle_cut.setMaximum(100)
+ self.spin_circle_cut.setSingleStep(1)
+ self.spin_circle_cut.setObjectName(_fromUtf8("spin_circle_cut"))
+ self.horizontalLayout_67.addWidget(self.spin_circle_cut)
+ self.gridLayout.addLayout(self.horizontalLayout_67, 3, 0, 1, 1)
+ self.button_3points_ellipse = QtGui.QPushButton(self.tab_16)
+ icon44 = QtGui.QIcon()
+ icon44.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsEllipse.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_3points_ellipse.setIcon(icon44)
+ self.button_3points_ellipse.setIconSize(QtCore.QSize(32, 32))
+ self.button_3points_ellipse.setObjectName(_fromUtf8("button_3points_ellipse"))
+ self.gridLayout.addWidget(self.button_3points_ellipse, 4, 0, 1, 1)
+ spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout.addItem(spacerItem9, 5, 0, 1, 1)
+ self.button_circle_to_sketch = QtGui.QPushButton(self.tab_16)
+ self.button_circle_to_sketch.setIcon(icon18)
+ self.button_circle_to_sketch.setIconSize(QtCore.QSize(32, 32))
+ self.button_circle_to_sketch.setObjectName(_fromUtf8("button_circle_to_sketch"))
+ self.gridLayout.addWidget(self.button_circle_to_sketch, 6, 0, 1, 1)
+ spacerItem10 = QtGui.QSpacerItem(20, 121, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout.addItem(spacerItem10, 7, 0, 1, 1)
+ icon45 = QtGui.QIcon()
+ icon45.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_circle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_16, icon45, _fromUtf8(""))
+ self.tab_17 = QtGui.QWidget()
+ self.tab_17.setObjectName(_fromUtf8("tab_17"))
+ self.gridLayout_85 = QtGui.QGridLayout(self.tab_17)
+ self.gridLayout_85.setObjectName(_fromUtf8("gridLayout_85"))
+ self.frame_9 = QtGui.QFrame(self.tab_17)
+ self.frame_9.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_9.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_9.setLineWidth(3)
+ self.frame_9.setObjectName(_fromUtf8("frame_9"))
+ self.gridLayout_86 = QtGui.QGridLayout(self.frame_9)
+ self.gridLayout_86.setObjectName(_fromUtf8("gridLayout_86"))
+ self.gridLayout_87 = QtGui.QGridLayout()
+ self.gridLayout_87.setObjectName(_fromUtf8("gridLayout_87"))
+ self.checkBox_allsubselect = QtGui.QCheckBox(self.frame_9)
+ self.checkBox_allsubselect.setChecked(True)
+ self.checkBox_allsubselect.setObjectName(_fromUtf8("checkBox_allsubselect"))
+ self.gridLayout_87.addWidget(self.checkBox_allsubselect, 2, 0, 1, 1)
+ self.transition_comboBox = QtGui.QComboBox(self.frame_9)
+ self.transition_comboBox.setObjectName(_fromUtf8("transition_comboBox"))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.gridLayout_87.addWidget(self.transition_comboBox, 2, 1, 1, 1)
+ self.checkBox_solid = QtGui.QCheckBox(self.frame_9)
+ self.checkBox_solid.setMinimumSize(QtCore.QSize(9, 0))
+ self.checkBox_solid.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.checkBox_solid.setChecked(True)
+ self.checkBox_solid.setObjectName(_fromUtf8("checkBox_solid"))
+ self.gridLayout_87.addWidget(self.checkBox_solid, 1, 0, 1, 1)
+ self.radioButton_Frenet = QtGui.QRadioButton(self.frame_9)
+ self.radioButton_Frenet.setChecked(True)
+ self.radioButton_Frenet.setAutoExclusive(False)
+ self.radioButton_Frenet.setObjectName(_fromUtf8("radioButton_Frenet"))
+ self.gridLayout_87.addWidget(self.radioButton_Frenet, 1, 1, 1, 1)
+ self.gridLayout_86.addLayout(self.gridLayout_87, 0, 0, 1, 1)
+ self.button_sweep = QtGui.QPushButton(self.frame_9)
+ icon46 = QtGui.QIcon()
+ icon46.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Sweep.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_sweep.setIcon(icon46)
+ self.button_sweep.setIconSize(QtCore.QSize(32, 32))
+ self.button_sweep.setObjectName(_fromUtf8("button_sweep"))
+ self.gridLayout_86.addWidget(self.button_sweep, 1, 0, 1, 1)
+ self.gridLayout_85.addWidget(self.frame_9, 0, 0, 1, 1)
+ spacerItem11 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_85.addItem(spacerItem11, 1, 0, 1, 1)
+ icon47 = QtGui.QIcon()
+ icon47.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Beam.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_17, icon47, _fromUtf8(""))
+ self.Plane_Tab1_3 = QtGui.QWidget()
+ self.Plane_Tab1_3.setObjectName(_fromUtf8("Plane_Tab1_3"))
+ self.gridLayout_88 = QtGui.QGridLayout(self.Plane_Tab1_3)
+ self.gridLayout_88.setObjectName(_fromUtf8("gridLayout_88"))
+ spacerItem12 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_88.addItem(spacerItem12, 9, 0, 1, 1)
+ self.horizontalLayout_68 = QtGui.QHBoxLayout()
+ self.horizontalLayout_68.setObjectName(_fromUtf8("horizontalLayout_68"))
+ self.button_click_for_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_click_for_plane.sizePolicy().hasHeightForWidth())
+ self.button_click_for_plane.setSizePolicy(sizePolicy)
+ icon48 = QtGui.QIcon()
+ icon48.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_plane.setIcon(icon48)
+ self.button_click_for_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_click_for_plane.setObjectName(_fromUtf8("button_click_for_plane"))
+ self.horizontalLayout_68.addWidget(self.button_click_for_plane)
+ self.length_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.length_plane.sizePolicy().hasHeightForWidth())
+ self.length_plane.setSizePolicy(sizePolicy)
+ self.length_plane.setMinimumSize(QtCore.QSize(40, 0))
+ self.length_plane.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.length_plane.setObjectName(_fromUtf8("length_plane"))
+ self.horizontalLayout_68.addWidget(self.length_plane)
+ self.width_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.width_plane.sizePolicy().hasHeightForWidth())
+ self.width_plane.setSizePolicy(sizePolicy)
+ self.width_plane.setMinimumSize(QtCore.QSize(40, 0))
+ self.width_plane.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.width_plane.setObjectName(_fromUtf8("width_plane"))
+ self.horizontalLayout_68.addWidget(self.width_plane)
+ self.gridLayout_88.addLayout(self.horizontalLayout_68, 8, 0, 1, 1)
+ self.gridLayout_89 = QtGui.QGridLayout()
+ self.gridLayout_89.setObjectName(_fromUtf8("gridLayout_89"))
+ self.button_planeandaxis_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_planeandaxis_plane.sizePolicy().hasHeightForWidth())
+ self.button_planeandaxis_plane.setSizePolicy(sizePolicy)
+ icon49 = QtGui.QIcon()
+ icon49.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_planeandaxis_plane.setIcon(icon49)
+ self.button_planeandaxis_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_planeandaxis_plane.setObjectName(_fromUtf8("button_planeandaxis_plane"))
+ self.gridLayout_89.addWidget(self.button_planeandaxis_plane, 0, 0, 1, 1)
+ self.angle_planeandaxis_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_planeandaxis_plane.sizePolicy().hasHeightForWidth())
+ self.angle_planeandaxis_plane.setSizePolicy(sizePolicy)
+ self.angle_planeandaxis_plane.setMinimumSize(QtCore.QSize(40, 0))
+ self.angle_planeandaxis_plane.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.angle_planeandaxis_plane.setObjectName(_fromUtf8("angle_planeandaxis_plane"))
+ self.gridLayout_89.addWidget(self.angle_planeandaxis_plane, 0, 1, 1, 1)
+ self.gridLayout_88.addLayout(self.gridLayout_89, 4, 0, 1, 1)
+ self.button_axisandpoint_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon50 = QtGui.QIcon()
+ icon50.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_axisandpoint_plane.setIcon(icon50)
+ self.button_axisandpoint_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_axisandpoint_plane.setObjectName(_fromUtf8("button_axisandpoint_plane"))
+ self.gridLayout_88.addWidget(self.button_axisandpoint_plane, 1, 0, 1, 1)
+ self.button_axis_point_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon51 = QtGui.QIcon()
+ icon51.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane2.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_axis_point_plane.setIcon(icon51)
+ self.button_axis_point_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_axis_point_plane.setObjectName(_fromUtf8("button_axis_point_plane"))
+ self.gridLayout_88.addWidget(self.button_axis_point_plane, 2, 0, 1, 1)
+ self.horizontalLayout_69 = QtGui.QHBoxLayout()
+ self.horizontalLayout_69.setObjectName(_fromUtf8("horizontalLayout_69"))
+ self.button_face_tangent = QtGui.QPushButton(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_face_tangent.sizePolicy().hasHeightForWidth())
+ self.button_face_tangent.setSizePolicy(sizePolicy)
+ icon52 = QtGui.QIcon()
+ icon52.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceTangent.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_tangent.setIcon(icon52)
+ self.button_face_tangent.setIconSize(QtCore.QSize(32, 32))
+ self.button_face_tangent.setObjectName(_fromUtf8("button_face_tangent"))
+ self.horizontalLayout_69.addWidget(self.button_face_tangent)
+ self.length_plane_2 = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.length_plane_2.sizePolicy().hasHeightForWidth())
+ self.length_plane_2.setSizePolicy(sizePolicy)
+ self.length_plane_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.length_plane_2.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.length_plane_2.setObjectName(_fromUtf8("length_plane_2"))
+ self.horizontalLayout_69.addWidget(self.length_plane_2)
+ self.width_plane_2 = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.width_plane_2.sizePolicy().hasHeightForWidth())
+ self.width_plane_2.setSizePolicy(sizePolicy)
+ self.width_plane_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.width_plane_2.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.width_plane_2.setObjectName(_fromUtf8("width_plane_2"))
+ self.horizontalLayout_69.addWidget(self.width_plane_2)
+ self.gridLayout_88.addLayout(self.horizontalLayout_69, 6, 0, 1, 1)
+ self.button_threepoints_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon53 = QtGui.QIcon()
+ icon53.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_threePointsPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_threepoints_plane.setIcon(icon53)
+ self.button_threepoints_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_threepoints_plane.setObjectName(_fromUtf8("button_threepoints_plane"))
+ self.gridLayout_88.addWidget(self.button_threepoints_plane, 0, 0, 1, 1)
+ self.horizontalLayout_70 = QtGui.QHBoxLayout()
+ self.horizontalLayout_70.setObjectName(_fromUtf8("horizontalLayout_70"))
+ self.button_distPlane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon54 = QtGui.QIcon()
+ icon54.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distPlane.setIcon(icon54)
+ self.button_distPlane.setIconSize(QtCore.QSize(32, 32))
+ self.button_distPlane.setObjectName(_fromUtf8("button_distPlane"))
+ self.horizontalLayout_70.addWidget(self.button_distPlane)
+ self.dist_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.dist_plane.sizePolicy().hasHeightForWidth())
+ self.dist_plane.setSizePolicy(sizePolicy)
+ self.dist_plane.setMinimumSize(QtCore.QSize(40, 0))
+ self.dist_plane.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.dist_plane.setObjectName(_fromUtf8("dist_plane"))
+ self.horizontalLayout_70.addWidget(self.dist_plane)
+ self.spin_dist_plane = QtGui.QSpinBox(self.Plane_Tab1_3)
+ self.spin_dist_plane.setMinimumSize(QtCore.QSize(30, 0))
+ self.spin_dist_plane.setMaximumSize(QtCore.QSize(30, 16777215))
+ self.spin_dist_plane.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
+ self.spin_dist_plane.setKeyboardTracking(False)
+ self.spin_dist_plane.setMinimum(1)
+ self.spin_dist_plane.setMaximum(100)
+ self.spin_dist_plane.setSingleStep(1)
+ self.spin_dist_plane.setProperty("value", 1)
+ self.spin_dist_plane.setObjectName(_fromUtf8("spin_dist_plane"))
+ self.horizontalLayout_70.addWidget(self.spin_dist_plane)
+ self.gridLayout_88.addLayout(self.horizontalLayout_70, 5, 0, 1, 1)
+ self.gridLayout_90 = QtGui.QGridLayout()
+ self.gridLayout_90.setObjectName(_fromUtf8("gridLayout_90"))
+ self.button_planeandpoint_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon55 = QtGui.QIcon()
+ icon55.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_planeandpoint_plane.setIcon(icon55)
+ self.button_planeandpoint_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_planeandpoint_plane.setObjectName(_fromUtf8("button_planeandpoint_plane"))
+ self.gridLayout_90.addWidget(self.button_planeandpoint_plane, 0, 0, 1, 1)
+ self.extension_planePointPlane = QtGui.QLineEdit(self.Plane_Tab1_3)
+ self.extension_planePointPlane.setMinimumSize(QtCore.QSize(40, 0))
+ self.extension_planePointPlane.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.extension_planePointPlane.setObjectName(_fromUtf8("extension_planePointPlane"))
+ self.gridLayout_90.addWidget(self.extension_planePointPlane, 0, 1, 1, 1)
+ self.gridLayout_88.addLayout(self.gridLayout_90, 3, 0, 1, 1)
+ icon56 = QtGui.QIcon()
+ icon56.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_plane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Plane_Tab1_3, icon56, _fromUtf8(""))
+ self.Plane_Tab1_4 = QtGui.QWidget()
+ self.Plane_Tab1_4.setObjectName(_fromUtf8("Plane_Tab1_4"))
+ self.gridLayout_91 = QtGui.QGridLayout(self.Plane_Tab1_4)
+ self.gridLayout_91.setObjectName(_fromUtf8("gridLayout_91"))
+ spacerItem13 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_91.addItem(spacerItem13, 2, 0, 1, 1)
+ self.button_object_center_planes = QtGui.QPushButton(self.Plane_Tab1_4)
+ icon57 = QtGui.QIcon()
+ icon57.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPlanes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_center_planes.setIcon(icon57)
+ self.button_object_center_planes.setIconSize(QtCore.QSize(32, 32))
+ self.button_object_center_planes.setObjectName(_fromUtf8("button_object_center_planes"))
+ self.gridLayout_91.addWidget(self.button_object_center_planes, 1, 0, 1, 1)
+ self.horizontalLayout_71 = QtGui.QHBoxLayout()
+ self.horizontalLayout_71.setObjectName(_fromUtf8("horizontalLayout_71"))
+ self.button_extension_plane = QtGui.QPushButton(self.Plane_Tab1_4)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_extension_plane.sizePolicy().hasHeightForWidth())
+ self.button_extension_plane.setSizePolicy(sizePolicy)
+ icon58 = QtGui.QIcon()
+ icon58.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_extension_plane.setIcon(icon58)
+ self.button_extension_plane.setIconSize(QtCore.QSize(32, 32))
+ self.button_extension_plane.setObjectName(_fromUtf8("button_extension_plane"))
+ self.horizontalLayout_71.addWidget(self.button_extension_plane)
+ self.extension_plane = QtGui.QLineEdit(self.Plane_Tab1_4)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.extension_plane.sizePolicy().hasHeightForWidth())
+ self.extension_plane.setSizePolicy(sizePolicy)
+ self.extension_plane.setMinimumSize(QtCore.QSize(40, 0))
+ self.extension_plane.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.extension_plane.setObjectName(_fromUtf8("extension_plane"))
+ self.horizontalLayout_71.addWidget(self.extension_plane)
+ self.gridLayout_91.addLayout(self.horizontalLayout_71, 0, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Plane_Tab1_4, icon56, _fromUtf8(""))
+ self.Objects_Tab2_2 = QtGui.QWidget()
+ self.Objects_Tab2_2.setEnabled(True)
+ self.Objects_Tab2_2.setMinimumSize(QtCore.QSize(0, 0))
+ self.Objects_Tab2_2.setObjectName(_fromUtf8("Objects_Tab2_2"))
+ self.gridLayout_5 = QtGui.QGridLayout(self.Objects_Tab2_2)
+ self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
+ self.horizontalLayout_72 = QtGui.QHBoxLayout()
+ self.horizontalLayout_72.setObjectName(_fromUtf8("horizontalLayout_72"))
+ self.verticalLayout_4 = QtGui.QVBoxLayout()
+ self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
+ self.button_boundingboxes = QtGui.QPushButton(self.Objects_Tab2_2)
+ self.button_boundingboxes.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon59 = QtGui.QIcon()
+ icon59.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBoxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_boundingboxes.setIcon(icon59)
+ self.button_boundingboxes.setIconSize(QtCore.QSize(32, 32))
+ self.button_boundingboxes.setObjectName(_fromUtf8("button_boundingboxes"))
+ self.verticalLayout_4.addWidget(self.button_boundingboxes)
+ self.button_boundingbox = QtGui.QPushButton(self.Objects_Tab2_2)
+ self.button_boundingbox.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon60 = QtGui.QIcon()
+ icon60.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBox.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_boundingbox.setIcon(icon60)
+ self.button_boundingbox.setIconSize(QtCore.QSize(32, 32))
+ self.button_boundingbox.setObjectName(_fromUtf8("button_boundingbox"))
+ self.verticalLayout_4.addWidget(self.button_boundingbox)
+ self.horizontalLayout_72.addLayout(self.verticalLayout_4)
+ self.checkBox_volumBB = QtGui.QCheckBox(self.Objects_Tab2_2)
+ self.checkBox_volumBB.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.checkBox_volumBB.setObjectName(_fromUtf8("checkBox_volumBB"))
+ self.horizontalLayout_72.addWidget(self.checkBox_volumBB)
+ self.gridLayout_5.addLayout(self.horizontalLayout_72, 0, 0, 1, 1)
+ self.line_2 = QtGui.QFrame(self.Objects_Tab2_2)
+ self.line_2.setFrameShadow(QtGui.QFrame.Plain)
+ self.line_2.setLineWidth(4)
+ self.line_2.setMidLineWidth(0)
+ self.line_2.setFrameShape(QtGui.QFrame.HLine)
+ self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
+ self.line_2.setObjectName(_fromUtf8("line_2"))
+ self.gridLayout_5.addWidget(self.line_2, 1, 0, 1, 1)
+ self.gridLayout_93 = QtGui.QGridLayout()
+ self.gridLayout_93.setObjectName(_fromUtf8("gridLayout_93"))
+ self.button_cylinder_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon61 = QtGui.QIcon()
+ icon61.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinder.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cylinder_create.setIcon(icon61)
+ self.button_cylinder_create.setIconSize(QtCore.QSize(32, 32))
+ self.button_cylinder_create.setObjectName(_fromUtf8("button_cylinder_create"))
+ self.gridLayout_93.addWidget(self.button_cylinder_create, 0, 0, 1, 1)
+ self.diameter_cylinder = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.diameter_cylinder.sizePolicy().hasHeightForWidth())
+ self.diameter_cylinder.setSizePolicy(sizePolicy)
+ self.diameter_cylinder.setMinimumSize(QtCore.QSize(50, 0))
+ self.diameter_cylinder.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.diameter_cylinder.setObjectName(_fromUtf8("diameter_cylinder"))
+ self.gridLayout_93.addWidget(self.diameter_cylinder, 0, 1, 1, 1)
+ self.length_cylinder = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.length_cylinder.sizePolicy().hasHeightForWidth())
+ self.length_cylinder.setSizePolicy(sizePolicy)
+ self.length_cylinder.setMinimumSize(QtCore.QSize(50, 0))
+ self.length_cylinder.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.length_cylinder.setObjectName(_fromUtf8("length_cylinder"))
+ self.gridLayout_93.addWidget(self.length_cylinder, 0, 2, 1, 1)
+ self.gridLayout_5.addLayout(self.gridLayout_93, 2, 0, 1, 1)
+ self.horizontalLayout_73 = QtGui.QHBoxLayout()
+ self.horizontalLayout_73.setObjectName(_fromUtf8("horizontalLayout_73"))
+ self.button_cube_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon62 = QtGui.QIcon()
+ icon62.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cube.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cube_create.setIcon(icon62)
+ self.button_cube_create.setIconSize(QtCore.QSize(32, 32))
+ self.button_cube_create.setObjectName(_fromUtf8("button_cube_create"))
+ self.horizontalLayout_73.addWidget(self.button_cube_create)
+ self.section_cube = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.section_cube.sizePolicy().hasHeightForWidth())
+ self.section_cube.setSizePolicy(sizePolicy)
+ self.section_cube.setMinimumSize(QtCore.QSize(50, 0))
+ self.section_cube.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.section_cube.setObjectName(_fromUtf8("section_cube"))
+ self.horizontalLayout_73.addWidget(self.section_cube)
+ self.height_cube = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.height_cube.sizePolicy().hasHeightForWidth())
+ self.height_cube.setSizePolicy(sizePolicy)
+ self.height_cube.setMinimumSize(QtCore.QSize(50, 0))
+ self.height_cube.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.height_cube.setObjectName(_fromUtf8("height_cube"))
+ self.horizontalLayout_73.addWidget(self.height_cube)
+ self.gridLayout_5.addLayout(self.horizontalLayout_73, 3, 0, 1, 1)
+ self.horizontalLayout_74 = QtGui.QHBoxLayout()
+ self.horizontalLayout_74.setObjectName(_fromUtf8("horizontalLayout_74"))
+ self.button_sphere_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon63 = QtGui.QIcon()
+ icon63.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_sphere.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_sphere_create.setIcon(icon63)
+ self.button_sphere_create.setIconSize(QtCore.QSize(32, 32))
+ self.button_sphere_create.setObjectName(_fromUtf8("button_sphere_create"))
+ self.horizontalLayout_74.addWidget(self.button_sphere_create)
+ self.diameter_sphere = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.diameter_sphere.sizePolicy().hasHeightForWidth())
+ self.diameter_sphere.setSizePolicy(sizePolicy)
+ self.diameter_sphere.setMinimumSize(QtCore.QSize(50, 0))
+ self.diameter_sphere.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.diameter_sphere.setObjectName(_fromUtf8("diameter_sphere"))
+ self.horizontalLayout_74.addWidget(self.diameter_sphere)
+ self.gridLayout_5.addLayout(self.horizontalLayout_74, 4, 0, 1, 1)
+ self.horizontalLayout_77 = QtGui.QHBoxLayout()
+ self.horizontalLayout_77.setObjectName(_fromUtf8("horizontalLayout_77"))
+ self.button_dome_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon64 = QtGui.QIcon()
+ icon64.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_dome.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_dome_create.setIcon(icon64)
+ self.button_dome_create.setIconSize(QtCore.QSize(32, 32))
+ self.button_dome_create.setObjectName(_fromUtf8("button_dome_create"))
+ self.horizontalLayout_77.addWidget(self.button_dome_create)
+ self.spin_frequency_dome = QtGui.QSpinBox(self.Objects_Tab2_2)
+ self.spin_frequency_dome.setMinimumSize(QtCore.QSize(40, 0))
+ self.spin_frequency_dome.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.spin_frequency_dome.setMinimum(1)
+ self.spin_frequency_dome.setMaximum(20)
+ self.spin_frequency_dome.setSingleStep(1)
+ self.spin_frequency_dome.setProperty("value", 2)
+ self.spin_frequency_dome.setObjectName(_fromUtf8("spin_frequency_dome"))
+ self.horizontalLayout_77.addWidget(self.spin_frequency_dome)
+ self.diameter_dome = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.diameter_dome.sizePolicy().hasHeightForWidth())
+ self.diameter_dome.setSizePolicy(sizePolicy)
+ self.diameter_dome.setMinimumSize(QtCore.QSize(50, 0))
+ self.diameter_dome.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.diameter_dome.setObjectName(_fromUtf8("diameter_dome"))
+ self.horizontalLayout_77.addWidget(self.diameter_dome)
+ self.gridLayout_5.addLayout(self.horizontalLayout_77, 5, 0, 1, 1)
+ self.horizontalLayout_75 = QtGui.QHBoxLayout()
+ self.horizontalLayout_75.setObjectName(_fromUtf8("horizontalLayout_75"))
+ self.button_letter = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon65 = QtGui.QIcon()
+ icon65.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointText.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_letter.setIcon(icon65)
+ self.button_letter.setIconSize(QtCore.QSize(32, 32))
+ self.button_letter.setObjectName(_fromUtf8("button_letter"))
+ self.horizontalLayout_75.addWidget(self.button_letter)
+ self.letter = QtGui.QLineEdit(self.Objects_Tab2_2)
+ self.letter.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.letter.setObjectName(_fromUtf8("letter"))
+ self.horizontalLayout_75.addWidget(self.letter)
+ self.size_letter = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.size_letter.sizePolicy().hasHeightForWidth())
+ self.size_letter.setSizePolicy(sizePolicy)
+ self.size_letter.setMinimumSize(QtCore.QSize(50, 0))
+ self.size_letter.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.size_letter.setObjectName(_fromUtf8("size_letter"))
+ self.horizontalLayout_75.addWidget(self.size_letter)
+ self.gridLayout_5.addLayout(self.horizontalLayout_75, 6, 0, 1, 1)
+ self.horizontalLayout_76 = QtGui.QHBoxLayout()
+ self.horizontalLayout_76.setObjectName(_fromUtf8("horizontalLayout_76"))
+ self.button_revolve = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon66 = QtGui.QIcon()
+ icon66.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Revolve.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_revolve.setIcon(icon66)
+ self.button_revolve.setIconSize(QtCore.QSize(32, 32))
+ self.button_revolve.setObjectName(_fromUtf8("button_revolve"))
+ self.horizontalLayout_76.addWidget(self.button_revolve)
+ self.angle_revolve = QtGui.QLineEdit(self.Objects_Tab2_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_revolve.sizePolicy().hasHeightForWidth())
+ self.angle_revolve.setSizePolicy(sizePolicy)
+ self.angle_revolve.setMinimumSize(QtCore.QSize(40, 0))
+ self.angle_revolve.setMaximumSize(QtCore.QSize(40, 16777215))
+ self.angle_revolve.setObjectName(_fromUtf8("angle_revolve"))
+ self.horizontalLayout_76.addWidget(self.angle_revolve)
+ self.gridLayout_5.addLayout(self.horizontalLayout_76, 7, 0, 1, 1)
+ self.button_common = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon67 = QtGui.QIcon()
+ icon67.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Common.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_common.setIcon(icon67)
+ self.button_common.setIconSize(QtCore.QSize(32, 32))
+ self.button_common.setObjectName(_fromUtf8("button_common"))
+ self.gridLayout_5.addWidget(self.button_common, 8, 0, 1, 1)
+ self.button_difference = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon68 = QtGui.QIcon()
+ icon68.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Difference.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_difference.setIcon(icon68)
+ self.button_difference.setIconSize(QtCore.QSize(32, 32))
+ self.button_difference.setObjectName(_fromUtf8("button_difference"))
+ self.gridLayout_5.addWidget(self.button_difference, 9, 0, 1, 1)
+ spacerItem14 = QtGui.QSpacerItem(17, 8, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_5.addItem(spacerItem14, 10, 0, 1, 1)
+ icon69 = QtGui.QIcon()
+ icon69.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_box.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Objects_Tab2_2, icon69, _fromUtf8(""))
+ self.Modif_Tab_2 = QtGui.QWidget()
+ self.Modif_Tab_2.setObjectName(_fromUtf8("Modif_Tab_2"))
+ self.gridLayout_94 = QtGui.QGridLayout(self.Modif_Tab_2)
+ self.gridLayout_94.setObjectName(_fromUtf8("gridLayout_94"))
+ self.tabWidget_9 = QtGui.QTabWidget(self.Modif_Tab_2)
+ self.tabWidget_9.setObjectName(_fromUtf8("tabWidget_9"))
+ self.align_tab_2 = QtGui.QWidget()
+ self.align_tab_2.setObjectName(_fromUtf8("align_tab_2"))
+ self.gridLayout_95 = QtGui.QGridLayout(self.align_tab_2)
+ self.gridLayout_95.setObjectName(_fromUtf8("gridLayout_95"))
+ self.button_alignface2view = QtGui.QPushButton(self.align_tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_alignface2view.sizePolicy().hasHeightForWidth())
+ self.button_alignface2view.setSizePolicy(sizePolicy)
+ self.button_alignface2view.setMaximumSize(QtCore.QSize(220, 16777215))
+ icon70 = QtGui.QIcon()
+ icon70.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlignFace.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_alignface2view.setIcon(icon70)
+ self.button_alignface2view.setIconSize(QtCore.QSize(32, 32))
+ self.button_alignface2view.setObjectName(_fromUtf8("button_alignface2view"))
+ self.gridLayout_95.addWidget(self.button_alignface2view, 0, 0, 1, 1)
+ self.horizontalLayout_78 = QtGui.QHBoxLayout()
+ self.horizontalLayout_78.setObjectName(_fromUtf8("horizontalLayout_78"))
+ self.button_align_faces = QtGui.QPushButton(self.align_tab_2)
+ self.button_align_faces.setMaximumSize(QtCore.QSize(220, 16777215))
+ icon71 = QtGui.QIcon()
+ icon71.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_align_faces.setIcon(icon71)
+ self.button_align_faces.setIconSize(QtCore.QSize(32, 32))
+ self.button_align_faces.setObjectName(_fromUtf8("button_align_faces"))
+ self.horizontalLayout_78.addWidget(self.button_align_faces)
+ self.angle_align_faces = QtGui.QLineEdit(self.align_tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_align_faces.sizePolicy().hasHeightForWidth())
+ self.angle_align_faces.setSizePolicy(sizePolicy)
+ self.angle_align_faces.setMinimumSize(QtCore.QSize(40, 0))
+ self.angle_align_faces.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.angle_align_faces.setObjectName(_fromUtf8("angle_align_faces"))
+ self.horizontalLayout_78.addWidget(self.angle_align_faces)
+ self.gridLayout_95.addLayout(self.horizontalLayout_78, 1, 0, 1, 1)
+ self.horizontalLayout_79 = QtGui.QHBoxLayout()
+ self.horizontalLayout_79.setObjectName(_fromUtf8("horizontalLayout_79"))
+ self.button_align_edges = QtGui.QPushButton(self.align_tab_2)
+ self.button_align_edges.setMaximumSize(QtCore.QSize(220, 16777215))
+ icon72 = QtGui.QIcon()
+ icon72.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_align_edges.setIcon(icon72)
+ self.button_align_edges.setIconSize(QtCore.QSize(32, 32))
+ self.button_align_edges.setObjectName(_fromUtf8("button_align_edges"))
+ self.horizontalLayout_79.addWidget(self.button_align_edges)
+ self.angle_align_edges = QtGui.QLineEdit(self.align_tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_align_edges.sizePolicy().hasHeightForWidth())
+ self.angle_align_edges.setSizePolicy(sizePolicy)
+ self.angle_align_edges.setMinimumSize(QtCore.QSize(40, 0))
+ self.angle_align_edges.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.angle_align_edges.setObjectName(_fromUtf8("angle_align_edges"))
+ self.horizontalLayout_79.addWidget(self.angle_align_edges)
+ self.gridLayout_95.addLayout(self.horizontalLayout_79, 2, 0, 1, 1)
+ spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_95.addItem(spacerItem15, 5, 0, 1, 1)
+ self.button_joint_points = QtGui.QPushButton(self.align_tab_2)
+ icon73 = QtGui.QIcon()
+ icon73.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointPoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_joint_points.setIcon(icon73)
+ self.button_joint_points.setIconSize(QtCore.QSize(32, 32))
+ self.button_joint_points.setObjectName(_fromUtf8("button_joint_points"))
+ self.gridLayout_95.addWidget(self.button_joint_points, 3, 0, 1, 1)
+ self.button_joint_faces = QtGui.QPushButton(self.align_tab_2)
+ icon74 = QtGui.QIcon()
+ icon74.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_joint_faces.setIcon(icon74)
+ self.button_joint_faces.setIconSize(QtCore.QSize(32, 32))
+ self.button_joint_faces.setObjectName(_fromUtf8("button_joint_faces"))
+ self.gridLayout_95.addWidget(self.button_joint_faces, 4, 0, 1, 1)
+ self.tabWidget_9.addTab(self.align_tab_2, _fromUtf8(""))
+ self.cut_tab_2 = QtGui.QWidget()
+ self.cut_tab_2.setObjectName(_fromUtf8("cut_tab_2"))
+ self.gridLayout_96 = QtGui.QGridLayout(self.cut_tab_2)
+ self.gridLayout_96.setObjectName(_fromUtf8("gridLayout_96"))
+ self.frame_10 = QtGui.QFrame(self.cut_tab_2)
+ self.frame_10.setMinimumSize(QtCore.QSize(0, 0))
+ self.frame_10.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_10.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_10.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_10.setObjectName(_fromUtf8("frame_10"))
+ self.gridLayout_97 = QtGui.QGridLayout(self.frame_10)
+ self.gridLayout_97.setObjectName(_fromUtf8("gridLayout_97"))
+ self.groupBox_20 = QtGui.QGroupBox(self.frame_10)
+ self.groupBox_20.setObjectName(_fromUtf8("groupBox_20"))
+ self.gridLayout_98 = QtGui.QGridLayout(self.groupBox_20)
+ self.gridLayout_98.setObjectName(_fromUtf8("gridLayout_98"))
+ self.gridLayout_99 = QtGui.QGridLayout()
+ self.gridLayout_99.setObjectName(_fromUtf8("gridLayout_99"))
+ self.button_cut_select_object = QtGui.QPushButton(self.groupBox_20)
+ self.button_cut_select_object.setMinimumSize(QtCore.QSize(130, 31))
+ self.button_cut_select_object.setMaximumSize(QtCore.QSize(250, 40))
+ self.button_cut_select_object.setObjectName(_fromUtf8("button_cut_select_object"))
+ self.gridLayout_99.addWidget(self.button_cut_select_object, 0, 0, 1, 1)
+ self.info_cut_select_object = QtGui.QLineEdit(self.groupBox_20)
+ self.info_cut_select_object.setEnabled(False)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.info_cut_select_object.sizePolicy().hasHeightForWidth())
+ self.info_cut_select_object.setSizePolicy(sizePolicy)
+ self.info_cut_select_object.setReadOnly(True)
+ self.info_cut_select_object.setObjectName(_fromUtf8("info_cut_select_object"))
+ self.gridLayout_99.addWidget(self.info_cut_select_object, 1, 0, 1, 1)
+ self.button_cut_select_line = QtGui.QPushButton(self.groupBox_20)
+ self.button_cut_select_line.setEnabled(False)
+ self.button_cut_select_line.setMinimumSize(QtCore.QSize(130, 31))
+ self.button_cut_select_line.setMaximumSize(QtCore.QSize(250, 40))
+ self.button_cut_select_line.setObjectName(_fromUtf8("button_cut_select_line"))
+ self.gridLayout_99.addWidget(self.button_cut_select_line, 2, 0, 1, 1)
+ self.info_cut_select_axis = QtGui.QLineEdit(self.groupBox_20)
+ self.info_cut_select_axis.setEnabled(False)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.info_cut_select_axis.sizePolicy().hasHeightForWidth())
+ self.info_cut_select_axis.setSizePolicy(sizePolicy)
+ self.info_cut_select_axis.setReadOnly(True)
+ self.info_cut_select_axis.setObjectName(_fromUtf8("info_cut_select_axis"))
+ self.gridLayout_99.addWidget(self.info_cut_select_axis, 3, 0, 1, 1)
+ self.button_cut_select_plane = QtGui.QPushButton(self.groupBox_20)
+ self.button_cut_select_plane.setEnabled(False)
+ self.button_cut_select_plane.setMinimumSize(QtCore.QSize(130, 31))
+ self.button_cut_select_plane.setMaximumSize(QtCore.QSize(250, 40))
+ self.button_cut_select_plane.setObjectName(_fromUtf8("button_cut_select_plane"))
+ self.gridLayout_99.addWidget(self.button_cut_select_plane, 4, 0, 1, 1)
+ self.info_cut_select_plane = QtGui.QLineEdit(self.groupBox_20)
+ self.info_cut_select_plane.setEnabled(False)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.info_cut_select_plane.sizePolicy().hasHeightForWidth())
+ self.info_cut_select_plane.setSizePolicy(sizePolicy)
+ self.info_cut_select_plane.setReadOnly(True)
+ self.info_cut_select_plane.setObjectName(_fromUtf8("info_cut_select_plane"))
+ self.gridLayout_99.addWidget(self.info_cut_select_plane, 5, 0, 1, 1)
+ self.gridLayout_98.addLayout(self.gridLayout_99, 0, 0, 1, 1)
+ self.gridLayout_100 = QtGui.QGridLayout()
+ self.gridLayout_100.setObjectName(_fromUtf8("gridLayout_100"))
+ self.gridLayout_101 = QtGui.QGridLayout()
+ self.gridLayout_101.setObjectName(_fromUtf8("gridLayout_101"))
+ self.label_angle_3 = QtGui.QLabel(self.groupBox_20)
+ self.label_angle_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_angle_3.setObjectName(_fromUtf8("label_angle_3"))
+ self.gridLayout_101.addWidget(self.label_angle_3, 0, 0, 1, 1)
+ self.angle_cut_object = QtGui.QLineEdit(self.groupBox_20)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.angle_cut_object.sizePolicy().hasHeightForWidth())
+ self.angle_cut_object.setSizePolicy(sizePolicy)
+ self.angle_cut_object.setMinimumSize(QtCore.QSize(0, 0))
+ self.angle_cut_object.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.angle_cut_object.setObjectName(_fromUtf8("angle_cut_object"))
+ self.gridLayout_101.addWidget(self.angle_cut_object, 0, 1, 1, 1)
+ self.gridLayout_100.addLayout(self.gridLayout_101, 0, 0, 1, 1)
+ self.gridLayout_102 = QtGui.QGridLayout()
+ self.gridLayout_102.setObjectName(_fromUtf8("gridLayout_102"))
+ self.label_thickness_2 = QtGui.QLabel(self.groupBox_20)
+ self.label_thickness_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_thickness_2.setObjectName(_fromUtf8("label_thickness_2"))
+ self.gridLayout_102.addWidget(self.label_thickness_2, 0, 0, 1, 1)
+ self.thickness_cut_object = QtGui.QLineEdit(self.groupBox_20)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.thickness_cut_object.sizePolicy().hasHeightForWidth())
+ self.thickness_cut_object.setSizePolicy(sizePolicy)
+ self.thickness_cut_object.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.thickness_cut_object.setObjectName(_fromUtf8("thickness_cut_object"))
+ self.gridLayout_102.addWidget(self.thickness_cut_object, 0, 1, 1, 1)
+ self.gridLayout_100.addLayout(self.gridLayout_102, 1, 0, 1, 1)
+ self.horizontalLayout_80 = QtGui.QHBoxLayout()
+ self.horizontalLayout_80.setObjectName(_fromUtf8("horizontalLayout_80"))
+ self.button_cut_reset = QtGui.QPushButton(self.groupBox_20)
+ self.button_cut_reset.setMinimumSize(QtCore.QSize(40, 0))
+ self.button_cut_reset.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.button_cut_reset.setObjectName(_fromUtf8("button_cut_reset"))
+ self.horizontalLayout_80.addWidget(self.button_cut_reset)
+ spacerItem16 = QtGui.QSpacerItem(18, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_80.addItem(spacerItem16)
+ self.button_cut_apply = QtGui.QPushButton(self.groupBox_20)
+ self.button_cut_apply.setEnabled(False)
+ self.button_cut_apply.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.button_cut_apply.setIconSize(QtCore.QSize(32, 32))
+ self.button_cut_apply.setObjectName(_fromUtf8("button_cut_apply"))
+ self.horizontalLayout_80.addWidget(self.button_cut_apply)
+ self.gridLayout_100.addLayout(self.horizontalLayout_80, 2, 0, 1, 1)
+ self.gridLayout_98.addLayout(self.gridLayout_100, 1, 0, 1, 1)
+ self.gridLayout_97.addWidget(self.groupBox_20, 0, 0, 1, 1)
+ self.gridLayout_96.addWidget(self.frame_10, 0, 0, 1, 1)
+ spacerItem17 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_96.addItem(spacerItem17, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.cut_tab_2, _fromUtf8(""))
+ self.rotate_tab_2 = QtGui.QWidget()
+ self.rotate_tab_2.setObjectName(_fromUtf8("rotate_tab_2"))
+ self.gridLayout_103 = QtGui.QGridLayout(self.rotate_tab_2)
+ self.gridLayout_103.setObjectName(_fromUtf8("gridLayout_103"))
+ self.frame_11 = QtGui.QFrame(self.rotate_tab_2)
+ self.frame_11.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_11.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_11.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_11.setObjectName(_fromUtf8("frame_11"))
+ self.gridLayout_104 = QtGui.QGridLayout(self.frame_11)
+ self.gridLayout_104.setObjectName(_fromUtf8("gridLayout_104"))
+ self.ObjRot_button_select = QtGui.QPushButton(self.frame_11)
+ self.ObjRot_button_select.setObjectName(_fromUtf8("ObjRot_button_select"))
+ self.gridLayout_104.addWidget(self.ObjRot_button_select, 0, 0, 1, 1)
+ self.tabWidget_10 = QtGui.QTabWidget(self.frame_11)
+ self.tabWidget_10.setTabPosition(QtGui.QTabWidget.North)
+ self.tabWidget_10.setObjectName(_fromUtf8("tabWidget_10"))
+ self.tab_18 = QtGui.QWidget()
+ self.tab_18.setObjectName(_fromUtf8("tab_18"))
+ self.gridLayout_105 = QtGui.QGridLayout(self.tab_18)
+ self.gridLayout_105.setObjectName(_fromUtf8("gridLayout_105"))
+ self.ObjRot_comboBox_axis = QtGui.QComboBox(self.tab_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ObjRot_comboBox_axis.sizePolicy().hasHeightForWidth())
+ self.ObjRot_comboBox_axis.setSizePolicy(sizePolicy)
+ self.ObjRot_comboBox_axis.setMinimumSize(QtCore.QSize(80, 0))
+ self.ObjRot_comboBox_axis.setMaximumSize(QtCore.QSize(130, 16777215))
+ self.ObjRot_comboBox_axis.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.ObjRot_comboBox_axis.setObjectName(_fromUtf8("ObjRot_comboBox_axis"))
+ self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
+ self.gridLayout_105.addWidget(self.ObjRot_comboBox_axis, 0, 0, 1, 1)
+ self.ObjRot_button_select_axis = QtGui.QPushButton(self.tab_18)
+ self.ObjRot_button_select_axis.setEnabled(False)
+ self.ObjRot_button_select_axis.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_button_select_axis.setMaximumSize(QtCore.QSize(80, 16777215))
+ self.ObjRot_button_select_axis.setObjectName(_fromUtf8("ObjRot_button_select_axis"))
+ self.gridLayout_105.addWidget(self.ObjRot_button_select_axis, 1, 0, 1, 1)
+ icon75 = QtGui.QIcon()
+ icon75.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_10.addTab(self.tab_18, icon75, _fromUtf8(""))
+ self.tab_19 = QtGui.QWidget()
+ self.tab_19.setObjectName(_fromUtf8("tab_19"))
+ self.gridLayout_106 = QtGui.QGridLayout(self.tab_19)
+ self.gridLayout_106.setObjectName(_fromUtf8("gridLayout_106"))
+ self.ObjRot_comboBox_center = QtGui.QComboBox(self.tab_19)
+ self.ObjRot_comboBox_center.setEnabled(True)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ObjRot_comboBox_center.sizePolicy().hasHeightForWidth())
+ self.ObjRot_comboBox_center.setSizePolicy(sizePolicy)
+ self.ObjRot_comboBox_center.setMinimumSize(QtCore.QSize(120, 0))
+ self.ObjRot_comboBox_center.setMaximumSize(QtCore.QSize(130, 16777215))
+ self.ObjRot_comboBox_center.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
+ self.ObjRot_comboBox_center.setObjectName(_fromUtf8("ObjRot_comboBox_center"))
+ self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
+ self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
+ self.gridLayout_106.addWidget(self.ObjRot_comboBox_center, 0, 0, 1, 1)
+ self.ObjRot_button_select_center = QtGui.QPushButton(self.tab_19)
+ self.ObjRot_button_select_center.setEnabled(False)
+ self.ObjRot_button_select_center.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_button_select_center.setMaximumSize(QtCore.QSize(80, 16777215))
+ self.ObjRot_button_select_center.setObjectName(_fromUtf8("ObjRot_button_select_center"))
+ self.gridLayout_106.addWidget(self.ObjRot_button_select_center, 1, 0, 1, 1)
+ icon76 = QtGui.QIcon()
+ icon76.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_10.addTab(self.tab_19, icon76, _fromUtf8(""))
+ self.gridLayout_104.addWidget(self.tabWidget_10, 1, 0, 1, 1)
+ self.groupBox_21 = QtGui.QGroupBox(self.frame_11)
+ self.groupBox_21.setMinimumSize(QtCore.QSize(150, 67))
+ self.groupBox_21.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ self.groupBox_21.setFlat(False)
+ self.groupBox_21.setObjectName(_fromUtf8("groupBox_21"))
+ self.gridLayout_107 = QtGui.QGridLayout(self.groupBox_21)
+ self.gridLayout_107.setObjectName(_fromUtf8("gridLayout_107"))
+ self.tabWidget_11 = QtGui.QTabWidget(self.groupBox_21)
+ self.tabWidget_11.setObjectName(_fromUtf8("tabWidget_11"))
+ self.tab_20 = QtGui.QWidget()
+ self.tab_20.setObjectName(_fromUtf8("tab_20"))
+ self.gridLayout_108 = QtGui.QGridLayout(self.tab_20)
+ self.gridLayout_108.setObjectName(_fromUtf8("gridLayout_108"))
+ self.ObjRot_horizontalSlider = QtGui.QSlider(self.tab_20)
+ self.ObjRot_horizontalSlider.setMinimumSize(QtCore.QSize(0, 39))
+ self.ObjRot_horizontalSlider.setMaximumSize(QtCore.QSize(120, 16777215))
+ self.ObjRot_horizontalSlider.setMinimum(-180)
+ self.ObjRot_horizontalSlider.setMaximum(180)
+ self.ObjRot_horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
+ self.ObjRot_horizontalSlider.setTickPosition(QtGui.QSlider.TicksBothSides)
+ self.ObjRot_horizontalSlider.setTickInterval(20)
+ self.ObjRot_horizontalSlider.setObjectName(_fromUtf8("ObjRot_horizontalSlider"))
+ self.gridLayout_108.addWidget(self.ObjRot_horizontalSlider, 0, 0, 1, 1)
+ self.tabWidget_11.addTab(self.tab_20, _fromUtf8(""))
+ self.tab_21 = QtGui.QWidget()
+ self.tab_21.setObjectName(_fromUtf8("tab_21"))
+ self.gridLayout_109 = QtGui.QGridLayout(self.tab_21)
+ self.gridLayout_109.setObjectName(_fromUtf8("gridLayout_109"))
+ self.ObjRot_button_select_angle = QtGui.QPushButton(self.tab_21)
+ self.ObjRot_button_select_angle.setEnabled(True)
+ self.ObjRot_button_select_angle.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_button_select_angle.setMaximumSize(QtCore.QSize(80, 16777215))
+ self.ObjRot_button_select_angle.setObjectName(_fromUtf8("ObjRot_button_select_angle"))
+ self.gridLayout_109.addWidget(self.ObjRot_button_select_angle, 0, 0, 1, 1)
+ icon77 = QtGui.QIcon()
+ icon77.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_click.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_11.addTab(self.tab_21, icon77, _fromUtf8(""))
+ self.gridLayout_107.addWidget(self.tabWidget_11, 0, 0, 1, 1)
+ self.horizontalLayout_81 = QtGui.QHBoxLayout()
+ self.horizontalLayout_81.setObjectName(_fromUtf8("horizontalLayout_81"))
+ self.ObjRot_lineEdit_angle = QtGui.QLineEdit(self.groupBox_21)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ObjRot_lineEdit_angle.sizePolicy().hasHeightForWidth())
+ self.ObjRot_lineEdit_angle.setSizePolicy(sizePolicy)
+ self.ObjRot_lineEdit_angle.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_lineEdit_angle.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ObjRot_lineEdit_angle.setMaxLength(32769)
+ self.ObjRot_lineEdit_angle.setObjectName(_fromUtf8("ObjRot_lineEdit_angle"))
+ self.horizontalLayout_81.addWidget(self.ObjRot_lineEdit_angle)
+ self.label_angle_4 = QtGui.QLabel(self.groupBox_21)
+ self.label_angle_4.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.label_angle_4.setObjectName(_fromUtf8("label_angle_4"))
+ self.horizontalLayout_81.addWidget(self.label_angle_4)
+ self.gridLayout_107.addLayout(self.horizontalLayout_81, 1, 0, 1, 1)
+ self.gridLayout_104.addWidget(self.groupBox_21, 2, 0, 1, 1)
+ self.horizontalLayout_82 = QtGui.QHBoxLayout()
+ self.horizontalLayout_82.setObjectName(_fromUtf8("horizontalLayout_82"))
+ self.ObjRot_button_reset = QtGui.QPushButton(self.frame_11)
+ self.ObjRot_button_reset.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_button_reset.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ObjRot_button_reset.setObjectName(_fromUtf8("ObjRot_button_reset"))
+ self.horizontalLayout_82.addWidget(self.ObjRot_button_reset)
+ spacerItem18 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_82.addItem(spacerItem18)
+ self.ObjRot_button_apply = QtGui.QPushButton(self.frame_11)
+ self.ObjRot_button_apply.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjRot_button_apply.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ObjRot_button_apply.setObjectName(_fromUtf8("ObjRot_button_apply"))
+ self.horizontalLayout_82.addWidget(self.ObjRot_button_apply)
+ self.gridLayout_104.addLayout(self.horizontalLayout_82, 3, 0, 1, 1)
+ self.gridLayout_103.addWidget(self.frame_11, 0, 0, 1, 1)
+ spacerItem19 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_103.addItem(spacerItem19, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.rotate_tab_2, _fromUtf8(""))
+ self.translate_tab_2 = QtGui.QWidget()
+ self.translate_tab_2.setObjectName(_fromUtf8("translate_tab_2"))
+ self.gridLayout_110 = QtGui.QGridLayout(self.translate_tab_2)
+ self.gridLayout_110.setObjectName(_fromUtf8("gridLayout_110"))
+ self.frame_12 = QtGui.QFrame(self.translate_tab_2)
+ self.frame_12.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_12.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_12.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_12.setObjectName(_fromUtf8("frame_12"))
+ self.gridLayout_111 = QtGui.QGridLayout(self.frame_12)
+ self.gridLayout_111.setObjectName(_fromUtf8("gridLayout_111"))
+ self.ObjTrans_button_select = QtGui.QPushButton(self.frame_12)
+ self.ObjTrans_button_select.setObjectName(_fromUtf8("ObjTrans_button_select"))
+ self.gridLayout_111.addWidget(self.ObjTrans_button_select, 0, 0, 1, 1)
+ self.horizontalLayout_83 = QtGui.QHBoxLayout()
+ self.horizontalLayout_83.setObjectName(_fromUtf8("horizontalLayout_83"))
+ self.ObjTrans_duplicate = QtGui.QCheckBox(self.frame_12)
+ self.ObjTrans_duplicate.setObjectName(_fromUtf8("ObjTrans_duplicate"))
+ self.horizontalLayout_83.addWidget(self.ObjTrans_duplicate)
+ self.ObjTrans_spin = QtGui.QSpinBox(self.frame_12)
+ self.ObjTrans_spin.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjTrans_spin.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.ObjTrans_spin.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
+ self.ObjTrans_spin.setKeyboardTracking(False)
+ self.ObjTrans_spin.setMinimum(1)
+ self.ObjTrans_spin.setMaximum(20)
+ self.ObjTrans_spin.setSingleStep(1)
+ self.ObjTrans_spin.setProperty("value", 1)
+ self.ObjTrans_spin.setObjectName(_fromUtf8("ObjTrans_spin"))
+ self.horizontalLayout_83.addWidget(self.ObjTrans_spin)
+ self.ObjTrans_deepCopy = QtGui.QCheckBox(self.frame_12)
+ self.ObjTrans_deepCopy.setObjectName(_fromUtf8("ObjTrans_deepCopy"))
+ self.horizontalLayout_83.addWidget(self.ObjTrans_deepCopy)
+ self.gridLayout_111.addLayout(self.horizontalLayout_83, 1, 0, 1, 1)
+ self.tabWidget_12 = QtGui.QTabWidget(self.frame_12)
+ self.tabWidget_12.setObjectName(_fromUtf8("tabWidget_12"))
+ self.tab_22 = QtGui.QWidget()
+ self.tab_22.setObjectName(_fromUtf8("tab_22"))
+ self.gridLayout_112 = QtGui.QGridLayout(self.tab_22)
+ self.gridLayout_112.setObjectName(_fromUtf8("gridLayout_112"))
+ self.groupBox_22 = QtGui.QGroupBox(self.tab_22)
+ self.groupBox_22.setMinimumSize(QtCore.QSize(150, 0))
+ self.groupBox_22.setFlat(False)
+ self.groupBox_22.setObjectName(_fromUtf8("groupBox_22"))
+ self.gridLayout_113 = QtGui.QGridLayout(self.groupBox_22)
+ self.gridLayout_113.setObjectName(_fromUtf8("gridLayout_113"))
+ self.ObjTrans_comboBox_start = QtGui.QComboBox(self.groupBox_22)
+ self.ObjTrans_comboBox_start.setEnabled(True)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ObjTrans_comboBox_start.sizePolicy().hasHeightForWidth())
+ self.ObjTrans_comboBox_start.setSizePolicy(sizePolicy)
+ self.ObjTrans_comboBox_start.setMinimumSize(QtCore.QSize(100, 0))
+ self.ObjTrans_comboBox_start.setMaximumSize(QtCore.QSize(120, 16777215))
+ self.ObjTrans_comboBox_start.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
+ self.ObjTrans_comboBox_start.setObjectName(_fromUtf8("ObjTrans_comboBox_start"))
+ self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
+ self.gridLayout_113.addWidget(self.ObjTrans_comboBox_start, 0, 0, 1, 1)
+ self.ObjTrans_button_select_start = QtGui.QPushButton(self.groupBox_22)
+ self.ObjTrans_button_select_start.setEnabled(True)
+ self.ObjTrans_button_select_start.setMinimumSize(QtCore.QSize(50, 0))
+ self.ObjTrans_button_select_start.setMaximumSize(QtCore.QSize(120, 16777215))
+ self.ObjTrans_button_select_start.setObjectName(_fromUtf8("ObjTrans_button_select_start"))
+ self.gridLayout_113.addWidget(self.ObjTrans_button_select_start, 1, 0, 1, 1)
+ self.gridLayout_114 = QtGui.QGridLayout()
+ self.gridLayout_114.setObjectName(_fromUtf8("gridLayout_114"))
+ self.gridLayout_115 = QtGui.QGridLayout()
+ self.gridLayout_115.setObjectName(_fromUtf8("gridLayout_115"))
+ self.label_11 = QtGui.QLabel(self.groupBox_22)
+ self.label_11.setObjectName(_fromUtf8("label_11"))
+ self.gridLayout_115.addWidget(self.label_11, 0, 0, 1, 1)
+ self.ObjTrans_start_x = QtGui.QLineEdit(self.groupBox_22)
+ self.ObjTrans_start_x.setEnabled(False)
+ self.ObjTrans_start_x.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_start_x.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_start_x.setObjectName(_fromUtf8("ObjTrans_start_x"))
+ self.gridLayout_115.addWidget(self.ObjTrans_start_x, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_115, 0, 0, 1, 1)
+ self.gridLayout_116 = QtGui.QGridLayout()
+ self.gridLayout_116.setObjectName(_fromUtf8("gridLayout_116"))
+ self.label_12 = QtGui.QLabel(self.groupBox_22)
+ self.label_12.setObjectName(_fromUtf8("label_12"))
+ self.gridLayout_116.addWidget(self.label_12, 0, 0, 1, 1)
+ self.ObjTrans_start_y = QtGui.QLineEdit(self.groupBox_22)
+ self.ObjTrans_start_y.setEnabled(False)
+ self.ObjTrans_start_y.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_start_y.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_start_y.setObjectName(_fromUtf8("ObjTrans_start_y"))
+ self.gridLayout_116.addWidget(self.ObjTrans_start_y, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_116, 1, 0, 1, 1)
+ self.gridLayout_117 = QtGui.QGridLayout()
+ self.gridLayout_117.setObjectName(_fromUtf8("gridLayout_117"))
+ self.label_13 = QtGui.QLabel(self.groupBox_22)
+ self.label_13.setObjectName(_fromUtf8("label_13"))
+ self.gridLayout_117.addWidget(self.label_13, 0, 0, 1, 1)
+ self.ObjTrans_start_z = QtGui.QLineEdit(self.groupBox_22)
+ self.ObjTrans_start_z.setEnabled(False)
+ self.ObjTrans_start_z.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_start_z.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_start_z.setObjectName(_fromUtf8("ObjTrans_start_z"))
+ self.gridLayout_117.addWidget(self.ObjTrans_start_z, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_117, 2, 0, 1, 1)
+ self.gridLayout_113.addLayout(self.gridLayout_114, 2, 0, 1, 1)
+ self.gridLayout_112.addWidget(self.groupBox_22, 0, 0, 1, 1)
+ icon78 = QtGui.QIcon()
+ icon78.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_startPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_12.addTab(self.tab_22, icon78, _fromUtf8(""))
+ self.tab_23 = QtGui.QWidget()
+ self.tab_23.setObjectName(_fromUtf8("tab_23"))
+ self.gridLayout_118 = QtGui.QGridLayout(self.tab_23)
+ self.gridLayout_118.setObjectName(_fromUtf8("gridLayout_118"))
+ self.groupBox_23 = QtGui.QGroupBox(self.tab_23)
+ self.groupBox_23.setMinimumSize(QtCore.QSize(150, 0))
+ self.groupBox_23.setFlat(False)
+ self.groupBox_23.setObjectName(_fromUtf8("groupBox_23"))
+ self.gridLayout_119 = QtGui.QGridLayout(self.groupBox_23)
+ self.gridLayout_119.setObjectName(_fromUtf8("gridLayout_119"))
+ self.ObjTrans_comboBox_end = QtGui.QComboBox(self.groupBox_23)
+ self.ObjTrans_comboBox_end.setEnabled(True)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ObjTrans_comboBox_end.sizePolicy().hasHeightForWidth())
+ self.ObjTrans_comboBox_end.setSizePolicy(sizePolicy)
+ self.ObjTrans_comboBox_end.setMinimumSize(QtCore.QSize(100, 0))
+ self.ObjTrans_comboBox_end.setMaximumSize(QtCore.QSize(120, 16777215))
+ self.ObjTrans_comboBox_end.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
+ self.ObjTrans_comboBox_end.setObjectName(_fromUtf8("ObjTrans_comboBox_end"))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
+ self.gridLayout_119.addWidget(self.ObjTrans_comboBox_end, 0, 0, 1, 1)
+ self.ObjTrans_button_select_end = QtGui.QPushButton(self.groupBox_23)
+ self.ObjTrans_button_select_end.setEnabled(True)
+ self.ObjTrans_button_select_end.setMinimumSize(QtCore.QSize(100, 0))
+ self.ObjTrans_button_select_end.setMaximumSize(QtCore.QSize(120, 16777215))
+ self.ObjTrans_button_select_end.setObjectName(_fromUtf8("ObjTrans_button_select_end"))
+ self.gridLayout_119.addWidget(self.ObjTrans_button_select_end, 1, 0, 1, 1)
+ self.gridLayout_120 = QtGui.QGridLayout()
+ self.gridLayout_120.setObjectName(_fromUtf8("gridLayout_120"))
+ self.gridLayout_121 = QtGui.QGridLayout()
+ self.gridLayout_121.setObjectName(_fromUtf8("gridLayout_121"))
+ self.label_14 = QtGui.QLabel(self.groupBox_23)
+ self.label_14.setObjectName(_fromUtf8("label_14"))
+ self.gridLayout_121.addWidget(self.label_14, 0, 0, 1, 1)
+ self.ObjTrans_end_z = QtGui.QLineEdit(self.groupBox_23)
+ self.ObjTrans_end_z.setEnabled(False)
+ self.ObjTrans_end_z.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_end_z.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_end_z.setObjectName(_fromUtf8("ObjTrans_end_z"))
+ self.gridLayout_121.addWidget(self.ObjTrans_end_z, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_121, 2, 0, 1, 1)
+ self.gridLayout_122 = QtGui.QGridLayout()
+ self.gridLayout_122.setObjectName(_fromUtf8("gridLayout_122"))
+ self.label_15 = QtGui.QLabel(self.groupBox_23)
+ self.label_15.setObjectName(_fromUtf8("label_15"))
+ self.gridLayout_122.addWidget(self.label_15, 0, 0, 1, 1)
+ self.ObjTrans_end_y = QtGui.QLineEdit(self.groupBox_23)
+ self.ObjTrans_end_y.setEnabled(False)
+ self.ObjTrans_end_y.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_end_y.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_end_y.setObjectName(_fromUtf8("ObjTrans_end_y"))
+ self.gridLayout_122.addWidget(self.ObjTrans_end_y, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_122, 1, 0, 1, 1)
+ self.gridLayout_123 = QtGui.QGridLayout()
+ self.gridLayout_123.setObjectName(_fromUtf8("gridLayout_123"))
+ self.label_16 = QtGui.QLabel(self.groupBox_23)
+ self.label_16.setObjectName(_fromUtf8("label_16"))
+ self.gridLayout_123.addWidget(self.label_16, 0, 0, 1, 1)
+ self.ObjTrans_end_x = QtGui.QLineEdit(self.groupBox_23)
+ self.ObjTrans_end_x.setEnabled(False)
+ self.ObjTrans_end_x.setMinimumSize(QtCore.QSize(90, 0))
+ self.ObjTrans_end_x.setMaximumSize(QtCore.QSize(200, 16777215))
+ self.ObjTrans_end_x.setObjectName(_fromUtf8("ObjTrans_end_x"))
+ self.gridLayout_123.addWidget(self.ObjTrans_end_x, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_123, 0, 0, 1, 1)
+ self.gridLayout_119.addLayout(self.gridLayout_120, 2, 0, 1, 1)
+ self.gridLayout_118.addWidget(self.groupBox_23, 0, 0, 1, 1)
+ icon79 = QtGui.QIcon()
+ icon79.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_endPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_12.addTab(self.tab_23, icon79, _fromUtf8(""))
+ self.gridLayout_111.addWidget(self.tabWidget_12, 2, 0, 1, 1)
+ self.horizontalLayout_84 = QtGui.QHBoxLayout()
+ self.horizontalLayout_84.setObjectName(_fromUtf8("horizontalLayout_84"))
+ self.ObjTrans_button_reset = QtGui.QPushButton(self.frame_12)
+ self.ObjTrans_button_reset.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjTrans_button_reset.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ObjTrans_button_reset.setObjectName(_fromUtf8("ObjTrans_button_reset"))
+ self.horizontalLayout_84.addWidget(self.ObjTrans_button_reset)
+ spacerItem20 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_84.addItem(spacerItem20)
+ self.ObjTrans_button_apply = QtGui.QPushButton(self.frame_12)
+ self.ObjTrans_button_apply.setMinimumSize(QtCore.QSize(40, 0))
+ self.ObjTrans_button_apply.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ObjTrans_button_apply.setObjectName(_fromUtf8("ObjTrans_button_apply"))
+ self.horizontalLayout_84.addWidget(self.ObjTrans_button_apply)
+ self.gridLayout_111.addLayout(self.horizontalLayout_84, 3, 0, 1, 1)
+ self.gridLayout_110.addWidget(self.frame_12, 0, 0, 1, 1)
+ spacerItem21 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_110.addItem(spacerItem21, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.translate_tab_2, _fromUtf8(""))
+ self.gridLayout_94.addWidget(self.tabWidget_9, 0, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Modif_Tab_2, _fromUtf8(""))
+ self.View_Tab_2 = QtGui.QWidget()
+ self.View_Tab_2.setObjectName(_fromUtf8("View_Tab_2"))
+ self.gridLayout_124 = QtGui.QGridLayout(self.View_Tab_2)
+ self.gridLayout_124.setObjectName(_fromUtf8("gridLayout_124"))
+ self.button_alignview = QtGui.QPushButton(self.View_Tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.button_alignview.sizePolicy().hasHeightForWidth())
+ self.button_alignview.setSizePolicy(sizePolicy)
+ self.button_alignview.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ icon80 = QtGui.QIcon()
+ icon80.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlign.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_alignview.setIcon(icon80)
+ self.button_alignview.setIconSize(QtCore.QSize(32, 32))
+ self.button_alignview.setObjectName(_fromUtf8("button_alignview"))
+ self.gridLayout_124.addWidget(self.button_alignview, 0, 0, 1, 1)
+ spacerItem22 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_124.addItem(spacerItem22, 2, 0, 1, 1)
+ self.button_trackcamera = QtGui.QPushButton(self.View_Tab_2)
+ icon81 = QtGui.QIcon()
+ icon81.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_trackCamera.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_trackcamera.setIcon(icon81)
+ self.button_trackcamera.setIconSize(QtCore.QSize(32, 32))
+ self.button_trackcamera.setObjectName(_fromUtf8("button_trackcamera"))
+ self.gridLayout_124.addWidget(self.button_trackcamera, 1, 0, 1, 1)
+ icon82 = QtGui.QIcon()
+ icon82.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_view.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.View_Tab_2, icon82, _fromUtf8(""))
+ self.tab_24 = QtGui.QWidget()
+ self.tab_24.setObjectName(_fromUtf8("tab_24"))
+ self.gridLayout_125 = QtGui.QGridLayout(self.tab_24)
+ self.gridLayout_125.setObjectName(_fromUtf8("gridLayout_125"))
+ spacerItem23 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_125.addItem(spacerItem23, 9, 0, 1, 1)
+ self.button_isView = QtGui.QPushButton(self.tab_24)
+ icon83 = QtGui.QIcon()
+ icon83.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FCCamera_02.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isView.setIcon(icon83)
+ self.button_isView.setIconSize(QtCore.QSize(32, 32))
+ self.button_isView.setObjectName(_fromUtf8("button_isView"))
+ self.gridLayout_125.addWidget(self.button_isView, 8, 0, 1, 1)
+ self.button_isParallel = QtGui.QPushButton(self.tab_24)
+ icon84 = QtGui.QIcon()
+ icon84.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isParallel.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isParallel.setIcon(icon84)
+ self.button_isParallel.setIconSize(QtCore.QSize(32, 32))
+ self.button_isParallel.setObjectName(_fromUtf8("button_isParallel"))
+ self.gridLayout_125.addWidget(self.button_isParallel, 0, 0, 1, 1)
+ self.button_isAngle = QtGui.QPushButton(self.tab_24)
+ icon85 = QtGui.QIcon()
+ icon85.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isAngle.setIcon(icon85)
+ self.button_isAngle.setIconSize(QtCore.QSize(32, 32))
+ self.button_isAngle.setObjectName(_fromUtf8("button_isAngle"))
+ self.gridLayout_125.addWidget(self.button_isAngle, 4, 0, 1, 1)
+ self.button_isLength = QtGui.QPushButton(self.tab_24)
+ icon86 = QtGui.QIcon()
+ icon86.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isLength.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isLength.setIcon(icon86)
+ self.button_isLength.setIconSize(QtCore.QSize(32, 32))
+ self.button_isLength.setObjectName(_fromUtf8("button_isLength"))
+ self.gridLayout_125.addWidget(self.button_isLength, 6, 0, 1, 1)
+ self.button_isPerpendicular = QtGui.QPushButton(self.tab_24)
+ icon87 = QtGui.QIcon()
+ icon87.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isPerpendicular.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isPerpendicular.setIcon(icon87)
+ self.button_isPerpendicular.setIconSize(QtCore.QSize(32, 32))
+ self.button_isPerpendicular.setObjectName(_fromUtf8("button_isPerpendicular"))
+ self.gridLayout_125.addWidget(self.button_isPerpendicular, 1, 0, 1, 1)
+ self.button_isDistance = QtGui.QPushButton(self.tab_24)
+ icon88 = QtGui.QIcon()
+ icon88.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distanceBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isDistance.setIcon(icon88)
+ self.button_isDistance.setIconSize(QtCore.QSize(32, 32))
+ self.button_isDistance.setObjectName(_fromUtf8("button_isDistance"))
+ self.gridLayout_125.addWidget(self.button_isDistance, 5, 0, 1, 1)
+ self.button_isArea = QtGui.QPushButton(self.tab_24)
+ icon89 = QtGui.QIcon()
+ icon89.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isArea.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isArea.setIcon(icon89)
+ self.button_isArea.setIconSize(QtCore.QSize(32, 32))
+ self.button_isArea.setObjectName(_fromUtf8("button_isArea"))
+ self.gridLayout_125.addWidget(self.button_isArea, 7, 0, 1, 1)
+ self.button_isCoplanar = QtGui.QPushButton(self.tab_24)
+ icon90 = QtGui.QIcon()
+ icon90.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isCoplanar.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isCoplanar.setIcon(icon90)
+ self.button_isCoplanar.setIconSize(QtCore.QSize(32, 32))
+ self.button_isCoplanar.setObjectName(_fromUtf8("button_isCoplanar"))
+ self.gridLayout_125.addWidget(self.button_isCoplanar, 2, 0, 1, 1)
+ self.button_isClearance = QtGui.QPushButton(self.tab_24)
+ icon91 = QtGui.QIcon()
+ icon91.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isClearance.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isClearance.setIcon(icon91)
+ self.button_isClearance.setIconSize(QtCore.QSize(32, 32))
+ self.button_isClearance.setObjectName(_fromUtf8("button_isClearance"))
+ self.gridLayout_125.addWidget(self.button_isClearance, 3, 0, 1, 1)
+ icon92 = QtGui.QIcon()
+ icon92.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_check.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_24, icon92, _fromUtf8(""))
+ self.gridLayout_128.addWidget(self.tabWidget_7, 0, 0, 1, 1)
+ self.scrollArea.setWidget(self.scrollAreaWidgetContents)
+ self.gridLayout_34.addWidget(self.scrollArea, 0, 0, 1, 1)
+ self.horizontalLayout_43 = QtGui.QHBoxLayout()
+ self.horizontalLayout_43.setObjectName(_fromUtf8("horizontalLayout_43"))
+ self.button_WF_quit = QtGui.QPushButton(Form)
+ self.button_WF_quit.setObjectName(_fromUtf8("button_WF_quit"))
+ self.horizontalLayout_43.addWidget(self.button_WF_quit)
+ spacerItem24 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_43.addItem(spacerItem24)
+ self.label_release = QtGui.QLabel(Form)
+ self.label_release.setObjectName(_fromUtf8("label_release"))
+ self.horizontalLayout_43.addWidget(self.label_release)
+ self.gridLayout_34.addLayout(self.horizontalLayout_43, 1, 0, 1, 1)
+
+ self.retranslateUi(Form)
+ self.tabWidget_7.setCurrentIndex(0)
+ self.point_loc_comboBox.setCurrentIndex(1)
+ self.tabWidget_8.setCurrentIndex(0)
+ self.transition_comboBox.setCurrentIndex(2)
+ self.tabWidget_9.setCurrentIndex(0)
+ self.tabWidget_10.setCurrentIndex(0)
+ self.ObjRot_comboBox_axis.setCurrentIndex(0)
+ self.ObjRot_comboBox_center.setCurrentIndex(2)
+ self.tabWidget_11.setCurrentIndex(0)
+ self.tabWidget_12.setCurrentIndex(0)
+ self.ObjTrans_comboBox_start.setCurrentIndex(3)
+ self.ObjTrans_comboBox_end.setCurrentIndex(0)
+ QtCore.QMetaObject.connectSlotsByName(Form)
+
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(_translate("Form", "WorkFeature", None))
+ self.button_origin.setToolTip(_translate("Form", "Create at origin: a point and X,Y and Z axis and XZ,XY and YZ planes", None))
+ self.button_origin.setText(_translate("Form", "Origin", None))
+ self.groupBox_13.setTitle(_translate("Form", "Preferences :", None))
+ self.radioButton_verbose.setToolTip(_translate("Form", "Toggle here if you want a lot of information printed into report View.", None))
+ self.radioButton_verbose.setText(_translate("Form", "Verbose", None))
+ self.radioButton_biColor.setToolTip(_translate("Form", "Change the successive lines to be bicolor (red and white) for the following functions:\n"
+" - in \"Axis 1/2\" TAB:\n"
+" Axes=Cut(Wire)\n"
+" - in \"Circle\" TAB:\n"
+" Arcs=Cut(Circle) \n"
+"", None))
+ self.radioButton_biColor.setText(_translate("Form", "Bi Color", None))
+ self.radioButton_copy.setToolTip(_translate("Form", "Force the duplication of the Parent Object for the following functions:\n"
+" - in \"Axis 2/2\" TAB:\n"
+" Axes=(Axis,Pt,dist)\n"
+" If an Edge of a Cube is selected the Cube is duplicate \n"
+" with the corresponding\n"
+" Edge at the defined distance from the original.\n"
+" - in \"Plane\" TAB:\n"
+" Plane=(Plane,dist) ", None))
+ self.radioButton_copy.setText(_translate("Form", "Object copy", None))
+ self.label_10.setToolTip(_translate("Form", "Change the tolerance for the following functions:\n"
+" - in \"Check\" TAB:\n"
+" are Parallel?\n"
+" are Perpendicular?\n"
+" are Coplanar?", None))
+ self.label_10.setText(_translate("Form", "Tolerance", None))
+ self.tolerance_edit.setToolTip(_translate("Form", "Change the tolerance for the following functions:\n"
+" - in \"Check\" TAB:\n"
+" are Parallel?\n"
+" are Perpendicular?\n"
+" are Coplanar?", None))
+ self.tolerance_edit.setText(_translate("Form", "1e-10", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Origin_Tab_2), _translate("Form", "Ori. Pref.", None))
+ self.button_circle_center.setToolTip(_translate("Form", "Create a Point at center location of each selected Circle(s) or Arc(s).", None))
+ self.button_circle_center.setText(_translate("Form", "Circle(s) Center", None))
+ self.button_point_line_point.setToolTip(_translate("Form", "Point(s)=(Point(s),Line(s)):\n"
+"Create projection(s) of Point(s) onto Line(s).\n"
+"- First select one (or several) Point(s)\n"
+"- Second select one or several) Line(s)\n"
+"- Then push this button\n"
+"\n"
+"Plot the intersection point T on a Line given one Line and One Point C.\n"
+"The Vector TC is perpendicular to the Line.\n"
+"The symetric point Cprime is also created as TC=TCprime.", None))
+ self.button_point_line_point.setText(_translate("Form", "Point(s)=(Pt(s),Line(s)) ", None))
+ self.button_face_center.setToolTip(_translate("Form", "Create a Point at center location of each selected Face(s).", None))
+ self.button_face_center.setText(_translate("Form", "Face(s) Center", None))
+ self.button_line_center.setToolTip(_translate("Form", "Create Point(s):\n"
+"Cut each selected Line(s) in 2 (n) parts and create a (n-1) Point(s) at ends of edge(s).\n"
+"The number indicates how many parts to consider.", None))
+ self.button_line_center.setText(_translate("Form", "Line(s) Center", None))
+ self.spin_line_center.setToolTip(_translate("Form", "The number indicates in how many parts each selected Lines(s) will be cut (Max 100).", None))
+ self.button_Npoints_center.setToolTip(_translate("Form", "Create a Point at mean location of all selected points.", None))
+ self.button_Npoints_center.setText(_translate("Form", "Points Center", None))
+ self.button_line_face_point.setToolTip(_translate("Form", "Create a point at the intersection of the Line and Plane selected.", None))
+ self.button_line_face_point.setText(_translate("Form", "Point=(Line,Face) ", None))
+ self.button_object_center.setToolTip(_translate("Form", "Create a Point at center location of all selected Object(s).\n"
+" if BBox is not toggled\n"
+" This point is the MEAN location of all center of Mass (if exist) of all objects.\n"
+" All center of Mass will be created too.\n"
+" \n"
+"if BBox check box is toggled\n"
+" This point is the center of the Global X,Y,Z bounding box of all objects.\n"
+" This bounding box alway exists (especially for draft objects).\n"
+" Be aware this point is not necessary the center of Mass of all Objects!", None))
+ self.button_object_center.setText(_translate("Form", "Object(s) Center", None))
+ self.checkBox_object_center.setToolTip(_translate("Form", "if BBox check box is toggled\n"
+" This point is the center of the Global X,Y,Z bounding box of all objects.\n"
+" This bounding box alway exists (especially for draft objects).\n"
+" Be aware this point is not necessary the center of Mass of all Objects!", None))
+ self.checkBox_object_center.setText(_translate("Form", "BBox", None))
+ self.button_line_extrema.setToolTip(_translate("Form", "Create Points at start and end location of each selected Line(s).", None))
+ self.button_line_extrema.setText(_translate("Form", "Line(s) Extrema", None))
+ self.button_point_face_point.setToolTip(_translate("Form", "Point(s)=(Point(s),Face(s)):\n"
+"Create projection(s) of Point(s) onto Face(s).\n"
+"- First select one (or several) Point(s)\n"
+"- Second select one or several) Plane(s)\n"
+"- Then push this button\n"
+"\n"
+"Plot the intersection point T on a Plane given one Plane and One Point C.\n"
+"The Vector TC is perpendicular to the plane.", None))
+ self.button_point_face_point.setText(_translate("Form", "Point(s)=(Pt(s),Face(s))", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Point_Tab1_2), _translate("Form", "Point 1/2", None))
+ self.tabWidget_7.setTabToolTip(self.tabWidget_7.indexOf(self.Point_Tab1_2), _translate("Form", "Point", None))
+ self.button_twolines_point.setToolTip(_translate("Form", "Plot one or two Point(s) at minimum distance of two Lines\n"
+"Create a Point at intersection of 2 crossing Lines.", None))
+ self.button_twolines_point.setText(_translate("Form", "Point=(Line,Line) ", None))
+ self.button_point_on_line.setToolTip(_translate("Form", "Create a Point at a certain distance along the line \n"
+"respecting to the choosen reference starting point.", None))
+ self.button_point_on_line.setText(_translate("Form", "Point along Line", None))
+ self.distance_point_on_line.setToolTip(_translate("Form", "Distance from the extremity", None))
+ self.distance_point_on_line.setText(_translate("Form", "0.0", None))
+ self.button_distPoint.setToolTip(_translate("Form", "Point=(Point,Ax,dist):\n"
+"Create a Point along the given Axis, at a given distance of the selected Point.\n"
+"The Axis indicate the direction along where the Point is duplicate.\n"
+"(you can also select several axes to define different directions)\n"
+"- First select a Point (you can select several points) and one or several Axis \n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The distance between points can be defined first.\n"
+"Positive number in one direction and negative in the other one.\n"
+"The second number indicates the number of Points to create.\n"
+"", None))
+ self.button_distPoint.setText(_translate("Form", "Point=(Pt,Ax,dist)", None))
+ self.dist_point.setToolTip(_translate("Form", "Distance to the new Axis.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_point.setText(_translate("Form", "10.0", None))
+ self.spin_dist_point.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_cut_wire_point.setToolTip(_translate("Form", "Create Points by Partition:\n"
+"Cut the selected wire(s) in 2(n) parts and create 2(n) Points with function discretize.\n"
+"The number indicates in how many parts to cut.\n"
+"Wires can be:\n"
+" Line\n"
+" Circle\n"
+" Arc\n"
+" Ellipse\n"
+"An object must also be seleted but before any Wire to cut all his edges! ", None))
+ self.button_cut_wire_point.setText(_translate("Form", "Points=Cut(Wire)", None))
+ self.spin_wire_cut_point.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_click_for_point.setToolTip(_translate("Form", "Create a set of Points on a Plane perpendicular to the view at location of mouse clicks.\n"
+"- Click first on the Button then click on the View (with no object in background).\n"
+"- Click first on the Button then click on the View (with an object in background), it will attach the points to the surface of the object.\n"
+"", None))
+ self.button_click_for_point.setText(_translate("Form", "Click", None))
+ self.button_object_base_point.setToolTip(_translate("Form", "Create Base Point of all selected Object(s).", None))
+ self.button_object_base_point.setText(_translate("Form", "Object(s) Base Point", None))
+ self.button_point_to_sketch.setToolTip(_translate("Form", "Transform Point(s) in Sketch\'s Point(s) by projection onto the Sketch\'s Plane:\n"
+"- First select an existing Skecth;\n"
+"- Select as much as Points needed;\n"
+"Then click on this button.", None))
+ self.button_point_to_sketch.setText(_translate("Form", "Point(s) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Point_Tab2_2), _translate("Form", "Point 2/2", None))
+ self.button_object_axis.setToolTip(_translate("Form", "Create 3 Axes at center location of all selected Object(s).", None))
+ self.button_object_axis.setText(_translate("Form", "Object(s) X, Y, Z Axes", None))
+ self.button_twopoints_axis.setToolTip(_translate("Form", "Create an Axis crossing 2 Points.", None))
+ self.button_twopoints_axis.setText(_translate("Form", "Two Points Axis", None))
+ self.extension_twopoints_axis.setToolTip(_translate("Form", "Distance for the extensions on extrema", None))
+ self.extension_twopoints_axis.setText(_translate("Form", "0.0", None))
+ self.button_Npoints_axis.setToolTip(_translate("Form", "Axis=(Points):\n"
+"Create a \"best fit\" line from a set of points using Singular Value Decomposition..\n"
+"- First select several Points\n"
+"- Then push this button\n"
+"\n"
+"The 3 eigenvectors are generated.\n"
+"Orange one is the best fit line.\n"
+"", None))
+ self.button_Npoints_axis.setText(_translate("Form", "Axis from Point(s)", None))
+ self.button_cylinder_axis.setToolTip(_translate("Form", "Create the Axis of a Cylinder.", None))
+ self.button_cylinder_axis.setText(_translate("Form", "Cylinder(s) Axis", None))
+ self.button_plane_axis.setToolTip(_translate("Form", "Plane(s) Axes:\n"
+"Create Perpendicular Axes at the center location of a Plane.\n"
+" - First select one (or several) Plane(s);\n"
+" - Then press the button\n"
+"\n"
+"or \n"
+"Create Perpendicular Axes of a Plane at selected locations.\n"
+" - First select one Plane;\n"
+" - Second select Point(s) for locations\n"
+" - Press the button\n"
+"\n"
+"NB: Axes are created on both sides of the Plane\n"
+"The extension is 10 units by defaut but must be changed if needed.", None))
+ self.button_plane_axis.setText(_translate("Form", "Plane(s) Axes", None))
+ self.button_face_normal.setToolTip(_translate("Form", "Create a normal Axis of a Face.\n"
+"To create a Normal at click location on a Face:\n"
+"- Click first in the view to select and object,\n"
+"- then push the button, \n"
+"- then click on a location on the selected Face.\n"
+"or\n"
+"To create several Normal of the face:\n"
+"- Click first in the view to select and object,\n"
+"- then select one or several points of the face\n"
+"- then push the button.\n"
+"(These selections can also be done into the Combined View)", None))
+ self.button_face_normal.setText(_translate("Form", "Face Normal", None))
+ self.extension_face_normal.setToolTip(_translate("Form", "Length of external part of the (Normal) Axis.\n"
+" If zero In case of cylinder axis the extension will be a percentage of the object length.\n"
+" If zero and plane of face Normal, the extension will be 10 units.", None))
+ self.extension_face_normal.setText(_translate("Form", "0.0", None))
+ self.button_point_line_axis.setToolTip(_translate("Form", "Create an Axis Parallel to an Axis (as Direction) and crossing a Point.\n"
+"- Select one Axis and one (or several) Point(s) NOT on the previous Axis.\n"
+"Define the length and the attach point if needed.\n"
+"A Length of Zero means the length of already selected Axis will be used.", None))
+ self.button_point_line_axis.setText(_translate("Form", "Axis=(Pt,Dir)", None))
+ self.extension_line.setToolTip(_translate("Form", "Define the length of the Axis to create.\n"
+"A Length of Zero means the length of already selected Axis will be used.", None))
+ self.extension_line.setText(_translate("Form", "0.0", None))
+ self.point_loc_comboBox.setToolTip(_translate("Form", "The Attach Point will be at :\n"
+"Start of the Axis;\n"
+"Mid of the Axis;\n"
+"End of the Axis.", None))
+ self.point_loc_comboBox.setItemText(0, _translate("Form", "Start", None))
+ self.point_loc_comboBox.setItemText(1, _translate("Form", "Mid", None))
+ self.point_loc_comboBox.setItemText(2, _translate("Form", "End", None))
+ self.button_line_point_axis.setToolTip(_translate("Form", "Create an Axis Perpendicular to an Axis and crossing a Point\n"
+"-Select one Axis and one (or several) Point(s) NOT on the previous Axis.", None))
+ self.button_line_point_axis.setText(_translate("Form", "Axis=(Axis,Point)", None))
+ self.extension_line_point_axis.setToolTip(_translate("Form", "Distance for the extensions on extrema.", None))
+ self.extension_line_point_axis.setText(_translate("Form", "0.0", None))
+ self.button_twolines_axis.setToolTip(_translate("Form", "Create an Axis between two Axes.\n"
+"-Select two Axes.", None))
+ self.button_twolines_axis.setText(_translate("Form", "Axis=(Line,Line)", None))
+ self.button_plane_point_line_axis.setToolTip(_translate("Form", "Create an Axis Perpendicular to an Axis, crossing a Point and Parallel to a Plane.\n"
+"-Select one Plane, one Axis and one Point ON the previous Axis.", None))
+ self.button_plane_point_line_axis.setText(_translate("Form", "Axis=(Plane,Point,Axis)", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Axis_Tab1_2), _translate("Form", "Axis 1/2", None))
+ self.button_line_plane_axis.setToolTip(_translate("Form", "Axes=(Pl(s),Axes):\n"
+"Create projection(s) of Axes onto Plane(s).\n"
+"- First select one (or several) Line(s)\n"
+"- Second select one or several) Plane(s)\n"
+"- Then push this button", None))
+ self.button_line_plane_axis.setText(_translate("Form", "Axes=(Pl(s),Axes)", None))
+ self.button_twoplanes_axis.setToolTip(_translate("Form", "Create an Axis by intersect of 2 Planes.", None))
+ self.button_twoplanes_axis.setText(_translate("Form", "Axis=(Plane,Plane)", None))
+ self.button_distLine.setToolTip(_translate("Form", "Axes=(Axis,Pt,dist):\n"
+"Create an Axis parallel to a given Axis, Point at a given distance.\n"
+"The Axis is created along the Plane defined by the given Axis and Point.\n"
+"- First select an Axis (or several Axes) and a Point\n"
+"(you can also select several points to define different Planes)\n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The distance to the Axis created can be defined first.\n"
+"Positive number in one direction and negative in the other one.\n"
+"The second number indicates the number of Axes to create.\n"
+"With option \"Object copy\" in \"Ori. Pref.\" TAB\n"
+" - If an Edge of a Cube is selected the Cube is duplicate with the corresponding\n"
+"Edge at the defined distance from the original.\n"
+"Several Edges of the cube can be selected.\n"
+"", None))
+ self.button_distLine.setText(_translate("Form", "Axes=(Axis,Pt,dist)", None))
+ self.dist_line.setToolTip(_translate("Form", "Distance to the new Axis.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_line.setText(_translate("Form", "10.0", None))
+ self.spin_dist_line.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_angleLine.setToolTip(_translate("Form", "Axes=(Axis,Pt,Pl,a):\n"
+"Create an Axis with an Angle to a origin Axis.\n"
+"- First select an Axis to rotate, then a Plane and a rotation Point\n"
+"- Second push this button\n"
+"or\n"
+"- First select an Axis to rotate, then a rotation Axis and a rotation Point\n"
+"- Second push this button\n"
+"\n"
+"NB:\n"
+"The Axis is created by rotation using :\n"
+" The Normal of the selected Plane as rotation Axis \n"
+"and selected Point as rotation Point. \n"
+"or\n"
+" The second selected Axis as rotation Axis \n"
+"and selected Point as rotation Point. \n"
+"\n"
+" - The angle (in degrees) of rotation can be defined first.\n"
+"Positive number in one direction and negative in the other one.\n"
+" - The second number indicates the number of Axes to create.\n"
+"\n"
+"", None))
+ self.button_angleLine.setText(_translate("Form", "Axes=(Axis,Pt,Pl,a)", None))
+ self.angle_line.setToolTip(_translate("Form", "Angle to the new Axis.\n"
+"Can be negative for the reverse direction!\n"
+"(in degrees)", None))
+ self.angle_line.setText(_translate("Form", "45.0", None))
+ self.spin_angle_line.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_cut_wire_axis.setToolTip(_translate("Form", "Create Axes by Partition:\n"
+"Cut the selected wire(s) in 2(n) parts and create 2(n) Axes with function discretize.\n"
+"The number indicates in how many parts to cut.\n"
+"Wires can be:\n"
+" Line\n"
+" Circle\n"
+" Arc\n"
+" Ellipse\n"
+"An object must also be seleted but before any Wire to cut all his Edges!\n"
+"NB: You can change the successive lines to be bicolor (red and white) \n"
+"in \"Ori. Pref.\" TAB \n"
+"", None))
+ self.button_cut_wire_axis.setText(_translate("Form", "Axes=Cut(Wire)", None))
+ self.spin_wire_cut_axis.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_cut_axis.setToolTip(_translate("Form", "Create Axes:\n"
+"Cut the selected Line in 2(n) parts and create 2(n) Axes.\n"
+"The number indicates in how many parts to cut.\n"
+"\n"
+"NB: You can change the successive lines to be bicolor (red and white) \n"
+"in \"Ori. Pref.\" TAB", None))
+ self.button_cut_axis.setText(_translate("Form", "Axes=Cut(Axis)", None))
+ self.spin_axis_cut.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_extension_axis.setToolTip(_translate("Form", "Enlarge(Axis):\n"
+"Extend an Axis at two extrema.\n"
+"- First select an Axis (or several Axes) \n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The percentage of the extension can be defined first.", None))
+ self.button_extension_axis.setText(_translate("Form", "Enlarge(Axis)", None))
+ self.extension_axis.setToolTip(_translate("Form", "Extension of the Line in percentage.", None))
+ self.extension_axis.setText(_translate("Form", "50.0", None))
+ self.button_click_for_axis.setToolTip(_translate("Form", "Create a set of Lines on a Plane perpendicular to the view at location of 2 mouse clicks.\n"
+"- Click first on the Button then at least twice click on the View (with no object in background).\n"
+"- Click first on the Button then at least twice click on the View (with an object in background), it will attach the lines to the surface of the object.", None))
+ self.button_click_for_axis.setText(_translate("Form", "Click", None))
+ self.button_object_base_axes.setToolTip(_translate("Form", "Create 3 Axes at Base location of all selected Object(s).", None))
+ self.button_object_base_axes.setText(_translate("Form", "Object(s) Base Axes", None))
+ self.button_line_to_sketch.setToolTip(_translate("Form", "Transform Line(s) in Sketch\'s Line(s) by projection onto the Sketch\'s Plane:\n"
+"- First select an existing Skecth;\n"
+"- Select as much as Lines needed;\n"
+"Then click on this button.", None))
+ self.button_line_to_sketch.setText(_translate("Form", "Axis(es) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Axis_Tab2_2), _translate("Form", "Axis 2/2", None))
+ self.lineEdit.setText(_translate("Form", "Examples from http://www.mathcurve.com/", None))
+ self.groupBox_14.setTitle(_translate("Form", "Equation :", None))
+ self.label_y_3.setText(_translate("Form", "Y (a,b,t) ", None))
+ self.ParCurve_a_2.setText(_translate("Form", "10 # Radius", None))
+ self.label_b_3.setText(_translate("Form", "b (a, t) ", None))
+ self.ParCurve_y_2.setText(_translate("Form", "b*sin(t)", None))
+ self.checkBox_polar_2.setToolTip(_translate("Form", "Toggle for Polar coordinates:\n"
+"then x is interpreted as radius\n"
+" and y is interpreted as angle teta.", None))
+ self.checkBox_polar_2.setText(_translate("Form", " Polar coord.", None))
+ self.label_x_3.setText(_translate("Form", "X (a,b,t) ", None))
+ self.ParCurve_x_2.setText(_translate("Form", "a*cos(t)", None))
+ self.label_a_3.setText(_translate("Form", "a (t) ", None))
+ self.ParCurve_b_2.setText(_translate("Form", "a", None))
+ self.ParCurve_comboBox_2.setToolTip(_translate("Form", "Choose another curve from the list.", None))
+ self.ParCurve_button_edit_2.setToolTip(_translate("Form", "Click to access to a table where you can edit all parameters of all curves and \n"
+"save your custom curves.", None))
+ self.ParCurve_button_edit_2.setText(_translate("Form", "Edit", None))
+ self.checkBox_close_2.setText(_translate("Form", "Closed curve", None))
+ self.checkBox_face_2.setText(_translate("Form", "Create Face", None))
+ self.label_name_2.setText(_translate("Form", "Name", None))
+ self.ParCurve_name_2.setText(_translate("Form", "Circle", None))
+ self.groupBox_15.setTitle(_translate("Form", "Parameters", None))
+ self.label_tmin_3.setText(_translate("Form", "t min", None))
+ self.ParCurve_tmin_2.setText(_translate("Form", "0", None))
+ self.label_tmax_3.setText(_translate("Form", "t max", None))
+ self.ParCurve_tmax_2.setText(_translate("Form", "2*pi", None))
+ self.label_tstep_3.setText(_translate("Form", "step", None))
+ self.ParCurve_tstep_2.setText(_translate("Form", "0.01", None))
+ self.groupBox_16.setTitle(_translate("Form", "Type of 2D Curve", None))
+ self.checkBox_points_2.setText(_translate("Form", "Points", None))
+ self.checkBox_polyline_2.setText(_translate("Form", "Polyline", None))
+ self.checkBox_bspline_2.setText(_translate("Form", "Bspline", None))
+ self.checkBox_bezier_2.setText(_translate("Form", "Bezier", None))
+ self.ParCurve_button_store_2.setToolTip(_translate("Form", "Click to store the current edited curve into the table.\n"
+"To save your curve you need to go to \"Edit\".", None))
+ self.ParCurve_button_store_2.setText(_translate("Form", "Store", None))
+ self.ParCurve_button_apply_2.setToolTip(_translate("Form", "Click to visualize the curve.", None))
+ self.ParCurve_button_apply_2.setText(_translate("Form", "Apply", None))
+ self.tabWidget_8.setTabText(self.tabWidget_8.indexOf(self.tab_14), _translate("Form", "2D", None))
+ self.ParCurve_comboBox_3.setToolTip(_translate("Form", "Choose another curve from the list.", None))
+ self.ParCurve_button_edit_3.setToolTip(_translate("Form", "Click to access to a table where you can edit all parameters of all curves and \n"
+"save your custom curves.", None))
+ self.ParCurve_button_edit_3.setText(_translate("Form", "Edit", None))
+ self.label_name_3.setText(_translate("Form", "Name", None))
+ self.ParCurve_name_3.setText(_translate("Form", "Cylindrical helix", None))
+ self.groupBox_17.setTitle(_translate("Form", "Equation :", None))
+ self.label_a_4.setText(_translate("Form", "a (t) ", None))
+ self.ParCurve_a_3.setText(_translate("Form", "10*0.05 #Vert. step", None))
+ self.label_b_4.setText(_translate("Form", "b (a, t) ", None))
+ self.ParCurve_b_3.setText(_translate("Form", "1", None))
+ self.label_c_2.setText(_translate("Form", "c (a, b, t) ", None))
+ self.ParCurve_c_3.setText(_translate("Form", "10 # Radius", None))
+ self.label_x_4.setText(_translate("Form", "X (a,b,c,t) ", None))
+ self.ParCurve_x_3.setText(_translate("Form", "c*sin(t)", None))
+ self.label_y_4.setText(_translate("Form", "Y (a,b,c,t) ", None))
+ self.label_z_2.setText(_translate("Form", "Z (a,b,c,t) ", None))
+ self.ParCurve_z_3.setText(_translate("Form", "a*t", None))
+ self.ParCurve_y_3.setText(_translate("Form", "c*cos(t)", None))
+ self.groupBox_18.setTitle(_translate("Form", "Parameters", None))
+ self.label_tmin_4.setText(_translate("Form", "t min", None))
+ self.label_tmax_4.setText(_translate("Form", "t max", None))
+ self.ParCurve_tmax_3.setText(_translate("Form", "5*2*pi #5 circles", None))
+ self.label_tstep_4.setText(_translate("Form", "step", None))
+ self.ParCurve_tstep_3.setText(_translate("Form", "0.01", None))
+ self.ParCurve_tmin_3.setText(_translate("Form", "0", None))
+ self.groupBox_19.setTitle(_translate("Form", "Type of 3D Curve", None))
+ self.checkBox_points_3.setText(_translate("Form", "Points", None))
+ self.checkBox_polyline_3.setText(_translate("Form", "Polyline", None))
+ self.checkBox_bspline_3.setText(_translate("Form", "Bspline", None))
+ self.checkBox_bezier_3.setText(_translate("Form", "Bezier", None))
+ self.checkBox_close_3.setText(_translate("Form", "Closed curve", None))
+ self.ParCurve_button_store_3.setToolTip(_translate("Form", "Click to store the current edited curve into the table.\n"
+"To save your curve you need to go to \"Edit\".", None))
+ self.ParCurve_button_store_3.setText(_translate("Form", "Store", None))
+ self.ParCurve_button_apply_3.setToolTip(_translate("Form", "Click to visualize the curve.", None))
+ self.ParCurve_button_apply_3.setText(_translate("Form", "Apply", None))
+ self.tabWidget_8.setTabText(self.tabWidget_8.indexOf(self.tab_15), _translate("Form", "3D", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Wire_Tab_2), _translate("Form", "Wire", None))
+ self.button_linecenter_circle.setToolTip(_translate("Form", "Select an Axis and a Point to create a Circle\n"
+"centered on the Point, perpendicular to the Axis \n"
+"with the given radius.", None))
+ self.button_linecenter_circle.setText(_translate("Form", "Circle=(Axis, center)", None))
+ self.radius_circle.setToolTip(_translate("Form", "Radius of the Circle.", None))
+ self.radius_circle.setText(_translate("Form", "10.0", None))
+ self.button_linepoint_circle.setToolTip(_translate("Form", "Select an Axis and a Point to create a Circle\n"
+"centered on the Axis and tangenting the Point.", None))
+ self.button_linepoint_circle.setText(_translate("Form", "Circle=(Axis, point)", None))
+ self.button_3points_circle.setToolTip(_translate("Form", "Select 3 Points to create a Circle.", None))
+ self.button_3points_circle.setText(_translate("Form", "Circle=(3 points)", None))
+ self.button_cut_circle.setToolTip(_translate("Form", "Create Arcs:\n"
+"Cut the selected Circle(s) or Arc(s) in 2(n) parts and create 2(n) Arcs.\n"
+"The number indicates in how many parts to cut.\n"
+"- First select as many Circles and Arcs you want\n"
+"- Second set the number of parts\n"
+"- Third push this button\n"
+"\n"
+"NB: You can change the successive lines to be bicolor (red and white) \n"
+"in \"Ori. Pref.\" TAB", None))
+ self.button_cut_circle.setText(_translate("Form", "Arcs=Cut(Circle)", None))
+ self.spin_circle_cut.setToolTip(_translate("Form", "The number indicates in how many parts the selected Circle will be cut (Max 100).", None))
+ self.button_3points_ellipse.setToolTip(_translate("Form", "Select a center and 2 Points to create an Ellipse.", None))
+ self.button_3points_ellipse.setText(_translate("Form", "Ellipse=(3 points)", None))
+ self.button_circle_to_sketch.setToolTip(_translate("Form", "Transform Circle(s) and Arc(s) in Sketch\'s object(s) by projection onto the Sketch\'s Plane:\n"
+"- First select an existing Skecth;\n"
+"- Select as much as Circles and arcs needed;\n"
+"Then click on this button.", None))
+ self.button_circle_to_sketch.setText(_translate("Form", "Circle(s) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_16), _translate("Form", "Circle", None))
+ self.checkBox_allsubselect.setToolTip(_translate("Form", "if \"All\" is toggled:\n"
+" All the wires of the Trajectory selected will be considered.\n"
+"\n"
+"Untoggled if you select a Skecth with several curves and you want to process\n"
+"only the one subselected.", None))
+ self.checkBox_allsubselect.setText(_translate("Form", "All", None))
+ self.transition_comboBox.setToolTip(_translate("Form", "For the function :\n"
+"makePipeShell(shapeList,[isSolid,isFrenet,transition])\n"
+"Select a Transition option in case of trajectory with several wires; Transition can be:\n"
+"# 0 (default), 1 (right corners) or 2 (rounded corners).", None))
+ self.transition_comboBox.setItemText(0, _translate("Form", "No Transition", None))
+ self.transition_comboBox.setItemText(1, _translate("Form", "Right corners", None))
+ self.transition_comboBox.setItemText(2, _translate("Form", "Rounded corners", None))
+ self.checkBox_solid.setToolTip(_translate("Form", "if \"Solid\" is toggled:\n"
+" The Beam sweep will generate a solid with a closed selected wire as Section.\n"
+"If this check box is toggle off:\n"
+" Or if the Section wire is not closed, only a shell will be created.", None))
+ self.checkBox_solid.setText(_translate("Form", "Solid", None))
+ self.radioButton_Frenet.setToolTip(_translate("Form", "Force the \"isFrenet\" parameter to True for the function :\n"
+"makePipeShell(shapeList,[isSolid,isFrenet,transition])\n"
+"", None))
+ self.radioButton_Frenet.setText(_translate("Form", "isFrenet", None))
+ self.button_sweep.setToolTip(_translate("Form", "Section Sweep:\n"
+"# Make a loft defined by a list of profiles along a wire.\n"
+"Will extrude/sweep a Section along a Trajectory like sweep from Part Workbench but:\n"
+"- the Section center (of Mass) is move at the first point of the Trajectory and;\n"
+"- the \"plane\" of the Section is rotate to be perpendicular to the Trajectory.\n"
+"\n"
+"- Select first one Section wire (Closed wire will generate volumes by default)\n"
+"(This Section can be a compound from sketch to realize \"tube\")\n"
+"- Select one or several wire(s) as Trajectory(ies)\n"
+"- Then push this button\n"
+"\n"
+"NB: You can change first:\n"
+"- Solid option (if toggled will generate a solid for Closed wire Section only) \n"
+"- isFrenet option\n"
+"- All option (means if the trajectory selected is a compound, all sub wires will be used for the sweep)\n"
+"- Transition Option (Select a Transition option in case of trajectory with several wires; Transition can be:\n"
+"# 0 (default), 1 (right corners) or 2 (rounded corners).)\n"
+"", None))
+ self.button_sweep.setText(_translate("Form", "Section Sweep", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_17), _translate("Form", "Sweeping", None))
+ self.button_click_for_plane.setToolTip(_translate("Form", "Click:\n"
+"Create a rectangular Plane perpendicular to the view at location of one mouse click.\n"
+"Define the width and the length of the Plane if needed.\n"
+"- Click first on the Button then click once on the View.\n"
+"- Click first on the Button then click once on top of one object of the View\n"
+" to attach the plane at this object.\n"
+"- You can also select an already existing point first and click the button to attach the plane.\n"
+"\n"
+"NB: The plane width and length can be defined first.\n"
+"", None))
+ self.button_click_for_plane.setText(_translate("Form", "Click", None))
+ self.length_plane.setToolTip(_translate("Form", "Length of the Plane.", None))
+ self.length_plane.setText(_translate("Form", "10.0", None))
+ self.width_plane.setToolTip(_translate("Form", "Width of the Plane.", None))
+ self.width_plane.setText(_translate("Form", "10.0", None))
+ self.button_planeandaxis_plane.setToolTip(_translate("Form", "Plane=(Plane, Axis):\n"
+"Create a Plane crossing a Line and perpendicular to a Plane.\n"
+"- First select a plane and a line NOT on the previous plane\n"
+"- Second push this button\n"
+"\n"
+"NB: The plane created can be rotated if a none null angle is defined first.", None))
+ self.button_planeandaxis_plane.setText(_translate("Form", "Plane=(Plane, Axis)", None))
+ self.angle_planeandaxis_plane.setToolTip(_translate("Form", "Angle of rotation of the created Plane (in degrees).", None))
+ self.angle_planeandaxis_plane.setText(_translate("Form", "0.0", None))
+ self.button_axisandpoint_plane.setToolTip(_translate("Form", "Plane=(Point, Axis):\n"
+"Create a plane crossing a Line and a Point.\n"
+"- First select a line and a point NOT on the previous line\n"
+"- Second push this button", None))
+ self.button_axisandpoint_plane.setText(_translate("Form", "Plane=(Point, Axis)", None))
+ self.button_axis_point_plane.setToolTip(_translate("Form", "Plane=(Point, _|Axis):\n"
+"Create a plane perpendicular to a Line and crossing a Point.\n"
+"- First select a line and a point NOT on the previous line\n"
+"- Second push this button", None))
+ self.button_axis_point_plane.setText(_translate("Form", "Plane=(Point, _|Axis)", None))
+ self.button_face_tangent.setToolTip(_translate("Form", "Face Tangent:\n"
+"Create a tanget Plane at click location of a Face.\n"
+"- First click in the view to select and object,\n"
+"- Second push this button\n"
+"-Third click on a location on the selected object.\n"
+"\n"
+"NB: The plane width and length can be defined first.", None))
+ self.button_face_tangent.setText(_translate("Form", "Face Tangent", None))
+ self.length_plane_2.setToolTip(_translate("Form", "Length of the Plane.", None))
+ self.length_plane_2.setText(_translate("Form", "10.0", None))
+ self.width_plane_2.setToolTip(_translate("Form", "Width of the Plane.", None))
+ self.width_plane_2.setText(_translate("Form", "10.0", None))
+ self.button_threepoints_plane.setToolTip(_translate("Form", "Plane=(3 Points):\n"
+"Create a Plane crossing 3 Points.\n"
+"- First select 3 different points\n"
+"- Second push this button", None))
+ self.button_threepoints_plane.setText(_translate("Form", "Plane=(3 Points)", None))
+ self.button_distPlane.setToolTip(_translate("Form", "Plane=(Plane,dist):\n"
+"Create a Plane parallel to a Plane at a given distance.\n"
+"- First select a plane or several Planes\n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The distance to the plane created can be defined first.\n"
+"Positive number in one direction and negative in the other one.\n"
+"The second number indicates the number of planes to create.\n"
+"With option \"Object copy\" in \"Ori. Pref.\" TAB\n"
+" - If a Face of a Cube is selected the Cube is duplicate with the \n"
+"corresponding Face at the defined distance from the original.\n"
+"Several Faces of the cube can be selected.", None))
+ self.button_distPlane.setText(_translate("Form", "Plane=(Plane,dist)", None))
+ self.dist_plane.setToolTip(_translate("Form", "Distance to the new plane.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_plane.setText(_translate("Form", "10.0", None))
+ self.spin_dist_plane.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_planeandpoint_plane.setToolTip(_translate("Form", "Plane=(Point, Plane):\n"
+"Create a plane crossing a Point and parallel to a Plane.\n"
+"- First select a plane and a point NOT on the previous plane\n"
+"- Second push this button\n"
+"\n"
+"NB: you can enlarge the created new plane by setting first an extension length.", None))
+ self.button_planeandpoint_plane.setText(_translate("Form", "Plane=(Point, Plane)", None))
+ self.extension_planePointPlane.setToolTip(_translate("Form", "Length for the extensions of the new Plane compared to initial one.", None))
+ self.extension_planePointPlane.setText(_translate("Form", "0.0", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Plane_Tab1_3), _translate("Form", "Plane 1/2", None))
+ self.button_object_center_planes.setToolTip(_translate("Form", "Object(s) Center Planes:\n"
+"Create 3 Planes (XY, XZ and YZ) at center location of all selected Object(s).\n"
+"- First select one or severl objects\n"
+"- Second push this button", None))
+ self.button_object_center_planes.setText(_translate("Form", "Object(s) Center Planes", None))
+ self.button_extension_plane.setToolTip(_translate("Form", "Enlarge(Plane):\n"
+"Extend a Plane in each dimension.\n"
+"- First select a Plane (or several Planes) \n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The percentage of the extension can be defined first.", None))
+ self.button_extension_plane.setText(_translate("Form", "Enlarge(Plane)", None))
+ self.extension_plane.setToolTip(_translate("Form", "Extension of the Plane in each dimension in percentage.", None))
+ self.extension_plane.setText(_translate("Form", "50.0", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Plane_Tab1_4), _translate("Form", "Plane 2/2", None))
+ self.button_boundingboxes.setToolTip(_translate("Form", "Create bounding boxes around each of selected object(s).\n"
+"6 rectangles at the limits of each bounding boxes will be created.", None))
+ self.button_boundingboxes.setText(_translate("Form", "Bounding Box(es)", None))
+ self.button_boundingbox.setToolTip(_translate("Form", "Create one bounding box around all of selected object(s).\n"
+"6 rectangles at the limits of the bounding box will be created.", None))
+ self.button_boundingbox.setText(_translate("Form", "Bounding Box", None))
+ self.checkBox_volumBB.setToolTip(_translate("Form", "if \"Vol.\" is toggled:\n"
+" In Addition of rectangles, the Bounding box will be also created as a Volume.", None))
+ self.checkBox_volumBB.setText(_translate("Form", "Vol.", None))
+ self.button_cylinder_create.setToolTip(_translate("Form", "Create a Cylinder aligned on Axes:\n"
+"- First select one or several couple of ( Axis and a Ref. Point). \n"
+"- Define Diameter and Length if needed.\n"
+"Then Click the button...\n"
+"It will create a Cylinder aligned on the selected axis \n"
+"with one of the extremities at the Ref. point,\n"
+"for all couple selected.", None))
+ self.button_cylinder_create.setText(_translate("Form", "Cylinder", None))
+ self.diameter_cylinder.setToolTip(_translate("Form", "Radius of the Cylinder.", None))
+ self.diameter_cylinder.setText(_translate("Form", "2.0", None))
+ self.length_cylinder.setToolTip(_translate("Form", "Length of the Cylinder.\n"
+"Negative value will reverse the direction from Ref. Point", None))
+ self.length_cylinder.setText(_translate("Form", "20.0", None))
+ self.button_cube_create.setToolTip(_translate("Form", "Create a Cuboid aligned on Axes:\n"
+"- First select one or several couple of ( Axis and a Ref. Point). \n"
+"- Define Dimensions if needed.\n"
+"Then Click the button...\n"
+"It will create a Cube aligned on the selected axis \n"
+"with one of the extremities at Ref. point,\n"
+"for all couple selected.", None))
+ self.button_cube_create.setText(_translate("Form", "Cube", None))
+ self.section_cube.setToolTip(_translate("Form", "Section (Length, Width) of the Cube.", None))
+ self.section_cube.setText(_translate("Form", "2.0,2.0", None))
+ self.height_cube.setToolTip(_translate("Form", "Heigth of the Cube.\n"
+"Negative value will reverse the direction from Ref. Point", None))
+ self.height_cube.setText(_translate("Form", "20.0", None))
+ self.button_sphere_create.setToolTip(_translate("Form", "Create a Sphere shell:\n"
+"- First select one or several Center Point(s). \n"
+"- Define Diameter if needed.\n"
+"Then Click the button...\n"
+"It will create Sphere shell(s) centered\n"
+"at the selected point(s).", None))
+ self.button_sphere_create.setText(_translate("Form", "Sphere", None))
+ self.diameter_sphere.setToolTip(_translate("Form", "Diameter of the Sphere.", None))
+ self.diameter_sphere.setText(_translate("Form", "10.0", None))
+ self.button_dome_create.setToolTip(_translate("Form", "Create a full geodesic dome shell:\n"
+"- First select one or several Center Point(s). \n"
+"- Define Diameter and Frequency Parameter (Integer between 1 to 10) if needed.\n"
+"Then Click the button...\n"
+"It will create full geodesic dome shell(s) with a X-Y-symmetry plane \n"
+"for even frequencies and centered\n"
+"at the selected point(s).\n"
+"\n"
+"If Frequency Parameter = 1, the code create an icosahedron. \n"
+"An icosahedron is a polyhedron with 20 faces.\n"
+"\n"
+"Original code from : Ulrich Brammer", None))
+ self.button_dome_create.setText(_translate("Form", "Dome", None))
+ self.spin_frequency_dome.setToolTip(_translate("Form", "Frequency Parameter (Integer between 1 to 20).", None))
+ self.diameter_dome.setToolTip(_translate("Form", "Diameter of the Dome.", None))
+ self.diameter_dome.setText(_translate("Form", "10.0", None))
+ self.button_letter.setToolTip(_translate("Form", "AB:\n"
+"Create 3D Text attached to a Point. \n"
+"- First select a Plane\n"
+"- Then push this button\n"
+"in this case the center of the text is attached to center of the Plane;\n"
+"or\n"
+"- First select a Plane and a Point on the Plane\n"
+"- Then push this button\n"
+"NB:\n"
+" Change the text and his size if needed", None))
+ self.button_letter.setText(_translate("Form", "AB", None))
+ self.letter.setToolTip(_translate("Form", "Put the desired text here", None))
+ self.letter.setText(_translate("Form", "A", None))
+ self.size_letter.setToolTip(_translate("Form", "Size of the font.", None))
+ self.size_letter.setText(_translate("Form", "2.0", None))
+ self.button_revolve.setToolTip(_translate("Form", "Revolve:\n"
+"Make the revolution of Edge(s) or Wire(s) around an Axis:\n"
+"- Select one or several wire(s)\n"
+"- Then push this button\n"
+"or\n"
+"- Select FIRST one Point as center of rotation and one Axis as rotation axis !\n"
+"- Select one or several wire(s)\n"
+"- Then push this button\n"
+"\n"
+"NB:\n"
+" You can also define the angle of revolution if needed\n"
+" If no Axis is selected the Z axis is considered as Axis of rotation !\n"
+" If no Point is selected the Origin is considered as Center of rotation !", None))
+ self.button_revolve.setText(_translate("Form", "Revolve", None))
+ self.angle_revolve.setToolTip(_translate("Form", "Angle of the revolution in degrees.", None))
+ self.angle_revolve.setText(_translate("Form", "360", None))
+ self.button_common.setToolTip(_translate("Form", "Compute the common parts between selected shapes.\n"
+"- Select at least two objects and click.\n"
+"\n"
+"Highlight common parts by showing the common shape in red and setting half-transparency on original parts (the original objects are not modified).\n"
+"Original code from HighlightCommon.FCMacro\n"
+" https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightCommon.FCMacro\n"
+" Authors = 2015 Javier Martinez Garcia\n"
+"", None))
+ self.button_common.setText(_translate("Form", "Common", None))
+ self.button_difference.setToolTip(_translate("Form", "Compute the difference parts between selected shapes.\n"
+"- Select two objects and click.\n"
+"\n"
+"Compute the difference between two shapes. Additions are marked red, removals are marked green. Both original parts will be half transparent. The volume of the additions and removals are printed in the console. \n"
+"Original code from HighlightDifference.FCMacro\n"
+" https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightDifference.FCMacro\n"
+" Authors = 2015 Gaël Ecorchard (Galou)", None))
+ self.button_difference.setText(_translate("Form", "Difference", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Objects_Tab2_2), _translate("Form", "Object", None))
+ self.button_alignface2view.setToolTip(_translate("Form", "Align the face of selected object(s) to the actual view Plane.\n"
+" - Click first to select a Face of one or several objects.\n"
+"These objects will be moved not the point of view.\n"
+"Then Click the button.\n"
+"\n"
+"NB:\n"
+" The center of rotation is the center of the bounbing box if possible or \n"
+" the center of the Face.\n"
+" \n"
+" if the Face of the object selected is already aligned to the view Plane,\n"
+" a rotation of 180 deg is applied to the object.\n"
+" In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)\n"
+"\n"
+" Two clicks will rotate by 180 deg the moving objects.\n"
+"\n"
+"", None))
+ self.button_alignface2view.setText(_translate("Form", "Align Face to View", None))
+ self.button_align_faces.setToolTip(_translate("Form", "Align the Face(s) from selected object(s) to the last Face selected.\n"
+" - Click first to select a Face of an object or several Faces from several objects. \n"
+"These objects will be moved.\n"
+" - Click second to select a Face to align to (the last object is fixed and will never move).\n"
+"Then Click the button.\n"
+"\n"
+"NB:\n"
+" The center of rotation is the center of the bounbing box if possible or \n"
+" the center of the Face.\n"
+" \n"
+" if the Face of the object selected is already aligned to the last one,\n"
+" a rotation of 180 deg is applied to the object.\n"
+" In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)\n"
+"\n"
+" Two clicks will rotate by 180 deg the moving objects.\n"
+"", None))
+ self.button_align_faces.setText(_translate("Form", "Align Faces", None))
+ self.angle_align_faces.setToolTip(_translate("Form", "This Angle (in degrees) will be added to the angle needed to align Faces.", None))
+ self.angle_align_faces.setText(_translate("Form", "0.0", None))
+ self.button_align_edges.setToolTip(_translate("Form", "Align the Edge(s) from selected object(s) to the last Edge selected.\n"
+" - Click first to select an Edge of an object or several Edges from several objects. \n"
+"These objects will be moved.\n"
+" - Click second to select an Edge to align to (the last object is fixed and will never move).\n"
+"Then Click the button.\n"
+"\n"
+"NB:\n"
+" The center of rotation is the center of the bounbing box if possible or \n"
+" the center of the Edge.\n"
+" \n"
+" if the Edge of the object selected is already aligned to the last one,\n"
+" a rotation of 180 deg is applied to the object.\n"
+" In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)\n"
+"\n"
+" Two clicks will rotate by 180 deg the moving objects.\n"
+"", None))
+ self.button_align_edges.setText(_translate("Form", "Align Edges", None))
+ self.angle_align_edges.setToolTip(_translate("Form", "This Angle (in degrees) will be added to the angle needed to align Edges.", None))
+ self.angle_align_edges.setText(_translate("Form", "0.0", None))
+ self.button_joint_points.setToolTip(_translate("Form", "Joint Point(s) from selected object(s) to the last Point selected.\n"
+" - Click first to select a Point of an object or several Points from several objects.\n"
+"These objects will be moved. \n"
+" - Click second to select an Point to joint to (the last object is fixed and will never move).\n"
+"Then Click the button.\n"
+"\n"
+"", None))
+ self.button_joint_points.setText(_translate("Form", "Joint Points", None))
+ self.button_joint_faces.setToolTip(_translate("Form", "Joint Face(s) from selected object(s) to the last Face selected.\n"
+" - Click first to select a Face of an object or several Faces from several objects. \n"
+"These objects will be moved.\n"
+" - Click second to select a Face to joint to (the last object is fixed and will never move).\n"
+"Then Click the button.\n"
+"\n"
+" Two clicks will rotate by 180 deg the moving objects.\n"
+"", None))
+ self.button_joint_faces.setText(_translate("Form", "Joint Faces", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.align_tab_2), _translate("Form", "Align", None))
+ self.groupBox_20.setTitle(_translate("Form", "Object", None))
+ self.button_cut_select_object.setToolTip(_translate("Form", "Select the Object to cut:\n"
+"First Click on the object in the view \n"
+"and push this button to accept...", None))
+ self.button_cut_select_object.setText(_translate("Form", "Select Object", None))
+ self.button_cut_select_line.setToolTip(_translate("Form", "Select the Line to cut the Object along:\n"
+"First Click on the line/edge in the view \n"
+"and push this button to accept...", None))
+ self.button_cut_select_line.setText(_translate("Form", "Select Cut Line", None))
+ self.button_cut_select_plane.setToolTip(_translate("Form", "Select the Reference Plane to cut the Object from:\n"
+"First Click on the plane in the view \n"
+"and push this button to accept...\n"
+"\n"
+"The Reference Plane is the Plane you pose the object on before to use a saw! \n"
+"(Note that the Angle is calculated from the Normal at this Plane)", None))
+ self.button_cut_select_plane.setText(_translate("Form", "Select Ref. Plane", None))
+ self.label_angle_3.setToolTip(_translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
+"\n"
+" 0.0 means that the Plane of cutting is along the Cut Line with \n"
+"a 90 deg angle with Reference Plane.", None))
+ self.label_angle_3.setText(_translate("Form", "Angle", None))
+ self.angle_cut_object.setToolTip(_translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
+"\n"
+" 0.0 means that the Plane of cutting is along the Cut Line with \n"
+"a 90 deg angle with Reference Plane.", None))
+ self.angle_cut_object.setText(_translate("Form", "0.0", None))
+ self.label_thickness_2.setToolTip(_translate("Form", "Thickness of the Cut.\n"
+"\n"
+"i.e. the thickness of a saw.", None))
+ self.label_thickness_2.setText(_translate("Form", "Thickness", None))
+ self.thickness_cut_object.setToolTip(_translate("Form", "Thickness of the Cut.\n"
+"\n"
+"i.e. the thickness of a saw.", None))
+ self.thickness_cut_object.setText(_translate("Form", "0.0", None))
+ self.button_cut_reset.setText(_translate("Form", "Reset", None))
+ self.button_cut_apply.setToolTip(_translate("Form", "Cut an object by selecting a Line cut, a Plane and an Angle regarding the Plane.", None))
+ self.button_cut_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.cut_tab_2), _translate("Form", "Cut", None))
+ self.ObjRot_button_select.setToolTip(_translate("Form", "- Select one or several object(s) in the view and \n"
+"- Click on this button.\n"
+"\n"
+"NB\n"
+"Once object(s) are selected an other Click will unselect them !\n"
+"Selected Object(s) will be displayed with 75% of transparency.", None))
+ self.ObjRot_button_select.setText(_translate("Form", "Select Object(s)", None))
+ self.ObjRot_comboBox_axis.setItemText(0, _translate("Form", "X", None))
+ self.ObjRot_comboBox_axis.setItemText(1, _translate("Form", "Y", None))
+ self.ObjRot_comboBox_axis.setItemText(2, _translate("Form", "Z", None))
+ self.ObjRot_comboBox_axis.setItemText(3, _translate("Form", "To select", None))
+ self.ObjRot_button_select_axis.setText(_translate("Form", "Select", None))
+ self.tabWidget_10.setTabText(self.tabWidget_10.indexOf(self.tab_18), _translate("Form", "Axis", None))
+ self.ObjRot_comboBox_center.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjRot_comboBox_center.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjRot_comboBox_center.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjRot_comboBox_center.setItemText(3, _translate("Form", "To select", None))
+ self.ObjRot_button_select_center.setText(_translate("Form", "Select", None))
+ self.tabWidget_10.setTabText(self.tabWidget_10.indexOf(self.tab_19), _translate("Form", "Center", None))
+ self.groupBox_21.setTitle(_translate("Form", "Angle of rotation :", None))
+ self.tabWidget_11.setTabText(self.tabWidget_11.indexOf(self.tab_20), _translate("Form", "Define", None))
+ self.ObjRot_button_select_angle.setToolTip(_translate("Form", "Calculate angle from 2 objects.\n"
+"Angle measurement between two Edges or two Planes\n"
+"- Select the 2 Edges and\n"
+"- Click this button\n"
+"or\n"
+"- Select the 2 Planes and\n"
+"- Click this button\n"
+"or\n"
+"- Select one Edge and one Plane and\n"
+"- Click this button\n"
+"\n"
+"NB:\n"
+" Normals of Planes will be used. ", None))
+ self.ObjRot_button_select_angle.setText(_translate("Form", "Select", None))
+ self.tabWidget_11.setTabText(self.tabWidget_11.indexOf(self.tab_21), _translate("Form", "Select", None))
+ self.ObjRot_lineEdit_angle.setText(_translate("Form", "0.0", None))
+ self.label_angle_4.setText(_translate("Form", " (deg)", None))
+ self.ObjRot_button_reset.setText(_translate("Form", "Reset", None))
+ self.ObjRot_button_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.rotate_tab_2), _translate("Form", "Rotate", None))
+ self.ObjTrans_button_select.setToolTip(_translate("Form", "- Select one or several object(s) in the view and \n"
+"- Click on this button.\n"
+"\n"
+"NB\n"
+"Once object(s) are selected an other Click will unselect them !\n"
+"Selected Object(s) will be displayed with 75% of transparency.", None))
+ self.ObjTrans_button_select.setText(_translate("Form", "Select Object(s)", None))
+ self.ObjTrans_duplicate.setToolTip(_translate("Form", "Toggle this check box to generate copies the object during the Translation.\n"
+"Copy means that the original Object will be left in his original location.\n"
+"NB:\n"
+"\n"
+"1 copy requested : \n"
+" - If one starting point and one ending point are selected.\n"
+" Only one copy is done!\n"
+"\n"
+" - If one starting point and several ending points are selected.\n"
+" One copy is done at each ending points selected!\n"
+"\n"
+"N copies requested :\n"
+" - If one starting point and one ending point are selected.\n"
+" Only one copy is done at the ending point then at double distance\n"
+" of the ending point along the line defined by starting and ending point,\n"
+" and so on!\n"
+" - If one starting point and several ending points are selected.\n"
+" One copy is done at each ending points selected, then at double distance\n"
+" of each ending points along the line defined by starting and the current \n"
+" ending point, and so on!", None))
+ self.ObjTrans_duplicate.setText(_translate("Form", "Copy", None))
+ self.ObjTrans_spin.setToolTip(_translate("Form", "The number of copies.", None))
+ self.ObjTrans_deepCopy.setToolTip(_translate("Form", "Toggle this check box to realize \"deep\" copies. \n"
+"Means that all children and parents of selected Object(s) will be copied too! \n"
+"\n"
+"If the object selected is Pad and his link is on Sketch, and Skecth parent is Box\n"
+"Box \n"
+"Pad \n"
+" |_Sketch\n"
+"\n"
+"if the current check box is toggle the result will be : \n"
+"Box \n"
+"Pad\n"
+" |_Sketch \n"
+"Box001 \n"
+"Pad001 \n"
+" |_Sketch001 \n"
+"\n"
+"if not the result will be : \n"
+"Box \n"
+"Pad \n"
+"Pad001 \n"
+" |_Sketch \n"
+"\n"
+"On the last result the same Sketch is both link to Pad001 but also still to Pad.", None))
+ self.ObjTrans_deepCopy.setText(_translate("Form", "Deep", None))
+ self.groupBox_22.setTitle(_translate("Form", "Starting Point :", None))
+ self.ObjTrans_comboBox_start.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjTrans_comboBox_start.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjTrans_comboBox_start.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjTrans_comboBox_start.setItemText(3, _translate("Form", "To select", None))
+ self.ObjTrans_comboBox_start.setItemText(4, _translate("Form", "To define", None))
+ self.ObjTrans_button_select_start.setText(_translate("Form", "Select", None))
+ self.label_11.setText(_translate("Form", "X :", None))
+ self.ObjTrans_start_x.setText(_translate("Form", "0.0", None))
+ self.label_12.setText(_translate("Form", "Y :", None))
+ self.ObjTrans_start_y.setText(_translate("Form", "0.0", None))
+ self.label_13.setText(_translate("Form", "Z :", None))
+ self.ObjTrans_start_z.setText(_translate("Form", "0.0", None))
+ self.tabWidget_12.setTabText(self.tabWidget_12.indexOf(self.tab_22), _translate("Form", "Start", None))
+ self.groupBox_23.setTitle(_translate("Form", "Ending Point :", None))
+ self.ObjTrans_comboBox_end.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjTrans_comboBox_end.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjTrans_comboBox_end.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjTrans_comboBox_end.setItemText(3, _translate("Form", "To select", None))
+ self.ObjTrans_comboBox_end.setItemText(4, _translate("Form", "To define", None))
+ self.ObjTrans_comboBox_end.setItemText(5, _translate("Form", "Relative", None))
+ self.ObjTrans_button_select_end.setText(_translate("Form", "Select", None))
+ self.label_14.setText(_translate("Form", "Z :", None))
+ self.ObjTrans_end_z.setText(_translate("Form", "0.0", None))
+ self.label_15.setText(_translate("Form", "Y :", None))
+ self.ObjTrans_end_y.setText(_translate("Form", "0.0", None))
+ self.label_16.setText(_translate("Form", "X :", None))
+ self.ObjTrans_end_x.setText(_translate("Form", "0.0", None))
+ self.tabWidget_12.setTabText(self.tabWidget_12.indexOf(self.tab_23), _translate("Form", "End", None))
+ self.ObjTrans_button_reset.setText(_translate("Form", "Reset", None))
+ self.ObjTrans_button_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.translate_tab_2), _translate("Form", "Translate", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Modif_Tab_2), _translate("Form", "Modif.", None))
+ self.button_alignview.setToolTip(_translate("Form", "Set the current view perpendicular to the selected Face, \n"
+"or aligned to the selected Axis, \n"
+"or aligned on 2 Points.\n"
+"ReClick with same selection, will reverse the direction.", None))
+ self.button_alignview.setText(_translate("Form", "Align View to ...", None))
+ self.button_trackcamera.setText(_translate("Form", "Camera Track", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.View_Tab_2), _translate("Form", "View", None))
+ self.button_isView.setToolTip(_translate("Form", "Detect the position of the camera.\n"
+"The returned value is the value provided \n"
+"by the function getCameraOrientation().", None))
+ self.button_isView.setText(_translate("Form", "View ?", None))
+ self.button_isParallel.setToolTip(_translate("Form", "Check if two faces or two Edges are Parallel:\n"
+"- Select the 2 faces/planes or 2 Edges/Lines and\n"
+"Click this button\n"
+"\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isParallel.setText(_translate("Form", "are Parallel ?", None))
+ self.button_isAngle.setToolTip(_translate("Form", "Check for two Edges/Planes angle:\n"
+"Angle measurement between two Edges or two Planes\n"
+"- Select the 2 Edges and\n"
+"- Click this button\n"
+"or\n"
+"- Select the 2 Planes and\n"
+"- Click this button\n"
+"or\n"
+"- Select one Edge and one Plane and\n"
+"- Click this button\n"
+"\n"
+"NB:\n"
+" Normals of Planes will be used. ", None))
+ self.button_isAngle.setText(_translate("Form", "Angle ?", None))
+ self.button_isLength.setToolTip(_translate("Form", "Check for Line Length:\n"
+"Length measurement and Delta values (on main Axes) for a Line\n"
+"- Select the Line and\n"
+"Click this button\n"
+" ", None))
+ self.button_isLength.setText(_translate("Form", "Length ?", None))
+ self.button_isPerpendicular.setToolTip(_translate("Form", "Check if two faces or two Edges are Perpendicular:\n"
+"- Select the 2 faces/planes or 2 Edges/Lines and\n"
+"Click this button\n"
+"\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isPerpendicular.setText(_translate("Form", "are Perpendicular ?", None))
+ self.button_isDistance.setToolTip(_translate("Form", "Check for two Points distance:\n"
+"Distances measurement and Delta values (on main Axes) between two Points\n"
+"- Select the 2 Points and\n"
+"Click this button\n"
+" ", None))
+ self.button_isDistance.setText(_translate("Form", "Distance ?", None))
+ self.button_isArea.setToolTip(_translate("Form", "Check for surface Area:\n"
+"Area measurement for a Plane or a set of Planes.\n"
+"- Select One or several Planes and\n"
+"Click this button", None))
+ self.button_isArea.setText(_translate("Form", "Area ?", None))
+ self.button_isCoplanar.setToolTip(_translate("Form", "Check if two faces or two Edges are Coplanar:\n"
+"- Select the 2 faces/planes or 2 Edges/Lines and\n"
+"Click this button\n"
+"\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isCoplanar.setText(_translate("Form", "are Coplanar ?", None))
+ self.button_isClearance.setToolTip(_translate("Form", "Check for two Objects Clearance distance:\n"
+"Quick measurements between parallel faces and similarly placed objects\n"
+"- Select the 2 Objects and\n"
+"Click this button", None))
+ self.button_isClearance.setText(_translate("Form", "Distance Clearance ?", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_24), _translate("Form", "Check", None))
+ self.button_WF_quit.setText(_translate("Form", "Close", None))
+ self.label_release.setText(_translate("Form", "2015", None))
+
diff --git a/WorkFeature/Ui/WFGui_2015.ui b/WorkFeature/Ui/WFGui_2015.ui
new file mode 100644
index 0000000..14bfa63
--- /dev/null
+++ b/WorkFeature/Ui/WFGui_2015.ui
@@ -0,0 +1,6899 @@
+
+
+ Form
+
+
+
+ 0
+ 0
+ 382
+ 845
+
+
+
+ WorkFeature
+
+
+
+ ../Icons/WF_wf.svg../Icons/WF_wf.svg
+
+
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Sunken
+
+
+ 1
+
+
+ 0
+
+
+ true
+
+
+
+
+ 0
+ 0
+ 362
+ 786
+
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ QTabWidget::West
+
+
+ 0
+
+
+
+
+ ../Icons/WF_Axes.svg../Icons/WF_Axes.svg
+
+
+ Ori. Pref.
+
+
+
-
+
+
+ Create at origin: a point and X,Y and Z axis and XZ,XY and YZ planes
+
+
+ Origin
+
+
+
+ ../Icons/WF_Axes.svg../Icons/WF_Axes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+ Preferences :
+
+
+
-
+
+
+ Toggle here if you want a lot of information printed into report View.
+
+
+ Verbose
+
+
+ false
+
+
+ false
+
+
+
+ -
+
+
+ Change the successive lines to be bicolor (red and white) for the following functions:
+ - in "Axis 1/2" TAB:
+ Axes=Cut(Wire)
+ - in "Circle" TAB:
+ Arcs=Cut(Circle)
+
+
+
+ Bi Color
+
+
+ false
+
+
+
+ -
+
+
+ Force the duplication of the Parent Object for the following functions:
+ - in "Axis 2/2" TAB:
+ Axes=(Axis,Pt,dist)
+ If an Edge of a Cube is selected the Cube is duplicate
+ with the corresponding
+ Edge at the defined distance from the original.
+ - in "Plane" TAB:
+ Plane=(Plane,dist)
+
+
+ Object copy
+
+
+
+ -
+
+
-
+
+
+ Change the tolerance for the following functions:
+ - in "Check" TAB:
+ are Parallel?
+ are Perpendicular?
+ are Coplanar?
+
+
+ Tolerance
+
+
+
+ -
+
+
+
+ 60
+ 16777215
+
+
+
+ Change the tolerance for the following functions:
+ - in "Check" TAB:
+ are Parallel?
+ are Perpendicular?
+ are Coplanar?
+
+
+ 1e-10
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_point.svg../Icons/WF_point.svg
+
+
+ Point 1/2
+
+
+ Point
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Create a Point at center location of each selected Circle(s) or Arc(s).
+
+
+ Circle(s) Center
+
+
+
+ ../Icons/WF_centerCirclePoint.svg../Icons/WF_centerCirclePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Point(s)=(Point(s),Line(s)):
+Create projection(s) of Point(s) onto Line(s).
+- First select one (or several) Point(s)
+- Second select one or several) Line(s)
+- Then push this button
+
+Plot the intersection point T on a Line given one Line and One Point C.
+The Vector TC is perpendicular to the Line.
+The symetric point Cprime is also created as TC=TCprime.
+
+
+ Point(s)=(Pt(s),Line(s))
+
+
+
+ ../Icons/WF_pointLinePoint.svg../Icons/WF_pointLinePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Create a Point at center location of each selected Face(s).
+
+
+ Face(s) Center
+
+
+
+ ../Icons/WF_centerFacePoint.svg../Icons/WF_centerFacePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create Point(s):
+Cut each selected Line(s) in 2 (n) parts and create a (n-1) Point(s) at ends of edge(s).
+The number indicates how many parts to consider.
+
+
+ Line(s) Center
+
+
+
+ ../Icons/WF_centerLinePoint.svg../Icons/WF_centerLinePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number indicates in how many parts each selected Lines(s) will be cut (Max 100).
+
+
+ 2
+
+
+ 100
+
+
+ 1
+
+
+
+
+
+ -
+
+
+ Create a Point at mean location of all selected points.
+
+
+ Points Center
+
+
+
+ ../Icons/WF_NpointsPoint.svg../Icons/WF_NpointsPoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Create a point at the intersection of the Line and Plane selected.
+
+
+ Point=(Line,Face)
+
+
+
+ ../Icons/WF_lineFacePoint.svg../Icons/WF_lineFacePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+ Create a Point at center location of all selected Object(s).
+ if BBox is not toggled
+ This point is the MEAN location of all center of Mass (if exist) of all objects.
+ All center of Mass will be created too.
+
+if BBox check box is toggled
+ This point is the center of the Global X,Y,Z bounding box of all objects.
+ This bounding box alway exists (especially for draft objects).
+ Be aware this point is not necessary the center of Mass of all Objects!
+
+
+ Object(s) Center
+
+
+
+ ../Icons/WF_centerObjectsPoint.svg../Icons/WF_centerObjectsPoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ if BBox check box is toggled
+ This point is the center of the Global X,Y,Z bounding box of all objects.
+ This bounding box alway exists (especially for draft objects).
+ Be aware this point is not necessary the center of Mass of all Objects!
+
+
+ BBox
+
+
+
+
+
+ -
+
+
+ Create Points at start and end location of each selected Line(s).
+
+
+ Line(s) Extrema
+
+
+
+ ../Icons/WF_extremaLinePoint.svg../Icons/WF_extremaLinePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Point(s)=(Point(s),Face(s)):
+Create projection(s) of Point(s) onto Face(s).
+- First select one (or several) Point(s)
+- Second select one or several) Plane(s)
+- Then push this button
+
+Plot the intersection point T on a Plane given one Plane and One Point C.
+The Vector TC is perpendicular to the plane.
+
+
+ Point(s)=(Pt(s),Face(s))
+
+
+
+ ../Icons/WF_pointFacePoint.svg../Icons/WF_pointFacePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_point.svg../Icons/WF_point.svg
+
+
+ Point 2/2
+
+
+ -
+
+
+ Plot one or two Point(s) at minimum distance of two Lines
+Create a Point at intersection of 2 crossing Lines.
+
+
+ Point=(Line,Line)
+
+
+
+ ../Icons/WF_lineLinePoint.svg../Icons/WF_lineLinePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ QLayout::SetFixedSize
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create a Point at a certain distance along the line
+respecting to the choosen reference starting point.
+
+
+ Point along Line
+
+
+
+ ../Icons/WF_alongLinePoint.svg../Icons/WF_alongLinePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Distance from the extremity
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Point=(Point,Ax,dist):
+Create a Point along the given Axis, at a given distance of the selected Point.
+The Axis indicate the direction along where the Point is duplicate.
+(you can also select several axes to define different directions)
+- First select a Point (you can select several points) and one or several Axis
+- Second push this button
+
+NB:
+ - The distance between points can be defined first.
+Positive number in one direction and negative in the other one.
+The second number indicates the number of Points to create.
+
+
+
+ Point=(Pt,Ax,dist)
+
+
+
+ ../Icons/WF_distPointPoint.svg../Icons/WF_distPointPoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Distance to the new Axis.
+Can be negative for the reverse direction!
+
+
+ 10.0
+
+
+
+ -
+
+
+
+ 30
+ 0
+
+
+
+
+ 30
+ 16777215
+
+
+
+ The number of copies (Max 100).
+
+
+ QAbstractSpinBox::NoButtons
+
+
+ false
+
+
+ 1
+
+
+ 100
+
+
+ 1
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create Points by Partition:
+Cut the selected wire(s) in 2(n) parts and create 2(n) Points with function discretize.
+The number indicates in how many parts to cut.
+Wires can be:
+ Line
+ Circle
+ Arc
+ Ellipse
+An object must also be seleted but before any Wire to cut all his edges!
+
+
+ Points=Cut(Wire)
+
+
+
+ ../Icons/WF_cutWirePoints.svg../Icons/WF_cutWirePoints.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number indicates in how many parts the selected Line will be cut (Max 100).
+
+
+ 2
+
+
+ 100
+
+
+ 1
+
+
+
+
+
+ -
+
+
+ Create a set of Points on a Plane perpendicular to the view at location of mouse clicks.
+- Click first on the Button then click on the View (with no object in background).
+- Click first on the Button then click on the View (with an object in background), it will attach the points to the surface of the object.
+
+
+
+ Click
+
+
+
+ ../Icons/WF_clickPoint.svg../Icons/WF_clickPoint.svg
+
+
+
+ 32
+ 32
+
+
+
+ true
+
+
+
+ -
+
+
+ Create Base Point of all selected Object(s).
+
+
+ Object(s) Base Point
+
+
+
+ ../Icons/WF_objectBasePoint.svg../Icons/WF_objectBasePoint.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Transform Point(s) in Sketch's Point(s) by projection onto the Sketch's Plane:
+- First select an existing Skecth;
+- Select as much as Points needed;
+Then click on this button.
+
+
+ Point(s) to Sketch
+
+
+
+ ../Icons/WF_2Sketch.svg../Icons/WF_2Sketch.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_axis.svg../Icons/WF_axis.svg
+
+
+ Axis 1/2
+
+
+ -
+
+
+ Create 3 Axes at center location of all selected Object(s).
+
+
+ Object(s) X, Y, Z Axes
+
+
+
+ ../Icons/WF_centerObjectsAxes.svg../Icons/WF_centerObjectsAxes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create an Axis crossing 2 Points.
+
+
+ Two Points Axis
+
+
+
+ ../Icons/WF_2pointsLine.svg../Icons/WF_2pointsLine.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 16777215
+
+
+
+ Distance for the extensions on extrema
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
+ Axis=(Points):
+Create a "best fit" line from a set of points using Singular Value Decomposition..
+- First select several Points
+- Then push this button
+
+The 3 eigenvectors are generated.
+Orange one is the best fit line.
+
+
+
+ Axis from Point(s)
+
+
+
+ ../Icons/WF_NpointsLine.svg../Icons/WF_NpointsLine.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create the Axis of a Cylinder.
+
+
+ Cylinder(s) Axis
+
+
+
+ ../Icons/WF_cylinderAxis.svg../Icons/WF_cylinderAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Plane(s) Axes:
+Create Perpendicular Axes at the center location of a Plane.
+ - First select one (or several) Plane(s);
+ - Then press the button
+
+or
+Create Perpendicular Axes of a Plane at selected locations.
+ - First select one Plane;
+ - Second select Point(s) for locations
+ - Press the button
+
+NB: Axes are created on both sides of the Plane
+The extension is 10 units by defaut but must be changed if needed.
+
+
+ Plane(s) Axes
+
+
+
+ ../Icons/WF_FaceAxis.svg../Icons/WF_FaceAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create a normal Axis of a Face.
+To create a Normal at click location on a Face:
+- Click first in the view to select and object,
+- then push the button,
+- then click on a location on the selected Face.
+or
+To create several Normal of the face:
+- Click first in the view to select and object,
+- then select one or several points of the face
+- then push the button.
+(These selections can also be done into the Combined View)
+
+
+ Face Normal
+
+
+
+ ../Icons/WF_FaceNormal.svg../Icons/WF_FaceNormal.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+ -
+
+
+
+ 60
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Length of external part of the (Normal) Axis.
+ If zero In case of cylinder axis the extension will be a percentage of the object length.
+ If zero and plane of face Normal, the extension will be 10 units.
+
+
+ 0.0
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create an Axis Parallel to an Axis (as Direction) and crossing a Point.
+- Select one Axis and one (or several) Point(s) NOT on the previous Axis.
+Define the length and the attach point if needed.
+A Length of Zero means the length of already selected Axis will be used.
+
+
+ Axis=(Pt,Dir)
+
+
+
+ ../Icons/WF_pointLineAxis.svg../Icons/WF_pointLineAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 16777215
+
+
+
+ Define the length of the Axis to create.
+A Length of Zero means the length of already selected Axis will be used.
+
+
+ 0.0
+
+
+
+ -
+
+
+
+ 60
+ 16777215
+
+
+
+ The Attach Point will be at :
+Start of the Axis;
+Mid of the Axis;
+End of the Axis.
+
+
+ 1
+
+
-
+
+ Start
+
+
+ -
+
+ Mid
+
+
+ -
+
+ End
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create an Axis Perpendicular to an Axis and crossing a Point
+-Select one Axis and one (or several) Point(s) NOT on the previous Axis.
+
+
+ Axis=(Axis,Point)
+
+
+
+ ../Icons/WF_linePointAxis.svg../Icons/WF_linePointAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 16777215
+
+
+
+ Distance for the extensions on extrema.
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
+ Create an Axis between two Axes.
+-Select two Axes.
+
+
+ Axis=(Line,Line)
+
+
+
+ ../Icons/WF_twoLinesAxis.svg../Icons/WF_twoLinesAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Create an Axis Perpendicular to an Axis, crossing a Point and Parallel to a Plane.
+-Select one Plane, one Axis and one Point ON the previous Axis.
+
+
+ Axis=(Plane,Point,Axis)
+
+
+
+ ../Icons/WF_planeLinePointAxis.svg../Icons/WF_planeLinePointAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_axis.svg../Icons/WF_axis.svg
+
+
+ Axis 2/2
+
+
+ -
+
+
+ Axes=(Pl(s),Axes):
+Create projection(s) of Axes onto Plane(s).
+- First select one (or several) Line(s)
+- Second select one or several) Plane(s)
+- Then push this button
+
+
+ Axes=(Pl(s),Axes)
+
+
+
+ ../Icons/WF_linePlaneAxis.svg../Icons/WF_linePlaneAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Create an Axis by intersect of 2 Planes.
+
+
+ Axis=(Plane,Plane)
+
+
+
+ ../Icons/WF_2PlanesAxis.svg../Icons/WF_2PlanesAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+ Axes=(Axis,Pt,dist):
+Create an Axis parallel to a given Axis, Point at a given distance.
+The Axis is created along the Plane defined by the given Axis and Point.
+- First select an Axis (or several Axes) and a Point
+(you can also select several points to define different Planes)
+- Second push this button
+
+NB:
+ - The distance to the Axis created can be defined first.
+Positive number in one direction and negative in the other one.
+The second number indicates the number of Axes to create.
+With option "Object copy" in "Ori. Pref." TAB
+ - If an Edge of a Cube is selected the Cube is duplicate with the corresponding
+Edge at the defined distance from the original.
+Several Edges of the cube can be selected.
+
+
+
+ Axes=(Axis,Pt,dist)
+
+
+
+ ../Icons/WF_distAxisAxis.svg../Icons/WF_distAxisAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Distance to the new Axis.
+Can be negative for the reverse direction!
+
+
+ 10.0
+
+
+
+ -
+
+
+
+ 30
+ 0
+
+
+
+
+ 30
+ 16777215
+
+
+
+ The number of copies (Max 100).
+
+
+ QAbstractSpinBox::NoButtons
+
+
+ false
+
+
+ 1
+
+
+ 100
+
+
+ 1
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+ Axes=(Axis,Pt,Pl,a):
+Create an Axis with an Angle to a origin Axis.
+- First select an Axis to rotate, then a Plane and a rotation Point
+- Second push this button
+or
+- First select an Axis to rotate, then a rotation Axis and a rotation Point
+- Second push this button
+
+NB:
+The Axis is created by rotation using :
+ The Normal of the selected Plane as rotation Axis
+and selected Point as rotation Point.
+or
+ The second selected Axis as rotation Axis
+and selected Point as rotation Point.
+
+ - The angle (in degrees) of rotation can be defined first.
+Positive number in one direction and negative in the other one.
+ - The second number indicates the number of Axes to create.
+
+
+
+
+ Axes=(Axis,Pt,Pl,a)
+
+
+
+ ../Icons/WF_angleAxisAxis.svg../Icons/WF_angleAxisAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Angle to the new Axis.
+Can be negative for the reverse direction!
+(in degrees)
+
+
+ 45.0
+
+
+
+ -
+
+
+
+ 30
+ 0
+
+
+
+
+ 30
+ 16777215
+
+
+
+ The number of copies (Max 100).
+
+
+ QAbstractSpinBox::NoButtons
+
+
+ false
+
+
+ 1
+
+
+ 100
+
+
+ 1
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create Axes by Partition:
+Cut the selected wire(s) in 2(n) parts and create 2(n) Axes with function discretize.
+The number indicates in how many parts to cut.
+Wires can be:
+ Line
+ Circle
+ Arc
+ Ellipse
+An object must also be seleted but before any Wire to cut all his Edges!
+NB: You can change the successive lines to be bicolor (red and white)
+in "Ori. Pref." TAB
+
+
+
+ Axes=Cut(Wire)
+
+
+
+ ../Icons/WF_cutWireAxes.svg../Icons/WF_cutWireAxes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number indicates in how many parts the selected Line will be cut (Max 100).
+
+
+ 2
+
+
+ 100
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create Axes:
+Cut the selected Line in 2(n) parts and create 2(n) Axes.
+The number indicates in how many parts to cut.
+
+NB: You can change the successive lines to be bicolor (red and white)
+in "Ori. Pref." TAB
+
+
+ Axes=Cut(Axis)
+
+
+
+ ../Icons/WF_cutAxis.svg../Icons/WF_cutAxis.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number indicates in how many parts the selected Line will be cut (Max 100).
+
+
+ 2
+
+
+ 100
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Enlarge(Axis):
+Extend an Axis at two extrema.
+- First select an Axis (or several Axes)
+- Second push this button
+
+NB:
+ - The percentage of the extension can be defined first.
+
+
+ Enlarge(Axis)
+
+
+
+ ../Icons/WF_enlargeLine.svg../Icons/WF_enlargeLine.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Extension of the Line in percentage.
+
+
+ 50.0
+
+
+
+
+
+ -
+
+
+ Create a set of Lines on a Plane perpendicular to the view at location of 2 mouse clicks.
+- Click first on the Button then at least twice click on the View (with no object in background).
+- Click first on the Button then at least twice click on the View (with an object in background), it will attach the lines to the surface of the object.
+
+
+ Click
+
+
+
+ ../Icons/WF_clickLine.svg../Icons/WF_clickLine.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Create 3 Axes at Base location of all selected Object(s).
+
+
+ Object(s) Base Axes
+
+
+
+ ../Icons/WF_baseObjectsAxes.svg../Icons/WF_baseObjectsAxes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Transform Line(s) in Sketch's Line(s) by projection onto the Sketch's Plane:
+- First select an existing Skecth;
+- Select as much as Lines needed;
+Then click on this button.
+
+
+ Axis(es) to Sketch
+
+
+
+ ../Icons/WF_2Sketch.svg../Icons/WF_2Sketch.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_wire.svg../Icons/WF_wire.svg
+
+
+ Wire
+
+
+ -
+
+
+ Examples from http://www.mathcurve.com/
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ 0
+
+
+
+ 2D
+
+
+
-
+
+
+ true
+
+
+
+
+ 0
+ 0
+ 259
+ 650
+
+
+
+
-
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Equation :
+
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Y (a,b,t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 10 # Radius
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ b (a, t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ b*sin(t)
+
+
+ 32769
+
+
+
+ -
+
+
+ Toggle for Polar coordinates:
+then x is interpreted as radius
+ and y is interpreted as angle teta.
+
+
+ Polar coord.
+
+
+ true
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ X (a,b,t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ a*cos(t)
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ a (t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ a
+
+
+ 32769
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Choose another curve from the list.
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to access to a table where you can edit all parameters of all curves and
+save your custom curves.
+
+
+ Edit
+
+
+
+
+
+ -
+
+
-
+
+
+ true
+
+
+ Closed curve
+
+
+
+ -
+
+
+ false
+
+
+ Create Face
+
+
+
+
+
+ -
+
+
-
+
+
+ QFrame::Box
+
+
+ QFrame::Raised
+
+
+ 3
+
+
+ Name
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ Circle
+
+
+
+
+
+ -
+
+
+ Parameters
+
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ t min
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 0
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ t max
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 2*pi
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ step
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 0.01
+
+
+ 32769
+
+
+
+
+
+
+ -
+
+
+ Type of 2D Curve
+
+
+
-
+
+
+ Points
+
+
+ true
+
+
+
+ -
+
+
+ Polyline
+
+
+ true
+
+
+ true
+
+
+
+ -
+
+
+ true
+
+
+ Bspline
+
+
+ false
+
+
+ true
+
+
+
+ -
+
+
+ true
+
+
+ Bezier
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to store the current edited curve into the table.
+To save your curve you need to go to "Edit".
+
+
+ Store
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to visualize the curve.
+
+
+ Apply
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 3D
+
+
+ -
+
+
+ true
+
+
+
+
+ 0
+ 0
+ 207
+ 692
+
+
+
+
-
+
+
-
+
+
+ Choose another curve from the list.
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to access to a table where you can edit all parameters of all curves and
+save your custom curves.
+
+
+ Edit
+
+
+
+
+
+ -
+
+
-
+
+
+ QFrame::Box
+
+
+ QFrame::Raised
+
+
+ 3
+
+
+ Name
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ Cylindrical helix
+
+
+
+
+
+ -
+
+
+ Equation :
+
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ a (t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 10*0.05 #Vert. step
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ b (a, t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 1
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ c (a, b, t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 10 # Radius
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ X (a,b,c,t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ c*sin(t)
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Y (a,b,c,t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Z (a,b,c,t)
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ a*t
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ c*cos(t)
+
+
+ 32769
+
+
+
+
+
+
+ -
+
+
+ Parameters
+
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ t min
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ t max
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 5*2*pi #5 circles
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ step
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 0.01
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 150
+ 16777215
+
+
+
+ 0
+
+
+ 32769
+
+
+
+
+
+
+ -
+
+
+ Type of 3D Curve
+
+
+
-
+
+
+ Points
+
+
+ true
+
+
+
+ -
+
+
+ Polyline
+
+
+ true
+
+
+ true
+
+
+
+ -
+
+
+ Bspline
+
+
+ false
+
+
+ true
+
+
+
+ -
+
+
+ true
+
+
+ Bezier
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+ -
+
+
+ Closed curve
+
+
+
+ -
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to store the current edited curve into the table.
+To save your curve you need to go to "Edit".
+
+
+ Store
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Click to visualize the curve.
+
+
+ Apply
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_circle.svg../Icons/WF_circle.svg
+
+
+ Circle
+
+
+ -
+
+
-
+
+
+ Select an Axis and a Point to create a Circle
+centered on the Point, perpendicular to the Axis
+with the given radius.
+
+
+ Circle=(Axis, center)
+
+
+
+ ../Icons/WF_lineCenterCircle.svg../Icons/WF_lineCenterCircle.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Radius of the Circle.
+
+
+ 10.0
+
+
+
+
+
+ -
+
+
+ Select an Axis and a Point to create a Circle
+centered on the Axis and tangenting the Point.
+
+
+ Circle=(Axis, point)
+
+
+
+ ../Icons/WF_linePointCircle.svg../Icons/WF_linePointCircle.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Select 3 Points to create a Circle.
+
+
+ Circle=(3 points)
+
+
+
+ ../Icons/WF_3pointsCircle.svg../Icons/WF_3pointsCircle.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+ Create Arcs:
+Cut the selected Circle(s) or Arc(s) in 2(n) parts and create 2(n) Arcs.
+The number indicates in how many parts to cut.
+- First select as many Circles and Arcs you want
+- Second set the number of parts
+- Third push this button
+
+NB: You can change the successive lines to be bicolor (red and white)
+in "Ori. Pref." TAB
+
+
+ Arcs=Cut(Circle)
+
+
+
+ ../Icons/WF_cutCircle.svg../Icons/WF_cutCircle.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number indicates in how many parts the selected Circle will be cut (Max 100).
+
+
+ 2
+
+
+ 100
+
+
+ 1
+
+
+
+
+
+ -
+
+
+ Select a center and 2 Points to create an Ellipse.
+
+
+ Ellipse=(3 points)
+
+
+
+ ../Icons/WF_3pointsEllipse.svg../Icons/WF_3pointsEllipse.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Transform Circle(s) and Arc(s) in Sketch's object(s) by projection onto the Sketch's Plane:
+- First select an existing Skecth;
+- Select as much as Circles and arcs needed;
+Then click on this button.
+
+
+ Circle(s) to Sketch
+
+
+
+ ../Icons/WF_2Sketch.svg../Icons/WF_2Sketch.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 121
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_Beam.svg../Icons/WF_Beam.svg
+
+
+ Sweeping
+
+
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+ 3
+
+
+
-
+
+
-
+
+
+ if "All" is toggled:
+ All the wires of the Trajectory selected will be considered.
+
+Untoggled if you select a Skecth with several curves and you want to process
+only the one subselected.
+
+
+ All
+
+
+ true
+
+
+
+ -
+
+
+ For the function :
+makePipeShell(shapeList,[isSolid,isFrenet,transition])
+Select a Transition option in case of trajectory with several wires; Transition can be:
+# 0 (default), 1 (right corners) or 2 (rounded corners).
+
+
+ 2
+
+
-
+
+ No Transition
+
+
+ -
+
+ Right corners
+
+
+ -
+
+ Rounded corners
+
+
+
+
+ -
+
+
+
+ 9
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ if "Solid" is toggled:
+ The Beam sweep will generate a solid with a closed selected wire as Section.
+If this check box is toggle off:
+ Or if the Section wire is not closed, only a shell will be created.
+
+
+ Solid
+
+
+ true
+
+
+
+ -
+
+
+ Force the "isFrenet" parameter to True for the function :
+makePipeShell(shapeList,[isSolid,isFrenet,transition])
+
+
+
+ isFrenet
+
+
+ true
+
+
+ false
+
+
+
+
+
+ -
+
+
+ Section Sweep:
+# Make a loft defined by a list of profiles along a wire.
+Will extrude/sweep a Section along a Trajectory like sweep from Part Workbench but:
+- the Section center (of Mass) is move at the first point of the Trajectory and;
+- the "plane" of the Section is rotate to be perpendicular to the Trajectory.
+
+- Select first one Section wire (Closed wire will generate volumes by default)
+(This Section can be a compound from sketch to realize "tube")
+- Select one or several wire(s) as Trajectory(ies)
+- Then push this button
+
+NB: You can change first:
+- Solid option (if toggled will generate a solid for Closed wire Section only)
+- isFrenet option
+- All option (means if the trajectory selected is a compound, all sub wires will be used for the sweep)
+- Transition Option (Select a Transition option in case of trajectory with several wires; Transition can be:
+# 0 (default), 1 (right corners) or 2 (rounded corners).)
+
+
+
+ Section Sweep
+
+
+
+ ../Icons/WF_Sweep.svg../Icons/WF_Sweep.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_plane.svg../Icons/WF_plane.svg
+
+
+ Plane 1/2
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Click:
+Create a rectangular Plane perpendicular to the view at location of one mouse click.
+Define the width and the length of the Plane if needed.
+- Click first on the Button then click once on the View.
+- Click first on the Button then click once on top of one object of the View
+ to attach the plane at this object.
+- You can also select an already existing point first and click the button to attach the plane.
+
+NB: The plane width and length can be defined first.
+
+
+
+ Click
+
+
+
+ ../Icons/WF_clickPlane.svg../Icons/WF_clickPlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Length of the Plane.
+
+
+ 10.0
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Width of the Plane.
+
+
+ 10.0
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Plane=(Plane, Axis):
+Create a Plane crossing a Line and perpendicular to a Plane.
+- First select a plane and a line NOT on the previous plane
+- Second push this button
+
+NB: The plane created can be rotated if a none null angle is defined first.
+
+
+ Plane=(Plane, Axis)
+
+
+
+ ../Icons/WF_planeLinePlane.svg../Icons/WF_planeLinePlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Angle of rotation of the created Plane (in degrees).
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
+ Plane=(Point, Axis):
+Create a plane crossing a Line and a Point.
+- First select a line and a point NOT on the previous line
+- Second push this button
+
+
+ Plane=(Point, Axis)
+
+
+
+ ../Icons/WF_linePointPlane.svg../Icons/WF_linePointPlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Plane=(Point, _|Axis):
+Create a plane perpendicular to a Line and crossing a Point.
+- First select a line and a point NOT on the previous line
+- Second push this button
+
+
+ Plane=(Point, _|Axis)
+
+
+
+ ../Icons/WF_linePointPlane2.svg../Icons/WF_linePointPlane2.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Face Tangent:
+Create a tanget Plane at click location of a Face.
+- First click in the view to select and object,
+- Second push this button
+-Third click on a location on the selected object.
+
+NB: The plane width and length can be defined first.
+
+
+ Face Tangent
+
+
+
+ ../Icons/WF_FaceTangent.svg../Icons/WF_FaceTangent.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Length of the Plane.
+
+
+ 10.0
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Width of the Plane.
+
+
+ 10.0
+
+
+
+
+
+ -
+
+
+ Plane=(3 Points):
+Create a Plane crossing 3 Points.
+- First select 3 different points
+- Second push this button
+
+
+ Plane=(3 Points)
+
+
+
+ ../Icons/WF_threePointsPlane.svg../Icons/WF_threePointsPlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+ Plane=(Plane,dist):
+Create a Plane parallel to a Plane at a given distance.
+- First select a plane or several Planes
+- Second push this button
+
+NB:
+ - The distance to the plane created can be defined first.
+Positive number in one direction and negative in the other one.
+The second number indicates the number of planes to create.
+With option "Object copy" in "Ori. Pref." TAB
+ - If a Face of a Cube is selected the Cube is duplicate with the
+corresponding Face at the defined distance from the original.
+Several Faces of the cube can be selected.
+
+
+ Plane=(Plane,dist)
+
+
+
+ ../Icons/WF_distPlanePlane.svg../Icons/WF_distPlanePlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Distance to the new plane.
+Can be negative for the reverse direction!
+
+
+ 10.0
+
+
+
+ -
+
+
+
+ 30
+ 0
+
+
+
+
+ 30
+ 16777215
+
+
+
+ The number of copies (Max 100).
+
+
+ QAbstractSpinBox::NoButtons
+
+
+ false
+
+
+ 1
+
+
+ 100
+
+
+ 1
+
+
+ 1
+
+
+
+
+
+ -
+
+
-
+
+
+ Plane=(Point, Plane):
+Create a plane crossing a Point and parallel to a Plane.
+- First select a plane and a point NOT on the previous plane
+- Second push this button
+
+NB: you can enlarge the created new plane by setting first an extension length.
+
+
+ Plane=(Point, Plane)
+
+
+
+ ../Icons/WF_pointPlanePlane.svg../Icons/WF_pointPlanePlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Length for the extensions of the new Plane compared to initial one.
+
+
+ 0.0
+
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_plane.svg../Icons/WF_plane.svg
+
+
+ Plane 2/2
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Object(s) Center Planes:
+Create 3 Planes (XY, XZ and YZ) at center location of all selected Object(s).
+- First select one or severl objects
+- Second push this button
+
+
+ Object(s) Center Planes
+
+
+
+ ../Icons/WF_centerObjectsPlanes.svg../Icons/WF_centerObjectsPlanes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Enlarge(Plane):
+Extend a Plane in each dimension.
+- First select a Plane (or several Planes)
+- Second push this button
+
+NB:
+ - The percentage of the extension can be defined first.
+
+
+ Enlarge(Plane)
+
+
+
+ ../Icons/WF_enlargePlane.svg../Icons/WF_enlargePlane.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Extension of the Plane in each dimension in percentage.
+
+
+ 50.0
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ ../Icons/WF_box.svg../Icons/WF_box.svg
+
+
+ Object
+
+
+ -
+
+
-
+
+
-
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create bounding boxes around each of selected object(s).
+6 rectangles at the limits of each bounding boxes will be created.
+
+
+ Bounding Box(es)
+
+
+
+ ../Icons/WF_boundingBoxes.svg../Icons/WF_boundingBoxes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Create one bounding box around all of selected object(s).
+6 rectangles at the limits of the bounding box will be created.
+
+
+ Bounding Box
+
+
+
+ ../Icons/WF_boundingBox.svg../Icons/WF_boundingBox.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+ -
+
+
+
+ 60
+ 16777215
+
+
+
+ if "Vol." is toggled:
+ In Addition of rectangles, the Bounding box will be also created as a Volume.
+
+
+ Vol.
+
+
+
+
+
+ -
+
+
+ QFrame::Plain
+
+
+ 4
+
+
+ 0
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
-
+
+
+ Create a Cylinder aligned on Axes:
+- First select one or several couple of ( Axis and a Ref. Point).
+- Define Diameter and Length if needed.
+Then Click the button...
+It will create a Cylinder aligned on the selected axis
+with one of the extremities at the Ref. point,
+for all couple selected.
+
+
+ Cylinder
+
+
+
+ ../Icons/WF_cylinder.svg../Icons/WF_cylinder.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Radius of the Cylinder.
+
+
+ 2.0
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Length of the Cylinder.
+Negative value will reverse the direction from Ref. Point
+
+
+ 20.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Create a Cuboid aligned on Axes:
+- First select one or several couple of ( Axis and a Ref. Point).
+- Define Dimensions if needed.
+Then Click the button...
+It will create a Cube aligned on the selected axis
+with one of the extremities at Ref. point,
+for all couple selected.
+
+
+ Cube
+
+
+
+ ../Icons/WF_cube.svg../Icons/WF_cube.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Section (Length, Width) of the Cube.
+
+
+ 2.0,2.0
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Heigth of the Cube.
+Negative value will reverse the direction from Ref. Point
+
+
+ 20.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Create a Sphere shell:
+- First select one or several Center Point(s).
+- Define Diameter if needed.
+Then Click the button...
+It will create Sphere shell(s) centered
+at the selected point(s).
+
+
+ Sphere
+
+
+
+ ../Icons/WF_sphere.svg../Icons/WF_sphere.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Diameter of the Sphere.
+
+
+ 10.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Create a full geodesic dome shell:
+- First select one or several Center Point(s).
+- Define Diameter and Frequency Parameter (Integer between 1 to 10) if needed.
+Then Click the button...
+It will create full geodesic dome shell(s) with a X-Y-symmetry plane
+for even frequencies and centered
+at the selected point(s).
+
+If Frequency Parameter = 1, the code create an icosahedron.
+An icosahedron is a polyhedron with 20 faces.
+
+Original code from : Ulrich Brammer
+
+
+ Dome
+
+
+
+ ../Icons/WF_dome.svg../Icons/WF_dome.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Frequency Parameter (Integer between 1 to 20).
+
+
+ 1
+
+
+ 20
+
+
+ 1
+
+
+ 2
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Diameter of the Dome.
+
+
+ 10.0
+
+
+
+
+
+ -
+
+
-
+
+
+ AB:
+Create 3D Text attached to a Point.
+- First select a Plane
+- Then push this button
+in this case the center of the text is attached to center of the Plane;
+or
+- First select a Plane and a Point on the Plane
+- Then push this button
+NB:
+ Change the text and his size if needed
+
+
+ AB
+
+
+
+ ../Icons/WF_pointText.svg../Icons/WF_pointText.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 70
+ 16777215
+
+
+
+ Put the desired text here
+
+
+ A
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Size of the font.
+
+
+ 2.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Revolve:
+Make the revolution of Edge(s) or Wire(s) around an Axis:
+- Select one or several wire(s)
+- Then push this button
+or
+- Select FIRST one Point as center of rotation and one Axis as rotation axis !
+- Select one or several wire(s)
+- Then push this button
+
+NB:
+ You can also define the angle of revolution if needed
+ If no Axis is selected the Z axis is considered as Axis of rotation !
+ If no Point is selected the Origin is considered as Center of rotation !
+
+
+ Revolve
+
+
+
+ ../Icons/WF_Revolve.svg../Icons/WF_Revolve.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 40
+ 16777215
+
+
+
+ Angle of the revolution in degrees.
+
+
+ 360
+
+
+
+
+
+ -
+
+
+ Compute the common parts between selected shapes.
+- Select at least two objects and click.
+
+Highlight common parts by showing the common shape in red and setting half-transparency on original parts (the original objects are not modified).
+Original code from HighlightCommon.FCMacro
+ https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightCommon.FCMacro
+ Authors = 2015 Javier Martinez Garcia
+
+
+
+ Common
+
+
+
+ ../Icons/WF_Common.svg../Icons/WF_Common.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Compute the difference parts between selected shapes.
+- Select two objects and click.
+
+Compute the difference between two shapes. Additions are marked red, removals are marked green. Both original parts will be half transparent. The volume of the additions and removals are printed in the console.
+Original code from HighlightDifference.FCMacro
+ https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightDifference.FCMacro
+ Authors = 2015 Gaël Ecorchard (Galou)
+
+
+ Difference
+
+
+
+ ../Icons/WF_Difference.svg../Icons/WF_Difference.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 17
+ 8
+
+
+
+
+
+
+
+
+ Modif.
+
+
+ -
+
+
+ 0
+
+
+
+ Align
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 220
+ 16777215
+
+
+
+ Align the face of selected object(s) to the actual view Plane.
+ - Click first to select a Face of one or several objects.
+These objects will be moved not the point of view.
+Then Click the button.
+
+NB:
+ The center of rotation is the center of the bounbing box if possible or
+ the center of the Face.
+
+ if the Face of the object selected is already aligned to the view Plane,
+ a rotation of 180 deg is applied to the object.
+ In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)
+
+ Two clicks will rotate by 180 deg the moving objects.
+
+
+
+
+ Align Face to View
+
+
+
+ ../Icons/WF_viewAlignFace.svg../Icons/WF_viewAlignFace.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
-
+
+
+
+ 220
+ 16777215
+
+
+
+ Align the Face(s) from selected object(s) to the last Face selected.
+ - Click first to select a Face of an object or several Faces from several objects.
+These objects will be moved.
+ - Click second to select a Face to align to (the last object is fixed and will never move).
+Then Click the button.
+
+NB:
+ The center of rotation is the center of the bounbing box if possible or
+ the center of the Face.
+
+ if the Face of the object selected is already aligned to the last one,
+ a rotation of 180 deg is applied to the object.
+ In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)
+
+ Two clicks will rotate by 180 deg the moving objects.
+
+
+
+ Align Faces
+
+
+
+ ../Icons/WF_objectAlignFaces.svg../Icons/WF_objectAlignFaces.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ This Angle (in degrees) will be added to the angle needed to align Faces.
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 220
+ 16777215
+
+
+
+ Align the Edge(s) from selected object(s) to the last Edge selected.
+ - Click first to select an Edge of an object or several Edges from several objects.
+These objects will be moved.
+ - Click second to select an Edge to align to (the last object is fixed and will never move).
+Then Click the button.
+
+NB:
+ The center of rotation is the center of the bounbing box if possible or
+ the center of the Edge.
+
+ if the Edge of the object selected is already aligned to the last one,
+ a rotation of 180 deg is applied to the object.
+ In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)
+
+ Two clicks will rotate by 180 deg the moving objects.
+
+
+
+ Align Edges
+
+
+
+ ../Icons/WF_objectAlignAxes.svg../Icons/WF_objectAlignAxes.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ This Angle (in degrees) will be added to the angle needed to align Edges.
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Joint Point(s) from selected object(s) to the last Point selected.
+ - Click first to select a Point of an object or several Points from several objects.
+These objects will be moved.
+ - Click second to select an Point to joint to (the last object is fixed and will never move).
+Then Click the button.
+
+
+
+
+ Joint Points
+
+
+
+ ../Icons/WF_objectJointPoints.svg../Icons/WF_objectJointPoints.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Joint Face(s) from selected object(s) to the last Face selected.
+ - Click first to select a Face of an object or several Faces from several objects.
+These objects will be moved.
+ - Click second to select a Face to joint to (the last object is fixed and will never move).
+Then Click the button.
+
+ Two clicks will rotate by 180 deg the moving objects.
+
+
+
+ Joint Faces
+
+
+
+ ../Icons/WF_objectJointFaces.svg../Icons/WF_objectJointFaces.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+
+ Cut
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 220
+ 16777215
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+ Object
+
+
+
-
+
+
-
+
+
+
+ 130
+ 31
+
+
+
+
+ 250
+ 40
+
+
+
+ Select the Object to cut:
+First Click on the object in the view
+and push this button to accept...
+
+
+ Select Object
+
+
+
+ -
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ true
+
+
+
+ -
+
+
+ false
+
+
+
+ 130
+ 31
+
+
+
+
+ 250
+ 40
+
+
+
+ Select the Line to cut the Object along:
+First Click on the line/edge in the view
+and push this button to accept...
+
+
+ Select Cut Line
+
+
+
+ -
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ true
+
+
+
+ -
+
+
+ false
+
+
+
+ 130
+ 31
+
+
+
+
+ 250
+ 40
+
+
+
+ Select the Reference Plane to cut the Object from:
+First Click on the plane in the view
+and push this button to accept...
+
+The Reference Plane is the Plane you pose the object on before to use a saw!
+(Note that the Angle is calculated from the Normal at this Plane)
+
+
+ Select Ref. Plane
+
+
+
+ -
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ true
+
+
+
+
+
+ -
+
+
-
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Angle of cutting relative to the Normal of the Reference Plane (in degrees).
+
+ 0.0 means that the Plane of cutting is along the Cut Line with
+a 90 deg angle with Reference Plane.
+
+
+ Angle
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Angle of cutting relative to the Normal of the Reference Plane (in degrees).
+
+ 0.0 means that the Plane of cutting is along the Cut Line with
+a 90 deg angle with Reference Plane.
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 70
+ 16777215
+
+
+
+ Thickness of the Cut.
+
+i.e. the thickness of a saw.
+
+
+ Thickness
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ Thickness of the Cut.
+
+i.e. the thickness of a saw.
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Reset
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 18
+ 20
+
+
+
+
+ -
+
+
+ false
+
+
+
+ 50
+ 16777215
+
+
+
+ Cut an object by selecting a Line cut, a Plane and an Angle regarding the Plane.
+
+
+ Apply
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+ Rotate
+
+
+ -
+
+
+
+ 220
+ 16777215
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+ - Select one or several object(s) in the view and
+- Click on this button.
+
+NB
+Once object(s) are selected an other Click will unselect them !
+Selected Object(s) will be displayed with 75% of transparency.
+
+
+ Select Object(s)
+
+
+
+ -
+
+
+ QTabWidget::North
+
+
+ 0
+
+
+
+
+ ../Icons/WF_rotationAxis.svg../Icons/WF_rotationAxis.svg
+
+
+ Axis
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 80
+ 0
+
+
+
+
+ 130
+ 16777215
+
+
+
+ Qt::LeftToRight
+
+
+ 0
+
+
-
+
+ X
+
+
+ -
+
+ Y
+
+
+ -
+
+ Z
+
+
+ -
+
+ To select
+
+
+
+
+ -
+
+
+ false
+
+
+
+ 40
+ 0
+
+
+
+
+ 80
+ 16777215
+
+
+
+ Select
+
+
+
+
+
+
+
+
+ ../Icons/WF_rotationPoint.svg../Icons/WF_rotationPoint.svg
+
+
+ Center
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ 120
+ 0
+
+
+
+
+ 130
+ 16777215
+
+
+
+ 2
+
+
+ QComboBox::AdjustToContentsOnFirstShow
+
+
-
+
+ Origin
+
+
+ -
+
+ Base Obj.
+
+
+ -
+
+ Center Obj.(s)
+
+
+ -
+
+ To select
+
+
+
+
+ -
+
+
+ false
+
+
+
+ 40
+ 0
+
+
+
+
+ 80
+ 16777215
+
+
+
+ Select
+
+
+
+
+
+
+
+ -
+
+
+
+ 150
+ 67
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Angle of rotation :
+
+
+ false
+
+
+
-
+
+
+ 0
+
+
+
+ Define
+
+
+
-
+
+
+
+ 0
+ 39
+
+
+
+
+ 120
+ 16777215
+
+
+
+ -180
+
+
+ 180
+
+
+ Qt::Horizontal
+
+
+ QSlider::TicksBothSides
+
+
+ 20
+
+
+
+
+
+
+
+
+ ../Icons/WF_click.svg../Icons/WF_click.svg
+
+
+ Select
+
+
+ -
+
+
+ true
+
+
+
+ 40
+ 0
+
+
+
+
+ 80
+ 16777215
+
+
+
+ Calculate angle from 2 objects.
+Angle measurement between two Edges or two Planes
+- Select the 2 Edges and
+- Click this button
+or
+- Select the 2 Planes and
+- Click this button
+or
+- Select one Edge and one Plane and
+- Click this button
+
+NB:
+ Normals of Planes will be used.
+
+
+ Select
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ 0.0
+
+
+ 32769
+
+
+
+ -
+
+
+
+ 60
+ 16777215
+
+
+
+ (deg)
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Reset
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 20
+ 20
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Apply
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+ Translate
+
+
+ -
+
+
+
+ 220
+ 16777215
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+ - Select one or several object(s) in the view and
+- Click on this button.
+
+NB
+Once object(s) are selected an other Click will unselect them !
+Selected Object(s) will be displayed with 75% of transparency.
+
+
+ Select Object(s)
+
+
+
+ -
+
+
-
+
+
+ Toggle this check box to generate copies the object during the Translation.
+Copy means that the original Object will be left in his original location.
+NB:
+
+1 copy requested :
+ - If one starting point and one ending point are selected.
+ Only one copy is done!
+
+ - If one starting point and several ending points are selected.
+ One copy is done at each ending points selected!
+
+N copies requested :
+ - If one starting point and one ending point are selected.
+ Only one copy is done at the ending point then at double distance
+ of the ending point along the line defined by starting and ending point,
+ and so on!
+ - If one starting point and several ending points are selected.
+ One copy is done at each ending points selected, then at double distance
+ of each ending points along the line defined by starting and the current
+ ending point, and so on!
+
+
+ Copy
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 50
+ 16777215
+
+
+
+ The number of copies.
+
+
+ QAbstractSpinBox::NoButtons
+
+
+ false
+
+
+ 1
+
+
+ 20
+
+
+ 1
+
+
+ 1
+
+
+
+ -
+
+
+ Toggle this check box to realize "deep" copies.
+Means that all children and parents of selected Object(s) will be copied too!
+
+If the object selected is Pad and his link is on Sketch, and Skecth parent is Box
+Box
+Pad
+ |_Sketch
+
+if the current check box is toggle the result will be :
+Box
+Pad
+ |_Sketch
+Box001
+Pad001
+ |_Sketch001
+
+if not the result will be :
+Box
+Pad
+Pad001
+ |_Sketch
+
+On the last result the same Sketch is both link to Pad001 but also still to Pad.
+
+
+ Deep
+
+
+
+
+
+ -
+
+
+ 0
+
+
+
+
+ ../Icons/WF_startPoint.svg../Icons/WF_startPoint.svg
+
+
+ Start
+
+
+
-
+
+
+
+ 150
+ 0
+
+
+
+ Starting Point :
+
+
+ false
+
+
+
-
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 120
+ 16777215
+
+
+
+ 3
+
+
+ QComboBox::AdjustToContentsOnFirstShow
+
+
-
+
+ Origin
+
+
+ -
+
+ Base Obj.
+
+
+ -
+
+ Center Obj.(s)
+
+
+ -
+
+ To select
+
+
+ -
+
+ To define
+
+
+
+
+ -
+
+
+ true
+
+
+
+ 50
+ 0
+
+
+
+
+ 120
+ 16777215
+
+
+
+ Select
+
+
+
+ -
+
+
-
+
+
-
+
+
+ X :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Y :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Z :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_endPoint.svg../Icons/WF_endPoint.svg
+
+
+ End
+
+
+ -
+
+
+
+ 150
+ 0
+
+
+
+ Ending Point :
+
+
+ false
+
+
+
-
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 120
+ 16777215
+
+
+
+ 0
+
+
+ QComboBox::AdjustToContentsOnFirstShow
+
+
-
+
+ Origin
+
+
+ -
+
+ Base Obj.
+
+
+ -
+
+ Center Obj.(s)
+
+
+ -
+
+ To select
+
+
+ -
+
+ To define
+
+
+ -
+
+ Relative
+
+
+
+
+ -
+
+
+ true
+
+
+
+ 100
+ 0
+
+
+
+
+ 120
+ 16777215
+
+
+
+ Select
+
+
+
+ -
+
+
-
+
+
-
+
+
+ Z :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+ Y :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+ -
+
+
-
+
+
+ X :
+
+
+
+ -
+
+
+ false
+
+
+
+ 90
+ 0
+
+
+
+
+ 200
+ 16777215
+
+
+
+ 0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Reset
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 20
+ 20
+
+
+
+
+ -
+
+
+
+ 40
+ 0
+
+
+
+
+ 60
+ 16777215
+
+
+
+ Apply
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_view.svg../Icons/WF_view.svg
+
+
+ View
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Set the current view perpendicular to the selected Face,
+or aligned to the selected Axis,
+or aligned on 2 Points.
+ReClick with same selection, will reverse the direction.
+
+
+ Align View to ...
+
+
+
+ ../Icons/WF_viewAlign.svg../Icons/WF_viewAlign.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Camera Track
+
+
+
+ ../Icons/WF_trackCamera.svg../Icons/WF_trackCamera.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+
+
+ ../Icons/WF_check.svg../Icons/WF_check.svg
+
+
+ Check
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Detect the position of the camera.
+The returned value is the value provided
+by the function getCameraOrientation().
+
+
+ View ?
+
+
+
+ ../Icons/WF_FCCamera_02.svg../Icons/WF_FCCamera_02.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check if two faces or two Edges are Parallel:
+- Select the 2 faces/planes or 2 Edges/Lines and
+Click this button
+
+NB: You can change the tolerance in "Ori. Pref." TAB
+
+
+ are Parallel ?
+
+
+
+ ../Icons/WF_isParallel.svg../Icons/WF_isParallel.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check for two Edges/Planes angle:
+Angle measurement between two Edges or two Planes
+- Select the 2 Edges and
+- Click this button
+or
+- Select the 2 Planes and
+- Click this button
+or
+- Select one Edge and one Plane and
+- Click this button
+
+NB:
+ Normals of Planes will be used.
+
+
+ Angle ?
+
+
+
+ ../Icons/WF_angleBetween.svg../Icons/WF_angleBetween.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check for Line Length:
+Length measurement and Delta values (on main Axes) for a Line
+- Select the Line and
+Click this button
+
+
+
+ Length ?
+
+
+
+ ../Icons/WF_isLength.svg../Icons/WF_isLength.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check if two faces or two Edges are Perpendicular:
+- Select the 2 faces/planes or 2 Edges/Lines and
+Click this button
+
+NB: You can change the tolerance in "Ori. Pref." TAB
+
+
+ are Perpendicular ?
+
+
+
+ ../Icons/WF_isPerpendicular.svg../Icons/WF_isPerpendicular.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check for two Points distance:
+Distances measurement and Delta values (on main Axes) between two Points
+- Select the 2 Points and
+Click this button
+
+
+
+ Distance ?
+
+
+
+ ../Icons/WF_distanceBetween.svg../Icons/WF_distanceBetween.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check for surface Area:
+Area measurement for a Plane or a set of Planes.
+- Select One or several Planes and
+Click this button
+
+
+ Area ?
+
+
+
+ ../Icons/WF_isArea.svg../Icons/WF_isArea.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check if two faces or two Edges are Coplanar:
+- Select the 2 faces/planes or 2 Edges/Lines and
+Click this button
+
+NB: You can change the tolerance in "Ori. Pref." TAB
+
+
+ are Coplanar ?
+
+
+
+ ../Icons/WF_isCoplanar.svg../Icons/WF_isCoplanar.svg
+
+
+
+ 32
+ 32
+
+
+
+
+ -
+
+
+ Check for two Objects Clearance distance:
+Quick measurements between parallel faces and similarly placed objects
+- Select the 2 Objects and
+Click this button
+
+
+ Distance Clearance ?
+
+
+
+ ../Icons/WF_isClearance.svg../Icons/WF_isClearance.svg
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Close
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ 2015
+
+
+
+
+
+
+
+
+
+
diff --git a/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.py b/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.py
new file mode 100644
index 0000000..75fc49b
--- /dev/null
+++ b/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.py
@@ -0,0 +1,193 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'WF_ObjParCurve2DEditGui_2015.ui'
+#
+# Created: Tue Oct 27 06:56:40 2015
+# by: PySide UI code generator 4.11.2
+#
+# WARNING! All changes made in this file will be lost!
+
+from PySide import QtCore, QtGui
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(1039, 460)
+ self.gridLayout_3 = QtGui.QGridLayout(Form)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.groupBox_2 = QtGui.QGroupBox(Form)
+ self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
+ self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_load = QtGui.QPushButton(self.groupBox_2)
+ self.button_load.setObjectName(_fromUtf8("button_load"))
+ self.horizontalLayout.addWidget(self.button_load)
+ self.button_save = QtGui.QPushButton(self.groupBox_2)
+ self.button_save.setObjectName(_fromUtf8("button_save"))
+ self.horizontalLayout.addWidget(self.button_save)
+ spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem)
+ self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox_2, 0, 0, 1, 1)
+ self.tableWidget = QtGui.QTableWidget(Form)
+ self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
+ self.tableWidget.setColumnCount(10)
+ self.tableWidget.setRowCount(2)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 8, item)
+ self.gridLayout_3.addWidget(self.tableWidget, 1, 0, 1, 1)
+ self.groupBox = QtGui.QGroupBox(Form)
+ self.groupBox.setObjectName(_fromUtf8("groupBox"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.horizontalLayout_2 = QtGui.QHBoxLayout()
+ self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+ self.button_addRow = QtGui.QPushButton(self.groupBox)
+ self.button_addRow.setObjectName(_fromUtf8("button_addRow"))
+ self.horizontalLayout_2.addWidget(self.button_addRow)
+ self.button_removeRow = QtGui.QPushButton(self.groupBox)
+ self.button_removeRow.setObjectName(_fromUtf8("button_removeRow"))
+ self.horizontalLayout_2.addWidget(self.button_removeRow)
+ spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_2.addItem(spacerItem1)
+ self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox, 2, 0, 1, 1)
+ self.horizontalLayout_4 = QtGui.QHBoxLayout()
+ self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
+ self.comboBox_select = QtGui.QComboBox(Form)
+ self.comboBox_select.setEnabled(False)
+ self.comboBox_select.setMaximumSize(QtCore.QSize(0, 0))
+ self.comboBox_select.setFrame(True)
+ self.comboBox_select.setModelColumn(1)
+ self.comboBox_select.setObjectName(_fromUtf8("comboBox_select"))
+ self.horizontalLayout_4.addWidget(self.comboBox_select)
+ spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_4.addItem(spacerItem2)
+ self.gridLayout_3.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
+ self.horizontalLayout_3 = QtGui.QHBoxLayout()
+ self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
+ self.button_quit = QtGui.QPushButton(Form)
+ self.button_quit.setObjectName(_fromUtf8("button_quit"))
+ self.horizontalLayout_3.addWidget(self.button_quit)
+ spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_3.addItem(spacerItem3)
+ self.gridLayout_3.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
+
+ self.retranslateUi(Form)
+ QtCore.QMetaObject.connectSlotsByName(Form)
+
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(_translate("Form", "Form", None))
+ self.groupBox_2.setTitle(_translate("Form", "2D Database", None))
+ self.button_load.setToolTip(_translate("Form", "Click to load common and customs curves.", None))
+ self.button_load.setText(_translate("Form", "Load", None))
+ self.button_save.setToolTip(_translate("Form", "This will save customs curves only in your HOME directory under \"Parametric2D.dat\".", None))
+ self.button_save.setText(_translate("Form", "Save", None))
+ item = self.tableWidget.verticalHeaderItem(0)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.verticalHeaderItem(1)
+ item.setText(_translate("Form", "2", None))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Form", "Name", None))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Form", "a (t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Form", "b (a, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Form", "X (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Form", "Y (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Form", "t min", None))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Form", "t max", None))
+ item = self.tableWidget.horizontalHeaderItem(7)
+ item.setText(_translate("Form", "t step", None))
+ item = self.tableWidget.horizontalHeaderItem(8)
+ item.setText(_translate("Form", "Polar", None))
+ item = self.tableWidget.horizontalHeaderItem(9)
+ item.setText(_translate("Form", "Comments", None))
+ __sortingEnabled = self.tableWidget.isSortingEnabled()
+ self.tableWidget.setSortingEnabled(False)
+ item = self.tableWidget.item(0, 0)
+ item.setText(_translate("Form", "Circle", None))
+ item = self.tableWidget.item(0, 1)
+ item.setText(_translate("Form", "10 # Radius", None))
+ item = self.tableWidget.item(0, 2)
+ item.setText(_translate("Form", "a", None))
+ item = self.tableWidget.item(0, 3)
+ item.setText(_translate("Form", "a*cos(t)", None))
+ item = self.tableWidget.item(0, 4)
+ item.setText(_translate("Form", "a*sin(t)", None))
+ item = self.tableWidget.item(0, 5)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(0, 6)
+ item.setText(_translate("Form", "2*pi", None))
+ item = self.tableWidget.item(0, 7)
+ item.setText(_translate("Form", "0.01", None))
+ item = self.tableWidget.item(0, 8)
+ item.setText(_translate("Form", "0", None))
+ self.tableWidget.setSortingEnabled(__sortingEnabled)
+ self.groupBox.setTitle(_translate("Form", "Row", None))
+ self.button_addRow.setToolTip(_translate("Form", "Add a row into the table.", None))
+ self.button_addRow.setText(_translate("Form", "add", None))
+ self.button_removeRow.setToolTip(_translate("Form", "Remove a row from the table.", None))
+ self.button_removeRow.setText(_translate("Form", "remove", None))
+ self.button_quit.setText(_translate("Form", "Quit", None))
+
diff --git a/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.ui b/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.ui
new file mode 100644
index 0000000..ed4fff4
--- /dev/null
+++ b/WorkFeature/Ui/WF_ObjParCurve2DEditGui_2015.ui
@@ -0,0 +1,282 @@
+
+
+ Form
+
+
+
+ 0
+ 0
+ 1039
+ 460
+
+
+
+ Form
+
+
+ -
+
+
+ 2D Database
+
+
+
-
+
+
-
+
+
+ Click to load common and customs curves.
+
+
+ Load
+
+
+
+ -
+
+
+ This will save customs curves only in your HOME directory under "Parametric2D.dat".
+
+
+ Save
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+ 1
+
+
+
+
+ 2
+
+
+
+
+ Name
+
+
+
+
+ a (t)
+
+
+
+
+ b (a, t)
+
+
+
+
+ X (a,b,c,t)
+
+
+
+
+ Y (a,b,c,t)
+
+
+
+
+ t min
+
+
+
+
+ t max
+
+
+
+
+ t step
+
+
+
+
+ Polar
+
+
+
+
+ Comments
+
+
+ -
+
+ Circle
+
+
+ -
+
+ 10 # Radius
+
+
+ -
+
+ a
+
+
+ -
+
+ a*cos(t)
+
+
+ -
+
+ a*sin(t)
+
+
+ -
+
+ 0
+
+
+ -
+
+ 2*pi
+
+
+ -
+
+ 0.01
+
+
+ -
+
+ 0
+
+
+
+
+ -
+
+
+ Row
+
+
+
-
+
+
-
+
+
+ Add a row into the table.
+
+
+ add
+
+
+
+ -
+
+
+ Remove a row from the table.
+
+
+ remove
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ true
+
+
+ 1
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Quit
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.py b/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.py
new file mode 100644
index 0000000..c25afcd
--- /dev/null
+++ b/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.py
@@ -0,0 +1,244 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'WF_ObjParCurve3DEditGui_2015.ui'
+#
+# Created: Tue Oct 27 06:56:50 2015
+# by: PySide UI code generator 4.11.2
+#
+# WARNING! All changes made in this file will be lost!
+
+from PySide import QtCore, QtGui
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(1039, 460)
+ self.gridLayout_3 = QtGui.QGridLayout(Form)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.groupBox_2 = QtGui.QGroupBox(Form)
+ self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
+ self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_load = QtGui.QPushButton(self.groupBox_2)
+ self.button_load.setObjectName(_fromUtf8("button_load"))
+ self.horizontalLayout.addWidget(self.button_load)
+ self.button_save = QtGui.QPushButton(self.groupBox_2)
+ self.button_save.setObjectName(_fromUtf8("button_save"))
+ self.horizontalLayout.addWidget(self.button_save)
+ spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem)
+ self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox_2, 0, 0, 1, 1)
+ self.tableWidget = QtGui.QTableWidget(Form)
+ self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
+ self.tableWidget.setColumnCount(11)
+ self.tableWidget.setRowCount(3)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(10, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 9, item)
+ self.gridLayout_3.addWidget(self.tableWidget, 1, 0, 1, 1)
+ self.groupBox = QtGui.QGroupBox(Form)
+ self.groupBox.setObjectName(_fromUtf8("groupBox"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.horizontalLayout_2 = QtGui.QHBoxLayout()
+ self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+ self.button_addRow = QtGui.QPushButton(self.groupBox)
+ self.button_addRow.setObjectName(_fromUtf8("button_addRow"))
+ self.horizontalLayout_2.addWidget(self.button_addRow)
+ self.button_removeRow = QtGui.QPushButton(self.groupBox)
+ self.button_removeRow.setObjectName(_fromUtf8("button_removeRow"))
+ self.horizontalLayout_2.addWidget(self.button_removeRow)
+ spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_2.addItem(spacerItem1)
+ self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox, 2, 0, 1, 1)
+ self.horizontalLayout_4 = QtGui.QHBoxLayout()
+ self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
+ self.comboBox_select = QtGui.QComboBox(Form)
+ self.comboBox_select.setEnabled(False)
+ self.comboBox_select.setMaximumSize(QtCore.QSize(0, 0))
+ self.comboBox_select.setModelColumn(1)
+ self.comboBox_select.setObjectName(_fromUtf8("comboBox_select"))
+ self.horizontalLayout_4.addWidget(self.comboBox_select)
+ spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_4.addItem(spacerItem2)
+ self.gridLayout_3.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
+ self.horizontalLayout_3 = QtGui.QHBoxLayout()
+ self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
+ self.button_quit = QtGui.QPushButton(Form)
+ self.button_quit.setObjectName(_fromUtf8("button_quit"))
+ self.horizontalLayout_3.addWidget(self.button_quit)
+ spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_3.addItem(spacerItem3)
+ self.gridLayout_3.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
+
+ self.retranslateUi(Form)
+ QtCore.QMetaObject.connectSlotsByName(Form)
+
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(_translate("Form", "Form", None))
+ self.groupBox_2.setTitle(_translate("Form", "3D Database", None))
+ self.button_load.setToolTip(_translate("Form", "Click to load common and customs curves.", None))
+ self.button_load.setText(_translate("Form", "Load", None))
+ self.button_save.setToolTip(_translate("Form", "This will save customs curves only in your HOME directory under \"Parametric3D.dat\".", None))
+ self.button_save.setText(_translate("Form", "Save", None))
+ item = self.tableWidget.verticalHeaderItem(0)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.verticalHeaderItem(1)
+ item.setText(_translate("Form", "2", None))
+ item = self.tableWidget.verticalHeaderItem(2)
+ item.setText(_translate("Form", "3", None))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Form", "Name", None))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Form", "a (t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Form", "b (a, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Form", "c (a, b, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Form", "X (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Form", "Y (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Form", "Z (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(7)
+ item.setText(_translate("Form", "t min", None))
+ item = self.tableWidget.horizontalHeaderItem(8)
+ item.setText(_translate("Form", "t max", None))
+ item = self.tableWidget.horizontalHeaderItem(9)
+ item.setText(_translate("Form", "t step", None))
+ item = self.tableWidget.horizontalHeaderItem(10)
+ item.setText(_translate("Form", "Comments", None))
+ __sortingEnabled = self.tableWidget.isSortingEnabled()
+ self.tableWidget.setSortingEnabled(False)
+ item = self.tableWidget.item(0, 0)
+ item.setText(_translate("Form", "Cylindrical helix", None))
+ item = self.tableWidget.item(0, 1)
+ item.setText(_translate("Form", "10*0.05 #Vert. step", None))
+ item = self.tableWidget.item(0, 2)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.item(0, 3)
+ item.setText(_translate("Form", "10 # Radius", None))
+ item = self.tableWidget.item(0, 4)
+ item.setText(_translate("Form", "c*sin(t)", None))
+ item = self.tableWidget.item(0, 5)
+ item.setText(_translate("Form", "c*cos(t)", None))
+ item = self.tableWidget.item(0, 6)
+ item.setText(_translate("Form", "a*t", None))
+ item = self.tableWidget.item(0, 7)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(0, 8)
+ item.setText(_translate("Form", "5*2*pi #5 circles", None))
+ item = self.tableWidget.item(0, 9)
+ item.setText(_translate("Form", "0.01", None))
+ item = self.tableWidget.item(1, 0)
+ item.setText(_translate("Form", "Circle with Teeth", None))
+ item = self.tableWidget.item(1, 1)
+ item.setText(_translate("Form", "37", None))
+ item = self.tableWidget.item(1, 2)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.item(1, 3)
+ item.setText(_translate("Form", "(a+cos(a*t)*2)*b", None))
+ item = self.tableWidget.item(1, 4)
+ item.setText(_translate("Form", "c*cos(t)", None))
+ item = self.tableWidget.item(1, 5)
+ item.setText(_translate("Form", "c*sin(t)", None))
+ item = self.tableWidget.item(1, 6)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(1, 7)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(1, 8)
+ item.setText(_translate("Form", "2*pi", None))
+ item = self.tableWidget.item(1, 9)
+ item.setText(_translate("Form", "0.01", None))
+ self.tableWidget.setSortingEnabled(__sortingEnabled)
+ self.groupBox.setTitle(_translate("Form", "Row", None))
+ self.button_addRow.setToolTip(_translate("Form", "Add a row into the table.", None))
+ self.button_addRow.setText(_translate("Form", "add", None))
+ self.button_removeRow.setToolTip(_translate("Form", "Remove a row from the table.", None))
+ self.button_removeRow.setText(_translate("Form", "remove", None))
+ self.button_quit.setText(_translate("Form", "Quit", None))
+
diff --git a/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.ui b/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.ui
new file mode 100644
index 0000000..707d536
--- /dev/null
+++ b/WorkFeature/Ui/WF_ObjParCurve3DEditGui_2015.ui
@@ -0,0 +1,344 @@
+
+
+ Form
+
+
+
+ 0
+ 0
+ 1039
+ 460
+
+
+
+ Form
+
+
+ -
+
+
+ 3D Database
+
+
+
-
+
+
-
+
+
+ Click to load common and customs curves.
+
+
+ Load
+
+
+
+ -
+
+
+ This will save customs curves only in your HOME directory under "Parametric3D.dat".
+
+
+ Save
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+ 1
+
+
+
+
+ 2
+
+
+
+
+ 3
+
+
+
+
+ Name
+
+
+
+
+ a (t)
+
+
+
+
+ b (a, t)
+
+
+
+
+ c (a, b, t)
+
+
+
+
+ X (a,b,c,t)
+
+
+
+
+ Y (a,b,c,t)
+
+
+
+
+ Z (a,b,c,t)
+
+
+
+
+ t min
+
+
+
+
+ t max
+
+
+
+
+ t step
+
+
+
+
+ Comments
+
+
+ -
+
+ Cylindrical helix
+
+
+ -
+
+ 10*0.05 #Vert. step
+
+
+ -
+
+ 1
+
+
+ -
+
+ 10 # Radius
+
+
+ -
+
+ c*sin(t)
+
+
+ -
+
+ c*cos(t)
+
+
+ -
+
+ a*t
+
+
+ -
+
+ 0
+
+
+ -
+
+ 5*2*pi #5 circles
+
+
+ -
+
+ 0.01
+
+
+ -
+
+ Circle with Teeth
+
+
+ -
+
+ 37
+
+
+ -
+
+ 1
+
+
+ -
+
+ (a+cos(a*t)*2)*b
+
+
+ -
+
+ c*cos(t)
+
+
+ -
+
+ c*sin(t)
+
+
+ -
+
+ 0
+
+
+ -
+
+ 0
+
+
+ -
+
+ 2*pi
+
+
+ -
+
+ 0.01
+
+
+
+
+ -
+
+
+ Row
+
+
+
-
+
+
-
+
+
+ Add a row into the table.
+
+
+ add
+
+
+
+ -
+
+
+ Remove a row from the table.
+
+
+ remove
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ 1
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Quit
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WorkFeature/Ui/__init__.py b/WorkFeature/Ui/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/WorkFeature/sh_ui2pySide b/WorkFeature/Ui/sh_ui2pySide
old mode 100755
new mode 100644
similarity index 59%
rename from WorkFeature/sh_ui2pySide
rename to WorkFeature/Ui/sh_ui2pySide
index 90dcd4b..9b338b4
--- a/WorkFeature/sh_ui2pySide
+++ b/WorkFeature/Ui/sh_ui2pySide
@@ -3,6 +3,8 @@
m_ui_file=$1
m_ui_base=`basename ${m_ui_file} .ui`
pyuic4 ${m_ui_base}.ui > ${m_ui_base}.py
-cat ${m_ui_base}.py | sed 's#Icons/#icons:#g ' | sed 's#PyQt4#PySide#g ' | sed 's#QtCore.QString.fromUtf8(#_fromUtf8(#g '>tmp.py
+cat ${m_ui_base}.py | sed 's#Icons/#icons:#g ' | sed 's#PyQt4#PySide#g ' | sed 's#QtCore.QString.fromUtf8(#_fromUtf8(#g ' | sed 's#../icons:#icons:#g '>tmp.py
mv tmp.py ${m_ui_base}.py
+cp ${m_ui_base}.py ../${m_ui_base}.py
+
diff --git a/WorkFeature/WFGui_2015.py b/WorkFeature/WFGui_2015.py
index 2fbf213..f04e200 100644
--- a/WorkFeature/WFGui_2015.py
+++ b/WorkFeature/WFGui_2015.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
-# Form implementation generated from reading ui file 'WFGui_2015_08_31.ui'
+# Form implementation generated from reading ui file 'WFGui_2015.ui'
#
-# Created: Mon Aug 31 22:01:38 2015
-# by: PySide UI code generator 4.9.1
+# Created: Wed Nov 4 07:10:00 2015
+# by: PySide UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
@@ -12,201 +12,208 @@ from PySide import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
- _fromUtf8 = lambda s: s
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
- Form.resize(364, 693)
+ Form.resize(382, 845)
icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Axes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ icon.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_wf.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Form.setWindowIcon(icon)
self.gridLayout_34 = QtGui.QGridLayout(Form)
self.gridLayout_34.setObjectName(_fromUtf8("gridLayout_34"))
self.scrollArea = QtGui.QScrollArea(Form)
+ self.scrollArea.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.scrollArea.setFrameShadow(QtGui.QFrame.Sunken)
+ self.scrollArea.setLineWidth(1)
+ self.scrollArea.setMidLineWidth(0)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
- self.scrollAreaWidgetContents_2 = QtGui.QWidget()
- self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 344, 638))
- self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
- self.gridLayout_9 = QtGui.QGridLayout(self.scrollAreaWidgetContents_2)
- self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
- self.tabWidget_0 = QtGui.QTabWidget(self.scrollAreaWidgetContents_2)
- self.tabWidget_0.setTabPosition(QtGui.QTabWidget.South)
- self.tabWidget_0.setObjectName(_fromUtf8("tabWidget_0"))
- self.tab_2 = QtGui.QWidget()
- self.tab_2.setObjectName(_fromUtf8("tab_2"))
- self.gridLayout_30 = QtGui.QGridLayout(self.tab_2)
- self.gridLayout_30.setObjectName(_fromUtf8("gridLayout_30"))
- self.tabWidget = QtGui.QTabWidget(self.tab_2)
- self.tabWidget.setMinimumSize(QtCore.QSize(0, 0))
- self.tabWidget.setMaximumSize(QtCore.QSize(300, 16777215))
- self.tabWidget.setTabPosition(QtGui.QTabWidget.West)
- self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
- self.Origin_Tab = QtGui.QWidget()
- self.Origin_Tab.setObjectName(_fromUtf8("Origin_Tab"))
- self.gridLayout_5 = QtGui.QGridLayout(self.Origin_Tab)
- self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
- self.button_origin = QtGui.QPushButton(self.Origin_Tab)
- self.button_origin.setIcon(icon)
+ self.scrollAreaWidgetContents = QtGui.QWidget()
+ self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 362, 786))
+ self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+ self.gridLayout_128 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
+ self.gridLayout_128.setObjectName(_fromUtf8("gridLayout_128"))
+ self.tabWidget_7 = QtGui.QTabWidget(self.scrollAreaWidgetContents)
+ self.tabWidget_7.setMinimumSize(QtCore.QSize(0, 0))
+ self.tabWidget_7.setTabPosition(QtGui.QTabWidget.West)
+ self.tabWidget_7.setObjectName(_fromUtf8("tabWidget_7"))
+ self.Origin_Tab_2 = QtGui.QWidget()
+ self.Origin_Tab_2.setObjectName(_fromUtf8("Origin_Tab_2"))
+ self.gridLayout_65 = QtGui.QGridLayout(self.Origin_Tab_2)
+ self.gridLayout_65.setObjectName(_fromUtf8("gridLayout_65"))
+ self.button_origin = QtGui.QPushButton(self.Origin_Tab_2)
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Axes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_origin.setIcon(icon1)
self.button_origin.setIconSize(QtCore.QSize(32, 32))
self.button_origin.setObjectName(_fromUtf8("button_origin"))
- self.gridLayout_5.addWidget(self.button_origin, 0, 0, 1, 1)
- self.frame_3 = QtGui.QFrame(self.Origin_Tab)
- self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_3.setObjectName(_fromUtf8("frame_3"))
- self.gridLayout_14 = QtGui.QGridLayout(self.frame_3)
- self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
- self.groupBox_5 = QtGui.QGroupBox(self.frame_3)
- self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
- self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_5)
- self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
- self.radioButton_verbose = QtGui.QRadioButton(self.groupBox_5)
+ self.gridLayout_65.addWidget(self.button_origin, 0, 0, 1, 1)
+ self.frame_6 = QtGui.QFrame(self.Origin_Tab_2)
+ self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_6.setObjectName(_fromUtf8("frame_6"))
+ self.gridLayout_66 = QtGui.QGridLayout(self.frame_6)
+ self.gridLayout_66.setObjectName(_fromUtf8("gridLayout_66"))
+ self.groupBox_13 = QtGui.QGroupBox(self.frame_6)
+ self.groupBox_13.setObjectName(_fromUtf8("groupBox_13"))
+ self.gridLayout_67 = QtGui.QGridLayout(self.groupBox_13)
+ self.gridLayout_67.setObjectName(_fromUtf8("gridLayout_67"))
+ self.radioButton_verbose = QtGui.QRadioButton(self.groupBox_13)
self.radioButton_verbose.setChecked(False)
self.radioButton_verbose.setAutoExclusive(False)
self.radioButton_verbose.setObjectName(_fromUtf8("radioButton_verbose"))
- self.gridLayout_3.addWidget(self.radioButton_verbose, 0, 0, 1, 1)
- self.radioButton_biColor = QtGui.QRadioButton(self.groupBox_5)
+ self.gridLayout_67.addWidget(self.radioButton_verbose, 0, 0, 1, 1)
+ self.radioButton_biColor = QtGui.QRadioButton(self.groupBox_13)
self.radioButton_biColor.setAutoExclusive(False)
self.radioButton_biColor.setObjectName(_fromUtf8("radioButton_biColor"))
- self.gridLayout_3.addWidget(self.radioButton_biColor, 1, 0, 1, 1)
- self.radioButton_copy = QtGui.QRadioButton(self.groupBox_5)
+ self.gridLayout_67.addWidget(self.radioButton_biColor, 1, 0, 1, 1)
+ self.radioButton_copy = QtGui.QRadioButton(self.groupBox_13)
self.radioButton_copy.setObjectName(_fromUtf8("radioButton_copy"))
- self.gridLayout_3.addWidget(self.radioButton_copy, 2, 0, 1, 1)
- self.horizontalLayout_25 = QtGui.QHBoxLayout()
- self.horizontalLayout_25.setObjectName(_fromUtf8("horizontalLayout_25"))
- self.label_5 = QtGui.QLabel(self.groupBox_5)
- self.label_5.setObjectName(_fromUtf8("label_5"))
- self.horizontalLayout_25.addWidget(self.label_5)
- self.tolerance_edit = QtGui.QLineEdit(self.groupBox_5)
+ self.gridLayout_67.addWidget(self.radioButton_copy, 2, 0, 1, 1)
+ self.horizontalLayout_44 = QtGui.QHBoxLayout()
+ self.horizontalLayout_44.setObjectName(_fromUtf8("horizontalLayout_44"))
+ self.label_10 = QtGui.QLabel(self.groupBox_13)
+ self.label_10.setObjectName(_fromUtf8("label_10"))
+ self.horizontalLayout_44.addWidget(self.label_10)
+ self.tolerance_edit = QtGui.QLineEdit(self.groupBox_13)
self.tolerance_edit.setMaximumSize(QtCore.QSize(60, 16777215))
self.tolerance_edit.setObjectName(_fromUtf8("tolerance_edit"))
- self.horizontalLayout_25.addWidget(self.tolerance_edit)
- self.gridLayout_3.addLayout(self.horizontalLayout_25, 3, 0, 1, 1)
- self.gridLayout_14.addWidget(self.groupBox_5, 0, 0, 1, 1)
- self.gridLayout_5.addWidget(self.frame_3, 1, 0, 1, 1)
+ self.horizontalLayout_44.addWidget(self.tolerance_edit)
+ self.gridLayout_67.addLayout(self.horizontalLayout_44, 3, 0, 1, 1)
+ self.gridLayout_66.addWidget(self.groupBox_13, 0, 0, 1, 1)
+ self.gridLayout_65.addWidget(self.frame_6, 1, 0, 1, 1)
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_5.addItem(spacerItem, 2, 0, 1, 1)
- self.tabWidget.addTab(self.Origin_Tab, icon, _fromUtf8(""))
- self.Point_Tab1 = QtGui.QWidget()
- self.Point_Tab1.setObjectName(_fromUtf8("Point_Tab1"))
- self.gridLayout_7 = QtGui.QGridLayout(self.Point_Tab1)
- self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
- self.button_point_line_point = QtGui.QPushButton(self.Point_Tab1)
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_point_line_point.setIcon(icon1)
- self.button_point_line_point.setIconSize(QtCore.QSize(32, 32))
- self.button_point_line_point.setObjectName(_fromUtf8("button_point_line_point"))
- self.gridLayout_7.addWidget(self.button_point_line_point, 8, 0, 1, 1)
- self.button_face_center = QtGui.QPushButton(self.Point_Tab1)
+ self.gridLayout_65.addItem(spacerItem, 2, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Origin_Tab_2, icon1, _fromUtf8(""))
+ self.Point_Tab1_2 = QtGui.QWidget()
+ self.Point_Tab1_2.setObjectName(_fromUtf8("Point_Tab1_2"))
+ self.gridLayout_68 = QtGui.QGridLayout(self.Point_Tab1_2)
+ self.gridLayout_68.setObjectName(_fromUtf8("gridLayout_68"))
+ spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_68.addItem(spacerItem1, 10, 0, 1, 1)
+ self.button_circle_center = QtGui.QPushButton(self.Point_Tab1_2)
icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_face_center.setIcon(icon2)
- self.button_face_center.setIconSize(QtCore.QSize(32, 32))
- self.button_face_center.setObjectName(_fromUtf8("button_face_center"))
- self.gridLayout_7.addWidget(self.button_face_center, 5, 0, 1, 1)
- self.button_circle_center = QtGui.QPushButton(self.Point_Tab1)
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerCirclePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_circle_center.setIcon(icon3)
+ icon2.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerCirclePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_circle_center.setIcon(icon2)
self.button_circle_center.setIconSize(QtCore.QSize(32, 32))
self.button_circle_center.setObjectName(_fromUtf8("button_circle_center"))
- self.gridLayout_7.addWidget(self.button_circle_center, 4, 0, 1, 1)
- self.button_Npoints_center = QtGui.QPushButton(self.Point_Tab1)
+ self.gridLayout_68.addWidget(self.button_circle_center, 4, 0, 1, 1)
+ self.button_point_line_point = QtGui.QPushButton(self.Point_Tab1_2)
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_line_point.setIcon(icon3)
+ self.button_point_line_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_line_point.setObjectName(_fromUtf8("button_point_line_point"))
+ self.gridLayout_68.addWidget(self.button_point_line_point, 9, 0, 1, 1)
+ self.button_face_center = QtGui.QPushButton(self.Point_Tab1_2)
icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_NpointsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_Npoints_center.setIcon(icon4)
- self.button_Npoints_center.setIconSize(QtCore.QSize(32, 32))
- self.button_Npoints_center.setObjectName(_fromUtf8("button_Npoints_center"))
- self.gridLayout_7.addWidget(self.button_Npoints_center, 1, 0, 1, 1)
- self.horizontalLayout_6 = QtGui.QHBoxLayout()
- self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
- self.button_line_center = QtGui.QPushButton(self.Point_Tab1)
+ icon4.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_center.setIcon(icon4)
+ self.button_face_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_face_center.setObjectName(_fromUtf8("button_face_center"))
+ self.gridLayout_68.addWidget(self.button_face_center, 5, 0, 1, 1)
+ self.horizontalLayout_45 = QtGui.QHBoxLayout()
+ self.horizontalLayout_45.setObjectName(_fromUtf8("horizontalLayout_45"))
+ self.button_line_center = QtGui.QPushButton(self.Point_Tab1_2)
self.button_line_center.setMaximumSize(QtCore.QSize(16777215, 16777215))
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.button_line_center.setIcon(icon5)
self.button_line_center.setIconSize(QtCore.QSize(32, 32))
self.button_line_center.setObjectName(_fromUtf8("button_line_center"))
- self.horizontalLayout_6.addWidget(self.button_line_center)
- self.spin_line_center = QtGui.QSpinBox(self.Point_Tab1)
+ self.horizontalLayout_45.addWidget(self.button_line_center)
+ self.spin_line_center = QtGui.QSpinBox(self.Point_Tab1_2)
self.spin_line_center.setMinimumSize(QtCore.QSize(40, 0))
self.spin_line_center.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_line_center.setMinimum(2)
self.spin_line_center.setMaximum(100)
self.spin_line_center.setSingleStep(1)
self.spin_line_center.setObjectName(_fromUtf8("spin_line_center"))
- self.horizontalLayout_6.addWidget(self.spin_line_center)
- self.gridLayout_7.addLayout(self.horizontalLayout_6, 2, 0, 1, 1)
- self.button_line_face_point = QtGui.QPushButton(self.Point_Tab1)
+ self.horizontalLayout_45.addWidget(self.spin_line_center)
+ self.gridLayout_68.addLayout(self.horizontalLayout_45, 2, 0, 1, 1)
+ self.button_Npoints_center = QtGui.QPushButton(self.Point_Tab1_2)
icon6 = QtGui.QIcon()
- icon6.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_line_face_point.setIcon(icon6)
+ icon6.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_NpointsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_Npoints_center.setIcon(icon6)
+ self.button_Npoints_center.setIconSize(QtCore.QSize(32, 32))
+ self.button_Npoints_center.setObjectName(_fromUtf8("button_Npoints_center"))
+ self.gridLayout_68.addWidget(self.button_Npoints_center, 1, 0, 1, 1)
+ self.button_line_face_point = QtGui.QPushButton(self.Point_Tab1_2)
+ icon7 = QtGui.QIcon()
+ icon7.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_face_point.setIcon(icon7)
self.button_line_face_point.setIconSize(QtCore.QSize(32, 32))
self.button_line_face_point.setObjectName(_fromUtf8("button_line_face_point"))
- self.gridLayout_7.addWidget(self.button_line_face_point, 6, 0, 1, 1)
- self.button_line_extrema = QtGui.QPushButton(self.Point_Tab1)
- icon7 = QtGui.QIcon()
- icon7.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_extremaLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_line_extrema.setIcon(icon7)
- self.button_line_extrema.setIconSize(QtCore.QSize(32, 32))
- self.button_line_extrema.setObjectName(_fromUtf8("button_line_extrema"))
- self.gridLayout_7.addWidget(self.button_line_extrema, 3, 0, 1, 1)
- spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_7.addItem(spacerItem1, 9, 0, 1, 1)
- self.button_point_face_point = QtGui.QPushButton(self.Point_Tab1)
+ self.gridLayout_68.addWidget(self.button_line_face_point, 6, 0, 1, 1)
+ self.horizontalLayout_46 = QtGui.QHBoxLayout()
+ self.horizontalLayout_46.setObjectName(_fromUtf8("horizontalLayout_46"))
+ self.button_object_center = QtGui.QPushButton(self.Point_Tab1_2)
icon8 = QtGui.QIcon()
- icon8.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_point_face_point.setIcon(icon8)
- self.button_point_face_point.setIconSize(QtCore.QSize(32, 32))
- self.button_point_face_point.setObjectName(_fromUtf8("button_point_face_point"))
- self.gridLayout_7.addWidget(self.button_point_face_point, 7, 0, 1, 1)
- self.horizontalLayout_10 = QtGui.QHBoxLayout()
- self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
- self.button_object_center = QtGui.QPushButton(self.Point_Tab1)
- icon9 = QtGui.QIcon()
- icon9.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_object_center.setIcon(icon9)
+ icon8.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_center.setIcon(icon8)
self.button_object_center.setIconSize(QtCore.QSize(32, 32))
self.button_object_center.setObjectName(_fromUtf8("button_object_center"))
- self.horizontalLayout_10.addWidget(self.button_object_center)
- self.checkBox_object_center = QtGui.QCheckBox(self.Point_Tab1)
+ self.horizontalLayout_46.addWidget(self.button_object_center)
+ self.checkBox_object_center = QtGui.QCheckBox(self.Point_Tab1_2)
self.checkBox_object_center.setObjectName(_fromUtf8("checkBox_object_center"))
- self.horizontalLayout_10.addWidget(self.checkBox_object_center)
- self.gridLayout_7.addLayout(self.horizontalLayout_10, 0, 0, 1, 1)
+ self.horizontalLayout_46.addWidget(self.checkBox_object_center)
+ self.gridLayout_68.addLayout(self.horizontalLayout_46, 0, 0, 1, 1)
+ self.button_line_extrema = QtGui.QPushButton(self.Point_Tab1_2)
+ icon9 = QtGui.QIcon()
+ icon9.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_extremaLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_extrema.setIcon(icon9)
+ self.button_line_extrema.setIconSize(QtCore.QSize(32, 32))
+ self.button_line_extrema.setObjectName(_fromUtf8("button_line_extrema"))
+ self.gridLayout_68.addWidget(self.button_line_extrema, 3, 0, 1, 1)
+ self.button_point_face_point = QtGui.QPushButton(self.Point_Tab1_2)
icon10 = QtGui.QIcon()
- icon10.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_point.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.Point_Tab1, icon10, _fromUtf8(""))
- self.Point_Tab2 = QtGui.QWidget()
- self.Point_Tab2.setObjectName(_fromUtf8("Point_Tab2"))
- self.gridLayout_31 = QtGui.QGridLayout(self.Point_Tab2)
- self.gridLayout_31.setObjectName(_fromUtf8("gridLayout_31"))
- self.button_twolines_point = QtGui.QPushButton(self.Point_Tab2)
+ icon10.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointFacePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_face_point.setIcon(icon10)
+ self.button_point_face_point.setIconSize(QtCore.QSize(32, 32))
+ self.button_point_face_point.setObjectName(_fromUtf8("button_point_face_point"))
+ self.gridLayout_68.addWidget(self.button_point_face_point, 8, 0, 1, 1)
icon11 = QtGui.QIcon()
- icon11.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_twolines_point.setIcon(icon11)
+ icon11.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_point.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Point_Tab1_2, icon11, _fromUtf8(""))
+ self.Point_Tab2_2 = QtGui.QWidget()
+ self.Point_Tab2_2.setObjectName(_fromUtf8("Point_Tab2_2"))
+ self.gridLayout_70 = QtGui.QGridLayout(self.Point_Tab2_2)
+ self.gridLayout_70.setObjectName(_fromUtf8("gridLayout_70"))
+ self.button_twolines_point = QtGui.QPushButton(self.Point_Tab2_2)
+ icon12 = QtGui.QIcon()
+ icon12.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twolines_point.setIcon(icon12)
self.button_twolines_point.setIconSize(QtCore.QSize(32, 32))
self.button_twolines_point.setObjectName(_fromUtf8("button_twolines_point"))
- self.gridLayout_31.addWidget(self.button_twolines_point, 0, 0, 1, 1)
- self.horizontalLayout = QtGui.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
- self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
- self.button_point_on_line = QtGui.QPushButton(self.Point_Tab2)
+ self.gridLayout_70.addWidget(self.button_twolines_point, 0, 0, 1, 1)
+ self.horizontalLayout_47 = QtGui.QHBoxLayout()
+ self.horizontalLayout_47.setSizeConstraint(QtGui.QLayout.SetFixedSize)
+ self.horizontalLayout_47.setObjectName(_fromUtf8("horizontalLayout_47"))
+ self.button_point_on_line = QtGui.QPushButton(self.Point_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_point_on_line.sizePolicy().hasHeightForWidth())
self.button_point_on_line.setSizePolicy(sizePolicy)
self.button_point_on_line.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon12 = QtGui.QIcon()
- icon12.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_alongLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_point_on_line.setIcon(icon12)
+ icon13 = QtGui.QIcon()
+ icon13.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_alongLinePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_on_line.setIcon(icon13)
self.button_point_on_line.setIconSize(QtCore.QSize(32, 32))
self.button_point_on_line.setObjectName(_fromUtf8("button_point_on_line"))
- self.horizontalLayout.addWidget(self.button_point_on_line)
- self.distance_point_on_line = QtGui.QLineEdit(self.Point_Tab2)
+ self.horizontalLayout_47.addWidget(self.button_point_on_line)
+ self.distance_point_on_line = QtGui.QLineEdit(self.Point_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -215,18 +222,18 @@ class Ui_Form(object):
self.distance_point_on_line.setMinimumSize(QtCore.QSize(50, 0))
self.distance_point_on_line.setMaximumSize(QtCore.QSize(60, 16777215))
self.distance_point_on_line.setObjectName(_fromUtf8("distance_point_on_line"))
- self.horizontalLayout.addWidget(self.distance_point_on_line)
- self.gridLayout_31.addLayout(self.horizontalLayout, 1, 0, 1, 1)
- self.horizontalLayout_30 = QtGui.QHBoxLayout()
- self.horizontalLayout_30.setObjectName(_fromUtf8("horizontalLayout_30"))
- self.button_distPoint = QtGui.QPushButton(self.Point_Tab2)
- icon13 = QtGui.QIcon()
- icon13.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPointPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_distPoint.setIcon(icon13)
+ self.horizontalLayout_47.addWidget(self.distance_point_on_line)
+ self.gridLayout_70.addLayout(self.horizontalLayout_47, 1, 0, 1, 1)
+ self.horizontalLayout_48 = QtGui.QHBoxLayout()
+ self.horizontalLayout_48.setObjectName(_fromUtf8("horizontalLayout_48"))
+ self.button_distPoint = QtGui.QPushButton(self.Point_Tab2_2)
+ icon14 = QtGui.QIcon()
+ icon14.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPointPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distPoint.setIcon(icon14)
self.button_distPoint.setIconSize(QtCore.QSize(32, 32))
self.button_distPoint.setObjectName(_fromUtf8("button_distPoint"))
- self.horizontalLayout_30.addWidget(self.button_distPoint)
- self.dist_point = QtGui.QLineEdit(self.Point_Tab2)
+ self.horizontalLayout_48.addWidget(self.button_distPoint)
+ self.dist_point = QtGui.QLineEdit(self.Point_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -235,8 +242,8 @@ class Ui_Form(object):
self.dist_point.setMinimumSize(QtCore.QSize(40, 0))
self.dist_point.setMaximumSize(QtCore.QSize(40, 16777215))
self.dist_point.setObjectName(_fromUtf8("dist_point"))
- self.horizontalLayout_30.addWidget(self.dist_point)
- self.spin_dist_point = QtGui.QSpinBox(self.Point_Tab2)
+ self.horizontalLayout_48.addWidget(self.dist_point)
+ self.spin_dist_point = QtGui.QSpinBox(self.Point_Tab2_2)
self.spin_dist_point.setMinimumSize(QtCore.QSize(30, 0))
self.spin_dist_point.setMaximumSize(QtCore.QSize(30, 16777215))
self.spin_dist_point.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
@@ -246,157 +253,164 @@ class Ui_Form(object):
self.spin_dist_point.setSingleStep(1)
self.spin_dist_point.setProperty("value", 1)
self.spin_dist_point.setObjectName(_fromUtf8("spin_dist_point"))
- self.horizontalLayout_30.addWidget(self.spin_dist_point)
- self.gridLayout_31.addLayout(self.horizontalLayout_30, 2, 0, 1, 1)
- self.horizontalLayout_27 = QtGui.QHBoxLayout()
- self.horizontalLayout_27.setObjectName(_fromUtf8("horizontalLayout_27"))
- self.button_cut_wire_point = QtGui.QPushButton(self.Point_Tab2)
+ self.horizontalLayout_48.addWidget(self.spin_dist_point)
+ self.gridLayout_70.addLayout(self.horizontalLayout_48, 2, 0, 1, 1)
+ self.horizontalLayout_49 = QtGui.QHBoxLayout()
+ self.horizontalLayout_49.setObjectName(_fromUtf8("horizontalLayout_49"))
+ self.button_cut_wire_point = QtGui.QPushButton(self.Point_Tab2_2)
self.button_cut_wire_point.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon14 = QtGui.QIcon()
- icon14.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWirePoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cut_wire_point.setIcon(icon14)
+ icon15 = QtGui.QIcon()
+ icon15.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWirePoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_wire_point.setIcon(icon15)
self.button_cut_wire_point.setIconSize(QtCore.QSize(32, 32))
self.button_cut_wire_point.setObjectName(_fromUtf8("button_cut_wire_point"))
- self.horizontalLayout_27.addWidget(self.button_cut_wire_point)
- self.spin_wire_cut_point = QtGui.QSpinBox(self.Point_Tab2)
+ self.horizontalLayout_49.addWidget(self.button_cut_wire_point)
+ self.spin_wire_cut_point = QtGui.QSpinBox(self.Point_Tab2_2)
self.spin_wire_cut_point.setMinimumSize(QtCore.QSize(40, 0))
self.spin_wire_cut_point.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_wire_cut_point.setMinimum(2)
self.spin_wire_cut_point.setMaximum(100)
self.spin_wire_cut_point.setSingleStep(1)
self.spin_wire_cut_point.setObjectName(_fromUtf8("spin_wire_cut_point"))
- self.horizontalLayout_27.addWidget(self.spin_wire_cut_point)
- self.gridLayout_31.addLayout(self.horizontalLayout_27, 3, 0, 1, 1)
- self.button_click_for_point = QtGui.QRadioButton(self.Point_Tab2)
- icon15 = QtGui.QIcon()
- icon15.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_click_for_point.setIcon(icon15)
+ self.horizontalLayout_49.addWidget(self.spin_wire_cut_point)
+ self.gridLayout_70.addLayout(self.horizontalLayout_49, 3, 0, 1, 1)
+ self.button_click_for_point = QtGui.QRadioButton(self.Point_Tab2_2)
+ icon16 = QtGui.QIcon()
+ icon16.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_point.setIcon(icon16)
self.button_click_for_point.setIconSize(QtCore.QSize(32, 32))
self.button_click_for_point.setCheckable(True)
self.button_click_for_point.setObjectName(_fromUtf8("button_click_for_point"))
- self.gridLayout_31.addWidget(self.button_click_for_point, 4, 0, 1, 1)
- self.button_object_base_point = QtGui.QPushButton(self.Point_Tab2)
- icon16 = QtGui.QIcon()
- icon16.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectBasePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_object_base_point.setIcon(icon16)
+ self.gridLayout_70.addWidget(self.button_click_for_point, 4, 0, 1, 1)
+ self.button_object_base_point = QtGui.QPushButton(self.Point_Tab2_2)
+ icon17 = QtGui.QIcon()
+ icon17.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectBasePoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_base_point.setIcon(icon17)
self.button_object_base_point.setIconSize(QtCore.QSize(32, 32))
self.button_object_base_point.setObjectName(_fromUtf8("button_object_base_point"))
- self.gridLayout_31.addWidget(self.button_object_base_point, 5, 0, 1, 1)
- self.button_point_to_sketch = QtGui.QPushButton(self.Point_Tab2)
- icon17 = QtGui.QIcon()
- icon17.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2Sketch.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_point_to_sketch.setIcon(icon17)
+ self.gridLayout_70.addWidget(self.button_object_base_point, 5, 0, 1, 1)
+ self.button_point_to_sketch = QtGui.QPushButton(self.Point_Tab2_2)
+ icon18 = QtGui.QIcon()
+ icon18.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2Sketch.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_to_sketch.setIcon(icon18)
self.button_point_to_sketch.setIconSize(QtCore.QSize(32, 32))
self.button_point_to_sketch.setObjectName(_fromUtf8("button_point_to_sketch"))
- self.gridLayout_31.addWidget(self.button_point_to_sketch, 6, 0, 1, 1)
+ self.gridLayout_70.addWidget(self.button_point_to_sketch, 6, 0, 1, 1)
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_31.addItem(spacerItem2, 7, 0, 1, 1)
- self.tabWidget.addTab(self.Point_Tab2, icon10, _fromUtf8(""))
- self.Axis_Tab1 = QtGui.QWidget()
- self.Axis_Tab1.setObjectName(_fromUtf8("Axis_Tab1"))
- self.gridLayout_32 = QtGui.QGridLayout(self.Axis_Tab1)
- self.gridLayout_32.setObjectName(_fromUtf8("gridLayout_32"))
- self.button_object_axis = QtGui.QPushButton(self.Axis_Tab1)
- icon18 = QtGui.QIcon()
- icon18.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_object_axis.setIcon(icon18)
+ self.gridLayout_70.addItem(spacerItem2, 7, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Point_Tab2_2, icon11, _fromUtf8(""))
+ self.Axis_Tab1_2 = QtGui.QWidget()
+ self.Axis_Tab1_2.setObjectName(_fromUtf8("Axis_Tab1_2"))
+ self.gridLayout_4 = QtGui.QGridLayout(self.Axis_Tab1_2)
+ self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
+ self.button_object_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon19 = QtGui.QIcon()
+ icon19.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_axis.setIcon(icon19)
self.button_object_axis.setIconSize(QtCore.QSize(32, 32))
self.button_object_axis.setObjectName(_fromUtf8("button_object_axis"))
- self.gridLayout_32.addWidget(self.button_object_axis, 0, 0, 1, 1)
- self.horizontalLayout_2 = QtGui.QHBoxLayout()
- self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
- self.button_twopoints_axis = QtGui.QPushButton(self.Axis_Tab1)
+ self.gridLayout_4.addWidget(self.button_object_axis, 0, 0, 1, 1)
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_twopoints_axis = QtGui.QPushButton(self.Axis_Tab1_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_twopoints_axis.sizePolicy().hasHeightForWidth())
self.button_twopoints_axis.setSizePolicy(sizePolicy)
self.button_twopoints_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon19 = QtGui.QIcon()
- icon19.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2pointsLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_twopoints_axis.setIcon(icon19)
+ icon20 = QtGui.QIcon()
+ icon20.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2pointsLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twopoints_axis.setIcon(icon20)
self.button_twopoints_axis.setIconSize(QtCore.QSize(32, 32))
self.button_twopoints_axis.setObjectName(_fromUtf8("button_twopoints_axis"))
- self.horizontalLayout_2.addWidget(self.button_twopoints_axis)
- self.extension_twopoints_axis = QtGui.QLineEdit(self.Axis_Tab1)
+ self.horizontalLayout.addWidget(self.button_twopoints_axis)
+ self.extension_twopoints_axis = QtGui.QLineEdit(self.Axis_Tab1_2)
self.extension_twopoints_axis.setMaximumSize(QtCore.QSize(40, 16777215))
self.extension_twopoints_axis.setObjectName(_fromUtf8("extension_twopoints_axis"))
- self.horizontalLayout_2.addWidget(self.extension_twopoints_axis)
- self.gridLayout_32.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
- self.horizontalLayout_5 = QtGui.QHBoxLayout()
- self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
- self.verticalLayout = QtGui.QVBoxLayout()
- self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
- self.button_cylinder_axis = QtGui.QPushButton(self.Axis_Tab1)
+ self.horizontalLayout.addWidget(self.extension_twopoints_axis)
+ self.gridLayout_4.addLayout(self.horizontalLayout, 1, 0, 1, 1)
+ self.button_Npoints_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon21 = QtGui.QIcon()
+ icon21.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_NpointsLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_Npoints_axis.setIcon(icon21)
+ self.button_Npoints_axis.setIconSize(QtCore.QSize(32, 32))
+ self.button_Npoints_axis.setObjectName(_fromUtf8("button_Npoints_axis"))
+ self.gridLayout_4.addWidget(self.button_Npoints_axis, 2, 0, 1, 1)
+ self.horizontalLayout_51 = QtGui.QHBoxLayout()
+ self.horizontalLayout_51.setObjectName(_fromUtf8("horizontalLayout_51"))
+ self.verticalLayout_3 = QtGui.QVBoxLayout()
+ self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
+ self.button_cylinder_axis = QtGui.QPushButton(self.Axis_Tab1_2)
self.button_cylinder_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon20 = QtGui.QIcon()
- icon20.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinderAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cylinder_axis.setIcon(icon20)
+ icon22 = QtGui.QIcon()
+ icon22.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinderAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cylinder_axis.setIcon(icon22)
self.button_cylinder_axis.setIconSize(QtCore.QSize(32, 32))
self.button_cylinder_axis.setObjectName(_fromUtf8("button_cylinder_axis"))
- self.verticalLayout.addWidget(self.button_cylinder_axis)
- self.button_plane_axis = QtGui.QPushButton(self.Axis_Tab1)
+ self.verticalLayout_3.addWidget(self.button_cylinder_axis)
+ self.button_plane_axis = QtGui.QPushButton(self.Axis_Tab1_2)
self.button_plane_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon21 = QtGui.QIcon()
- icon21.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_plane_axis.setIcon(icon21)
+ icon23 = QtGui.QIcon()
+ icon23.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_plane_axis.setIcon(icon23)
self.button_plane_axis.setIconSize(QtCore.QSize(32, 32))
self.button_plane_axis.setObjectName(_fromUtf8("button_plane_axis"))
- self.verticalLayout.addWidget(self.button_plane_axis)
- self.button_face_normal = QtGui.QPushButton(self.Axis_Tab1)
+ self.verticalLayout_3.addWidget(self.button_plane_axis)
+ self.button_face_normal = QtGui.QPushButton(self.Axis_Tab1_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_face_normal.sizePolicy().hasHeightForWidth())
self.button_face_normal.setSizePolicy(sizePolicy)
self.button_face_normal.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon22 = QtGui.QIcon()
- icon22.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceNormal.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_face_normal.setIcon(icon22)
+ icon24 = QtGui.QIcon()
+ icon24.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceNormal.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_normal.setIcon(icon24)
self.button_face_normal.setIconSize(QtCore.QSize(32, 32))
self.button_face_normal.setObjectName(_fromUtf8("button_face_normal"))
- self.verticalLayout.addWidget(self.button_face_normal)
- self.horizontalLayout_5.addLayout(self.verticalLayout)
- self.frame_4 = QtGui.QFrame(self.Axis_Tab1)
- self.frame_4.setMinimumSize(QtCore.QSize(60, 0))
- self.frame_4.setMaximumSize(QtCore.QSize(50, 16777215))
- self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_4.setObjectName(_fromUtf8("frame_4"))
- self.gridLayout = QtGui.QGridLayout(self.frame_4)
- self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
- self.extension_face_normal = QtGui.QLineEdit(self.frame_4)
+ self.verticalLayout_3.addWidget(self.button_face_normal)
+ self.horizontalLayout_51.addLayout(self.verticalLayout_3)
+ self.frame_8 = QtGui.QFrame(self.Axis_Tab1_2)
+ self.frame_8.setMinimumSize(QtCore.QSize(60, 0))
+ self.frame_8.setMaximumSize(QtCore.QSize(50, 16777215))
+ self.frame_8.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_8.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_8.setObjectName(_fromUtf8("frame_8"))
+ self.gridLayout_72 = QtGui.QGridLayout(self.frame_8)
+ self.gridLayout_72.setObjectName(_fromUtf8("gridLayout_72"))
+ self.extension_face_normal = QtGui.QLineEdit(self.frame_8)
self.extension_face_normal.setMinimumSize(QtCore.QSize(40, 0))
self.extension_face_normal.setMaximumSize(QtCore.QSize(40, 16777215))
self.extension_face_normal.setObjectName(_fromUtf8("extension_face_normal"))
- self.gridLayout.addWidget(self.extension_face_normal, 0, 0, 1, 1)
- self.horizontalLayout_5.addWidget(self.frame_4)
- self.gridLayout_32.addLayout(self.horizontalLayout_5, 2, 0, 1, 1)
- self.horizontalLayout_18 = QtGui.QHBoxLayout()
- self.horizontalLayout_18.setObjectName(_fromUtf8("horizontalLayout_18"))
- self.button_point_line_axis = QtGui.QPushButton(self.Axis_Tab1)
+ self.gridLayout_72.addWidget(self.extension_face_normal, 0, 0, 1, 1)
+ self.horizontalLayout_51.addWidget(self.frame_8)
+ self.gridLayout_4.addLayout(self.horizontalLayout_51, 3, 0, 1, 1)
+ self.horizontalLayout_52 = QtGui.QHBoxLayout()
+ self.horizontalLayout_52.setObjectName(_fromUtf8("horizontalLayout_52"))
+ self.button_point_line_axis = QtGui.QPushButton(self.Axis_Tab1_2)
self.button_point_line_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon23 = QtGui.QIcon()
- icon23.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLineAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_point_line_axis.setIcon(icon23)
+ icon25 = QtGui.QIcon()
+ icon25.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointLineAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_point_line_axis.setIcon(icon25)
self.button_point_line_axis.setIconSize(QtCore.QSize(32, 32))
self.button_point_line_axis.setObjectName(_fromUtf8("button_point_line_axis"))
- self.horizontalLayout_18.addWidget(self.button_point_line_axis)
- self.extension_line = QtGui.QLineEdit(self.Axis_Tab1)
+ self.horizontalLayout_52.addWidget(self.button_point_line_axis)
+ self.extension_line = QtGui.QLineEdit(self.Axis_Tab1_2)
self.extension_line.setMaximumSize(QtCore.QSize(40, 16777215))
self.extension_line.setObjectName(_fromUtf8("extension_line"))
- self.horizontalLayout_18.addWidget(self.extension_line)
- self.point_loc_comboBox = QtGui.QComboBox(self.Axis_Tab1)
+ self.horizontalLayout_52.addWidget(self.extension_line)
+ self.point_loc_comboBox = QtGui.QComboBox(self.Axis_Tab1_2)
self.point_loc_comboBox.setMaximumSize(QtCore.QSize(60, 16777215))
self.point_loc_comboBox.setObjectName(_fromUtf8("point_loc_comboBox"))
self.point_loc_comboBox.addItem(_fromUtf8(""))
self.point_loc_comboBox.addItem(_fromUtf8(""))
self.point_loc_comboBox.addItem(_fromUtf8(""))
- self.horizontalLayout_18.addWidget(self.point_loc_comboBox)
- self.gridLayout_32.addLayout(self.horizontalLayout_18, 3, 0, 1, 1)
- self.horizontalLayout_7 = QtGui.QHBoxLayout()
- self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
- self.button_line_point_axis = QtGui.QPushButton(self.Axis_Tab1)
+ self.horizontalLayout_52.addWidget(self.point_loc_comboBox)
+ self.gridLayout_4.addLayout(self.horizontalLayout_52, 4, 0, 1, 1)
+ self.horizontalLayout_53 = QtGui.QHBoxLayout()
+ self.horizontalLayout_53.setObjectName(_fromUtf8("horizontalLayout_53"))
+ self.button_line_point_axis = QtGui.QPushButton(self.Axis_Tab1_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -404,64 +418,64 @@ class Ui_Form(object):
self.button_line_point_axis.setSizePolicy(sizePolicy)
self.button_line_point_axis.setMinimumSize(QtCore.QSize(0, 0))
self.button_line_point_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon24 = QtGui.QIcon()
- icon24.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_line_point_axis.setIcon(icon24)
+ icon26 = QtGui.QIcon()
+ icon26.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_point_axis.setIcon(icon26)
self.button_line_point_axis.setIconSize(QtCore.QSize(32, 32))
self.button_line_point_axis.setObjectName(_fromUtf8("button_line_point_axis"))
- self.horizontalLayout_7.addWidget(self.button_line_point_axis)
- self.extension_line_point_axis = QtGui.QLineEdit(self.Axis_Tab1)
+ self.horizontalLayout_53.addWidget(self.button_line_point_axis)
+ self.extension_line_point_axis = QtGui.QLineEdit(self.Axis_Tab1_2)
self.extension_line_point_axis.setMaximumSize(QtCore.QSize(40, 16777215))
self.extension_line_point_axis.setObjectName(_fromUtf8("extension_line_point_axis"))
- self.horizontalLayout_7.addWidget(self.extension_line_point_axis)
- self.gridLayout_32.addLayout(self.horizontalLayout_7, 4, 0, 1, 1)
- self.button_twolines_axis = QtGui.QPushButton(self.Axis_Tab1)
- icon25 = QtGui.QIcon()
- icon25.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_twoLinesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_twolines_axis.setIcon(icon25)
+ self.horizontalLayout_53.addWidget(self.extension_line_point_axis)
+ self.gridLayout_4.addLayout(self.horizontalLayout_53, 5, 0, 1, 1)
+ self.button_twolines_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon27 = QtGui.QIcon()
+ icon27.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_twoLinesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twolines_axis.setIcon(icon27)
self.button_twolines_axis.setIconSize(QtCore.QSize(32, 32))
self.button_twolines_axis.setObjectName(_fromUtf8("button_twolines_axis"))
- self.gridLayout_32.addWidget(self.button_twolines_axis, 5, 0, 1, 1)
- self.button_plane_point_line_axis = QtGui.QPushButton(self.Axis_Tab1)
- icon26 = QtGui.QIcon()
- icon26.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_plane_point_line_axis.setIcon(icon26)
+ self.gridLayout_4.addWidget(self.button_twolines_axis, 6, 0, 1, 1)
+ self.button_plane_point_line_axis = QtGui.QPushButton(self.Axis_Tab1_2)
+ icon28 = QtGui.QIcon()
+ icon28.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePointAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_plane_point_line_axis.setIcon(icon28)
self.button_plane_point_line_axis.setIconSize(QtCore.QSize(32, 32))
self.button_plane_point_line_axis.setObjectName(_fromUtf8("button_plane_point_line_axis"))
- self.gridLayout_32.addWidget(self.button_plane_point_line_axis, 6, 0, 1, 1)
+ self.gridLayout_4.addWidget(self.button_plane_point_line_axis, 7, 0, 1, 1)
spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_32.addItem(spacerItem3, 7, 0, 1, 1)
- icon27 = QtGui.QIcon()
- icon27.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_axis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.Axis_Tab1, icon27, _fromUtf8(""))
- self.Axis_Tab2 = QtGui.QWidget()
- self.Axis_Tab2.setObjectName(_fromUtf8("Axis_Tab2"))
- self.gridLayout_33 = QtGui.QGridLayout(self.Axis_Tab2)
- self.gridLayout_33.setObjectName(_fromUtf8("gridLayout_33"))
- self.button_line_plane_axis = QtGui.QPushButton(self.Axis_Tab2)
- icon28 = QtGui.QIcon()
- icon28.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePlaneAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_line_plane_axis.setIcon(icon28)
+ self.gridLayout_4.addItem(spacerItem3, 8, 0, 1, 1)
+ icon29 = QtGui.QIcon()
+ icon29.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_axis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Axis_Tab1_2, icon29, _fromUtf8(""))
+ self.Axis_Tab2_2 = QtGui.QWidget()
+ self.Axis_Tab2_2.setObjectName(_fromUtf8("Axis_Tab2_2"))
+ self.gridLayout_73 = QtGui.QGridLayout(self.Axis_Tab2_2)
+ self.gridLayout_73.setObjectName(_fromUtf8("gridLayout_73"))
+ self.button_line_plane_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon30 = QtGui.QIcon()
+ icon30.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePlaneAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_line_plane_axis.setIcon(icon30)
self.button_line_plane_axis.setIconSize(QtCore.QSize(32, 32))
self.button_line_plane_axis.setObjectName(_fromUtf8("button_line_plane_axis"))
- self.gridLayout_33.addWidget(self.button_line_plane_axis, 0, 0, 1, 1)
- self.button_twoplanes_axis = QtGui.QPushButton(self.Axis_Tab2)
- icon29 = QtGui.QIcon()
- icon29.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2PlanesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_twoplanes_axis.setIcon(icon29)
+ self.gridLayout_73.addWidget(self.button_line_plane_axis, 0, 0, 1, 1)
+ self.button_twoplanes_axis = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon31 = QtGui.QIcon()
+ icon31.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_2PlanesAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_twoplanes_axis.setIcon(icon31)
self.button_twoplanes_axis.setIconSize(QtCore.QSize(32, 32))
self.button_twoplanes_axis.setObjectName(_fromUtf8("button_twoplanes_axis"))
- self.gridLayout_33.addWidget(self.button_twoplanes_axis, 1, 0, 1, 1)
- self.horizontalLayout_29 = QtGui.QHBoxLayout()
- self.horizontalLayout_29.setObjectName(_fromUtf8("horizontalLayout_29"))
- self.button_distLine = QtGui.QPushButton(self.Axis_Tab2)
- icon30 = QtGui.QIcon()
- icon30.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_distLine.setIcon(icon30)
+ self.gridLayout_73.addWidget(self.button_twoplanes_axis, 1, 0, 1, 1)
+ self.horizontalLayout_54 = QtGui.QHBoxLayout()
+ self.horizontalLayout_54.setObjectName(_fromUtf8("horizontalLayout_54"))
+ self.button_distLine = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon32 = QtGui.QIcon()
+ icon32.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distLine.setIcon(icon32)
self.button_distLine.setIconSize(QtCore.QSize(32, 32))
self.button_distLine.setObjectName(_fromUtf8("button_distLine"))
- self.horizontalLayout_29.addWidget(self.button_distLine)
- self.dist_line = QtGui.QLineEdit(self.Axis_Tab2)
+ self.horizontalLayout_54.addWidget(self.button_distLine)
+ self.dist_line = QtGui.QLineEdit(self.Axis_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -470,8 +484,8 @@ class Ui_Form(object):
self.dist_line.setMinimumSize(QtCore.QSize(40, 0))
self.dist_line.setMaximumSize(QtCore.QSize(40, 16777215))
self.dist_line.setObjectName(_fromUtf8("dist_line"))
- self.horizontalLayout_29.addWidget(self.dist_line)
- self.spin_dist_line = QtGui.QSpinBox(self.Axis_Tab2)
+ self.horizontalLayout_54.addWidget(self.dist_line)
+ self.spin_dist_line = QtGui.QSpinBox(self.Axis_Tab2_2)
self.spin_dist_line.setMinimumSize(QtCore.QSize(30, 0))
self.spin_dist_line.setMaximumSize(QtCore.QSize(30, 16777215))
self.spin_dist_line.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
@@ -481,18 +495,18 @@ class Ui_Form(object):
self.spin_dist_line.setSingleStep(1)
self.spin_dist_line.setProperty("value", 1)
self.spin_dist_line.setObjectName(_fromUtf8("spin_dist_line"))
- self.horizontalLayout_29.addWidget(self.spin_dist_line)
- self.gridLayout_33.addLayout(self.horizontalLayout_29, 2, 0, 1, 1)
- self.horizontalLayout_31 = QtGui.QHBoxLayout()
- self.horizontalLayout_31.setObjectName(_fromUtf8("horizontalLayout_31"))
- self.button_angleLine = QtGui.QPushButton(self.Axis_Tab2)
- icon31 = QtGui.QIcon()
- icon31.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_angleLine.setIcon(icon31)
+ self.horizontalLayout_54.addWidget(self.spin_dist_line)
+ self.gridLayout_73.addLayout(self.horizontalLayout_54, 2, 0, 1, 1)
+ self.horizontalLayout_55 = QtGui.QHBoxLayout()
+ self.horizontalLayout_55.setObjectName(_fromUtf8("horizontalLayout_55"))
+ self.button_angleLine = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon33 = QtGui.QIcon()
+ icon33.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleAxisAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_angleLine.setIcon(icon33)
self.button_angleLine.setIconSize(QtCore.QSize(32, 32))
self.button_angleLine.setObjectName(_fromUtf8("button_angleLine"))
- self.horizontalLayout_31.addWidget(self.button_angleLine)
- self.angle_line = QtGui.QLineEdit(self.Axis_Tab2)
+ self.horizontalLayout_55.addWidget(self.button_angleLine)
+ self.angle_line = QtGui.QLineEdit(self.Axis_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -501,8 +515,8 @@ class Ui_Form(object):
self.angle_line.setMinimumSize(QtCore.QSize(40, 0))
self.angle_line.setMaximumSize(QtCore.QSize(40, 16777215))
self.angle_line.setObjectName(_fromUtf8("angle_line"))
- self.horizontalLayout_31.addWidget(self.angle_line)
- self.spin_angle_line = QtGui.QSpinBox(self.Axis_Tab2)
+ self.horizontalLayout_55.addWidget(self.angle_line)
+ self.spin_angle_line = QtGui.QSpinBox(self.Axis_Tab2_2)
self.spin_angle_line.setMinimumSize(QtCore.QSize(30, 0))
self.spin_angle_line.setMaximumSize(QtCore.QSize(30, 16777215))
self.spin_angle_line.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
@@ -512,61 +526,61 @@ class Ui_Form(object):
self.spin_angle_line.setSingleStep(1)
self.spin_angle_line.setProperty("value", 1)
self.spin_angle_line.setObjectName(_fromUtf8("spin_angle_line"))
- self.horizontalLayout_31.addWidget(self.spin_angle_line)
- self.gridLayout_33.addLayout(self.horizontalLayout_31, 3, 0, 1, 1)
- self.horizontalLayout_26 = QtGui.QHBoxLayout()
- self.horizontalLayout_26.setObjectName(_fromUtf8("horizontalLayout_26"))
- self.button_cut_wire_axis = QtGui.QPushButton(self.Axis_Tab2)
+ self.horizontalLayout_55.addWidget(self.spin_angle_line)
+ self.gridLayout_73.addLayout(self.horizontalLayout_55, 3, 0, 1, 1)
+ self.horizontalLayout_56 = QtGui.QHBoxLayout()
+ self.horizontalLayout_56.setObjectName(_fromUtf8("horizontalLayout_56"))
+ self.button_cut_wire_axis = QtGui.QPushButton(self.Axis_Tab2_2)
self.button_cut_wire_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon32 = QtGui.QIcon()
- icon32.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWireAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cut_wire_axis.setIcon(icon32)
+ icon34 = QtGui.QIcon()
+ icon34.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutWireAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_wire_axis.setIcon(icon34)
self.button_cut_wire_axis.setIconSize(QtCore.QSize(32, 32))
self.button_cut_wire_axis.setObjectName(_fromUtf8("button_cut_wire_axis"))
- self.horizontalLayout_26.addWidget(self.button_cut_wire_axis)
- self.spin_wire_cut_axis = QtGui.QSpinBox(self.Axis_Tab2)
+ self.horizontalLayout_56.addWidget(self.button_cut_wire_axis)
+ self.spin_wire_cut_axis = QtGui.QSpinBox(self.Axis_Tab2_2)
self.spin_wire_cut_axis.setMinimumSize(QtCore.QSize(40, 0))
self.spin_wire_cut_axis.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_wire_cut_axis.setMinimum(2)
self.spin_wire_cut_axis.setMaximum(100)
self.spin_wire_cut_axis.setSingleStep(1)
self.spin_wire_cut_axis.setObjectName(_fromUtf8("spin_wire_cut_axis"))
- self.horizontalLayout_26.addWidget(self.spin_wire_cut_axis)
- self.gridLayout_33.addLayout(self.horizontalLayout_26, 4, 0, 1, 1)
- self.horizontalLayout_21 = QtGui.QHBoxLayout()
- self.horizontalLayout_21.setObjectName(_fromUtf8("horizontalLayout_21"))
- self.button_cut_axis = QtGui.QPushButton(self.Axis_Tab2)
+ self.horizontalLayout_56.addWidget(self.spin_wire_cut_axis)
+ self.gridLayout_73.addLayout(self.horizontalLayout_56, 4, 0, 1, 1)
+ self.horizontalLayout_57 = QtGui.QHBoxLayout()
+ self.horizontalLayout_57.setObjectName(_fromUtf8("horizontalLayout_57"))
+ self.button_cut_axis = QtGui.QPushButton(self.Axis_Tab2_2)
self.button_cut_axis.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon33 = QtGui.QIcon()
- icon33.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cut_axis.setIcon(icon33)
+ icon35 = QtGui.QIcon()
+ icon35.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_axis.setIcon(icon35)
self.button_cut_axis.setIconSize(QtCore.QSize(32, 32))
self.button_cut_axis.setObjectName(_fromUtf8("button_cut_axis"))
- self.horizontalLayout_21.addWidget(self.button_cut_axis)
- self.spin_axis_cut = QtGui.QSpinBox(self.Axis_Tab2)
+ self.horizontalLayout_57.addWidget(self.button_cut_axis)
+ self.spin_axis_cut = QtGui.QSpinBox(self.Axis_Tab2_2)
self.spin_axis_cut.setMinimumSize(QtCore.QSize(40, 0))
self.spin_axis_cut.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_axis_cut.setMinimum(2)
self.spin_axis_cut.setMaximum(100)
self.spin_axis_cut.setSingleStep(1)
self.spin_axis_cut.setObjectName(_fromUtf8("spin_axis_cut"))
- self.horizontalLayout_21.addWidget(self.spin_axis_cut)
- self.gridLayout_33.addLayout(self.horizontalLayout_21, 5, 0, 1, 1)
- self.horizontalLayout_22 = QtGui.QHBoxLayout()
- self.horizontalLayout_22.setObjectName(_fromUtf8("horizontalLayout_22"))
- self.button_extension_axis = QtGui.QPushButton(self.Axis_Tab2)
+ self.horizontalLayout_57.addWidget(self.spin_axis_cut)
+ self.gridLayout_73.addLayout(self.horizontalLayout_57, 5, 0, 1, 1)
+ self.horizontalLayout_58 = QtGui.QHBoxLayout()
+ self.horizontalLayout_58.setObjectName(_fromUtf8("horizontalLayout_58"))
+ self.button_extension_axis = QtGui.QPushButton(self.Axis_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_extension_axis.sizePolicy().hasHeightForWidth())
self.button_extension_axis.setSizePolicy(sizePolicy)
- icon34 = QtGui.QIcon()
- icon34.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargeLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_extension_axis.setIcon(icon34)
+ icon36 = QtGui.QIcon()
+ icon36.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargeLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_extension_axis.setIcon(icon36)
self.button_extension_axis.setIconSize(QtCore.QSize(32, 32))
self.button_extension_axis.setObjectName(_fromUtf8("button_extension_axis"))
- self.horizontalLayout_22.addWidget(self.button_extension_axis)
- self.extension_axis = QtGui.QLineEdit(self.Axis_Tab2)
+ self.horizontalLayout_58.addWidget(self.button_extension_axis)
+ self.extension_axis = QtGui.QLineEdit(self.Axis_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -575,121 +589,653 @@ class Ui_Form(object):
self.extension_axis.setMinimumSize(QtCore.QSize(40, 0))
self.extension_axis.setMaximumSize(QtCore.QSize(50, 16777215))
self.extension_axis.setObjectName(_fromUtf8("extension_axis"))
- self.horizontalLayout_22.addWidget(self.extension_axis)
- self.gridLayout_33.addLayout(self.horizontalLayout_22, 6, 0, 1, 1)
- self.button_click_for_axis = QtGui.QRadioButton(self.Axis_Tab2)
- icon35 = QtGui.QIcon()
- icon35.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_click_for_axis.setIcon(icon35)
+ self.horizontalLayout_58.addWidget(self.extension_axis)
+ self.gridLayout_73.addLayout(self.horizontalLayout_58, 6, 0, 1, 1)
+ self.button_click_for_axis = QtGui.QRadioButton(self.Axis_Tab2_2)
+ icon37 = QtGui.QIcon()
+ icon37.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickLine.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_axis.setIcon(icon37)
self.button_click_for_axis.setIconSize(QtCore.QSize(32, 32))
self.button_click_for_axis.setObjectName(_fromUtf8("button_click_for_axis"))
- self.gridLayout_33.addWidget(self.button_click_for_axis, 7, 0, 1, 1)
- self.button_object_base_axes = QtGui.QPushButton(self.Axis_Tab2)
- icon36 = QtGui.QIcon()
- icon36.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_baseObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_object_base_axes.setIcon(icon36)
+ self.gridLayout_73.addWidget(self.button_click_for_axis, 7, 0, 1, 1)
+ self.button_object_base_axes = QtGui.QPushButton(self.Axis_Tab2_2)
+ icon38 = QtGui.QIcon()
+ icon38.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_baseObjectsAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_base_axes.setIcon(icon38)
self.button_object_base_axes.setIconSize(QtCore.QSize(32, 32))
self.button_object_base_axes.setObjectName(_fromUtf8("button_object_base_axes"))
- self.gridLayout_33.addWidget(self.button_object_base_axes, 8, 0, 1, 1)
- self.button_line_to_sketch = QtGui.QPushButton(self.Axis_Tab2)
- self.button_line_to_sketch.setIcon(icon17)
+ self.gridLayout_73.addWidget(self.button_object_base_axes, 8, 0, 1, 1)
+ self.button_line_to_sketch = QtGui.QPushButton(self.Axis_Tab2_2)
+ self.button_line_to_sketch.setIcon(icon18)
self.button_line_to_sketch.setIconSize(QtCore.QSize(32, 32))
self.button_line_to_sketch.setObjectName(_fromUtf8("button_line_to_sketch"))
- self.gridLayout_33.addWidget(self.button_line_to_sketch, 9, 0, 1, 1)
+ self.gridLayout_73.addWidget(self.button_line_to_sketch, 9, 0, 1, 1)
spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_33.addItem(spacerItem4, 10, 0, 1, 1)
- self.tabWidget.addTab(self.Axis_Tab2, icon27, _fromUtf8(""))
- self.tab_4 = QtGui.QWidget()
- self.tab_4.setObjectName(_fromUtf8("tab_4"))
- self.gridLayout_22 = QtGui.QGridLayout(self.tab_4)
- self.gridLayout_22.setObjectName(_fromUtf8("gridLayout_22"))
- self.horizontalLayout_11 = QtGui.QHBoxLayout()
- self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
- self.button_linecenter_circle = QtGui.QPushButton(self.tab_4)
- icon37 = QtGui.QIcon()
- icon37.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineCenterCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_linecenter_circle.setIcon(icon37)
+ self.gridLayout_73.addItem(spacerItem4, 10, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Axis_Tab2_2, icon29, _fromUtf8(""))
+ self.Wire_Tab_2 = QtGui.QWidget()
+ self.Wire_Tab_2.setObjectName(_fromUtf8("Wire_Tab_2"))
+ self.gridLayout_74 = QtGui.QGridLayout(self.Wire_Tab_2)
+ self.gridLayout_74.setObjectName(_fromUtf8("gridLayout_74"))
+ self.lineEdit = QtGui.QLineEdit(self.Wire_Tab_2)
+ self.lineEdit.setReadOnly(True)
+ self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
+ self.gridLayout_74.addWidget(self.lineEdit, 0, 0, 1, 1)
+ self.tabWidget_8 = QtGui.QTabWidget(self.Wire_Tab_2)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.tabWidget_8.sizePolicy().hasHeightForWidth())
+ self.tabWidget_8.setSizePolicy(sizePolicy)
+ self.tabWidget_8.setObjectName(_fromUtf8("tabWidget_8"))
+ self.tab_14 = QtGui.QWidget()
+ self.tab_14.setObjectName(_fromUtf8("tab_14"))
+ self.gridLayout_75 = QtGui.QGridLayout(self.tab_14)
+ self.gridLayout_75.setObjectName(_fromUtf8("gridLayout_75"))
+ self.scrollArea_2 = QtGui.QScrollArea(self.tab_14)
+ self.scrollArea_2.setWidgetResizable(True)
+ self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2"))
+ self.scrollAreaWidgetContents_5 = QtGui.QWidget()
+ self.scrollAreaWidgetContents_5.setGeometry(QtCore.QRect(0, 0, 259, 650))
+ self.scrollAreaWidgetContents_5.setObjectName(_fromUtf8("scrollAreaWidgetContents_5"))
+ self.gridLayout_76 = QtGui.QGridLayout(self.scrollAreaWidgetContents_5)
+ self.gridLayout_76.setObjectName(_fromUtf8("gridLayout_76"))
+ spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_76.addItem(spacerItem5, 7, 0, 1, 1)
+ self.groupBox_14 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_14.setObjectName(_fromUtf8("groupBox_14"))
+ self.gridLayout_77 = QtGui.QGridLayout(self.groupBox_14)
+ self.gridLayout_77.setObjectName(_fromUtf8("gridLayout_77"))
+ self.label_y_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_y_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_y_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_y_3.setObjectName(_fromUtf8("label_y_3"))
+ self.gridLayout_77.addWidget(self.label_y_3, 3, 0, 1, 1)
+ self.ParCurve_a_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_a_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_a_2.setSizePolicy(sizePolicy)
+ self.ParCurve_a_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_a_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_a_2.setMaxLength(32769)
+ self.ParCurve_a_2.setObjectName(_fromUtf8("ParCurve_a_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_a_2, 0, 1, 1, 1)
+ self.label_b_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_b_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_b_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_b_3.setObjectName(_fromUtf8("label_b_3"))
+ self.gridLayout_77.addWidget(self.label_b_3, 1, 0, 1, 1)
+ self.ParCurve_y_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_y_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_y_2.setSizePolicy(sizePolicy)
+ self.ParCurve_y_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_y_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_y_2.setMaxLength(32769)
+ self.ParCurve_y_2.setObjectName(_fromUtf8("ParCurve_y_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_y_2, 3, 1, 1, 1)
+ self.checkBox_polar_2 = QtGui.QCheckBox(self.groupBox_14)
+ self.checkBox_polar_2.setAutoExclusive(True)
+ self.checkBox_polar_2.setObjectName(_fromUtf8("checkBox_polar_2"))
+ self.gridLayout_77.addWidget(self.checkBox_polar_2, 4, 1, 1, 1)
+ self.label_x_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_x_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_x_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_x_3.setObjectName(_fromUtf8("label_x_3"))
+ self.gridLayout_77.addWidget(self.label_x_3, 2, 0, 1, 1)
+ self.ParCurve_x_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_x_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_x_2.setSizePolicy(sizePolicy)
+ self.ParCurve_x_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_x_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_x_2.setMaxLength(32769)
+ self.ParCurve_x_2.setObjectName(_fromUtf8("ParCurve_x_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_x_2, 2, 1, 1, 1)
+ self.label_a_3 = QtGui.QLabel(self.groupBox_14)
+ self.label_a_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_a_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_a_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_a_3.setObjectName(_fromUtf8("label_a_3"))
+ self.gridLayout_77.addWidget(self.label_a_3, 0, 0, 1, 1)
+ self.ParCurve_b_2 = QtGui.QLineEdit(self.groupBox_14)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_b_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_b_2.setSizePolicy(sizePolicy)
+ self.ParCurve_b_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_b_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_b_2.setMaxLength(32769)
+ self.ParCurve_b_2.setObjectName(_fromUtf8("ParCurve_b_2"))
+ self.gridLayout_77.addWidget(self.ParCurve_b_2, 1, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_14, 2, 0, 1, 1)
+ self.horizontalLayout_59 = QtGui.QHBoxLayout()
+ self.horizontalLayout_59.setObjectName(_fromUtf8("horizontalLayout_59"))
+ self.ParCurve_comboBox_2 = QtGui.QComboBox(self.scrollAreaWidgetContents_5)
+ self.ParCurve_comboBox_2.setObjectName(_fromUtf8("ParCurve_comboBox_2"))
+ self.horizontalLayout_59.addWidget(self.ParCurve_comboBox_2)
+ self.ParCurve_button_edit_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_edit_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_edit_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_edit_2.setObjectName(_fromUtf8("ParCurve_button_edit_2"))
+ self.horizontalLayout_59.addWidget(self.ParCurve_button_edit_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_59, 0, 0, 1, 1)
+ self.horizontalLayout_61 = QtGui.QHBoxLayout()
+ self.horizontalLayout_61.setObjectName(_fromUtf8("horizontalLayout_61"))
+ self.checkBox_close_2 = QtGui.QCheckBox(self.scrollAreaWidgetContents_5)
+ self.checkBox_close_2.setEnabled(True)
+ self.checkBox_close_2.setObjectName(_fromUtf8("checkBox_close_2"))
+ self.horizontalLayout_61.addWidget(self.checkBox_close_2)
+ self.checkBox_face_2 = QtGui.QCheckBox(self.scrollAreaWidgetContents_5)
+ self.checkBox_face_2.setEnabled(False)
+ self.checkBox_face_2.setObjectName(_fromUtf8("checkBox_face_2"))
+ self.horizontalLayout_61.addWidget(self.checkBox_face_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_61, 5, 0, 1, 1)
+ self.horizontalLayout_60 = QtGui.QHBoxLayout()
+ self.horizontalLayout_60.setObjectName(_fromUtf8("horizontalLayout_60"))
+ self.label_name_2 = QtGui.QLabel(self.scrollAreaWidgetContents_5)
+ self.label_name_2.setFrameShape(QtGui.QFrame.Box)
+ self.label_name_2.setFrameShadow(QtGui.QFrame.Raised)
+ self.label_name_2.setLineWidth(3)
+ self.label_name_2.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_name_2.setObjectName(_fromUtf8("label_name_2"))
+ self.horizontalLayout_60.addWidget(self.label_name_2)
+ self.ParCurve_name_2 = QtGui.QLineEdit(self.scrollAreaWidgetContents_5)
+ self.ParCurve_name_2.setObjectName(_fromUtf8("ParCurve_name_2"))
+ self.horizontalLayout_60.addWidget(self.ParCurve_name_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_60, 1, 0, 1, 1)
+ self.groupBox_15 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_15.setObjectName(_fromUtf8("groupBox_15"))
+ self.gridLayout_78 = QtGui.QGridLayout(self.groupBox_15)
+ self.gridLayout_78.setObjectName(_fromUtf8("gridLayout_78"))
+ self.label_tmin_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tmin_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmin_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmin_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmin_3.setObjectName(_fromUtf8("label_tmin_3"))
+ self.gridLayout_78.addWidget(self.label_tmin_3, 0, 0, 1, 1)
+ self.ParCurve_tmin_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmin_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmin_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tmin_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmin_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmin_2.setMaxLength(32769)
+ self.ParCurve_tmin_2.setObjectName(_fromUtf8("ParCurve_tmin_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tmin_2, 0, 1, 1, 1)
+ self.label_tmax_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tmax_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmax_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmax_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmax_3.setObjectName(_fromUtf8("label_tmax_3"))
+ self.gridLayout_78.addWidget(self.label_tmax_3, 1, 0, 1, 1)
+ self.ParCurve_tmax_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmax_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmax_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tmax_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmax_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmax_2.setMaxLength(32769)
+ self.ParCurve_tmax_2.setObjectName(_fromUtf8("ParCurve_tmax_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tmax_2, 1, 1, 1, 1)
+ self.label_tstep_3 = QtGui.QLabel(self.groupBox_15)
+ self.label_tstep_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tstep_3.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tstep_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tstep_3.setObjectName(_fromUtf8("label_tstep_3"))
+ self.gridLayout_78.addWidget(self.label_tstep_3, 2, 0, 1, 1)
+ self.ParCurve_tstep_2 = QtGui.QLineEdit(self.groupBox_15)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tstep_2.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tstep_2.setSizePolicy(sizePolicy)
+ self.ParCurve_tstep_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tstep_2.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tstep_2.setMaxLength(32769)
+ self.ParCurve_tstep_2.setObjectName(_fromUtf8("ParCurve_tstep_2"))
+ self.gridLayout_78.addWidget(self.ParCurve_tstep_2, 2, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_15, 3, 0, 1, 1)
+ self.groupBox_16 = QtGui.QGroupBox(self.scrollAreaWidgetContents_5)
+ self.groupBox_16.setObjectName(_fromUtf8("groupBox_16"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_16)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.checkBox_points_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_points_2.setAutoExclusive(True)
+ self.checkBox_points_2.setObjectName(_fromUtf8("checkBox_points_2"))
+ self.gridLayout_2.addWidget(self.checkBox_points_2, 0, 0, 1, 1)
+ self.checkBox_polyline_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_polyline_2.setChecked(True)
+ self.checkBox_polyline_2.setAutoExclusive(True)
+ self.checkBox_polyline_2.setObjectName(_fromUtf8("checkBox_polyline_2"))
+ self.gridLayout_2.addWidget(self.checkBox_polyline_2, 0, 1, 1, 1)
+ self.checkBox_bspline_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_bspline_2.setEnabled(True)
+ self.checkBox_bspline_2.setChecked(False)
+ self.checkBox_bspline_2.setAutoExclusive(True)
+ self.checkBox_bspline_2.setObjectName(_fromUtf8("checkBox_bspline_2"))
+ self.gridLayout_2.addWidget(self.checkBox_bspline_2, 1, 0, 1, 1)
+ self.checkBox_bezier_2 = QtGui.QCheckBox(self.groupBox_16)
+ self.checkBox_bezier_2.setEnabled(True)
+ self.checkBox_bezier_2.setChecked(False)
+ self.checkBox_bezier_2.setAutoExclusive(True)
+ self.checkBox_bezier_2.setObjectName(_fromUtf8("checkBox_bezier_2"))
+ self.gridLayout_2.addWidget(self.checkBox_bezier_2, 1, 1, 1, 1)
+ self.gridLayout_76.addWidget(self.groupBox_16, 4, 0, 1, 1)
+ self.horizontalLayout_62 = QtGui.QHBoxLayout()
+ self.horizontalLayout_62.setObjectName(_fromUtf8("horizontalLayout_62"))
+ self.ParCurve_button_store_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_store_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_store_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_store_2.setObjectName(_fromUtf8("ParCurve_button_store_2"))
+ self.horizontalLayout_62.addWidget(self.ParCurve_button_store_2)
+ spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_62.addItem(spacerItem6)
+ self.ParCurve_button_apply_2 = QtGui.QPushButton(self.scrollAreaWidgetContents_5)
+ self.ParCurve_button_apply_2.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_apply_2.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_apply_2.setObjectName(_fromUtf8("ParCurve_button_apply_2"))
+ self.horizontalLayout_62.addWidget(self.ParCurve_button_apply_2)
+ self.gridLayout_76.addLayout(self.horizontalLayout_62, 6, 0, 1, 1)
+ self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_5)
+ self.gridLayout_75.addWidget(self.scrollArea_2, 0, 0, 1, 1)
+ self.tabWidget_8.addTab(self.tab_14, _fromUtf8(""))
+ self.tab_15 = QtGui.QWidget()
+ self.tab_15.setObjectName(_fromUtf8("tab_15"))
+ self.gridLayout_80 = QtGui.QGridLayout(self.tab_15)
+ self.gridLayout_80.setObjectName(_fromUtf8("gridLayout_80"))
+ self.scrollArea_5 = QtGui.QScrollArea(self.tab_15)
+ self.scrollArea_5.setWidgetResizable(True)
+ self.scrollArea_5.setObjectName(_fromUtf8("scrollArea_5"))
+ self.scrollAreaWidgetContents_6 = QtGui.QWidget()
+ self.scrollAreaWidgetContents_6.setGeometry(QtCore.QRect(0, 0, 207, 692))
+ self.scrollAreaWidgetContents_6.setObjectName(_fromUtf8("scrollAreaWidgetContents_6"))
+ self.gridLayout_81 = QtGui.QGridLayout(self.scrollAreaWidgetContents_6)
+ self.gridLayout_81.setObjectName(_fromUtf8("gridLayout_81"))
+ self.horizontalLayout_63 = QtGui.QHBoxLayout()
+ self.horizontalLayout_63.setObjectName(_fromUtf8("horizontalLayout_63"))
+ self.ParCurve_comboBox_3 = QtGui.QComboBox(self.scrollAreaWidgetContents_6)
+ self.ParCurve_comboBox_3.setObjectName(_fromUtf8("ParCurve_comboBox_3"))
+ self.horizontalLayout_63.addWidget(self.ParCurve_comboBox_3)
+ self.ParCurve_button_edit_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_edit_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_edit_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_edit_3.setObjectName(_fromUtf8("ParCurve_button_edit_3"))
+ self.horizontalLayout_63.addWidget(self.ParCurve_button_edit_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_63, 0, 0, 1, 1)
+ self.horizontalLayout_64 = QtGui.QHBoxLayout()
+ self.horizontalLayout_64.setObjectName(_fromUtf8("horizontalLayout_64"))
+ self.label_name_3 = QtGui.QLabel(self.scrollAreaWidgetContents_6)
+ self.label_name_3.setFrameShape(QtGui.QFrame.Box)
+ self.label_name_3.setFrameShadow(QtGui.QFrame.Raised)
+ self.label_name_3.setLineWidth(3)
+ self.label_name_3.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_name_3.setObjectName(_fromUtf8("label_name_3"))
+ self.horizontalLayout_64.addWidget(self.label_name_3)
+ self.ParCurve_name_3 = QtGui.QLineEdit(self.scrollAreaWidgetContents_6)
+ self.ParCurve_name_3.setObjectName(_fromUtf8("ParCurve_name_3"))
+ self.horizontalLayout_64.addWidget(self.ParCurve_name_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_64, 1, 0, 1, 1)
+ self.groupBox_17 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_17.setObjectName(_fromUtf8("groupBox_17"))
+ self.formLayout_3 = QtGui.QFormLayout(self.groupBox_17)
+ self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
+ self.label_a_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_a_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_a_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_a_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_a_4.setObjectName(_fromUtf8("label_a_4"))
+ self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_a_4)
+ self.ParCurve_a_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_a_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_a_3.setSizePolicy(sizePolicy)
+ self.ParCurve_a_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_a_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_a_3.setMaxLength(32769)
+ self.ParCurve_a_3.setObjectName(_fromUtf8("ParCurve_a_3"))
+ self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.ParCurve_a_3)
+ self.label_b_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_b_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_b_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_b_4.setObjectName(_fromUtf8("label_b_4"))
+ self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_b_4)
+ self.ParCurve_b_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_b_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_b_3.setSizePolicy(sizePolicy)
+ self.ParCurve_b_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_b_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_b_3.setMaxLength(32769)
+ self.ParCurve_b_3.setObjectName(_fromUtf8("ParCurve_b_3"))
+ self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.ParCurve_b_3)
+ self.label_c_2 = QtGui.QLabel(self.groupBox_17)
+ self.label_c_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_c_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_c_2.setObjectName(_fromUtf8("label_c_2"))
+ self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_c_2)
+ self.ParCurve_c_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_c_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_c_3.setSizePolicy(sizePolicy)
+ self.ParCurve_c_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_c_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_c_3.setMaxLength(32769)
+ self.ParCurve_c_3.setObjectName(_fromUtf8("ParCurve_c_3"))
+ self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.ParCurve_c_3)
+ self.label_x_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_x_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_x_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_x_4.setObjectName(_fromUtf8("label_x_4"))
+ self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_x_4)
+ self.ParCurve_x_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_x_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_x_3.setSizePolicy(sizePolicy)
+ self.ParCurve_x_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_x_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_x_3.setMaxLength(32769)
+ self.ParCurve_x_3.setObjectName(_fromUtf8("ParCurve_x_3"))
+ self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.ParCurve_x_3)
+ self.label_y_4 = QtGui.QLabel(self.groupBox_17)
+ self.label_y_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_y_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_y_4.setObjectName(_fromUtf8("label_y_4"))
+ self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_y_4)
+ self.label_z_2 = QtGui.QLabel(self.groupBox_17)
+ self.label_z_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_z_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_z_2.setObjectName(_fromUtf8("label_z_2"))
+ self.formLayout_3.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_z_2)
+ self.ParCurve_z_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_z_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_z_3.setSizePolicy(sizePolicy)
+ self.ParCurve_z_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_z_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_z_3.setMaxLength(32769)
+ self.ParCurve_z_3.setObjectName(_fromUtf8("ParCurve_z_3"))
+ self.formLayout_3.setWidget(5, QtGui.QFormLayout.FieldRole, self.ParCurve_z_3)
+ self.ParCurve_y_3 = QtGui.QLineEdit(self.groupBox_17)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_y_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_y_3.setSizePolicy(sizePolicy)
+ self.ParCurve_y_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_y_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_y_3.setMaxLength(32769)
+ self.ParCurve_y_3.setObjectName(_fromUtf8("ParCurve_y_3"))
+ self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.ParCurve_y_3)
+ self.gridLayout_81.addWidget(self.groupBox_17, 2, 0, 1, 1)
+ self.groupBox_18 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_18.setObjectName(_fromUtf8("groupBox_18"))
+ self.gridLayout_82 = QtGui.QGridLayout(self.groupBox_18)
+ self.gridLayout_82.setObjectName(_fromUtf8("gridLayout_82"))
+ self.label_tmin_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tmin_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmin_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmin_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmin_4.setObjectName(_fromUtf8("label_tmin_4"))
+ self.gridLayout_82.addWidget(self.label_tmin_4, 0, 0, 1, 1)
+ self.label_tmax_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tmax_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tmax_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tmax_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tmax_4.setObjectName(_fromUtf8("label_tmax_4"))
+ self.gridLayout_82.addWidget(self.label_tmax_4, 1, 0, 1, 1)
+ self.ParCurve_tmax_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmax_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmax_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tmax_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmax_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmax_3.setMaxLength(32769)
+ self.ParCurve_tmax_3.setObjectName(_fromUtf8("ParCurve_tmax_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tmax_3, 1, 1, 1, 1)
+ self.label_tstep_4 = QtGui.QLabel(self.groupBox_18)
+ self.label_tstep_4.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_tstep_4.setLayoutDirection(QtCore.Qt.LeftToRight)
+ self.label_tstep_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.label_tstep_4.setObjectName(_fromUtf8("label_tstep_4"))
+ self.gridLayout_82.addWidget(self.label_tstep_4, 2, 0, 1, 1)
+ self.ParCurve_tstep_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tstep_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tstep_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tstep_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tstep_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tstep_3.setMaxLength(32769)
+ self.ParCurve_tstep_3.setObjectName(_fromUtf8("ParCurve_tstep_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tstep_3, 2, 1, 1, 1)
+ self.ParCurve_tmin_3 = QtGui.QLineEdit(self.groupBox_18)
+ sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ParCurve_tmin_3.sizePolicy().hasHeightForWidth())
+ self.ParCurve_tmin_3.setSizePolicy(sizePolicy)
+ self.ParCurve_tmin_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_tmin_3.setMaximumSize(QtCore.QSize(150, 16777215))
+ self.ParCurve_tmin_3.setMaxLength(32769)
+ self.ParCurve_tmin_3.setObjectName(_fromUtf8("ParCurve_tmin_3"))
+ self.gridLayout_82.addWidget(self.ParCurve_tmin_3, 0, 1, 1, 1)
+ self.gridLayout_81.addWidget(self.groupBox_18, 3, 0, 1, 1)
+ self.groupBox_19 = QtGui.QGroupBox(self.scrollAreaWidgetContents_6)
+ self.groupBox_19.setObjectName(_fromUtf8("groupBox_19"))
+ self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_19)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.checkBox_points_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_points_3.setAutoExclusive(True)
+ self.checkBox_points_3.setObjectName(_fromUtf8("checkBox_points_3"))
+ self.gridLayout_3.addWidget(self.checkBox_points_3, 0, 0, 1, 1)
+ self.checkBox_polyline_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_polyline_3.setChecked(True)
+ self.checkBox_polyline_3.setAutoExclusive(True)
+ self.checkBox_polyline_3.setObjectName(_fromUtf8("checkBox_polyline_3"))
+ self.gridLayout_3.addWidget(self.checkBox_polyline_3, 0, 1, 1, 1)
+ self.checkBox_bspline_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_bspline_3.setChecked(False)
+ self.checkBox_bspline_3.setAutoExclusive(True)
+ self.checkBox_bspline_3.setObjectName(_fromUtf8("checkBox_bspline_3"))
+ self.gridLayout_3.addWidget(self.checkBox_bspline_3, 1, 0, 1, 1)
+ self.checkBox_bezier_3 = QtGui.QCheckBox(self.groupBox_19)
+ self.checkBox_bezier_3.setEnabled(True)
+ self.checkBox_bezier_3.setChecked(False)
+ self.checkBox_bezier_3.setAutoExclusive(True)
+ self.checkBox_bezier_3.setObjectName(_fromUtf8("checkBox_bezier_3"))
+ self.gridLayout_3.addWidget(self.checkBox_bezier_3, 1, 1, 1, 1)
+ self.gridLayout_81.addWidget(self.groupBox_19, 4, 0, 1, 1)
+ self.checkBox_close_3 = QtGui.QCheckBox(self.scrollAreaWidgetContents_6)
+ self.checkBox_close_3.setObjectName(_fromUtf8("checkBox_close_3"))
+ self.gridLayout_81.addWidget(self.checkBox_close_3, 5, 0, 1, 1)
+ self.horizontalLayout_65 = QtGui.QHBoxLayout()
+ self.horizontalLayout_65.setObjectName(_fromUtf8("horizontalLayout_65"))
+ self.ParCurve_button_store_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_store_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_store_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_store_3.setObjectName(_fromUtf8("ParCurve_button_store_3"))
+ self.horizontalLayout_65.addWidget(self.ParCurve_button_store_3)
+ spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_65.addItem(spacerItem7)
+ self.ParCurve_button_apply_3 = QtGui.QPushButton(self.scrollAreaWidgetContents_6)
+ self.ParCurve_button_apply_3.setMinimumSize(QtCore.QSize(40, 0))
+ self.ParCurve_button_apply_3.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.ParCurve_button_apply_3.setObjectName(_fromUtf8("ParCurve_button_apply_3"))
+ self.horizontalLayout_65.addWidget(self.ParCurve_button_apply_3)
+ self.gridLayout_81.addLayout(self.horizontalLayout_65, 6, 0, 1, 1)
+ spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_81.addItem(spacerItem8, 7, 0, 1, 1)
+ self.scrollArea_5.setWidget(self.scrollAreaWidgetContents_6)
+ self.gridLayout_80.addWidget(self.scrollArea_5, 0, 0, 1, 1)
+ self.tabWidget_8.addTab(self.tab_15, _fromUtf8(""))
+ self.gridLayout_74.addWidget(self.tabWidget_8, 1, 0, 1, 1)
+ icon39 = QtGui.QIcon()
+ icon39.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_wire.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Wire_Tab_2, icon39, _fromUtf8(""))
+ self.tab_16 = QtGui.QWidget()
+ self.tab_16.setObjectName(_fromUtf8("tab_16"))
+ self.gridLayout = QtGui.QGridLayout(self.tab_16)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout_66 = QtGui.QHBoxLayout()
+ self.horizontalLayout_66.setObjectName(_fromUtf8("horizontalLayout_66"))
+ self.button_linecenter_circle = QtGui.QPushButton(self.tab_16)
+ icon40 = QtGui.QIcon()
+ icon40.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_lineCenterCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_linecenter_circle.setIcon(icon40)
self.button_linecenter_circle.setIconSize(QtCore.QSize(32, 32))
self.button_linecenter_circle.setObjectName(_fromUtf8("button_linecenter_circle"))
- self.horizontalLayout_11.addWidget(self.button_linecenter_circle)
- self.radius_circle = QtGui.QLineEdit(self.tab_4)
+ self.horizontalLayout_66.addWidget(self.button_linecenter_circle)
+ self.radius_circle = QtGui.QLineEdit(self.tab_16)
self.radius_circle.setMinimumSize(QtCore.QSize(40, 0))
self.radius_circle.setMaximumSize(QtCore.QSize(60, 16777215))
self.radius_circle.setObjectName(_fromUtf8("radius_circle"))
- self.horizontalLayout_11.addWidget(self.radius_circle)
- self.gridLayout_22.addLayout(self.horizontalLayout_11, 0, 0, 1, 2)
- self.button_linepoint_circle = QtGui.QPushButton(self.tab_4)
- icon38 = QtGui.QIcon()
- icon38.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_linepoint_circle.setIcon(icon38)
+ self.horizontalLayout_66.addWidget(self.radius_circle)
+ self.gridLayout.addLayout(self.horizontalLayout_66, 0, 0, 1, 1)
+ self.button_linepoint_circle = QtGui.QPushButton(self.tab_16)
+ icon41 = QtGui.QIcon()
+ icon41.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_linepoint_circle.setIcon(icon41)
self.button_linepoint_circle.setIconSize(QtCore.QSize(32, 32))
self.button_linepoint_circle.setObjectName(_fromUtf8("button_linepoint_circle"))
- self.gridLayout_22.addWidget(self.button_linepoint_circle, 1, 0, 1, 2)
- self.button_3points_circle = QtGui.QPushButton(self.tab_4)
- icon39 = QtGui.QIcon()
- icon39.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_3points_circle.setIcon(icon39)
+ self.gridLayout.addWidget(self.button_linepoint_circle, 1, 0, 1, 1)
+ self.button_3points_circle = QtGui.QPushButton(self.tab_16)
+ icon42 = QtGui.QIcon()
+ icon42.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_3points_circle.setIcon(icon42)
self.button_3points_circle.setIconSize(QtCore.QSize(32, 32))
self.button_3points_circle.setObjectName(_fromUtf8("button_3points_circle"))
- self.gridLayout_22.addWidget(self.button_3points_circle, 2, 0, 1, 2)
- self.horizontalLayout_24 = QtGui.QHBoxLayout()
- self.horizontalLayout_24.setObjectName(_fromUtf8("horizontalLayout_24"))
- self.button_cut_circle = QtGui.QPushButton(self.tab_4)
- icon40 = QtGui.QIcon()
- icon40.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cut_circle.setIcon(icon40)
+ self.gridLayout.addWidget(self.button_3points_circle, 2, 0, 1, 1)
+ self.horizontalLayout_67 = QtGui.QHBoxLayout()
+ self.horizontalLayout_67.setObjectName(_fromUtf8("horizontalLayout_67"))
+ self.button_cut_circle = QtGui.QPushButton(self.tab_16)
+ icon43 = QtGui.QIcon()
+ icon43.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cutCircle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cut_circle.setIcon(icon43)
self.button_cut_circle.setIconSize(QtCore.QSize(32, 32))
self.button_cut_circle.setObjectName(_fromUtf8("button_cut_circle"))
- self.horizontalLayout_24.addWidget(self.button_cut_circle)
- self.spin_circle_cut = QtGui.QSpinBox(self.tab_4)
+ self.horizontalLayout_67.addWidget(self.button_cut_circle)
+ self.spin_circle_cut = QtGui.QSpinBox(self.tab_16)
self.spin_circle_cut.setMinimumSize(QtCore.QSize(40, 0))
self.spin_circle_cut.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_circle_cut.setMinimum(2)
self.spin_circle_cut.setMaximum(100)
self.spin_circle_cut.setSingleStep(1)
self.spin_circle_cut.setObjectName(_fromUtf8("spin_circle_cut"))
- self.horizontalLayout_24.addWidget(self.spin_circle_cut)
- self.gridLayout_22.addLayout(self.horizontalLayout_24, 3, 0, 1, 2)
- self.button_3points_ellipse = QtGui.QPushButton(self.tab_4)
- icon41 = QtGui.QIcon()
- icon41.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsEllipse.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_3points_ellipse.setIcon(icon41)
+ self.horizontalLayout_67.addWidget(self.spin_circle_cut)
+ self.gridLayout.addLayout(self.horizontalLayout_67, 3, 0, 1, 1)
+ self.button_3points_ellipse = QtGui.QPushButton(self.tab_16)
+ icon44 = QtGui.QIcon()
+ icon44.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_3pointsEllipse.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_3points_ellipse.setIcon(icon44)
self.button_3points_ellipse.setIconSize(QtCore.QSize(32, 32))
self.button_3points_ellipse.setObjectName(_fromUtf8("button_3points_ellipse"))
- self.gridLayout_22.addWidget(self.button_3points_ellipse, 4, 0, 1, 2)
- spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_22.addItem(spacerItem5, 5, 0, 1, 1)
- self.button_circle_to_sketch = QtGui.QPushButton(self.tab_4)
- self.button_circle_to_sketch.setIcon(icon17)
+ self.gridLayout.addWidget(self.button_3points_ellipse, 4, 0, 1, 1)
+ spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout.addItem(spacerItem9, 5, 0, 1, 1)
+ self.button_circle_to_sketch = QtGui.QPushButton(self.tab_16)
+ self.button_circle_to_sketch.setIcon(icon18)
self.button_circle_to_sketch.setIconSize(QtCore.QSize(32, 32))
self.button_circle_to_sketch.setObjectName(_fromUtf8("button_circle_to_sketch"))
- self.gridLayout_22.addWidget(self.button_circle_to_sketch, 6, 0, 1, 2)
- spacerItem6 = QtGui.QSpacerItem(20, 121, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_22.addItem(spacerItem6, 7, 1, 1, 1)
- icon42 = QtGui.QIcon()
- icon42.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_circle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.tab_4, icon42, _fromUtf8(""))
- self.Plane_Tab1 = QtGui.QWidget()
- self.Plane_Tab1.setObjectName(_fromUtf8("Plane_Tab1"))
- self.gridLayout_4 = QtGui.QGridLayout(self.Plane_Tab1)
- self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
- spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_4.addItem(spacerItem7, 9, 0, 1, 1)
- self.horizontalLayout_3 = QtGui.QHBoxLayout()
- self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
- self.button_click_for_plane = QtGui.QPushButton(self.Plane_Tab1)
+ self.gridLayout.addWidget(self.button_circle_to_sketch, 6, 0, 1, 1)
+ spacerItem10 = QtGui.QSpacerItem(20, 121, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout.addItem(spacerItem10, 7, 0, 1, 1)
+ icon45 = QtGui.QIcon()
+ icon45.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_circle.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_16, icon45, _fromUtf8(""))
+ self.tab_17 = QtGui.QWidget()
+ self.tab_17.setObjectName(_fromUtf8("tab_17"))
+ self.gridLayout_85 = QtGui.QGridLayout(self.tab_17)
+ self.gridLayout_85.setObjectName(_fromUtf8("gridLayout_85"))
+ self.frame_9 = QtGui.QFrame(self.tab_17)
+ self.frame_9.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_9.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_9.setLineWidth(3)
+ self.frame_9.setObjectName(_fromUtf8("frame_9"))
+ self.gridLayout_86 = QtGui.QGridLayout(self.frame_9)
+ self.gridLayout_86.setObjectName(_fromUtf8("gridLayout_86"))
+ self.gridLayout_87 = QtGui.QGridLayout()
+ self.gridLayout_87.setObjectName(_fromUtf8("gridLayout_87"))
+ self.checkBox_allsubselect = QtGui.QCheckBox(self.frame_9)
+ self.checkBox_allsubselect.setChecked(True)
+ self.checkBox_allsubselect.setObjectName(_fromUtf8("checkBox_allsubselect"))
+ self.gridLayout_87.addWidget(self.checkBox_allsubselect, 2, 0, 1, 1)
+ self.transition_comboBox = QtGui.QComboBox(self.frame_9)
+ self.transition_comboBox.setObjectName(_fromUtf8("transition_comboBox"))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.transition_comboBox.addItem(_fromUtf8(""))
+ self.gridLayout_87.addWidget(self.transition_comboBox, 2, 1, 1, 1)
+ self.checkBox_solid = QtGui.QCheckBox(self.frame_9)
+ self.checkBox_solid.setMinimumSize(QtCore.QSize(9, 0))
+ self.checkBox_solid.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.checkBox_solid.setChecked(True)
+ self.checkBox_solid.setObjectName(_fromUtf8("checkBox_solid"))
+ self.gridLayout_87.addWidget(self.checkBox_solid, 1, 0, 1, 1)
+ self.radioButton_Frenet = QtGui.QRadioButton(self.frame_9)
+ self.radioButton_Frenet.setChecked(True)
+ self.radioButton_Frenet.setAutoExclusive(False)
+ self.radioButton_Frenet.setObjectName(_fromUtf8("radioButton_Frenet"))
+ self.gridLayout_87.addWidget(self.radioButton_Frenet, 1, 1, 1, 1)
+ self.gridLayout_86.addLayout(self.gridLayout_87, 0, 0, 1, 1)
+ self.button_sweep = QtGui.QPushButton(self.frame_9)
+ icon46 = QtGui.QIcon()
+ icon46.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Sweep.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_sweep.setIcon(icon46)
+ self.button_sweep.setIconSize(QtCore.QSize(32, 32))
+ self.button_sweep.setObjectName(_fromUtf8("button_sweep"))
+ self.gridLayout_86.addWidget(self.button_sweep, 1, 0, 1, 1)
+ self.gridLayout_85.addWidget(self.frame_9, 0, 0, 1, 1)
+ spacerItem11 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_85.addItem(spacerItem11, 1, 0, 1, 1)
+ icon47 = QtGui.QIcon()
+ icon47.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Beam.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_17, icon47, _fromUtf8(""))
+ self.Plane_Tab1_3 = QtGui.QWidget()
+ self.Plane_Tab1_3.setObjectName(_fromUtf8("Plane_Tab1_3"))
+ self.gridLayout_88 = QtGui.QGridLayout(self.Plane_Tab1_3)
+ self.gridLayout_88.setObjectName(_fromUtf8("gridLayout_88"))
+ spacerItem12 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_88.addItem(spacerItem12, 9, 0, 1, 1)
+ self.horizontalLayout_68 = QtGui.QHBoxLayout()
+ self.horizontalLayout_68.setObjectName(_fromUtf8("horizontalLayout_68"))
+ self.button_click_for_plane = QtGui.QPushButton(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_click_for_plane.sizePolicy().hasHeightForWidth())
self.button_click_for_plane.setSizePolicy(sizePolicy)
- icon43 = QtGui.QIcon()
- icon43.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_click_for_plane.setIcon(icon43)
+ icon48 = QtGui.QIcon()
+ icon48.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_clickPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_click_for_plane.setIcon(icon48)
self.button_click_for_plane.setIconSize(QtCore.QSize(32, 32))
self.button_click_for_plane.setObjectName(_fromUtf8("button_click_for_plane"))
- self.horizontalLayout_3.addWidget(self.button_click_for_plane)
- self.length_plane = QtGui.QLineEdit(self.Plane_Tab1)
+ self.horizontalLayout_68.addWidget(self.button_click_for_plane)
+ self.length_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -698,8 +1244,8 @@ class Ui_Form(object):
self.length_plane.setMinimumSize(QtCore.QSize(40, 0))
self.length_plane.setMaximumSize(QtCore.QSize(50, 16777215))
self.length_plane.setObjectName(_fromUtf8("length_plane"))
- self.horizontalLayout_3.addWidget(self.length_plane)
- self.width_plane = QtGui.QLineEdit(self.Plane_Tab1)
+ self.horizontalLayout_68.addWidget(self.length_plane)
+ self.width_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -708,23 +1254,23 @@ class Ui_Form(object):
self.width_plane.setMinimumSize(QtCore.QSize(40, 0))
self.width_plane.setMaximumSize(QtCore.QSize(50, 16777215))
self.width_plane.setObjectName(_fromUtf8("width_plane"))
- self.horizontalLayout_3.addWidget(self.width_plane)
- self.gridLayout_4.addLayout(self.horizontalLayout_3, 8, 0, 1, 1)
- self.gridLayout_8 = QtGui.QGridLayout()
- self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
- self.button_planeandaxis_plane = QtGui.QPushButton(self.Plane_Tab1)
+ self.horizontalLayout_68.addWidget(self.width_plane)
+ self.gridLayout_88.addLayout(self.horizontalLayout_68, 8, 0, 1, 1)
+ self.gridLayout_89 = QtGui.QGridLayout()
+ self.gridLayout_89.setObjectName(_fromUtf8("gridLayout_89"))
+ self.button_planeandaxis_plane = QtGui.QPushButton(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_planeandaxis_plane.sizePolicy().hasHeightForWidth())
self.button_planeandaxis_plane.setSizePolicy(sizePolicy)
- icon44 = QtGui.QIcon()
- icon44.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_planeandaxis_plane.setIcon(icon44)
+ icon49 = QtGui.QIcon()
+ icon49.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_planeLinePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_planeandaxis_plane.setIcon(icon49)
self.button_planeandaxis_plane.setIconSize(QtCore.QSize(32, 32))
self.button_planeandaxis_plane.setObjectName(_fromUtf8("button_planeandaxis_plane"))
- self.gridLayout_8.addWidget(self.button_planeandaxis_plane, 0, 0, 1, 1)
- self.angle_planeandaxis_plane = QtGui.QLineEdit(self.Plane_Tab1)
+ self.gridLayout_89.addWidget(self.button_planeandaxis_plane, 0, 0, 1, 1)
+ self.angle_planeandaxis_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -733,37 +1279,37 @@ class Ui_Form(object):
self.angle_planeandaxis_plane.setMinimumSize(QtCore.QSize(40, 0))
self.angle_planeandaxis_plane.setMaximumSize(QtCore.QSize(60, 16777215))
self.angle_planeandaxis_plane.setObjectName(_fromUtf8("angle_planeandaxis_plane"))
- self.gridLayout_8.addWidget(self.angle_planeandaxis_plane, 0, 1, 1, 1)
- self.gridLayout_4.addLayout(self.gridLayout_8, 4, 0, 1, 1)
- self.button_axisandpoint_plane = QtGui.QPushButton(self.Plane_Tab1)
- icon45 = QtGui.QIcon()
- icon45.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_axisandpoint_plane.setIcon(icon45)
+ self.gridLayout_89.addWidget(self.angle_planeandaxis_plane, 0, 1, 1, 1)
+ self.gridLayout_88.addLayout(self.gridLayout_89, 4, 0, 1, 1)
+ self.button_axisandpoint_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon50 = QtGui.QIcon()
+ icon50.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_axisandpoint_plane.setIcon(icon50)
self.button_axisandpoint_plane.setIconSize(QtCore.QSize(32, 32))
self.button_axisandpoint_plane.setObjectName(_fromUtf8("button_axisandpoint_plane"))
- self.gridLayout_4.addWidget(self.button_axisandpoint_plane, 1, 0, 1, 1)
- self.button_axis_point_plane = QtGui.QPushButton(self.Plane_Tab1)
- icon46 = QtGui.QIcon()
- icon46.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane2.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_axis_point_plane.setIcon(icon46)
+ self.gridLayout_88.addWidget(self.button_axisandpoint_plane, 1, 0, 1, 1)
+ self.button_axis_point_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon51 = QtGui.QIcon()
+ icon51.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_linePointPlane2.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_axis_point_plane.setIcon(icon51)
self.button_axis_point_plane.setIconSize(QtCore.QSize(32, 32))
self.button_axis_point_plane.setObjectName(_fromUtf8("button_axis_point_plane"))
- self.gridLayout_4.addWidget(self.button_axis_point_plane, 2, 0, 1, 1)
- self.horizontalLayout_12 = QtGui.QHBoxLayout()
- self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))
- self.button_face_tangent = QtGui.QPushButton(self.Plane_Tab1)
+ self.gridLayout_88.addWidget(self.button_axis_point_plane, 2, 0, 1, 1)
+ self.horizontalLayout_69 = QtGui.QHBoxLayout()
+ self.horizontalLayout_69.setObjectName(_fromUtf8("horizontalLayout_69"))
+ self.button_face_tangent = QtGui.QPushButton(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_face_tangent.sizePolicy().hasHeightForWidth())
self.button_face_tangent.setSizePolicy(sizePolicy)
- icon47 = QtGui.QIcon()
- icon47.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceTangent.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_face_tangent.setIcon(icon47)
+ icon52 = QtGui.QIcon()
+ icon52.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FaceTangent.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_face_tangent.setIcon(icon52)
self.button_face_tangent.setIconSize(QtCore.QSize(32, 32))
self.button_face_tangent.setObjectName(_fromUtf8("button_face_tangent"))
- self.horizontalLayout_12.addWidget(self.button_face_tangent)
- self.length_plane_2 = QtGui.QLineEdit(self.Plane_Tab1)
+ self.horizontalLayout_69.addWidget(self.button_face_tangent)
+ self.length_plane_2 = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -772,8 +1318,8 @@ class Ui_Form(object):
self.length_plane_2.setMinimumSize(QtCore.QSize(40, 0))
self.length_plane_2.setMaximumSize(QtCore.QSize(50, 16777215))
self.length_plane_2.setObjectName(_fromUtf8("length_plane_2"))
- self.horizontalLayout_12.addWidget(self.length_plane_2)
- self.width_plane_2 = QtGui.QLineEdit(self.Plane_Tab1)
+ self.horizontalLayout_69.addWidget(self.length_plane_2)
+ self.width_plane_2 = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -782,25 +1328,25 @@ class Ui_Form(object):
self.width_plane_2.setMinimumSize(QtCore.QSize(40, 0))
self.width_plane_2.setMaximumSize(QtCore.QSize(50, 16777215))
self.width_plane_2.setObjectName(_fromUtf8("width_plane_2"))
- self.horizontalLayout_12.addWidget(self.width_plane_2)
- self.gridLayout_4.addLayout(self.horizontalLayout_12, 6, 0, 1, 1)
- self.button_threepoints_plane = QtGui.QPushButton(self.Plane_Tab1)
- icon48 = QtGui.QIcon()
- icon48.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_threePointsPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_threepoints_plane.setIcon(icon48)
+ self.horizontalLayout_69.addWidget(self.width_plane_2)
+ self.gridLayout_88.addLayout(self.horizontalLayout_69, 6, 0, 1, 1)
+ self.button_threepoints_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon53 = QtGui.QIcon()
+ icon53.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_threePointsPlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_threepoints_plane.setIcon(icon53)
self.button_threepoints_plane.setIconSize(QtCore.QSize(32, 32))
self.button_threepoints_plane.setObjectName(_fromUtf8("button_threepoints_plane"))
- self.gridLayout_4.addWidget(self.button_threepoints_plane, 0, 0, 1, 1)
- self.horizontalLayout_28 = QtGui.QHBoxLayout()
- self.horizontalLayout_28.setObjectName(_fromUtf8("horizontalLayout_28"))
- self.button_distPlane = QtGui.QPushButton(self.Plane_Tab1)
- icon49 = QtGui.QIcon()
- icon49.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_distPlane.setIcon(icon49)
+ self.gridLayout_88.addWidget(self.button_threepoints_plane, 0, 0, 1, 1)
+ self.horizontalLayout_70 = QtGui.QHBoxLayout()
+ self.horizontalLayout_70.setObjectName(_fromUtf8("horizontalLayout_70"))
+ self.button_distPlane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon54 = QtGui.QIcon()
+ icon54.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_distPlane.setIcon(icon54)
self.button_distPlane.setIconSize(QtCore.QSize(32, 32))
self.button_distPlane.setObjectName(_fromUtf8("button_distPlane"))
- self.horizontalLayout_28.addWidget(self.button_distPlane)
- self.dist_plane = QtGui.QLineEdit(self.Plane_Tab1)
+ self.horizontalLayout_70.addWidget(self.button_distPlane)
+ self.dist_plane = QtGui.QLineEdit(self.Plane_Tab1_3)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -809,8 +1355,8 @@ class Ui_Form(object):
self.dist_plane.setMinimumSize(QtCore.QSize(40, 0))
self.dist_plane.setMaximumSize(QtCore.QSize(40, 16777215))
self.dist_plane.setObjectName(_fromUtf8("dist_plane"))
- self.horizontalLayout_28.addWidget(self.dist_plane)
- self.spin_dist_plane = QtGui.QSpinBox(self.Plane_Tab1)
+ self.horizontalLayout_70.addWidget(self.dist_plane)
+ self.spin_dist_plane = QtGui.QSpinBox(self.Plane_Tab1_3)
self.spin_dist_plane.setMinimumSize(QtCore.QSize(30, 0))
self.spin_dist_plane.setMaximumSize(QtCore.QSize(30, 16777215))
self.spin_dist_plane.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
@@ -820,54 +1366,54 @@ class Ui_Form(object):
self.spin_dist_plane.setSingleStep(1)
self.spin_dist_plane.setProperty("value", 1)
self.spin_dist_plane.setObjectName(_fromUtf8("spin_dist_plane"))
- self.horizontalLayout_28.addWidget(self.spin_dist_plane)
- self.gridLayout_4.addLayout(self.horizontalLayout_28, 5, 0, 1, 1)
- self.gridLayout_16 = QtGui.QGridLayout()
- self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
- self.button_planeandpoint_plane = QtGui.QPushButton(self.Plane_Tab1)
- icon50 = QtGui.QIcon()
- icon50.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_planeandpoint_plane.setIcon(icon50)
+ self.horizontalLayout_70.addWidget(self.spin_dist_plane)
+ self.gridLayout_88.addLayout(self.horizontalLayout_70, 5, 0, 1, 1)
+ self.gridLayout_90 = QtGui.QGridLayout()
+ self.gridLayout_90.setObjectName(_fromUtf8("gridLayout_90"))
+ self.button_planeandpoint_plane = QtGui.QPushButton(self.Plane_Tab1_3)
+ icon55 = QtGui.QIcon()
+ icon55.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointPlanePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_planeandpoint_plane.setIcon(icon55)
self.button_planeandpoint_plane.setIconSize(QtCore.QSize(32, 32))
self.button_planeandpoint_plane.setObjectName(_fromUtf8("button_planeandpoint_plane"))
- self.gridLayout_16.addWidget(self.button_planeandpoint_plane, 0, 0, 1, 1)
- self.extension_planePointPlane = QtGui.QLineEdit(self.Plane_Tab1)
+ self.gridLayout_90.addWidget(self.button_planeandpoint_plane, 0, 0, 1, 1)
+ self.extension_planePointPlane = QtGui.QLineEdit(self.Plane_Tab1_3)
self.extension_planePointPlane.setMinimumSize(QtCore.QSize(40, 0))
self.extension_planePointPlane.setMaximumSize(QtCore.QSize(60, 16777215))
self.extension_planePointPlane.setObjectName(_fromUtf8("extension_planePointPlane"))
- self.gridLayout_16.addWidget(self.extension_planePointPlane, 0, 1, 1, 1)
- self.gridLayout_4.addLayout(self.gridLayout_16, 3, 0, 1, 1)
- icon51 = QtGui.QIcon()
- icon51.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_plane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.Plane_Tab1, icon51, _fromUtf8(""))
- self.Plane_Tab11 = QtGui.QWidget()
- self.Plane_Tab11.setObjectName(_fromUtf8("Plane_Tab11"))
- self.gridLayout_37 = QtGui.QGridLayout(self.Plane_Tab11)
- self.gridLayout_37.setObjectName(_fromUtf8("gridLayout_37"))
- spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_37.addItem(spacerItem8, 2, 0, 1, 1)
- self.button_object_center_planes = QtGui.QPushButton(self.Plane_Tab11)
- icon52 = QtGui.QIcon()
- icon52.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPlanes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_object_center_planes.setIcon(icon52)
+ self.gridLayout_90.addWidget(self.extension_planePointPlane, 0, 1, 1, 1)
+ self.gridLayout_88.addLayout(self.gridLayout_90, 3, 0, 1, 1)
+ icon56 = QtGui.QIcon()
+ icon56.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_plane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Plane_Tab1_3, icon56, _fromUtf8(""))
+ self.Plane_Tab1_4 = QtGui.QWidget()
+ self.Plane_Tab1_4.setObjectName(_fromUtf8("Plane_Tab1_4"))
+ self.gridLayout_91 = QtGui.QGridLayout(self.Plane_Tab1_4)
+ self.gridLayout_91.setObjectName(_fromUtf8("gridLayout_91"))
+ spacerItem13 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_91.addItem(spacerItem13, 2, 0, 1, 1)
+ self.button_object_center_planes = QtGui.QPushButton(self.Plane_Tab1_4)
+ icon57 = QtGui.QIcon()
+ icon57.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_centerObjectsPlanes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_object_center_planes.setIcon(icon57)
self.button_object_center_planes.setIconSize(QtCore.QSize(32, 32))
self.button_object_center_planes.setObjectName(_fromUtf8("button_object_center_planes"))
- self.gridLayout_37.addWidget(self.button_object_center_planes, 1, 0, 1, 1)
- self.horizontalLayout_17 = QtGui.QHBoxLayout()
- self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17"))
- self.button_extension_plane = QtGui.QPushButton(self.Plane_Tab11)
+ self.gridLayout_91.addWidget(self.button_object_center_planes, 1, 0, 1, 1)
+ self.horizontalLayout_71 = QtGui.QHBoxLayout()
+ self.horizontalLayout_71.setObjectName(_fromUtf8("horizontalLayout_71"))
+ self.button_extension_plane = QtGui.QPushButton(self.Plane_Tab1_4)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_extension_plane.sizePolicy().hasHeightForWidth())
self.button_extension_plane.setSizePolicy(sizePolicy)
- icon53 = QtGui.QIcon()
- icon53.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_extension_plane.setIcon(icon53)
+ icon58 = QtGui.QIcon()
+ icon58.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_enlargePlane.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_extension_plane.setIcon(icon58)
self.button_extension_plane.setIconSize(QtCore.QSize(32, 32))
self.button_extension_plane.setObjectName(_fromUtf8("button_extension_plane"))
- self.horizontalLayout_17.addWidget(self.button_extension_plane)
- self.extension_plane = QtGui.QLineEdit(self.Plane_Tab11)
+ self.horizontalLayout_71.addWidget(self.button_extension_plane)
+ self.extension_plane = QtGui.QLineEdit(self.Plane_Tab1_4)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -876,59 +1422,59 @@ class Ui_Form(object):
self.extension_plane.setMinimumSize(QtCore.QSize(40, 0))
self.extension_plane.setMaximumSize(QtCore.QSize(50, 16777215))
self.extension_plane.setObjectName(_fromUtf8("extension_plane"))
- self.horizontalLayout_17.addWidget(self.extension_plane)
- self.gridLayout_37.addLayout(self.horizontalLayout_17, 0, 0, 1, 1)
- self.tabWidget.addTab(self.Plane_Tab11, icon51, _fromUtf8(""))
- self.Objects_Tab2 = QtGui.QWidget()
- self.Objects_Tab2.setEnabled(True)
- self.Objects_Tab2.setMinimumSize(QtCore.QSize(0, 0))
- self.Objects_Tab2.setObjectName(_fromUtf8("Objects_Tab2"))
- self.gridLayout_54 = QtGui.QGridLayout(self.Objects_Tab2)
- self.gridLayout_54.setObjectName(_fromUtf8("gridLayout_54"))
- self.horizontalLayout_35 = QtGui.QHBoxLayout()
- self.horizontalLayout_35.setObjectName(_fromUtf8("horizontalLayout_35"))
- self.verticalLayout_2 = QtGui.QVBoxLayout()
- self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
- self.button_boundingboxes = QtGui.QPushButton(self.Objects_Tab2)
+ self.horizontalLayout_71.addWidget(self.extension_plane)
+ self.gridLayout_91.addLayout(self.horizontalLayout_71, 0, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Plane_Tab1_4, icon56, _fromUtf8(""))
+ self.Objects_Tab2_2 = QtGui.QWidget()
+ self.Objects_Tab2_2.setEnabled(True)
+ self.Objects_Tab2_2.setMinimumSize(QtCore.QSize(0, 0))
+ self.Objects_Tab2_2.setObjectName(_fromUtf8("Objects_Tab2_2"))
+ self.gridLayout_5 = QtGui.QGridLayout(self.Objects_Tab2_2)
+ self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
+ self.horizontalLayout_72 = QtGui.QHBoxLayout()
+ self.horizontalLayout_72.setObjectName(_fromUtf8("horizontalLayout_72"))
+ self.verticalLayout_4 = QtGui.QVBoxLayout()
+ self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
+ self.button_boundingboxes = QtGui.QPushButton(self.Objects_Tab2_2)
self.button_boundingboxes.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon54 = QtGui.QIcon()
- icon54.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBoxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_boundingboxes.setIcon(icon54)
+ icon59 = QtGui.QIcon()
+ icon59.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBoxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_boundingboxes.setIcon(icon59)
self.button_boundingboxes.setIconSize(QtCore.QSize(32, 32))
self.button_boundingboxes.setObjectName(_fromUtf8("button_boundingboxes"))
- self.verticalLayout_2.addWidget(self.button_boundingboxes)
- self.button_boundingbox = QtGui.QPushButton(self.Objects_Tab2)
+ self.verticalLayout_4.addWidget(self.button_boundingboxes)
+ self.button_boundingbox = QtGui.QPushButton(self.Objects_Tab2_2)
self.button_boundingbox.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon55 = QtGui.QIcon()
- icon55.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBox.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_boundingbox.setIcon(icon55)
+ icon60 = QtGui.QIcon()
+ icon60.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_boundingBox.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_boundingbox.setIcon(icon60)
self.button_boundingbox.setIconSize(QtCore.QSize(32, 32))
self.button_boundingbox.setObjectName(_fromUtf8("button_boundingbox"))
- self.verticalLayout_2.addWidget(self.button_boundingbox)
- self.horizontalLayout_35.addLayout(self.verticalLayout_2)
- self.checkBox_volumBB = QtGui.QCheckBox(self.Objects_Tab2)
+ self.verticalLayout_4.addWidget(self.button_boundingbox)
+ self.horizontalLayout_72.addLayout(self.verticalLayout_4)
+ self.checkBox_volumBB = QtGui.QCheckBox(self.Objects_Tab2_2)
self.checkBox_volumBB.setMaximumSize(QtCore.QSize(60, 16777215))
self.checkBox_volumBB.setObjectName(_fromUtf8("checkBox_volumBB"))
- self.horizontalLayout_35.addWidget(self.checkBox_volumBB)
- self.gridLayout_54.addLayout(self.horizontalLayout_35, 0, 0, 1, 1)
- self.line = QtGui.QFrame(self.Objects_Tab2)
- self.line.setFrameShadow(QtGui.QFrame.Plain)
- self.line.setLineWidth(4)
- self.line.setMidLineWidth(0)
- self.line.setFrameShape(QtGui.QFrame.HLine)
- self.line.setFrameShadow(QtGui.QFrame.Sunken)
- self.line.setObjectName(_fromUtf8("line"))
- self.gridLayout_54.addWidget(self.line, 1, 0, 1, 1)
- self.gridLayout_6 = QtGui.QGridLayout()
- self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
- self.button_cylinder_create = QtGui.QPushButton(self.Objects_Tab2)
- icon56 = QtGui.QIcon()
- icon56.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinder.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cylinder_create.setIcon(icon56)
+ self.horizontalLayout_72.addWidget(self.checkBox_volumBB)
+ self.gridLayout_5.addLayout(self.horizontalLayout_72, 0, 0, 1, 1)
+ self.line_2 = QtGui.QFrame(self.Objects_Tab2_2)
+ self.line_2.setFrameShadow(QtGui.QFrame.Plain)
+ self.line_2.setLineWidth(4)
+ self.line_2.setMidLineWidth(0)
+ self.line_2.setFrameShape(QtGui.QFrame.HLine)
+ self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
+ self.line_2.setObjectName(_fromUtf8("line_2"))
+ self.gridLayout_5.addWidget(self.line_2, 1, 0, 1, 1)
+ self.gridLayout_93 = QtGui.QGridLayout()
+ self.gridLayout_93.setObjectName(_fromUtf8("gridLayout_93"))
+ self.button_cylinder_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon61 = QtGui.QIcon()
+ icon61.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cylinder.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cylinder_create.setIcon(icon61)
self.button_cylinder_create.setIconSize(QtCore.QSize(32, 32))
self.button_cylinder_create.setObjectName(_fromUtf8("button_cylinder_create"))
- self.gridLayout_6.addWidget(self.button_cylinder_create, 0, 0, 1, 1)
- self.diameter_cylinder = QtGui.QLineEdit(self.Objects_Tab2)
+ self.gridLayout_93.addWidget(self.button_cylinder_create, 0, 0, 1, 1)
+ self.diameter_cylinder = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -937,8 +1483,8 @@ class Ui_Form(object):
self.diameter_cylinder.setMinimumSize(QtCore.QSize(50, 0))
self.diameter_cylinder.setMaximumSize(QtCore.QSize(60, 16777215))
self.diameter_cylinder.setObjectName(_fromUtf8("diameter_cylinder"))
- self.gridLayout_6.addWidget(self.diameter_cylinder, 0, 1, 1, 1)
- self.length_cylinder = QtGui.QLineEdit(self.Objects_Tab2)
+ self.gridLayout_93.addWidget(self.diameter_cylinder, 0, 1, 1, 1)
+ self.length_cylinder = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -947,18 +1493,18 @@ class Ui_Form(object):
self.length_cylinder.setMinimumSize(QtCore.QSize(50, 0))
self.length_cylinder.setMaximumSize(QtCore.QSize(60, 16777215))
self.length_cylinder.setObjectName(_fromUtf8("length_cylinder"))
- self.gridLayout_6.addWidget(self.length_cylinder, 0, 2, 1, 1)
- self.gridLayout_54.addLayout(self.gridLayout_6, 2, 0, 1, 1)
- self.horizontalLayout_4 = QtGui.QHBoxLayout()
- self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
- self.button_cube_create = QtGui.QPushButton(self.Objects_Tab2)
- icon57 = QtGui.QIcon()
- icon57.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cube.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_cube_create.setIcon(icon57)
+ self.gridLayout_93.addWidget(self.length_cylinder, 0, 2, 1, 1)
+ self.gridLayout_5.addLayout(self.gridLayout_93, 2, 0, 1, 1)
+ self.horizontalLayout_73 = QtGui.QHBoxLayout()
+ self.horizontalLayout_73.setObjectName(_fromUtf8("horizontalLayout_73"))
+ self.button_cube_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon62 = QtGui.QIcon()
+ icon62.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_cube.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_cube_create.setIcon(icon62)
self.button_cube_create.setIconSize(QtCore.QSize(32, 32))
self.button_cube_create.setObjectName(_fromUtf8("button_cube_create"))
- self.horizontalLayout_4.addWidget(self.button_cube_create)
- self.section_cube = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_73.addWidget(self.button_cube_create)
+ self.section_cube = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -967,8 +1513,8 @@ class Ui_Form(object):
self.section_cube.setMinimumSize(QtCore.QSize(50, 0))
self.section_cube.setMaximumSize(QtCore.QSize(60, 16777215))
self.section_cube.setObjectName(_fromUtf8("section_cube"))
- self.horizontalLayout_4.addWidget(self.section_cube)
- self.height_cube = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_73.addWidget(self.section_cube)
+ self.height_cube = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -977,18 +1523,18 @@ class Ui_Form(object):
self.height_cube.setMinimumSize(QtCore.QSize(50, 0))
self.height_cube.setMaximumSize(QtCore.QSize(60, 16777215))
self.height_cube.setObjectName(_fromUtf8("height_cube"))
- self.horizontalLayout_4.addWidget(self.height_cube)
- self.gridLayout_54.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
- self.horizontalLayout_19 = QtGui.QHBoxLayout()
- self.horizontalLayout_19.setObjectName(_fromUtf8("horizontalLayout_19"))
- self.button_sphere_create = QtGui.QPushButton(self.Objects_Tab2)
- icon58 = QtGui.QIcon()
- icon58.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_sphere.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_sphere_create.setIcon(icon58)
+ self.horizontalLayout_73.addWidget(self.height_cube)
+ self.gridLayout_5.addLayout(self.horizontalLayout_73, 3, 0, 1, 1)
+ self.horizontalLayout_74 = QtGui.QHBoxLayout()
+ self.horizontalLayout_74.setObjectName(_fromUtf8("horizontalLayout_74"))
+ self.button_sphere_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon63 = QtGui.QIcon()
+ icon63.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_sphere.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_sphere_create.setIcon(icon63)
self.button_sphere_create.setIconSize(QtCore.QSize(32, 32))
self.button_sphere_create.setObjectName(_fromUtf8("button_sphere_create"))
- self.horizontalLayout_19.addWidget(self.button_sphere_create)
- self.diameter_sphere = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_74.addWidget(self.button_sphere_create)
+ self.diameter_sphere = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -997,18 +1543,18 @@ class Ui_Form(object):
self.diameter_sphere.setMinimumSize(QtCore.QSize(50, 0))
self.diameter_sphere.setMaximumSize(QtCore.QSize(60, 16777215))
self.diameter_sphere.setObjectName(_fromUtf8("diameter_sphere"))
- self.horizontalLayout_19.addWidget(self.diameter_sphere)
- self.gridLayout_54.addLayout(self.horizontalLayout_19, 4, 0, 1, 1)
- self.horizontalLayout_20 = QtGui.QHBoxLayout()
- self.horizontalLayout_20.setObjectName(_fromUtf8("horizontalLayout_20"))
- self.button_dome_create = QtGui.QPushButton(self.Objects_Tab2)
- icon59 = QtGui.QIcon()
- icon59.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_dome.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_dome_create.setIcon(icon59)
+ self.horizontalLayout_74.addWidget(self.diameter_sphere)
+ self.gridLayout_5.addLayout(self.horizontalLayout_74, 4, 0, 1, 1)
+ self.horizontalLayout_77 = QtGui.QHBoxLayout()
+ self.horizontalLayout_77.setObjectName(_fromUtf8("horizontalLayout_77"))
+ self.button_dome_create = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon64 = QtGui.QIcon()
+ icon64.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_dome.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_dome_create.setIcon(icon64)
self.button_dome_create.setIconSize(QtCore.QSize(32, 32))
self.button_dome_create.setObjectName(_fromUtf8("button_dome_create"))
- self.horizontalLayout_20.addWidget(self.button_dome_create)
- self.spin_frequency_dome = QtGui.QSpinBox(self.Objects_Tab2)
+ self.horizontalLayout_77.addWidget(self.button_dome_create)
+ self.spin_frequency_dome = QtGui.QSpinBox(self.Objects_Tab2_2)
self.spin_frequency_dome.setMinimumSize(QtCore.QSize(40, 0))
self.spin_frequency_dome.setMaximumSize(QtCore.QSize(50, 16777215))
self.spin_frequency_dome.setMinimum(1)
@@ -1016,8 +1562,8 @@ class Ui_Form(object):
self.spin_frequency_dome.setSingleStep(1)
self.spin_frequency_dome.setProperty("value", 2)
self.spin_frequency_dome.setObjectName(_fromUtf8("spin_frequency_dome"))
- self.horizontalLayout_20.addWidget(self.spin_frequency_dome)
- self.diameter_dome = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_77.addWidget(self.spin_frequency_dome)
+ self.diameter_dome = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1026,22 +1572,22 @@ class Ui_Form(object):
self.diameter_dome.setMinimumSize(QtCore.QSize(50, 0))
self.diameter_dome.setMaximumSize(QtCore.QSize(60, 16777215))
self.diameter_dome.setObjectName(_fromUtf8("diameter_dome"))
- self.horizontalLayout_20.addWidget(self.diameter_dome)
- self.gridLayout_54.addLayout(self.horizontalLayout_20, 5, 0, 1, 1)
- self.horizontalLayout_23 = QtGui.QHBoxLayout()
- self.horizontalLayout_23.setObjectName(_fromUtf8("horizontalLayout_23"))
- self.button_letter = QtGui.QPushButton(self.Objects_Tab2)
- icon60 = QtGui.QIcon()
- icon60.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointText.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_letter.setIcon(icon60)
+ self.horizontalLayout_77.addWidget(self.diameter_dome)
+ self.gridLayout_5.addLayout(self.horizontalLayout_77, 5, 0, 1, 1)
+ self.horizontalLayout_75 = QtGui.QHBoxLayout()
+ self.horizontalLayout_75.setObjectName(_fromUtf8("horizontalLayout_75"))
+ self.button_letter = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon65 = QtGui.QIcon()
+ icon65.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_pointText.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_letter.setIcon(icon65)
self.button_letter.setIconSize(QtCore.QSize(32, 32))
self.button_letter.setObjectName(_fromUtf8("button_letter"))
- self.horizontalLayout_23.addWidget(self.button_letter)
- self.letter = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_75.addWidget(self.button_letter)
+ self.letter = QtGui.QLineEdit(self.Objects_Tab2_2)
self.letter.setMaximumSize(QtCore.QSize(70, 16777215))
self.letter.setObjectName(_fromUtf8("letter"))
- self.horizontalLayout_23.addWidget(self.letter)
- self.size_letter = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_75.addWidget(self.letter)
+ self.size_letter = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1050,18 +1596,18 @@ class Ui_Form(object):
self.size_letter.setMinimumSize(QtCore.QSize(50, 0))
self.size_letter.setMaximumSize(QtCore.QSize(50, 16777215))
self.size_letter.setObjectName(_fromUtf8("size_letter"))
- self.horizontalLayout_23.addWidget(self.size_letter)
- self.gridLayout_54.addLayout(self.horizontalLayout_23, 6, 0, 1, 1)
- self.horizontalLayout_34 = QtGui.QHBoxLayout()
- self.horizontalLayout_34.setObjectName(_fromUtf8("horizontalLayout_34"))
- self.button_revolve = QtGui.QPushButton(self.Objects_Tab2)
- icon61 = QtGui.QIcon()
- icon61.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Revolve.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_revolve.setIcon(icon61)
+ self.horizontalLayout_75.addWidget(self.size_letter)
+ self.gridLayout_5.addLayout(self.horizontalLayout_75, 6, 0, 1, 1)
+ self.horizontalLayout_76 = QtGui.QHBoxLayout()
+ self.horizontalLayout_76.setObjectName(_fromUtf8("horizontalLayout_76"))
+ self.button_revolve = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon66 = QtGui.QIcon()
+ icon66.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Revolve.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_revolve.setIcon(icon66)
self.button_revolve.setIconSize(QtCore.QSize(32, 32))
self.button_revolve.setObjectName(_fromUtf8("button_revolve"))
- self.horizontalLayout_34.addWidget(self.button_revolve)
- self.angle_revolve = QtGui.QLineEdit(self.Objects_Tab2)
+ self.horizontalLayout_76.addWidget(self.button_revolve)
+ self.angle_revolve = QtGui.QLineEdit(self.Objects_Tab2_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1070,86 +1616,61 @@ class Ui_Form(object):
self.angle_revolve.setMinimumSize(QtCore.QSize(40, 0))
self.angle_revolve.setMaximumSize(QtCore.QSize(40, 16777215))
self.angle_revolve.setObjectName(_fromUtf8("angle_revolve"))
- self.horizontalLayout_34.addWidget(self.angle_revolve)
- self.gridLayout_54.addLayout(self.horizontalLayout_34, 7, 0, 1, 1)
- self.frame_5 = QtGui.QFrame(self.Objects_Tab2)
- self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame_5.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_5.setLineWidth(3)
- self.frame_5.setObjectName(_fromUtf8("frame_5"))
- self.gridLayout_53 = QtGui.QGridLayout(self.frame_5)
- self.gridLayout_53.setObjectName(_fromUtf8("gridLayout_53"))
- self.gridLayout_12 = QtGui.QGridLayout()
- self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
- self.checkBox_allsubselect = QtGui.QCheckBox(self.frame_5)
- self.checkBox_allsubselect.setChecked(True)
- self.checkBox_allsubselect.setObjectName(_fromUtf8("checkBox_allsubselect"))
- self.gridLayout_12.addWidget(self.checkBox_allsubselect, 2, 0, 1, 1)
- self.transition_comboBox = QtGui.QComboBox(self.frame_5)
- self.transition_comboBox.setObjectName(_fromUtf8("transition_comboBox"))
- self.transition_comboBox.addItem(_fromUtf8(""))
- self.transition_comboBox.addItem(_fromUtf8(""))
- self.transition_comboBox.addItem(_fromUtf8(""))
- self.gridLayout_12.addWidget(self.transition_comboBox, 2, 1, 1, 1)
- self.checkBox_solid = QtGui.QCheckBox(self.frame_5)
- self.checkBox_solid.setMinimumSize(QtCore.QSize(9, 0))
- self.checkBox_solid.setMaximumSize(QtCore.QSize(60, 16777215))
- self.checkBox_solid.setChecked(True)
- self.checkBox_solid.setObjectName(_fromUtf8("checkBox_solid"))
- self.gridLayout_12.addWidget(self.checkBox_solid, 1, 0, 1, 1)
- self.radioButton_Frenet = QtGui.QRadioButton(self.frame_5)
- self.radioButton_Frenet.setChecked(True)
- self.radioButton_Frenet.setAutoExclusive(False)
- self.radioButton_Frenet.setObjectName(_fromUtf8("radioButton_Frenet"))
- self.gridLayout_12.addWidget(self.radioButton_Frenet, 1, 1, 1, 1)
- self.gridLayout_53.addLayout(self.gridLayout_12, 0, 0, 1, 1)
- self.button_sweep = QtGui.QPushButton(self.frame_5)
- icon62 = QtGui.QIcon()
- icon62.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Beam.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_sweep.setIcon(icon62)
- self.button_sweep.setIconSize(QtCore.QSize(32, 32))
- self.button_sweep.setObjectName(_fromUtf8("button_sweep"))
- self.gridLayout_53.addWidget(self.button_sweep, 1, 0, 1, 1)
- self.gridLayout_54.addWidget(self.frame_5, 8, 0, 1, 1)
- spacerItem9 = QtGui.QSpacerItem(17, 8, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_54.addItem(spacerItem9, 9, 0, 1, 1)
- icon63 = QtGui.QIcon()
- icon63.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_box.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.Objects_Tab2, icon63, _fromUtf8(""))
- self.Modif_Tab = QtGui.QWidget()
- self.Modif_Tab.setObjectName(_fromUtf8("Modif_Tab"))
- self.gridLayout_11 = QtGui.QGridLayout(self.Modif_Tab)
- self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
- self.tabWidget_2 = QtGui.QTabWidget(self.Modif_Tab)
- self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2"))
- self.align_tab = QtGui.QWidget()
- self.align_tab.setObjectName(_fromUtf8("align_tab"))
- self.gridLayout_51 = QtGui.QGridLayout(self.align_tab)
- self.gridLayout_51.setObjectName(_fromUtf8("gridLayout_51"))
- self.button_alignface2view = QtGui.QPushButton(self.align_tab)
+ self.horizontalLayout_76.addWidget(self.angle_revolve)
+ self.gridLayout_5.addLayout(self.horizontalLayout_76, 7, 0, 1, 1)
+ self.button_common = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon67 = QtGui.QIcon()
+ icon67.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Common.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_common.setIcon(icon67)
+ self.button_common.setIconSize(QtCore.QSize(32, 32))
+ self.button_common.setObjectName(_fromUtf8("button_common"))
+ self.gridLayout_5.addWidget(self.button_common, 8, 0, 1, 1)
+ self.button_difference = QtGui.QPushButton(self.Objects_Tab2_2)
+ icon68 = QtGui.QIcon()
+ icon68.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_Difference.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_difference.setIcon(icon68)
+ self.button_difference.setIconSize(QtCore.QSize(32, 32))
+ self.button_difference.setObjectName(_fromUtf8("button_difference"))
+ self.gridLayout_5.addWidget(self.button_difference, 9, 0, 1, 1)
+ spacerItem14 = QtGui.QSpacerItem(17, 8, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_5.addItem(spacerItem14, 10, 0, 1, 1)
+ icon69 = QtGui.QIcon()
+ icon69.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_box.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.Objects_Tab2_2, icon69, _fromUtf8(""))
+ self.Modif_Tab_2 = QtGui.QWidget()
+ self.Modif_Tab_2.setObjectName(_fromUtf8("Modif_Tab_2"))
+ self.gridLayout_94 = QtGui.QGridLayout(self.Modif_Tab_2)
+ self.gridLayout_94.setObjectName(_fromUtf8("gridLayout_94"))
+ self.tabWidget_9 = QtGui.QTabWidget(self.Modif_Tab_2)
+ self.tabWidget_9.setObjectName(_fromUtf8("tabWidget_9"))
+ self.align_tab_2 = QtGui.QWidget()
+ self.align_tab_2.setObjectName(_fromUtf8("align_tab_2"))
+ self.gridLayout_95 = QtGui.QGridLayout(self.align_tab_2)
+ self.gridLayout_95.setObjectName(_fromUtf8("gridLayout_95"))
+ self.button_alignface2view = QtGui.QPushButton(self.align_tab_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_alignface2view.sizePolicy().hasHeightForWidth())
self.button_alignface2view.setSizePolicy(sizePolicy)
self.button_alignface2view.setMaximumSize(QtCore.QSize(220, 16777215))
- icon64 = QtGui.QIcon()
- icon64.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlignFace.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_alignface2view.setIcon(icon64)
+ icon70 = QtGui.QIcon()
+ icon70.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlignFace.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_alignface2view.setIcon(icon70)
self.button_alignface2view.setIconSize(QtCore.QSize(32, 32))
self.button_alignface2view.setObjectName(_fromUtf8("button_alignface2view"))
- self.gridLayout_51.addWidget(self.button_alignface2view, 0, 0, 1, 1)
- self.horizontalLayout_32 = QtGui.QHBoxLayout()
- self.horizontalLayout_32.setObjectName(_fromUtf8("horizontalLayout_32"))
- self.button_align_faces = QtGui.QPushButton(self.align_tab)
+ self.gridLayout_95.addWidget(self.button_alignface2view, 0, 0, 1, 1)
+ self.horizontalLayout_78 = QtGui.QHBoxLayout()
+ self.horizontalLayout_78.setObjectName(_fromUtf8("horizontalLayout_78"))
+ self.button_align_faces = QtGui.QPushButton(self.align_tab_2)
self.button_align_faces.setMaximumSize(QtCore.QSize(220, 16777215))
- icon65 = QtGui.QIcon()
- icon65.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_align_faces.setIcon(icon65)
+ icon71 = QtGui.QIcon()
+ icon71.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_align_faces.setIcon(icon71)
self.button_align_faces.setIconSize(QtCore.QSize(32, 32))
self.button_align_faces.setObjectName(_fromUtf8("button_align_faces"))
- self.horizontalLayout_32.addWidget(self.button_align_faces)
- self.angle_align_faces = QtGui.QLineEdit(self.align_tab)
+ self.horizontalLayout_78.addWidget(self.button_align_faces)
+ self.angle_align_faces = QtGui.QLineEdit(self.align_tab_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1158,19 +1679,19 @@ class Ui_Form(object):
self.angle_align_faces.setMinimumSize(QtCore.QSize(40, 0))
self.angle_align_faces.setMaximumSize(QtCore.QSize(50, 16777215))
self.angle_align_faces.setObjectName(_fromUtf8("angle_align_faces"))
- self.horizontalLayout_32.addWidget(self.angle_align_faces)
- self.gridLayout_51.addLayout(self.horizontalLayout_32, 1, 0, 1, 1)
- self.horizontalLayout_33 = QtGui.QHBoxLayout()
- self.horizontalLayout_33.setObjectName(_fromUtf8("horizontalLayout_33"))
- self.button_align_edges = QtGui.QPushButton(self.align_tab)
+ self.horizontalLayout_78.addWidget(self.angle_align_faces)
+ self.gridLayout_95.addLayout(self.horizontalLayout_78, 1, 0, 1, 1)
+ self.horizontalLayout_79 = QtGui.QHBoxLayout()
+ self.horizontalLayout_79.setObjectName(_fromUtf8("horizontalLayout_79"))
+ self.button_align_edges = QtGui.QPushButton(self.align_tab_2)
self.button_align_edges.setMaximumSize(QtCore.QSize(220, 16777215))
- icon66 = QtGui.QIcon()
- icon66.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_align_edges.setIcon(icon66)
+ icon72 = QtGui.QIcon()
+ icon72.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectAlignAxes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_align_edges.setIcon(icon72)
self.button_align_edges.setIconSize(QtCore.QSize(32, 32))
self.button_align_edges.setObjectName(_fromUtf8("button_align_edges"))
- self.horizontalLayout_33.addWidget(self.button_align_edges)
- self.angle_align_edges = QtGui.QLineEdit(self.align_tab)
+ self.horizontalLayout_79.addWidget(self.button_align_edges)
+ self.angle_align_edges = QtGui.QLineEdit(self.align_tab_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1179,49 +1700,49 @@ class Ui_Form(object):
self.angle_align_edges.setMinimumSize(QtCore.QSize(40, 0))
self.angle_align_edges.setMaximumSize(QtCore.QSize(50, 16777215))
self.angle_align_edges.setObjectName(_fromUtf8("angle_align_edges"))
- self.horizontalLayout_33.addWidget(self.angle_align_edges)
- self.gridLayout_51.addLayout(self.horizontalLayout_33, 2, 0, 1, 1)
- spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_51.addItem(spacerItem10, 5, 0, 1, 1)
- self.button_joint_points = QtGui.QPushButton(self.align_tab)
- icon67 = QtGui.QIcon()
- icon67.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointPoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_joint_points.setIcon(icon67)
+ self.horizontalLayout_79.addWidget(self.angle_align_edges)
+ self.gridLayout_95.addLayout(self.horizontalLayout_79, 2, 0, 1, 1)
+ spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_95.addItem(spacerItem15, 5, 0, 1, 1)
+ self.button_joint_points = QtGui.QPushButton(self.align_tab_2)
+ icon73 = QtGui.QIcon()
+ icon73.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointPoints.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_joint_points.setIcon(icon73)
self.button_joint_points.setIconSize(QtCore.QSize(32, 32))
self.button_joint_points.setObjectName(_fromUtf8("button_joint_points"))
- self.gridLayout_51.addWidget(self.button_joint_points, 3, 0, 1, 1)
- self.button_joint_faces = QtGui.QPushButton(self.align_tab)
- icon68 = QtGui.QIcon()
- icon68.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_joint_faces.setIcon(icon68)
+ self.gridLayout_95.addWidget(self.button_joint_points, 3, 0, 1, 1)
+ self.button_joint_faces = QtGui.QPushButton(self.align_tab_2)
+ icon74 = QtGui.QIcon()
+ icon74.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_objectJointFaces.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_joint_faces.setIcon(icon74)
self.button_joint_faces.setIconSize(QtCore.QSize(32, 32))
self.button_joint_faces.setObjectName(_fromUtf8("button_joint_faces"))
- self.gridLayout_51.addWidget(self.button_joint_faces, 4, 0, 1, 1)
- self.tabWidget_2.addTab(self.align_tab, _fromUtf8(""))
- self.cut_tab = QtGui.QWidget()
- self.cut_tab.setObjectName(_fromUtf8("cut_tab"))
- self.gridLayout_38 = QtGui.QGridLayout(self.cut_tab)
- self.gridLayout_38.setObjectName(_fromUtf8("gridLayout_38"))
- self.frame_7 = QtGui.QFrame(self.cut_tab)
- self.frame_7.setMinimumSize(QtCore.QSize(0, 0))
- self.frame_7.setMaximumSize(QtCore.QSize(220, 16777215))
- self.frame_7.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame_7.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_7.setObjectName(_fromUtf8("frame_7"))
- self.gridLayout_36 = QtGui.QGridLayout(self.frame_7)
- self.gridLayout_36.setObjectName(_fromUtf8("gridLayout_36"))
- self.groupBox_6 = QtGui.QGroupBox(self.frame_7)
- self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
- self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_6)
- self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
- self.gridLayout_18 = QtGui.QGridLayout()
- self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18"))
- self.button_cut_select_object = QtGui.QPushButton(self.groupBox_6)
+ self.gridLayout_95.addWidget(self.button_joint_faces, 4, 0, 1, 1)
+ self.tabWidget_9.addTab(self.align_tab_2, _fromUtf8(""))
+ self.cut_tab_2 = QtGui.QWidget()
+ self.cut_tab_2.setObjectName(_fromUtf8("cut_tab_2"))
+ self.gridLayout_96 = QtGui.QGridLayout(self.cut_tab_2)
+ self.gridLayout_96.setObjectName(_fromUtf8("gridLayout_96"))
+ self.frame_10 = QtGui.QFrame(self.cut_tab_2)
+ self.frame_10.setMinimumSize(QtCore.QSize(0, 0))
+ self.frame_10.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_10.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_10.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_10.setObjectName(_fromUtf8("frame_10"))
+ self.gridLayout_97 = QtGui.QGridLayout(self.frame_10)
+ self.gridLayout_97.setObjectName(_fromUtf8("gridLayout_97"))
+ self.groupBox_20 = QtGui.QGroupBox(self.frame_10)
+ self.groupBox_20.setObjectName(_fromUtf8("groupBox_20"))
+ self.gridLayout_98 = QtGui.QGridLayout(self.groupBox_20)
+ self.gridLayout_98.setObjectName(_fromUtf8("gridLayout_98"))
+ self.gridLayout_99 = QtGui.QGridLayout()
+ self.gridLayout_99.setObjectName(_fromUtf8("gridLayout_99"))
+ self.button_cut_select_object = QtGui.QPushButton(self.groupBox_20)
self.button_cut_select_object.setMinimumSize(QtCore.QSize(130, 31))
self.button_cut_select_object.setMaximumSize(QtCore.QSize(250, 40))
self.button_cut_select_object.setObjectName(_fromUtf8("button_cut_select_object"))
- self.gridLayout_18.addWidget(self.button_cut_select_object, 0, 0, 1, 1)
- self.info_cut_select_object = QtGui.QLineEdit(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.button_cut_select_object, 0, 0, 1, 1)
+ self.info_cut_select_object = QtGui.QLineEdit(self.groupBox_20)
self.info_cut_select_object.setEnabled(False)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
@@ -1230,14 +1751,14 @@ class Ui_Form(object):
self.info_cut_select_object.setSizePolicy(sizePolicy)
self.info_cut_select_object.setReadOnly(True)
self.info_cut_select_object.setObjectName(_fromUtf8("info_cut_select_object"))
- self.gridLayout_18.addWidget(self.info_cut_select_object, 1, 0, 1, 1)
- self.button_cut_select_line = QtGui.QPushButton(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.info_cut_select_object, 1, 0, 1, 1)
+ self.button_cut_select_line = QtGui.QPushButton(self.groupBox_20)
self.button_cut_select_line.setEnabled(False)
self.button_cut_select_line.setMinimumSize(QtCore.QSize(130, 31))
self.button_cut_select_line.setMaximumSize(QtCore.QSize(250, 40))
self.button_cut_select_line.setObjectName(_fromUtf8("button_cut_select_line"))
- self.gridLayout_18.addWidget(self.button_cut_select_line, 2, 0, 1, 1)
- self.info_cut_select_axis = QtGui.QLineEdit(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.button_cut_select_line, 2, 0, 1, 1)
+ self.info_cut_select_axis = QtGui.QLineEdit(self.groupBox_20)
self.info_cut_select_axis.setEnabled(False)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
@@ -1246,14 +1767,14 @@ class Ui_Form(object):
self.info_cut_select_axis.setSizePolicy(sizePolicy)
self.info_cut_select_axis.setReadOnly(True)
self.info_cut_select_axis.setObjectName(_fromUtf8("info_cut_select_axis"))
- self.gridLayout_18.addWidget(self.info_cut_select_axis, 3, 0, 1, 1)
- self.button_cut_select_plane = QtGui.QPushButton(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.info_cut_select_axis, 3, 0, 1, 1)
+ self.button_cut_select_plane = QtGui.QPushButton(self.groupBox_20)
self.button_cut_select_plane.setEnabled(False)
self.button_cut_select_plane.setMinimumSize(QtCore.QSize(130, 31))
self.button_cut_select_plane.setMaximumSize(QtCore.QSize(250, 40))
self.button_cut_select_plane.setObjectName(_fromUtf8("button_cut_select_plane"))
- self.gridLayout_18.addWidget(self.button_cut_select_plane, 4, 0, 1, 1)
- self.info_cut_select_plane = QtGui.QLineEdit(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.button_cut_select_plane, 4, 0, 1, 1)
+ self.info_cut_select_plane = QtGui.QLineEdit(self.groupBox_20)
self.info_cut_select_plane.setEnabled(False)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
@@ -1262,17 +1783,17 @@ class Ui_Form(object):
self.info_cut_select_plane.setSizePolicy(sizePolicy)
self.info_cut_select_plane.setReadOnly(True)
self.info_cut_select_plane.setObjectName(_fromUtf8("info_cut_select_plane"))
- self.gridLayout_18.addWidget(self.info_cut_select_plane, 5, 0, 1, 1)
- self.gridLayout_2.addLayout(self.gridLayout_18, 0, 0, 1, 1)
- self.gridLayout_17 = QtGui.QGridLayout()
- self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17"))
- self.gridLayout_19 = QtGui.QGridLayout()
- self.gridLayout_19.setObjectName(_fromUtf8("gridLayout_19"))
- self.label_angle = QtGui.QLabel(self.groupBox_6)
- self.label_angle.setMaximumSize(QtCore.QSize(70, 16777215))
- self.label_angle.setObjectName(_fromUtf8("label_angle"))
- self.gridLayout_19.addWidget(self.label_angle, 0, 0, 1, 1)
- self.angle_cut_object = QtGui.QLineEdit(self.groupBox_6)
+ self.gridLayout_99.addWidget(self.info_cut_select_plane, 5, 0, 1, 1)
+ self.gridLayout_98.addLayout(self.gridLayout_99, 0, 0, 1, 1)
+ self.gridLayout_100 = QtGui.QGridLayout()
+ self.gridLayout_100.setObjectName(_fromUtf8("gridLayout_100"))
+ self.gridLayout_101 = QtGui.QGridLayout()
+ self.gridLayout_101.setObjectName(_fromUtf8("gridLayout_101"))
+ self.label_angle_3 = QtGui.QLabel(self.groupBox_20)
+ self.label_angle_3.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_angle_3.setObjectName(_fromUtf8("label_angle_3"))
+ self.gridLayout_101.addWidget(self.label_angle_3, 0, 0, 1, 1)
+ self.angle_cut_object = QtGui.QLineEdit(self.groupBox_20)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1281,15 +1802,15 @@ class Ui_Form(object):
self.angle_cut_object.setMinimumSize(QtCore.QSize(0, 0))
self.angle_cut_object.setMaximumSize(QtCore.QSize(50, 16777215))
self.angle_cut_object.setObjectName(_fromUtf8("angle_cut_object"))
- self.gridLayout_19.addWidget(self.angle_cut_object, 0, 1, 1, 1)
- self.gridLayout_17.addLayout(self.gridLayout_19, 0, 0, 1, 1)
- self.gridLayout_20 = QtGui.QGridLayout()
- self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
- self.label_thickness = QtGui.QLabel(self.groupBox_6)
- self.label_thickness.setMaximumSize(QtCore.QSize(70, 16777215))
- self.label_thickness.setObjectName(_fromUtf8("label_thickness"))
- self.gridLayout_20.addWidget(self.label_thickness, 0, 0, 1, 1)
- self.thickness_cut_object = QtGui.QLineEdit(self.groupBox_6)
+ self.gridLayout_101.addWidget(self.angle_cut_object, 0, 1, 1, 1)
+ self.gridLayout_100.addLayout(self.gridLayout_101, 0, 0, 1, 1)
+ self.gridLayout_102 = QtGui.QGridLayout()
+ self.gridLayout_102.setObjectName(_fromUtf8("gridLayout_102"))
+ self.label_thickness_2 = QtGui.QLabel(self.groupBox_20)
+ self.label_thickness_2.setMaximumSize(QtCore.QSize(70, 16777215))
+ self.label_thickness_2.setObjectName(_fromUtf8("label_thickness_2"))
+ self.gridLayout_102.addWidget(self.label_thickness_2, 0, 0, 1, 1)
+ self.thickness_cut_object = QtGui.QLineEdit(self.groupBox_20)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1297,52 +1818,52 @@ class Ui_Form(object):
self.thickness_cut_object.setSizePolicy(sizePolicy)
self.thickness_cut_object.setMaximumSize(QtCore.QSize(50, 16777215))
self.thickness_cut_object.setObjectName(_fromUtf8("thickness_cut_object"))
- self.gridLayout_20.addWidget(self.thickness_cut_object, 0, 1, 1, 1)
- self.gridLayout_17.addLayout(self.gridLayout_20, 1, 0, 1, 1)
- self.horizontalLayout_8 = QtGui.QHBoxLayout()
- self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
- self.button_cut_reset = QtGui.QPushButton(self.groupBox_6)
+ self.gridLayout_102.addWidget(self.thickness_cut_object, 0, 1, 1, 1)
+ self.gridLayout_100.addLayout(self.gridLayout_102, 1, 0, 1, 1)
+ self.horizontalLayout_80 = QtGui.QHBoxLayout()
+ self.horizontalLayout_80.setObjectName(_fromUtf8("horizontalLayout_80"))
+ self.button_cut_reset = QtGui.QPushButton(self.groupBox_20)
self.button_cut_reset.setMinimumSize(QtCore.QSize(40, 0))
self.button_cut_reset.setMaximumSize(QtCore.QSize(60, 16777215))
self.button_cut_reset.setObjectName(_fromUtf8("button_cut_reset"))
- self.horizontalLayout_8.addWidget(self.button_cut_reset)
- spacerItem11 = QtGui.QSpacerItem(18, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
- self.horizontalLayout_8.addItem(spacerItem11)
- self.button_cut_apply = QtGui.QPushButton(self.groupBox_6)
+ self.horizontalLayout_80.addWidget(self.button_cut_reset)
+ spacerItem16 = QtGui.QSpacerItem(18, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_80.addItem(spacerItem16)
+ self.button_cut_apply = QtGui.QPushButton(self.groupBox_20)
self.button_cut_apply.setEnabled(False)
self.button_cut_apply.setMaximumSize(QtCore.QSize(50, 16777215))
self.button_cut_apply.setIconSize(QtCore.QSize(32, 32))
self.button_cut_apply.setObjectName(_fromUtf8("button_cut_apply"))
- self.horizontalLayout_8.addWidget(self.button_cut_apply)
- self.gridLayout_17.addLayout(self.horizontalLayout_8, 2, 0, 1, 1)
- self.gridLayout_2.addLayout(self.gridLayout_17, 1, 0, 1, 1)
- self.gridLayout_36.addWidget(self.groupBox_6, 0, 0, 1, 1)
- self.gridLayout_38.addWidget(self.frame_7, 0, 0, 1, 1)
- spacerItem12 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_38.addItem(spacerItem12, 1, 0, 1, 1)
- self.tabWidget_2.addTab(self.cut_tab, _fromUtf8(""))
- self.rotate_tab = QtGui.QWidget()
- self.rotate_tab.setObjectName(_fromUtf8("rotate_tab"))
- self.gridLayout_52 = QtGui.QGridLayout(self.rotate_tab)
- self.gridLayout_52.setObjectName(_fromUtf8("gridLayout_52"))
- self.frame = QtGui.QFrame(self.rotate_tab)
- self.frame.setMaximumSize(QtCore.QSize(220, 16777215))
- self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame.setFrameShadow(QtGui.QFrame.Raised)
- self.frame.setObjectName(_fromUtf8("frame"))
- self.gridLayout_50 = QtGui.QGridLayout(self.frame)
- self.gridLayout_50.setObjectName(_fromUtf8("gridLayout_50"))
- self.ObjRot_button_select = QtGui.QPushButton(self.frame)
+ self.horizontalLayout_80.addWidget(self.button_cut_apply)
+ self.gridLayout_100.addLayout(self.horizontalLayout_80, 2, 0, 1, 1)
+ self.gridLayout_98.addLayout(self.gridLayout_100, 1, 0, 1, 1)
+ self.gridLayout_97.addWidget(self.groupBox_20, 0, 0, 1, 1)
+ self.gridLayout_96.addWidget(self.frame_10, 0, 0, 1, 1)
+ spacerItem17 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_96.addItem(spacerItem17, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.cut_tab_2, _fromUtf8(""))
+ self.rotate_tab_2 = QtGui.QWidget()
+ self.rotate_tab_2.setObjectName(_fromUtf8("rotate_tab_2"))
+ self.gridLayout_103 = QtGui.QGridLayout(self.rotate_tab_2)
+ self.gridLayout_103.setObjectName(_fromUtf8("gridLayout_103"))
+ self.frame_11 = QtGui.QFrame(self.rotate_tab_2)
+ self.frame_11.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_11.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_11.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_11.setObjectName(_fromUtf8("frame_11"))
+ self.gridLayout_104 = QtGui.QGridLayout(self.frame_11)
+ self.gridLayout_104.setObjectName(_fromUtf8("gridLayout_104"))
+ self.ObjRot_button_select = QtGui.QPushButton(self.frame_11)
self.ObjRot_button_select.setObjectName(_fromUtf8("ObjRot_button_select"))
- self.gridLayout_50.addWidget(self.ObjRot_button_select, 0, 0, 1, 1)
- self.tabWidget_3 = QtGui.QTabWidget(self.frame)
- self.tabWidget_3.setTabPosition(QtGui.QTabWidget.North)
- self.tabWidget_3.setObjectName(_fromUtf8("tabWidget_3"))
- self.tab_8 = QtGui.QWidget()
- self.tab_8.setObjectName(_fromUtf8("tab_8"))
- self.gridLayout_21 = QtGui.QGridLayout(self.tab_8)
- self.gridLayout_21.setObjectName(_fromUtf8("gridLayout_21"))
- self.ObjRot_comboBox_axis = QtGui.QComboBox(self.tab_8)
+ self.gridLayout_104.addWidget(self.ObjRot_button_select, 0, 0, 1, 1)
+ self.tabWidget_10 = QtGui.QTabWidget(self.frame_11)
+ self.tabWidget_10.setTabPosition(QtGui.QTabWidget.North)
+ self.tabWidget_10.setObjectName(_fromUtf8("tabWidget_10"))
+ self.tab_18 = QtGui.QWidget()
+ self.tab_18.setObjectName(_fromUtf8("tab_18"))
+ self.gridLayout_105 = QtGui.QGridLayout(self.tab_18)
+ self.gridLayout_105.setObjectName(_fromUtf8("gridLayout_105"))
+ self.ObjRot_comboBox_axis = QtGui.QComboBox(self.tab_18)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1356,21 +1877,21 @@ class Ui_Form(object):
self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
self.ObjRot_comboBox_axis.addItem(_fromUtf8(""))
- self.gridLayout_21.addWidget(self.ObjRot_comboBox_axis, 0, 0, 1, 1)
- self.ObjRot_button_select_axis = QtGui.QPushButton(self.tab_8)
+ self.gridLayout_105.addWidget(self.ObjRot_comboBox_axis, 0, 0, 1, 1)
+ self.ObjRot_button_select_axis = QtGui.QPushButton(self.tab_18)
self.ObjRot_button_select_axis.setEnabled(False)
self.ObjRot_button_select_axis.setMinimumSize(QtCore.QSize(40, 0))
self.ObjRot_button_select_axis.setMaximumSize(QtCore.QSize(80, 16777215))
self.ObjRot_button_select_axis.setObjectName(_fromUtf8("ObjRot_button_select_axis"))
- self.gridLayout_21.addWidget(self.ObjRot_button_select_axis, 1, 0, 1, 1)
- icon69 = QtGui.QIcon()
- icon69.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget_3.addTab(self.tab_8, icon69, _fromUtf8(""))
- self.tab_9 = QtGui.QWidget()
- self.tab_9.setObjectName(_fromUtf8("tab_9"))
- self.gridLayout_23 = QtGui.QGridLayout(self.tab_9)
- self.gridLayout_23.setObjectName(_fromUtf8("gridLayout_23"))
- self.ObjRot_comboBox_center = QtGui.QComboBox(self.tab_9)
+ self.gridLayout_105.addWidget(self.ObjRot_button_select_axis, 1, 0, 1, 1)
+ icon75 = QtGui.QIcon()
+ icon75.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationAxis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_10.addTab(self.tab_18, icon75, _fromUtf8(""))
+ self.tab_19 = QtGui.QWidget()
+ self.tab_19.setObjectName(_fromUtf8("tab_19"))
+ self.gridLayout_106 = QtGui.QGridLayout(self.tab_19)
+ self.gridLayout_106.setObjectName(_fromUtf8("gridLayout_106"))
+ self.ObjRot_comboBox_center = QtGui.QComboBox(self.tab_19)
self.ObjRot_comboBox_center.setEnabled(True)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
@@ -1385,31 +1906,31 @@ class Ui_Form(object):
self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
self.ObjRot_comboBox_center.addItem(_fromUtf8(""))
- self.gridLayout_23.addWidget(self.ObjRot_comboBox_center, 0, 0, 1, 1)
- self.ObjRot_button_select_center = QtGui.QPushButton(self.tab_9)
+ self.gridLayout_106.addWidget(self.ObjRot_comboBox_center, 0, 0, 1, 1)
+ self.ObjRot_button_select_center = QtGui.QPushButton(self.tab_19)
self.ObjRot_button_select_center.setEnabled(False)
self.ObjRot_button_select_center.setMinimumSize(QtCore.QSize(40, 0))
self.ObjRot_button_select_center.setMaximumSize(QtCore.QSize(80, 16777215))
self.ObjRot_button_select_center.setObjectName(_fromUtf8("ObjRot_button_select_center"))
- self.gridLayout_23.addWidget(self.ObjRot_button_select_center, 1, 0, 1, 1)
- icon70 = QtGui.QIcon()
- icon70.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget_3.addTab(self.tab_9, icon70, _fromUtf8(""))
- self.gridLayout_50.addWidget(self.tabWidget_3, 1, 0, 1, 1)
- self.groupBox_2 = QtGui.QGroupBox(self.frame)
- self.groupBox_2.setMinimumSize(QtCore.QSize(150, 67))
- self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
- self.groupBox_2.setFlat(False)
- self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
- self.gridLayout_29 = QtGui.QGridLayout(self.groupBox_2)
- self.gridLayout_29.setObjectName(_fromUtf8("gridLayout_29"))
- self.tabWidget_5 = QtGui.QTabWidget(self.groupBox_2)
- self.tabWidget_5.setObjectName(_fromUtf8("tabWidget_5"))
- self.tab_7 = QtGui.QWidget()
- self.tab_7.setObjectName(_fromUtf8("tab_7"))
- self.gridLayout_25 = QtGui.QGridLayout(self.tab_7)
- self.gridLayout_25.setObjectName(_fromUtf8("gridLayout_25"))
- self.ObjRot_horizontalSlider = QtGui.QSlider(self.tab_7)
+ self.gridLayout_106.addWidget(self.ObjRot_button_select_center, 1, 0, 1, 1)
+ icon76 = QtGui.QIcon()
+ icon76.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_rotationPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_10.addTab(self.tab_19, icon76, _fromUtf8(""))
+ self.gridLayout_104.addWidget(self.tabWidget_10, 1, 0, 1, 1)
+ self.groupBox_21 = QtGui.QGroupBox(self.frame_11)
+ self.groupBox_21.setMinimumSize(QtCore.QSize(150, 67))
+ self.groupBox_21.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ self.groupBox_21.setFlat(False)
+ self.groupBox_21.setObjectName(_fromUtf8("groupBox_21"))
+ self.gridLayout_107 = QtGui.QGridLayout(self.groupBox_21)
+ self.gridLayout_107.setObjectName(_fromUtf8("gridLayout_107"))
+ self.tabWidget_11 = QtGui.QTabWidget(self.groupBox_21)
+ self.tabWidget_11.setObjectName(_fromUtf8("tabWidget_11"))
+ self.tab_20 = QtGui.QWidget()
+ self.tab_20.setObjectName(_fromUtf8("tab_20"))
+ self.gridLayout_108 = QtGui.QGridLayout(self.tab_20)
+ self.gridLayout_108.setObjectName(_fromUtf8("gridLayout_108"))
+ self.ObjRot_horizontalSlider = QtGui.QSlider(self.tab_20)
self.ObjRot_horizontalSlider.setMinimumSize(QtCore.QSize(0, 39))
self.ObjRot_horizontalSlider.setMaximumSize(QtCore.QSize(120, 16777215))
self.ObjRot_horizontalSlider.setMinimum(-180)
@@ -1418,25 +1939,25 @@ class Ui_Form(object):
self.ObjRot_horizontalSlider.setTickPosition(QtGui.QSlider.TicksBothSides)
self.ObjRot_horizontalSlider.setTickInterval(20)
self.ObjRot_horizontalSlider.setObjectName(_fromUtf8("ObjRot_horizontalSlider"))
- self.gridLayout_25.addWidget(self.ObjRot_horizontalSlider, 0, 0, 1, 1)
- self.tabWidget_5.addTab(self.tab_7, _fromUtf8(""))
- self.tab_10 = QtGui.QWidget()
- self.tab_10.setObjectName(_fromUtf8("tab_10"))
- self.gridLayout_24 = QtGui.QGridLayout(self.tab_10)
- self.gridLayout_24.setObjectName(_fromUtf8("gridLayout_24"))
- self.ObjRot_button_select_angle = QtGui.QPushButton(self.tab_10)
+ self.gridLayout_108.addWidget(self.ObjRot_horizontalSlider, 0, 0, 1, 1)
+ self.tabWidget_11.addTab(self.tab_20, _fromUtf8(""))
+ self.tab_21 = QtGui.QWidget()
+ self.tab_21.setObjectName(_fromUtf8("tab_21"))
+ self.gridLayout_109 = QtGui.QGridLayout(self.tab_21)
+ self.gridLayout_109.setObjectName(_fromUtf8("gridLayout_109"))
+ self.ObjRot_button_select_angle = QtGui.QPushButton(self.tab_21)
self.ObjRot_button_select_angle.setEnabled(True)
self.ObjRot_button_select_angle.setMinimumSize(QtCore.QSize(40, 0))
self.ObjRot_button_select_angle.setMaximumSize(QtCore.QSize(80, 16777215))
self.ObjRot_button_select_angle.setObjectName(_fromUtf8("ObjRot_button_select_angle"))
- self.gridLayout_24.addWidget(self.ObjRot_button_select_angle, 0, 0, 1, 1)
- icon71 = QtGui.QIcon()
- icon71.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_click.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget_5.addTab(self.tab_10, icon71, _fromUtf8(""))
- self.gridLayout_29.addWidget(self.tabWidget_5, 0, 0, 1, 1)
- self.horizontalLayout_13 = QtGui.QHBoxLayout()
- self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13"))
- self.ObjRot_lineEdit_angle = QtGui.QLineEdit(self.groupBox_2)
+ self.gridLayout_109.addWidget(self.ObjRot_button_select_angle, 0, 0, 1, 1)
+ icon77 = QtGui.QIcon()
+ icon77.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_click.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_11.addTab(self.tab_21, icon77, _fromUtf8(""))
+ self.gridLayout_107.addWidget(self.tabWidget_11, 0, 0, 1, 1)
+ self.horizontalLayout_81 = QtGui.QHBoxLayout()
+ self.horizontalLayout_81.setObjectName(_fromUtf8("horizontalLayout_81"))
+ self.ObjRot_lineEdit_angle = QtGui.QLineEdit(self.groupBox_21)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1446,52 +1967,52 @@ class Ui_Form(object):
self.ObjRot_lineEdit_angle.setMaximumSize(QtCore.QSize(60, 16777215))
self.ObjRot_lineEdit_angle.setMaxLength(32769)
self.ObjRot_lineEdit_angle.setObjectName(_fromUtf8("ObjRot_lineEdit_angle"))
- self.horizontalLayout_13.addWidget(self.ObjRot_lineEdit_angle)
- self.label_angle_2 = QtGui.QLabel(self.groupBox_2)
- self.label_angle_2.setMaximumSize(QtCore.QSize(60, 16777215))
- self.label_angle_2.setObjectName(_fromUtf8("label_angle_2"))
- self.horizontalLayout_13.addWidget(self.label_angle_2)
- self.gridLayout_29.addLayout(self.horizontalLayout_13, 1, 0, 1, 1)
- self.gridLayout_50.addWidget(self.groupBox_2, 2, 0, 1, 1)
- self.horizontalLayout_14 = QtGui.QHBoxLayout()
- self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14"))
- self.ObjRot_button_reset = QtGui.QPushButton(self.frame)
+ self.horizontalLayout_81.addWidget(self.ObjRot_lineEdit_angle)
+ self.label_angle_4 = QtGui.QLabel(self.groupBox_21)
+ self.label_angle_4.setMaximumSize(QtCore.QSize(60, 16777215))
+ self.label_angle_4.setObjectName(_fromUtf8("label_angle_4"))
+ self.horizontalLayout_81.addWidget(self.label_angle_4)
+ self.gridLayout_107.addLayout(self.horizontalLayout_81, 1, 0, 1, 1)
+ self.gridLayout_104.addWidget(self.groupBox_21, 2, 0, 1, 1)
+ self.horizontalLayout_82 = QtGui.QHBoxLayout()
+ self.horizontalLayout_82.setObjectName(_fromUtf8("horizontalLayout_82"))
+ self.ObjRot_button_reset = QtGui.QPushButton(self.frame_11)
self.ObjRot_button_reset.setMinimumSize(QtCore.QSize(40, 0))
self.ObjRot_button_reset.setMaximumSize(QtCore.QSize(60, 16777215))
self.ObjRot_button_reset.setObjectName(_fromUtf8("ObjRot_button_reset"))
- self.horizontalLayout_14.addWidget(self.ObjRot_button_reset)
- spacerItem13 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
- self.horizontalLayout_14.addItem(spacerItem13)
- self.ObjRot_button_apply = QtGui.QPushButton(self.frame)
+ self.horizontalLayout_82.addWidget(self.ObjRot_button_reset)
+ spacerItem18 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_82.addItem(spacerItem18)
+ self.ObjRot_button_apply = QtGui.QPushButton(self.frame_11)
self.ObjRot_button_apply.setMinimumSize(QtCore.QSize(40, 0))
self.ObjRot_button_apply.setMaximumSize(QtCore.QSize(60, 16777215))
self.ObjRot_button_apply.setObjectName(_fromUtf8("ObjRot_button_apply"))
- self.horizontalLayout_14.addWidget(self.ObjRot_button_apply)
- self.gridLayout_50.addLayout(self.horizontalLayout_14, 3, 0, 1, 1)
- self.gridLayout_52.addWidget(self.frame, 0, 0, 1, 1)
- spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_52.addItem(spacerItem14, 1, 0, 1, 1)
- self.tabWidget_2.addTab(self.rotate_tab, _fromUtf8(""))
- self.translate_tab = QtGui.QWidget()
- self.translate_tab.setObjectName(_fromUtf8("translate_tab"))
- self.gridLayout_49 = QtGui.QGridLayout(self.translate_tab)
- self.gridLayout_49.setObjectName(_fromUtf8("gridLayout_49"))
- self.frame_2 = QtGui.QFrame(self.translate_tab)
- self.frame_2.setMaximumSize(QtCore.QSize(220, 16777215))
- self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
- self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
- self.frame_2.setObjectName(_fromUtf8("frame_2"))
- self.gridLayout_48 = QtGui.QGridLayout(self.frame_2)
- self.gridLayout_48.setObjectName(_fromUtf8("gridLayout_48"))
- self.ObjTrans_button_select = QtGui.QPushButton(self.frame_2)
+ self.horizontalLayout_82.addWidget(self.ObjRot_button_apply)
+ self.gridLayout_104.addLayout(self.horizontalLayout_82, 3, 0, 1, 1)
+ self.gridLayout_103.addWidget(self.frame_11, 0, 0, 1, 1)
+ spacerItem19 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_103.addItem(spacerItem19, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.rotate_tab_2, _fromUtf8(""))
+ self.translate_tab_2 = QtGui.QWidget()
+ self.translate_tab_2.setObjectName(_fromUtf8("translate_tab_2"))
+ self.gridLayout_110 = QtGui.QGridLayout(self.translate_tab_2)
+ self.gridLayout_110.setObjectName(_fromUtf8("gridLayout_110"))
+ self.frame_12 = QtGui.QFrame(self.translate_tab_2)
+ self.frame_12.setMaximumSize(QtCore.QSize(220, 16777215))
+ self.frame_12.setFrameShape(QtGui.QFrame.StyledPanel)
+ self.frame_12.setFrameShadow(QtGui.QFrame.Raised)
+ self.frame_12.setObjectName(_fromUtf8("frame_12"))
+ self.gridLayout_111 = QtGui.QGridLayout(self.frame_12)
+ self.gridLayout_111.setObjectName(_fromUtf8("gridLayout_111"))
+ self.ObjTrans_button_select = QtGui.QPushButton(self.frame_12)
self.ObjTrans_button_select.setObjectName(_fromUtf8("ObjTrans_button_select"))
- self.gridLayout_48.addWidget(self.ObjTrans_button_select, 0, 0, 1, 1)
- self.horizontalLayout_15 = QtGui.QHBoxLayout()
- self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15"))
- self.ObjTrans_duplicate = QtGui.QCheckBox(self.frame_2)
+ self.gridLayout_111.addWidget(self.ObjTrans_button_select, 0, 0, 1, 1)
+ self.horizontalLayout_83 = QtGui.QHBoxLayout()
+ self.horizontalLayout_83.setObjectName(_fromUtf8("horizontalLayout_83"))
+ self.ObjTrans_duplicate = QtGui.QCheckBox(self.frame_12)
self.ObjTrans_duplicate.setObjectName(_fromUtf8("ObjTrans_duplicate"))
- self.horizontalLayout_15.addWidget(self.ObjTrans_duplicate)
- self.ObjTrans_spin = QtGui.QSpinBox(self.frame_2)
+ self.horizontalLayout_83.addWidget(self.ObjTrans_duplicate)
+ self.ObjTrans_spin = QtGui.QSpinBox(self.frame_12)
self.ObjTrans_spin.setMinimumSize(QtCore.QSize(40, 0))
self.ObjTrans_spin.setMaximumSize(QtCore.QSize(50, 16777215))
self.ObjTrans_spin.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
@@ -1501,24 +2022,24 @@ class Ui_Form(object):
self.ObjTrans_spin.setSingleStep(1)
self.ObjTrans_spin.setProperty("value", 1)
self.ObjTrans_spin.setObjectName(_fromUtf8("ObjTrans_spin"))
- self.horizontalLayout_15.addWidget(self.ObjTrans_spin)
- self.ObjTrans_deepCopy = QtGui.QCheckBox(self.frame_2)
+ self.horizontalLayout_83.addWidget(self.ObjTrans_spin)
+ self.ObjTrans_deepCopy = QtGui.QCheckBox(self.frame_12)
self.ObjTrans_deepCopy.setObjectName(_fromUtf8("ObjTrans_deepCopy"))
- self.horizontalLayout_15.addWidget(self.ObjTrans_deepCopy)
- self.gridLayout_48.addLayout(self.horizontalLayout_15, 1, 0, 1, 1)
- self.tabWidget_4 = QtGui.QTabWidget(self.frame_2)
- self.tabWidget_4.setObjectName(_fromUtf8("tabWidget_4"))
- self.tab_5 = QtGui.QWidget()
- self.tab_5.setObjectName(_fromUtf8("tab_5"))
- self.gridLayout_15 = QtGui.QGridLayout(self.tab_5)
- self.gridLayout_15.setObjectName(_fromUtf8("gridLayout_15"))
- self.groupBox_3 = QtGui.QGroupBox(self.tab_5)
- self.groupBox_3.setMinimumSize(QtCore.QSize(150, 0))
- self.groupBox_3.setFlat(False)
- self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
- self.gridLayout_26 = QtGui.QGridLayout(self.groupBox_3)
- self.gridLayout_26.setObjectName(_fromUtf8("gridLayout_26"))
- self.ObjTrans_comboBox_start = QtGui.QComboBox(self.groupBox_3)
+ self.horizontalLayout_83.addWidget(self.ObjTrans_deepCopy)
+ self.gridLayout_111.addLayout(self.horizontalLayout_83, 1, 0, 1, 1)
+ self.tabWidget_12 = QtGui.QTabWidget(self.frame_12)
+ self.tabWidget_12.setObjectName(_fromUtf8("tabWidget_12"))
+ self.tab_22 = QtGui.QWidget()
+ self.tab_22.setObjectName(_fromUtf8("tab_22"))
+ self.gridLayout_112 = QtGui.QGridLayout(self.tab_22)
+ self.gridLayout_112.setObjectName(_fromUtf8("gridLayout_112"))
+ self.groupBox_22 = QtGui.QGroupBox(self.tab_22)
+ self.groupBox_22.setMinimumSize(QtCore.QSize(150, 0))
+ self.groupBox_22.setFlat(False)
+ self.groupBox_22.setObjectName(_fromUtf8("groupBox_22"))
+ self.gridLayout_113 = QtGui.QGridLayout(self.groupBox_22)
+ self.gridLayout_113.setObjectName(_fromUtf8("gridLayout_113"))
+ self.ObjTrans_comboBox_start = QtGui.QComboBox(self.groupBox_22)
self.ObjTrans_comboBox_start.setEnabled(True)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
@@ -1534,67 +2055,67 @@ class Ui_Form(object):
self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
self.ObjTrans_comboBox_start.addItem(_fromUtf8(""))
- self.gridLayout_26.addWidget(self.ObjTrans_comboBox_start, 0, 0, 1, 1)
- self.ObjTrans_button_select_start = QtGui.QPushButton(self.groupBox_3)
+ self.gridLayout_113.addWidget(self.ObjTrans_comboBox_start, 0, 0, 1, 1)
+ self.ObjTrans_button_select_start = QtGui.QPushButton(self.groupBox_22)
self.ObjTrans_button_select_start.setEnabled(True)
self.ObjTrans_button_select_start.setMinimumSize(QtCore.QSize(50, 0))
self.ObjTrans_button_select_start.setMaximumSize(QtCore.QSize(120, 16777215))
self.ObjTrans_button_select_start.setObjectName(_fromUtf8("ObjTrans_button_select_start"))
- self.gridLayout_26.addWidget(self.ObjTrans_button_select_start, 1, 0, 1, 1)
- self.gridLayout_27 = QtGui.QGridLayout()
- self.gridLayout_27.setObjectName(_fromUtf8("gridLayout_27"))
- self.gridLayout_28 = QtGui.QGridLayout()
- self.gridLayout_28.setObjectName(_fromUtf8("gridLayout_28"))
- self.label_3 = QtGui.QLabel(self.groupBox_3)
- self.label_3.setObjectName(_fromUtf8("label_3"))
- self.gridLayout_28.addWidget(self.label_3, 0, 0, 1, 1)
- self.ObjTrans_start_x = QtGui.QLineEdit(self.groupBox_3)
+ self.gridLayout_113.addWidget(self.ObjTrans_button_select_start, 1, 0, 1, 1)
+ self.gridLayout_114 = QtGui.QGridLayout()
+ self.gridLayout_114.setObjectName(_fromUtf8("gridLayout_114"))
+ self.gridLayout_115 = QtGui.QGridLayout()
+ self.gridLayout_115.setObjectName(_fromUtf8("gridLayout_115"))
+ self.label_11 = QtGui.QLabel(self.groupBox_22)
+ self.label_11.setObjectName(_fromUtf8("label_11"))
+ self.gridLayout_115.addWidget(self.label_11, 0, 0, 1, 1)
+ self.ObjTrans_start_x = QtGui.QLineEdit(self.groupBox_22)
self.ObjTrans_start_x.setEnabled(False)
self.ObjTrans_start_x.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_start_x.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_start_x.setObjectName(_fromUtf8("ObjTrans_start_x"))
- self.gridLayout_28.addWidget(self.ObjTrans_start_x, 0, 1, 1, 1)
- self.gridLayout_27.addLayout(self.gridLayout_28, 0, 0, 1, 1)
- self.gridLayout_40 = QtGui.QGridLayout()
- self.gridLayout_40.setObjectName(_fromUtf8("gridLayout_40"))
- self.label_4 = QtGui.QLabel(self.groupBox_3)
- self.label_4.setObjectName(_fromUtf8("label_4"))
- self.gridLayout_40.addWidget(self.label_4, 0, 0, 1, 1)
- self.ObjTrans_start_y = QtGui.QLineEdit(self.groupBox_3)
+ self.gridLayout_115.addWidget(self.ObjTrans_start_x, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_115, 0, 0, 1, 1)
+ self.gridLayout_116 = QtGui.QGridLayout()
+ self.gridLayout_116.setObjectName(_fromUtf8("gridLayout_116"))
+ self.label_12 = QtGui.QLabel(self.groupBox_22)
+ self.label_12.setObjectName(_fromUtf8("label_12"))
+ self.gridLayout_116.addWidget(self.label_12, 0, 0, 1, 1)
+ self.ObjTrans_start_y = QtGui.QLineEdit(self.groupBox_22)
self.ObjTrans_start_y.setEnabled(False)
self.ObjTrans_start_y.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_start_y.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_start_y.setObjectName(_fromUtf8("ObjTrans_start_y"))
- self.gridLayout_40.addWidget(self.ObjTrans_start_y, 0, 1, 1, 1)
- self.gridLayout_27.addLayout(self.gridLayout_40, 1, 0, 1, 1)
- self.gridLayout_41 = QtGui.QGridLayout()
- self.gridLayout_41.setObjectName(_fromUtf8("gridLayout_41"))
- self.label_6 = QtGui.QLabel(self.groupBox_3)
- self.label_6.setObjectName(_fromUtf8("label_6"))
- self.gridLayout_41.addWidget(self.label_6, 0, 0, 1, 1)
- self.ObjTrans_start_z = QtGui.QLineEdit(self.groupBox_3)
+ self.gridLayout_116.addWidget(self.ObjTrans_start_y, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_116, 1, 0, 1, 1)
+ self.gridLayout_117 = QtGui.QGridLayout()
+ self.gridLayout_117.setObjectName(_fromUtf8("gridLayout_117"))
+ self.label_13 = QtGui.QLabel(self.groupBox_22)
+ self.label_13.setObjectName(_fromUtf8("label_13"))
+ self.gridLayout_117.addWidget(self.label_13, 0, 0, 1, 1)
+ self.ObjTrans_start_z = QtGui.QLineEdit(self.groupBox_22)
self.ObjTrans_start_z.setEnabled(False)
self.ObjTrans_start_z.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_start_z.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_start_z.setObjectName(_fromUtf8("ObjTrans_start_z"))
- self.gridLayout_41.addWidget(self.ObjTrans_start_z, 0, 1, 1, 1)
- self.gridLayout_27.addLayout(self.gridLayout_41, 2, 0, 1, 1)
- self.gridLayout_26.addLayout(self.gridLayout_27, 2, 0, 1, 1)
- self.gridLayout_15.addWidget(self.groupBox_3, 0, 0, 1, 1)
- icon72 = QtGui.QIcon()
- icon72.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_startPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget_4.addTab(self.tab_5, icon72, _fromUtf8(""))
- self.tab_6 = QtGui.QWidget()
- self.tab_6.setObjectName(_fromUtf8("tab_6"))
- self.gridLayout_42 = QtGui.QGridLayout(self.tab_6)
- self.gridLayout_42.setObjectName(_fromUtf8("gridLayout_42"))
- self.groupBox_4 = QtGui.QGroupBox(self.tab_6)
- self.groupBox_4.setMinimumSize(QtCore.QSize(150, 0))
- self.groupBox_4.setFlat(False)
- self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
- self.gridLayout_43 = QtGui.QGridLayout(self.groupBox_4)
- self.gridLayout_43.setObjectName(_fromUtf8("gridLayout_43"))
- self.ObjTrans_comboBox_end = QtGui.QComboBox(self.groupBox_4)
+ self.gridLayout_117.addWidget(self.ObjTrans_start_z, 0, 1, 1, 1)
+ self.gridLayout_114.addLayout(self.gridLayout_117, 2, 0, 1, 1)
+ self.gridLayout_113.addLayout(self.gridLayout_114, 2, 0, 1, 1)
+ self.gridLayout_112.addWidget(self.groupBox_22, 0, 0, 1, 1)
+ icon78 = QtGui.QIcon()
+ icon78.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_startPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_12.addTab(self.tab_22, icon78, _fromUtf8(""))
+ self.tab_23 = QtGui.QWidget()
+ self.tab_23.setObjectName(_fromUtf8("tab_23"))
+ self.gridLayout_118 = QtGui.QGridLayout(self.tab_23)
+ self.gridLayout_118.setObjectName(_fromUtf8("gridLayout_118"))
+ self.groupBox_23 = QtGui.QGroupBox(self.tab_23)
+ self.groupBox_23.setMinimumSize(QtCore.QSize(150, 0))
+ self.groupBox_23.setFlat(False)
+ self.groupBox_23.setObjectName(_fromUtf8("groupBox_23"))
+ self.gridLayout_119 = QtGui.QGridLayout(self.groupBox_23)
+ self.gridLayout_119.setObjectName(_fromUtf8("gridLayout_119"))
+ self.ObjTrans_comboBox_end = QtGui.QComboBox(self.groupBox_23)
self.ObjTrans_comboBox_end.setEnabled(True)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
@@ -1611,248 +2132,248 @@ class Ui_Form(object):
self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
self.ObjTrans_comboBox_end.addItem(_fromUtf8(""))
- self.gridLayout_43.addWidget(self.ObjTrans_comboBox_end, 0, 0, 1, 1)
- self.ObjTrans_button_select_end = QtGui.QPushButton(self.groupBox_4)
+ self.gridLayout_119.addWidget(self.ObjTrans_comboBox_end, 0, 0, 1, 1)
+ self.ObjTrans_button_select_end = QtGui.QPushButton(self.groupBox_23)
self.ObjTrans_button_select_end.setEnabled(True)
self.ObjTrans_button_select_end.setMinimumSize(QtCore.QSize(100, 0))
self.ObjTrans_button_select_end.setMaximumSize(QtCore.QSize(120, 16777215))
self.ObjTrans_button_select_end.setObjectName(_fromUtf8("ObjTrans_button_select_end"))
- self.gridLayout_43.addWidget(self.ObjTrans_button_select_end, 1, 0, 1, 1)
- self.gridLayout_44 = QtGui.QGridLayout()
- self.gridLayout_44.setObjectName(_fromUtf8("gridLayout_44"))
- self.gridLayout_45 = QtGui.QGridLayout()
- self.gridLayout_45.setObjectName(_fromUtf8("gridLayout_45"))
- self.label_7 = QtGui.QLabel(self.groupBox_4)
- self.label_7.setObjectName(_fromUtf8("label_7"))
- self.gridLayout_45.addWidget(self.label_7, 0, 0, 1, 1)
- self.ObjTrans_end_z = QtGui.QLineEdit(self.groupBox_4)
+ self.gridLayout_119.addWidget(self.ObjTrans_button_select_end, 1, 0, 1, 1)
+ self.gridLayout_120 = QtGui.QGridLayout()
+ self.gridLayout_120.setObjectName(_fromUtf8("gridLayout_120"))
+ self.gridLayout_121 = QtGui.QGridLayout()
+ self.gridLayout_121.setObjectName(_fromUtf8("gridLayout_121"))
+ self.label_14 = QtGui.QLabel(self.groupBox_23)
+ self.label_14.setObjectName(_fromUtf8("label_14"))
+ self.gridLayout_121.addWidget(self.label_14, 0, 0, 1, 1)
+ self.ObjTrans_end_z = QtGui.QLineEdit(self.groupBox_23)
self.ObjTrans_end_z.setEnabled(False)
self.ObjTrans_end_z.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_end_z.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_end_z.setObjectName(_fromUtf8("ObjTrans_end_z"))
- self.gridLayout_45.addWidget(self.ObjTrans_end_z, 0, 1, 1, 1)
- self.gridLayout_44.addLayout(self.gridLayout_45, 2, 0, 1, 1)
- self.gridLayout_46 = QtGui.QGridLayout()
- self.gridLayout_46.setObjectName(_fromUtf8("gridLayout_46"))
- self.label_8 = QtGui.QLabel(self.groupBox_4)
- self.label_8.setObjectName(_fromUtf8("label_8"))
- self.gridLayout_46.addWidget(self.label_8, 0, 0, 1, 1)
- self.ObjTrans_end_y = QtGui.QLineEdit(self.groupBox_4)
+ self.gridLayout_121.addWidget(self.ObjTrans_end_z, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_121, 2, 0, 1, 1)
+ self.gridLayout_122 = QtGui.QGridLayout()
+ self.gridLayout_122.setObjectName(_fromUtf8("gridLayout_122"))
+ self.label_15 = QtGui.QLabel(self.groupBox_23)
+ self.label_15.setObjectName(_fromUtf8("label_15"))
+ self.gridLayout_122.addWidget(self.label_15, 0, 0, 1, 1)
+ self.ObjTrans_end_y = QtGui.QLineEdit(self.groupBox_23)
self.ObjTrans_end_y.setEnabled(False)
self.ObjTrans_end_y.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_end_y.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_end_y.setObjectName(_fromUtf8("ObjTrans_end_y"))
- self.gridLayout_46.addWidget(self.ObjTrans_end_y, 0, 1, 1, 1)
- self.gridLayout_44.addLayout(self.gridLayout_46, 1, 0, 1, 1)
- self.gridLayout_47 = QtGui.QGridLayout()
- self.gridLayout_47.setObjectName(_fromUtf8("gridLayout_47"))
- self.label_9 = QtGui.QLabel(self.groupBox_4)
- self.label_9.setObjectName(_fromUtf8("label_9"))
- self.gridLayout_47.addWidget(self.label_9, 0, 0, 1, 1)
- self.ObjTrans_end_x = QtGui.QLineEdit(self.groupBox_4)
+ self.gridLayout_122.addWidget(self.ObjTrans_end_y, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_122, 1, 0, 1, 1)
+ self.gridLayout_123 = QtGui.QGridLayout()
+ self.gridLayout_123.setObjectName(_fromUtf8("gridLayout_123"))
+ self.label_16 = QtGui.QLabel(self.groupBox_23)
+ self.label_16.setObjectName(_fromUtf8("label_16"))
+ self.gridLayout_123.addWidget(self.label_16, 0, 0, 1, 1)
+ self.ObjTrans_end_x = QtGui.QLineEdit(self.groupBox_23)
self.ObjTrans_end_x.setEnabled(False)
self.ObjTrans_end_x.setMinimumSize(QtCore.QSize(90, 0))
self.ObjTrans_end_x.setMaximumSize(QtCore.QSize(200, 16777215))
self.ObjTrans_end_x.setObjectName(_fromUtf8("ObjTrans_end_x"))
- self.gridLayout_47.addWidget(self.ObjTrans_end_x, 0, 1, 1, 1)
- self.gridLayout_44.addLayout(self.gridLayout_47, 0, 0, 1, 1)
- self.gridLayout_43.addLayout(self.gridLayout_44, 2, 0, 1, 1)
- self.gridLayout_42.addWidget(self.groupBox_4, 0, 0, 1, 1)
- icon73 = QtGui.QIcon()
- icon73.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_endPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget_4.addTab(self.tab_6, icon73, _fromUtf8(""))
- self.gridLayout_48.addWidget(self.tabWidget_4, 2, 0, 1, 1)
- self.horizontalLayout_16 = QtGui.QHBoxLayout()
- self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16"))
- self.ObjTrans_button_reset = QtGui.QPushButton(self.frame_2)
+ self.gridLayout_123.addWidget(self.ObjTrans_end_x, 0, 1, 1, 1)
+ self.gridLayout_120.addLayout(self.gridLayout_123, 0, 0, 1, 1)
+ self.gridLayout_119.addLayout(self.gridLayout_120, 2, 0, 1, 1)
+ self.gridLayout_118.addWidget(self.groupBox_23, 0, 0, 1, 1)
+ icon79 = QtGui.QIcon()
+ icon79.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_endPoint.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_12.addTab(self.tab_23, icon79, _fromUtf8(""))
+ self.gridLayout_111.addWidget(self.tabWidget_12, 2, 0, 1, 1)
+ self.horizontalLayout_84 = QtGui.QHBoxLayout()
+ self.horizontalLayout_84.setObjectName(_fromUtf8("horizontalLayout_84"))
+ self.ObjTrans_button_reset = QtGui.QPushButton(self.frame_12)
self.ObjTrans_button_reset.setMinimumSize(QtCore.QSize(40, 0))
self.ObjTrans_button_reset.setMaximumSize(QtCore.QSize(60, 16777215))
self.ObjTrans_button_reset.setObjectName(_fromUtf8("ObjTrans_button_reset"))
- self.horizontalLayout_16.addWidget(self.ObjTrans_button_reset)
- spacerItem15 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
- self.horizontalLayout_16.addItem(spacerItem15)
- self.ObjTrans_button_apply = QtGui.QPushButton(self.frame_2)
+ self.horizontalLayout_84.addWidget(self.ObjTrans_button_reset)
+ spacerItem20 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_84.addItem(spacerItem20)
+ self.ObjTrans_button_apply = QtGui.QPushButton(self.frame_12)
self.ObjTrans_button_apply.setMinimumSize(QtCore.QSize(40, 0))
self.ObjTrans_button_apply.setMaximumSize(QtCore.QSize(60, 16777215))
self.ObjTrans_button_apply.setObjectName(_fromUtf8("ObjTrans_button_apply"))
- self.horizontalLayout_16.addWidget(self.ObjTrans_button_apply)
- self.gridLayout_48.addLayout(self.horizontalLayout_16, 3, 0, 1, 1)
- self.gridLayout_49.addWidget(self.frame_2, 0, 0, 1, 1)
- spacerItem16 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_49.addItem(spacerItem16, 1, 0, 1, 1)
- self.tabWidget_2.addTab(self.translate_tab, _fromUtf8(""))
- self.gridLayout_11.addWidget(self.tabWidget_2, 0, 0, 1, 1)
- self.tabWidget.addTab(self.Modif_Tab, _fromUtf8(""))
- self.View_Tab = QtGui.QWidget()
- self.View_Tab.setObjectName(_fromUtf8("View_Tab"))
- self.gridLayout_13 = QtGui.QGridLayout(self.View_Tab)
- self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
- self.button_alignview = QtGui.QPushButton(self.View_Tab)
+ self.horizontalLayout_84.addWidget(self.ObjTrans_button_apply)
+ self.gridLayout_111.addLayout(self.horizontalLayout_84, 3, 0, 1, 1)
+ self.gridLayout_110.addWidget(self.frame_12, 0, 0, 1, 1)
+ spacerItem21 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_110.addItem(spacerItem21, 1, 0, 1, 1)
+ self.tabWidget_9.addTab(self.translate_tab_2, _fromUtf8(""))
+ self.gridLayout_94.addWidget(self.tabWidget_9, 0, 0, 1, 1)
+ self.tabWidget_7.addTab(self.Modif_Tab_2, _fromUtf8(""))
+ self.View_Tab_2 = QtGui.QWidget()
+ self.View_Tab_2.setObjectName(_fromUtf8("View_Tab_2"))
+ self.gridLayout_124 = QtGui.QGridLayout(self.View_Tab_2)
+ self.gridLayout_124.setObjectName(_fromUtf8("gridLayout_124"))
+ self.button_alignview = QtGui.QPushButton(self.View_Tab_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.button_alignview.sizePolicy().hasHeightForWidth())
self.button_alignview.setSizePolicy(sizePolicy)
self.button_alignview.setMaximumSize(QtCore.QSize(16777215, 16777215))
- icon74 = QtGui.QIcon()
- icon74.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlign.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_alignview.setIcon(icon74)
+ icon80 = QtGui.QIcon()
+ icon80.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_viewAlign.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_alignview.setIcon(icon80)
self.button_alignview.setIconSize(QtCore.QSize(32, 32))
self.button_alignview.setObjectName(_fromUtf8("button_alignview"))
- self.gridLayout_13.addWidget(self.button_alignview, 0, 0, 1, 1)
- spacerItem17 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_13.addItem(spacerItem17, 2, 0, 1, 1)
- self.button_trackcamera = QtGui.QPushButton(self.View_Tab)
- icon75 = QtGui.QIcon()
- icon75.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_trackCamera.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_trackcamera.setIcon(icon75)
+ self.gridLayout_124.addWidget(self.button_alignview, 0, 0, 1, 1)
+ spacerItem22 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_124.addItem(spacerItem22, 2, 0, 1, 1)
+ self.button_trackcamera = QtGui.QPushButton(self.View_Tab_2)
+ icon81 = QtGui.QIcon()
+ icon81.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_trackCamera.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_trackcamera.setIcon(icon81)
self.button_trackcamera.setIconSize(QtCore.QSize(32, 32))
self.button_trackcamera.setObjectName(_fromUtf8("button_trackcamera"))
- self.gridLayout_13.addWidget(self.button_trackcamera, 1, 0, 1, 1)
- icon76 = QtGui.QIcon()
- icon76.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_view.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.View_Tab, icon76, _fromUtf8(""))
- self.tab_3 = QtGui.QWidget()
- self.tab_3.setObjectName(_fromUtf8("tab_3"))
- self.gridLayout_35 = QtGui.QGridLayout(self.tab_3)
- self.gridLayout_35.setObjectName(_fromUtf8("gridLayout_35"))
- self.button_isView = QtGui.QPushButton(self.tab_3)
- icon77 = QtGui.QIcon()
- icon77.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FCCamera_02.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isView.setIcon(icon77)
+ self.gridLayout_124.addWidget(self.button_trackcamera, 1, 0, 1, 1)
+ icon82 = QtGui.QIcon()
+ icon82.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_view.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.View_Tab_2, icon82, _fromUtf8(""))
+ self.tab_24 = QtGui.QWidget()
+ self.tab_24.setObjectName(_fromUtf8("tab_24"))
+ self.gridLayout_125 = QtGui.QGridLayout(self.tab_24)
+ self.gridLayout_125.setObjectName(_fromUtf8("gridLayout_125"))
+ spacerItem23 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+ self.gridLayout_125.addItem(spacerItem23, 9, 0, 1, 1)
+ self.button_isView = QtGui.QPushButton(self.tab_24)
+ icon83 = QtGui.QIcon()
+ icon83.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_FCCamera_02.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isView.setIcon(icon83)
self.button_isView.setIconSize(QtCore.QSize(32, 32))
self.button_isView.setObjectName(_fromUtf8("button_isView"))
- self.gridLayout_35.addWidget(self.button_isView, 8, 0, 1, 1)
- spacerItem18 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.gridLayout_35.addItem(spacerItem18, 9, 0, 1, 1)
- self.button_isCoplanar = QtGui.QPushButton(self.tab_3)
- icon78 = QtGui.QIcon()
- icon78.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isCoplanar.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isCoplanar.setIcon(icon78)
- self.button_isCoplanar.setIconSize(QtCore.QSize(32, 32))
- self.button_isCoplanar.setObjectName(_fromUtf8("button_isCoplanar"))
- self.gridLayout_35.addWidget(self.button_isCoplanar, 2, 0, 1, 1)
- self.button_isParallel = QtGui.QPushButton(self.tab_3)
- icon79 = QtGui.QIcon()
- icon79.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isParallel.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isParallel.setIcon(icon79)
+ self.gridLayout_125.addWidget(self.button_isView, 8, 0, 1, 1)
+ self.button_isParallel = QtGui.QPushButton(self.tab_24)
+ icon84 = QtGui.QIcon()
+ icon84.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isParallel.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isParallel.setIcon(icon84)
self.button_isParallel.setIconSize(QtCore.QSize(32, 32))
self.button_isParallel.setObjectName(_fromUtf8("button_isParallel"))
- self.gridLayout_35.addWidget(self.button_isParallel, 0, 0, 1, 1)
- self.button_isAngle = QtGui.QPushButton(self.tab_3)
- icon80 = QtGui.QIcon()
- icon80.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isAngle.setIcon(icon80)
+ self.gridLayout_125.addWidget(self.button_isParallel, 0, 0, 1, 1)
+ self.button_isAngle = QtGui.QPushButton(self.tab_24)
+ icon85 = QtGui.QIcon()
+ icon85.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_angleBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isAngle.setIcon(icon85)
self.button_isAngle.setIconSize(QtCore.QSize(32, 32))
self.button_isAngle.setObjectName(_fromUtf8("button_isAngle"))
- self.gridLayout_35.addWidget(self.button_isAngle, 4, 0, 1, 1)
- self.button_isLength = QtGui.QPushButton(self.tab_3)
- icon81 = QtGui.QIcon()
- icon81.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isLength.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isLength.setIcon(icon81)
+ self.gridLayout_125.addWidget(self.button_isAngle, 4, 0, 1, 1)
+ self.button_isLength = QtGui.QPushButton(self.tab_24)
+ icon86 = QtGui.QIcon()
+ icon86.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isLength.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isLength.setIcon(icon86)
self.button_isLength.setIconSize(QtCore.QSize(32, 32))
self.button_isLength.setObjectName(_fromUtf8("button_isLength"))
- self.gridLayout_35.addWidget(self.button_isLength, 6, 0, 1, 1)
- self.button_isDistance = QtGui.QPushButton(self.tab_3)
- icon82 = QtGui.QIcon()
- icon82.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distanceBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isDistance.setIcon(icon82)
- self.button_isDistance.setIconSize(QtCore.QSize(32, 32))
- self.button_isDistance.setObjectName(_fromUtf8("button_isDistance"))
- self.gridLayout_35.addWidget(self.button_isDistance, 5, 0, 1, 1)
- self.button_isPerpendicular = QtGui.QPushButton(self.tab_3)
- icon83 = QtGui.QIcon()
- icon83.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isPerpendicular.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isPerpendicular.setIcon(icon83)
+ self.gridLayout_125.addWidget(self.button_isLength, 6, 0, 1, 1)
+ self.button_isPerpendicular = QtGui.QPushButton(self.tab_24)
+ icon87 = QtGui.QIcon()
+ icon87.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isPerpendicular.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isPerpendicular.setIcon(icon87)
self.button_isPerpendicular.setIconSize(QtCore.QSize(32, 32))
self.button_isPerpendicular.setObjectName(_fromUtf8("button_isPerpendicular"))
- self.gridLayout_35.addWidget(self.button_isPerpendicular, 1, 0, 1, 1)
- self.button_isClearance = QtGui.QPushButton(self.tab_3)
- icon84 = QtGui.QIcon()
- icon84.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isClearance.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isClearance.setIcon(icon84)
- self.button_isClearance.setIconSize(QtCore.QSize(32, 32))
- self.button_isClearance.setObjectName(_fromUtf8("button_isClearance"))
- self.gridLayout_35.addWidget(self.button_isClearance, 3, 0, 1, 1)
- self.button_isArea = QtGui.QPushButton(self.tab_3)
- icon85 = QtGui.QIcon()
- icon85.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isArea.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.button_isArea.setIcon(icon85)
+ self.gridLayout_125.addWidget(self.button_isPerpendicular, 1, 0, 1, 1)
+ self.button_isDistance = QtGui.QPushButton(self.tab_24)
+ icon88 = QtGui.QIcon()
+ icon88.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_distanceBetween.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isDistance.setIcon(icon88)
+ self.button_isDistance.setIconSize(QtCore.QSize(32, 32))
+ self.button_isDistance.setObjectName(_fromUtf8("button_isDistance"))
+ self.gridLayout_125.addWidget(self.button_isDistance, 5, 0, 1, 1)
+ self.button_isArea = QtGui.QPushButton(self.tab_24)
+ icon89 = QtGui.QIcon()
+ icon89.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isArea.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isArea.setIcon(icon89)
self.button_isArea.setIconSize(QtCore.QSize(32, 32))
self.button_isArea.setObjectName(_fromUtf8("button_isArea"))
- self.gridLayout_35.addWidget(self.button_isArea, 7, 0, 1, 1)
- icon86 = QtGui.QIcon()
- icon86.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_check.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.tabWidget.addTab(self.tab_3, icon86, _fromUtf8(""))
- self.gridLayout_30.addWidget(self.tabWidget, 0, 0, 1, 1)
- self.tabWidget_0.addTab(self.tab_2, _fromUtf8(""))
- self.gridLayout_9.addWidget(self.tabWidget_0, 0, 0, 1, 1)
- self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
+ self.gridLayout_125.addWidget(self.button_isArea, 7, 0, 1, 1)
+ self.button_isCoplanar = QtGui.QPushButton(self.tab_24)
+ icon90 = QtGui.QIcon()
+ icon90.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isCoplanar.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isCoplanar.setIcon(icon90)
+ self.button_isCoplanar.setIconSize(QtCore.QSize(32, 32))
+ self.button_isCoplanar.setObjectName(_fromUtf8("button_isCoplanar"))
+ self.gridLayout_125.addWidget(self.button_isCoplanar, 2, 0, 1, 1)
+ self.button_isClearance = QtGui.QPushButton(self.tab_24)
+ icon91 = QtGui.QIcon()
+ icon91.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_isClearance.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.button_isClearance.setIcon(icon91)
+ self.button_isClearance.setIconSize(QtCore.QSize(32, 32))
+ self.button_isClearance.setObjectName(_fromUtf8("button_isClearance"))
+ self.gridLayout_125.addWidget(self.button_isClearance, 3, 0, 1, 1)
+ icon92 = QtGui.QIcon()
+ icon92.addPixmap(QtGui.QPixmap(_fromUtf8("icons:WF_check.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+ self.tabWidget_7.addTab(self.tab_24, icon92, _fromUtf8(""))
+ self.gridLayout_128.addWidget(self.tabWidget_7, 0, 0, 1, 1)
+ self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout_34.addWidget(self.scrollArea, 0, 0, 1, 1)
- self.horizontalLayout_9 = QtGui.QHBoxLayout()
- self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
+ self.horizontalLayout_43 = QtGui.QHBoxLayout()
+ self.horizontalLayout_43.setObjectName(_fromUtf8("horizontalLayout_43"))
self.button_WF_quit = QtGui.QPushButton(Form)
self.button_WF_quit.setObjectName(_fromUtf8("button_WF_quit"))
- self.horizontalLayout_9.addWidget(self.button_WF_quit)
- spacerItem19 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
- self.horizontalLayout_9.addItem(spacerItem19)
+ self.horizontalLayout_43.addWidget(self.button_WF_quit)
+ spacerItem24 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_43.addItem(spacerItem24)
self.label_release = QtGui.QLabel(Form)
self.label_release.setObjectName(_fromUtf8("label_release"))
- self.horizontalLayout_9.addWidget(self.label_release)
- self.gridLayout_34.addLayout(self.horizontalLayout_9, 1, 0, 1, 1)
+ self.horizontalLayout_43.addWidget(self.label_release)
+ self.gridLayout_34.addLayout(self.horizontalLayout_43, 1, 0, 1, 1)
self.retranslateUi(Form)
- self.tabWidget_0.setCurrentIndex(0)
- self.tabWidget.setCurrentIndex(0)
+ self.tabWidget_7.setCurrentIndex(0)
self.point_loc_comboBox.setCurrentIndex(1)
+ self.tabWidget_8.setCurrentIndex(0)
self.transition_comboBox.setCurrentIndex(2)
- self.tabWidget_2.setCurrentIndex(0)
- self.tabWidget_3.setCurrentIndex(0)
+ self.tabWidget_9.setCurrentIndex(0)
+ self.tabWidget_10.setCurrentIndex(0)
self.ObjRot_comboBox_axis.setCurrentIndex(0)
self.ObjRot_comboBox_center.setCurrentIndex(2)
- self.tabWidget_5.setCurrentIndex(1)
- self.tabWidget_4.setCurrentIndex(1)
+ self.tabWidget_11.setCurrentIndex(0)
+ self.tabWidget_12.setCurrentIndex(0)
self.ObjTrans_comboBox_start.setCurrentIndex(3)
self.ObjTrans_comboBox_end.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
- Form.setWindowTitle(QtGui.QApplication.translate("Form", "WorkFeature", None, QtGui.QApplication.UnicodeUTF8))
- self.button_origin.setToolTip(QtGui.QApplication.translate("Form", "Create at origin: a point and X,Y and Z axis and XZ,XY and YZ planes", None, QtGui.QApplication.UnicodeUTF8))
- self.button_origin.setText(QtGui.QApplication.translate("Form", "Origin", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_5.setTitle(QtGui.QApplication.translate("Form", "Preferences :", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_verbose.setToolTip(QtGui.QApplication.translate("Form", "Toggle here if you want a lot of information printed into report View.", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_verbose.setText(QtGui.QApplication.translate("Form", "Verbose", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_biColor.setToolTip(QtGui.QApplication.translate("Form", "Change the successive lines to be bicolor (red and white) for the following functions:\n"
+ Form.setWindowTitle(_translate("Form", "WorkFeature", None))
+ self.button_origin.setToolTip(_translate("Form", "Create at origin: a point and X,Y and Z axis and XZ,XY and YZ planes", None))
+ self.button_origin.setText(_translate("Form", "Origin", None))
+ self.groupBox_13.setTitle(_translate("Form", "Preferences :", None))
+ self.radioButton_verbose.setToolTip(_translate("Form", "Toggle here if you want a lot of information printed into report View.", None))
+ self.radioButton_verbose.setText(_translate("Form", "Verbose", None))
+ self.radioButton_biColor.setToolTip(_translate("Form", "Change the successive lines to be bicolor (red and white) for the following functions:\n"
" - in \"Axis 1/2\" TAB:\n"
" Axes=Cut(Wire)\n"
" - in \"Circle\" TAB:\n"
" Arcs=Cut(Circle) \n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_biColor.setText(QtGui.QApplication.translate("Form", "Bi Color", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_copy.setToolTip(QtGui.QApplication.translate("Form", "Force the duplication of the Parent Object for the following functions:\n"
+"", None))
+ self.radioButton_biColor.setText(_translate("Form", "Bi Color", None))
+ self.radioButton_copy.setToolTip(_translate("Form", "Force the duplication of the Parent Object for the following functions:\n"
" - in \"Axis 2/2\" TAB:\n"
" Axes=(Axis,Pt,dist)\n"
" If an Edge of a Cube is selected the Cube is duplicate \n"
" with the corresponding\n"
" Edge at the defined distance from the original.\n"
" - in \"Plane\" TAB:\n"
-" Plane=(Plane,dist) ", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_copy.setText(QtGui.QApplication.translate("Form", "Object copy", None, QtGui.QApplication.UnicodeUTF8))
- self.label_5.setToolTip(QtGui.QApplication.translate("Form", "Change the tolerance for the following functions:\n"
+" Plane=(Plane,dist) ", None))
+ self.radioButton_copy.setText(_translate("Form", "Object copy", None))
+ self.label_10.setToolTip(_translate("Form", "Change the tolerance for the following functions:\n"
" - in \"Check\" TAB:\n"
" are Parallel?\n"
" are Perpendicular?\n"
-" are Coplanar?", None, QtGui.QApplication.UnicodeUTF8))
- self.label_5.setText(QtGui.QApplication.translate("Form", "Tolerance", None, QtGui.QApplication.UnicodeUTF8))
- self.tolerance_edit.setToolTip(QtGui.QApplication.translate("Form", "Change the tolerance for the following functions:\n"
+" are Coplanar?", None))
+ self.label_10.setText(_translate("Form", "Tolerance", None))
+ self.tolerance_edit.setToolTip(_translate("Form", "Change the tolerance for the following functions:\n"
" - in \"Check\" TAB:\n"
" are Parallel?\n"
" are Perpendicular?\n"
-" are Coplanar?", None, QtGui.QApplication.UnicodeUTF8))
- self.tolerance_edit.setText(QtGui.QApplication.translate("Form", "1e-10", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Origin_Tab), QtGui.QApplication.translate("Form", "Ori. Pref.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_line_point.setToolTip(QtGui.QApplication.translate("Form", "Point(s)=(Point(s),Line(s)):\n"
+" are Coplanar?", None))
+ self.tolerance_edit.setText(_translate("Form", "1e-10", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Origin_Tab_2), _translate("Form", "Ori. Pref.", None))
+ self.button_circle_center.setToolTip(_translate("Form", "Create a Point at center location of each selected Circle(s) or Arc(s).", None))
+ self.button_circle_center.setText(_translate("Form", "Circle(s) Center", None))
+ self.button_point_line_point.setToolTip(_translate("Form", "Point(s)=(Point(s),Line(s)):\n"
"Create projection(s) of Point(s) onto Line(s).\n"
"- First select one (or several) Point(s)\n"
"- Second select one or several) Line(s)\n"
@@ -1860,33 +2381,20 @@ class Ui_Form(object):
"\n"
"Plot the intersection point T on a Line given one Line and One Point C.\n"
"The Vector TC is perpendicular to the Line.\n"
-"The symetric point Cprime is also created as TC=TCprime.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_line_point.setText(QtGui.QApplication.translate("Form", "Point(s)=(Pt(s),Line(s)) ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_center.setToolTip(QtGui.QApplication.translate("Form", "Create a Point at center location of each selected Face(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_center.setText(QtGui.QApplication.translate("Form", "Face(s) Center", None, QtGui.QApplication.UnicodeUTF8))
- self.button_circle_center.setToolTip(QtGui.QApplication.translate("Form", "Create a Point at center location of each selected Circle(s) or Arc(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_circle_center.setText(QtGui.QApplication.translate("Form", "Circle(s) Center", None, QtGui.QApplication.UnicodeUTF8))
- self.button_Npoints_center.setToolTip(QtGui.QApplication.translate("Form", "Create a Point at mean location of all selected points.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_Npoints_center.setText(QtGui.QApplication.translate("Form", "Points Center", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_center.setToolTip(QtGui.QApplication.translate("Form", "Create Point(s):\n"
+"The symetric point Cprime is also created as TC=TCprime.", None))
+ self.button_point_line_point.setText(_translate("Form", "Point(s)=(Pt(s),Line(s)) ", None))
+ self.button_face_center.setToolTip(_translate("Form", "Create a Point at center location of each selected Face(s).", None))
+ self.button_face_center.setText(_translate("Form", "Face(s) Center", None))
+ self.button_line_center.setToolTip(_translate("Form", "Create Point(s):\n"
"Cut each selected Line(s) in 2 (n) parts and create a (n-1) Point(s) at ends of edge(s).\n"
-"The number indicates how many parts to consider.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_center.setText(QtGui.QApplication.translate("Form", "Line(s) Center", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_line_center.setToolTip(QtGui.QApplication.translate("Form", "The number indicates in how many parts each selected Lines(s) will be cut (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_face_point.setToolTip(QtGui.QApplication.translate("Form", "Create a point at the intersection of the Line and Plane selected.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_face_point.setText(QtGui.QApplication.translate("Form", "Point=(Line,Face) ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_extrema.setToolTip(QtGui.QApplication.translate("Form", "Create Points at start and end location of each selected Line(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_extrema.setText(QtGui.QApplication.translate("Form", "Line(s) Extrema", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_face_point.setToolTip(QtGui.QApplication.translate("Form", "Point(s)=(Point(s),Face(s)):\n"
-"Create projection(s) of Point(s) onto Face(s).\n"
-"- First select one (or several) Point(s)\n"
-"- Second select one or several) Plane(s)\n"
-"- Then push this button\n"
-"\n"
-"Plot the intersection point T on a Plane given one Plane and One Point C.\n"
-"The Vector TC is perpendicular to the plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_face_point.setText(QtGui.QApplication.translate("Form", "Point(s)=(Pt(s),Face(s))", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_center.setToolTip(QtGui.QApplication.translate("Form", "Create a Point at center location of all selected Object(s).\n"
+"The number indicates how many parts to consider.", None))
+ self.button_line_center.setText(_translate("Form", "Line(s) Center", None))
+ self.spin_line_center.setToolTip(_translate("Form", "The number indicates in how many parts each selected Lines(s) will be cut (Max 100).", None))
+ self.button_Npoints_center.setToolTip(_translate("Form", "Create a Point at mean location of all selected points.", None))
+ self.button_Npoints_center.setText(_translate("Form", "Points Center", None))
+ self.button_line_face_point.setToolTip(_translate("Form", "Create a point at the intersection of the Line and Plane selected.", None))
+ self.button_line_face_point.setText(_translate("Form", "Point=(Line,Face) ", None))
+ self.button_object_center.setToolTip(_translate("Form", "Create a Point at center location of all selected Object(s).\n"
" if BBox is not toggled\n"
" This point is the MEAN location of all center of Mass (if exist) of all objects.\n"
" All center of Mass will be created too.\n"
@@ -1894,24 +2402,35 @@ class Ui_Form(object):
"if BBox check box is toggled\n"
" This point is the center of the Global X,Y,Z bounding box of all objects.\n"
" This bounding box alway exists (especially for draft objects).\n"
-" Be aware this point is not necessary the center of Mass of all Objects!", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_center.setText(QtGui.QApplication.translate("Form", "Object(s) Center", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_object_center.setToolTip(QtGui.QApplication.translate("Form", "if BBox check box is toggled\n"
+" Be aware this point is not necessary the center of Mass of all Objects!", None))
+ self.button_object_center.setText(_translate("Form", "Object(s) Center", None))
+ self.checkBox_object_center.setToolTip(_translate("Form", "if BBox check box is toggled\n"
" This point is the center of the Global X,Y,Z bounding box of all objects.\n"
" This bounding box alway exists (especially for draft objects).\n"
-" Be aware this point is not necessary the center of Mass of all Objects!", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_object_center.setText(QtGui.QApplication.translate("Form", "BBox", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Point_Tab1), QtGui.QApplication.translate("Form", "Point 1/2", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabToolTip(self.tabWidget.indexOf(self.Point_Tab1), QtGui.QApplication.translate("Form", "Point", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twolines_point.setToolTip(QtGui.QApplication.translate("Form", "Plot one or two Point(s) at minimum distance of two Lines\n"
-"Create a Point at intersection of 2 crossing Lines.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twolines_point.setText(QtGui.QApplication.translate("Form", "Point=(Line,Line) ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_on_line.setToolTip(QtGui.QApplication.translate("Form", "Create a Point at a certain distance along the line \n"
-"respecting to the choosen reference starting point.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_on_line.setText(QtGui.QApplication.translate("Form", "Point along Line", None, QtGui.QApplication.UnicodeUTF8))
- self.distance_point_on_line.setToolTip(QtGui.QApplication.translate("Form", "Distance from the extremity", None, QtGui.QApplication.UnicodeUTF8))
- self.distance_point_on_line.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distPoint.setToolTip(QtGui.QApplication.translate("Form", "Point=(Point,Ax,dist):\n"
+" Be aware this point is not necessary the center of Mass of all Objects!", None))
+ self.checkBox_object_center.setText(_translate("Form", "BBox", None))
+ self.button_line_extrema.setToolTip(_translate("Form", "Create Points at start and end location of each selected Line(s).", None))
+ self.button_line_extrema.setText(_translate("Form", "Line(s) Extrema", None))
+ self.button_point_face_point.setToolTip(_translate("Form", "Point(s)=(Point(s),Face(s)):\n"
+"Create projection(s) of Point(s) onto Face(s).\n"
+"- First select one (or several) Point(s)\n"
+"- Second select one or several) Plane(s)\n"
+"- Then push this button\n"
+"\n"
+"Plot the intersection point T on a Plane given one Plane and One Point C.\n"
+"The Vector TC is perpendicular to the plane.", None))
+ self.button_point_face_point.setText(_translate("Form", "Point(s)=(Pt(s),Face(s))", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Point_Tab1_2), _translate("Form", "Point 1/2", None))
+ self.tabWidget_7.setTabToolTip(self.tabWidget_7.indexOf(self.Point_Tab1_2), _translate("Form", "Point", None))
+ self.button_twolines_point.setToolTip(_translate("Form", "Plot one or two Point(s) at minimum distance of two Lines\n"
+"Create a Point at intersection of 2 crossing Lines.", None))
+ self.button_twolines_point.setText(_translate("Form", "Point=(Line,Line) ", None))
+ self.button_point_on_line.setToolTip(_translate("Form", "Create a Point at a certain distance along the line \n"
+"respecting to the choosen reference starting point.", None))
+ self.button_point_on_line.setText(_translate("Form", "Point along Line", None))
+ self.distance_point_on_line.setToolTip(_translate("Form", "Distance from the extremity", None))
+ self.distance_point_on_line.setText(_translate("Form", "0.0", None))
+ self.button_distPoint.setToolTip(_translate("Form", "Point=(Point,Ax,dist):\n"
"Create a Point along the given Axis, at a given distance of the selected Point.\n"
"The Axis indicate the direction along where the Point is duplicate.\n"
"(you can also select several axes to define different directions)\n"
@@ -1922,13 +2441,13 @@ class Ui_Form(object):
" - The distance between points can be defined first.\n"
"Positive number in one direction and negative in the other one.\n"
"The second number indicates the number of Points to create.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distPoint.setText(QtGui.QApplication.translate("Form", "Point=(Pt,Ax,dist)", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_point.setToolTip(QtGui.QApplication.translate("Form", "Distance to the new Axis.\n"
-"Can be negative for the reverse direction!", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_point.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_dist_point.setToolTip(QtGui.QApplication.translate("Form", "The number of copies (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_wire_point.setToolTip(QtGui.QApplication.translate("Form", "Create Points by Partition:\n"
+"", None))
+ self.button_distPoint.setText(_translate("Form", "Point=(Pt,Ax,dist)", None))
+ self.dist_point.setToolTip(_translate("Form", "Distance to the new Axis.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_point.setText(_translate("Form", "10.0", None))
+ self.spin_dist_point.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_cut_wire_point.setToolTip(_translate("Form", "Create Points by Partition:\n"
"Cut the selected wire(s) in 2(n) parts and create 2(n) Points with function discretize.\n"
"The number indicates in how many parts to cut.\n"
"Wires can be:\n"
@@ -1936,31 +2455,40 @@ class Ui_Form(object):
" Circle\n"
" Arc\n"
" Ellipse\n"
-"An object must also be seleted but before any Wire to cut all his edges! ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_wire_point.setText(QtGui.QApplication.translate("Form", "Points=Cut(Wire)", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_wire_cut_point.setToolTip(QtGui.QApplication.translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_point.setToolTip(QtGui.QApplication.translate("Form", "Create a set of Points on a Plane perpendicular to the view at location of mouse clicks.\n"
+"An object must also be seleted but before any Wire to cut all his edges! ", None))
+ self.button_cut_wire_point.setText(_translate("Form", "Points=Cut(Wire)", None))
+ self.spin_wire_cut_point.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_click_for_point.setToolTip(_translate("Form", "Create a set of Points on a Plane perpendicular to the view at location of mouse clicks.\n"
"- Click first on the Button then click on the View (with no object in background).\n"
"- Click first on the Button then click on the View (with an object in background), it will attach the points to the surface of the object.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_point.setText(QtGui.QApplication.translate("Form", "Click", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_base_point.setToolTip(QtGui.QApplication.translate("Form", "Create Base Point of all selected Object(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_base_point.setText(QtGui.QApplication.translate("Form", "Object(s) Base Point", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_to_sketch.setToolTip(QtGui.QApplication.translate("Form", "Transform Point(s) in Sketch\'s Point(s) by projection onto the Sketch\'s Plane:\n"
+"", None))
+ self.button_click_for_point.setText(_translate("Form", "Click", None))
+ self.button_object_base_point.setToolTip(_translate("Form", "Create Base Point of all selected Object(s).", None))
+ self.button_object_base_point.setText(_translate("Form", "Object(s) Base Point", None))
+ self.button_point_to_sketch.setToolTip(_translate("Form", "Transform Point(s) in Sketch\'s Point(s) by projection onto the Sketch\'s Plane:\n"
"- First select an existing Skecth;\n"
"- Select as much as Points needed;\n"
-"Then click on this button.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_to_sketch.setText(QtGui.QApplication.translate("Form", "Point(s) to Sketch", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Point_Tab2), QtGui.QApplication.translate("Form", "Point 2/2", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_axis.setToolTip(QtGui.QApplication.translate("Form", "Create 3 Axes at center location of all selected Object(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_axis.setText(QtGui.QApplication.translate("Form", "Object(s) X, Y, Z Axes", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twopoints_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis crossing 2 Points.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twopoints_axis.setText(QtGui.QApplication.translate("Form", "Two Points Axis", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_twopoints_axis.setToolTip(QtGui.QApplication.translate("Form", "Distance for the extensions on extrema", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_twopoints_axis.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cylinder_axis.setToolTip(QtGui.QApplication.translate("Form", "Create the Axis of a Cylinder.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cylinder_axis.setText(QtGui.QApplication.translate("Form", "Cylinder(s) Axis", None, QtGui.QApplication.UnicodeUTF8))
- self.button_plane_axis.setToolTip(QtGui.QApplication.translate("Form", "Plane(s) Axes:\n"
+"Then click on this button.", None))
+ self.button_point_to_sketch.setText(_translate("Form", "Point(s) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Point_Tab2_2), _translate("Form", "Point 2/2", None))
+ self.button_object_axis.setToolTip(_translate("Form", "Create 3 Axes at center location of all selected Object(s).", None))
+ self.button_object_axis.setText(_translate("Form", "Object(s) X, Y, Z Axes", None))
+ self.button_twopoints_axis.setToolTip(_translate("Form", "Create an Axis crossing 2 Points.", None))
+ self.button_twopoints_axis.setText(_translate("Form", "Two Points Axis", None))
+ self.extension_twopoints_axis.setToolTip(_translate("Form", "Distance for the extensions on extrema", None))
+ self.extension_twopoints_axis.setText(_translate("Form", "0.0", None))
+ self.button_Npoints_axis.setToolTip(_translate("Form", "Axis=(Points):\n"
+"Create a \"best fit\" line from a set of points using Singular Value Decomposition..\n"
+"- First select several Points\n"
+"- Then push this button\n"
+"\n"
+"The 3 eigenvectors are generated.\n"
+"Orange one is the best fit line.\n"
+"", None))
+ self.button_Npoints_axis.setText(_translate("Form", "Axis from Point(s)", None))
+ self.button_cylinder_axis.setToolTip(_translate("Form", "Create the Axis of a Cylinder.", None))
+ self.button_cylinder_axis.setText(_translate("Form", "Cylinder(s) Axis", None))
+ self.button_plane_axis.setToolTip(_translate("Form", "Plane(s) Axes:\n"
"Create Perpendicular Axes at the center location of a Plane.\n"
" - First select one (or several) Plane(s);\n"
" - Then press the button\n"
@@ -1972,9 +2500,9 @@ class Ui_Form(object):
" - Press the button\n"
"\n"
"NB: Axes are created on both sides of the Plane\n"
-"The extension is 10 units by defaut but must be changed if needed.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_plane_axis.setText(QtGui.QApplication.translate("Form", "Plane(s) Axes", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_normal.setToolTip(QtGui.QApplication.translate("Form", "Create a normal Axis of a Face.\n"
+"The extension is 10 units by defaut but must be changed if needed.", None))
+ self.button_plane_axis.setText(_translate("Form", "Plane(s) Axes", None))
+ self.button_face_normal.setToolTip(_translate("Form", "Create a normal Axis of a Face.\n"
"To create a Normal at click location on a Face:\n"
"- Click first in the view to select and object,\n"
"- then push the button, \n"
@@ -1984,48 +2512,48 @@ class Ui_Form(object):
"- Click first in the view to select and object,\n"
"- then select one or several points of the face\n"
"- then push the button.\n"
-"(These selections can also be done into the Combined View)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_normal.setText(QtGui.QApplication.translate("Form", "Face Normal", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_face_normal.setToolTip(QtGui.QApplication.translate("Form", "Length of external part of the (Normal) Axis.\n"
+"(These selections can also be done into the Combined View)", None))
+ self.button_face_normal.setText(_translate("Form", "Face Normal", None))
+ self.extension_face_normal.setToolTip(_translate("Form", "Length of external part of the (Normal) Axis.\n"
" If zero In case of cylinder axis the extension will be a percentage of the object length.\n"
-" If zero and plane of face Normal, the extension will be 10 units.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_face_normal.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_line_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis Parallel to an Axis (as Direction) and crossing a Point.\n"
+" If zero and plane of face Normal, the extension will be 10 units.", None))
+ self.extension_face_normal.setText(_translate("Form", "0.0", None))
+ self.button_point_line_axis.setToolTip(_translate("Form", "Create an Axis Parallel to an Axis (as Direction) and crossing a Point.\n"
"- Select one Axis and one (or several) Point(s) NOT on the previous Axis.\n"
"Define the length and the attach point if needed.\n"
-"A Length of Zero means the length of already selected Axis will be used.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_point_line_axis.setText(QtGui.QApplication.translate("Form", "Axis=(Pt,Dir)", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_line.setToolTip(QtGui.QApplication.translate("Form", "Define the length of the Axis to create.\n"
-"A Length of Zero means the length of already selected Axis will be used.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_line.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.point_loc_comboBox.setToolTip(QtGui.QApplication.translate("Form", "The Attach Point will be at :\n"
+"A Length of Zero means the length of already selected Axis will be used.", None))
+ self.button_point_line_axis.setText(_translate("Form", "Axis=(Pt,Dir)", None))
+ self.extension_line.setToolTip(_translate("Form", "Define the length of the Axis to create.\n"
+"A Length of Zero means the length of already selected Axis will be used.", None))
+ self.extension_line.setText(_translate("Form", "0.0", None))
+ self.point_loc_comboBox.setToolTip(_translate("Form", "The Attach Point will be at :\n"
"Start of the Axis;\n"
"Mid of the Axis;\n"
-"End of the Axis.", None, QtGui.QApplication.UnicodeUTF8))
- self.point_loc_comboBox.setItemText(0, QtGui.QApplication.translate("Form", "Start", None, QtGui.QApplication.UnicodeUTF8))
- self.point_loc_comboBox.setItemText(1, QtGui.QApplication.translate("Form", "Mid", None, QtGui.QApplication.UnicodeUTF8))
- self.point_loc_comboBox.setItemText(2, QtGui.QApplication.translate("Form", "End", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_point_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis Perpendicular to an Axis and crossing a Point\n"
-"-Select one Axis and one (or several) Point(s) NOT on the previous Axis.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_point_axis.setText(QtGui.QApplication.translate("Form", "Axis=(Axis,Point)", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_line_point_axis.setToolTip(QtGui.QApplication.translate("Form", "Distance for the extensions on extrema.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_line_point_axis.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twolines_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis between two Axes.\n"
-"-Select two Axes.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twolines_axis.setText(QtGui.QApplication.translate("Form", "Axis=(Line,Line)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_plane_point_line_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis Perpendicular to an Axis, crossing a Point and Parallel to a Plane.\n"
-"-Select one Plane, one Axis and one Point ON the previous Axis.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_plane_point_line_axis.setText(QtGui.QApplication.translate("Form", "Axis=(Plane,Point,Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Axis_Tab1), QtGui.QApplication.translate("Form", "Axis 1/2", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_plane_axis.setToolTip(QtGui.QApplication.translate("Form", "Axes=(Pl(s),Axes):\n"
+"End of the Axis.", None))
+ self.point_loc_comboBox.setItemText(0, _translate("Form", "Start", None))
+ self.point_loc_comboBox.setItemText(1, _translate("Form", "Mid", None))
+ self.point_loc_comboBox.setItemText(2, _translate("Form", "End", None))
+ self.button_line_point_axis.setToolTip(_translate("Form", "Create an Axis Perpendicular to an Axis and crossing a Point\n"
+"-Select one Axis and one (or several) Point(s) NOT on the previous Axis.", None))
+ self.button_line_point_axis.setText(_translate("Form", "Axis=(Axis,Point)", None))
+ self.extension_line_point_axis.setToolTip(_translate("Form", "Distance for the extensions on extrema.", None))
+ self.extension_line_point_axis.setText(_translate("Form", "0.0", None))
+ self.button_twolines_axis.setToolTip(_translate("Form", "Create an Axis between two Axes.\n"
+"-Select two Axes.", None))
+ self.button_twolines_axis.setText(_translate("Form", "Axis=(Line,Line)", None))
+ self.button_plane_point_line_axis.setToolTip(_translate("Form", "Create an Axis Perpendicular to an Axis, crossing a Point and Parallel to a Plane.\n"
+"-Select one Plane, one Axis and one Point ON the previous Axis.", None))
+ self.button_plane_point_line_axis.setText(_translate("Form", "Axis=(Plane,Point,Axis)", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Axis_Tab1_2), _translate("Form", "Axis 1/2", None))
+ self.button_line_plane_axis.setToolTip(_translate("Form", "Axes=(Pl(s),Axes):\n"
"Create projection(s) of Axes onto Plane(s).\n"
"- First select one (or several) Line(s)\n"
"- Second select one or several) Plane(s)\n"
-"- Then push this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_plane_axis.setText(QtGui.QApplication.translate("Form", "Axes=(Pl(s),Axes)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twoplanes_axis.setToolTip(QtGui.QApplication.translate("Form", "Create an Axis by intersect of 2 Planes.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_twoplanes_axis.setText(QtGui.QApplication.translate("Form", "Axis=(Plane,Plane)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distLine.setToolTip(QtGui.QApplication.translate("Form", "Axes=(Axis,Pt,dist):\n"
+"- Then push this button", None))
+ self.button_line_plane_axis.setText(_translate("Form", "Axes=(Pl(s),Axes)", None))
+ self.button_twoplanes_axis.setToolTip(_translate("Form", "Create an Axis by intersect of 2 Planes.", None))
+ self.button_twoplanes_axis.setText(_translate("Form", "Axis=(Plane,Plane)", None))
+ self.button_distLine.setToolTip(_translate("Form", "Axes=(Axis,Pt,dist):\n"
"Create an Axis parallel to a given Axis, Point at a given distance.\n"
"The Axis is created along the Plane defined by the given Axis and Point.\n"
"- First select an Axis (or several Axes) and a Point\n"
@@ -2040,13 +2568,13 @@ class Ui_Form(object):
" - If an Edge of a Cube is selected the Cube is duplicate with the corresponding\n"
"Edge at the defined distance from the original.\n"
"Several Edges of the cube can be selected.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distLine.setText(QtGui.QApplication.translate("Form", "Axes=(Axis,Pt,dist)", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_line.setToolTip(QtGui.QApplication.translate("Form", "Distance to the new Axis.\n"
-"Can be negative for the reverse direction!", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_line.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_dist_line.setToolTip(QtGui.QApplication.translate("Form", "The number of copies (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_angleLine.setToolTip(QtGui.QApplication.translate("Form", "Axes=(Axis,Pt,Pl,a):\n"
+"", None))
+ self.button_distLine.setText(_translate("Form", "Axes=(Axis,Pt,dist)", None))
+ self.dist_line.setToolTip(_translate("Form", "Distance to the new Axis.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_line.setText(_translate("Form", "10.0", None))
+ self.spin_dist_line.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_angleLine.setToolTip(_translate("Form", "Axes=(Axis,Pt,Pl,a):\n"
"Create an Axis with an Angle to a origin Axis.\n"
"- First select an Axis to rotate, then a Plane and a rotation Point\n"
"- Second push this button\n"
@@ -2066,14 +2594,14 @@ class Ui_Form(object):
"Positive number in one direction and negative in the other one.\n"
" - The second number indicates the number of Axes to create.\n"
"\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_angleLine.setText(QtGui.QApplication.translate("Form", "Axes=(Axis,Pt,Pl,a)", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_line.setToolTip(QtGui.QApplication.translate("Form", "Angle to the new Axis.\n"
+"", None))
+ self.button_angleLine.setText(_translate("Form", "Axes=(Axis,Pt,Pl,a)", None))
+ self.angle_line.setToolTip(_translate("Form", "Angle to the new Axis.\n"
"Can be negative for the reverse direction!\n"
-"(in degrees)", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_line.setText(QtGui.QApplication.translate("Form", "45.0", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_angle_line.setToolTip(QtGui.QApplication.translate("Form", "The number of copies (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_wire_axis.setToolTip(QtGui.QApplication.translate("Form", "Create Axes by Partition:\n"
+"(in degrees)", None))
+ self.angle_line.setText(_translate("Form", "45.0", None))
+ self.spin_angle_line.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_cut_wire_axis.setToolTip(_translate("Form", "Create Axes by Partition:\n"
"Cut the selected wire(s) in 2(n) parts and create 2(n) Axes with function discretize.\n"
"The number indicates in how many parts to cut.\n"
"Wires can be:\n"
@@ -2084,51 +2612,130 @@ class Ui_Form(object):
"An object must also be seleted but before any Wire to cut all his Edges!\n"
"NB: You can change the successive lines to be bicolor (red and white) \n"
"in \"Ori. Pref.\" TAB \n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_wire_axis.setText(QtGui.QApplication.translate("Form", "Axes=Cut(Wire)", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_wire_cut_axis.setToolTip(QtGui.QApplication.translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_axis.setToolTip(QtGui.QApplication.translate("Form", "Create Axes:\n"
+"", None))
+ self.button_cut_wire_axis.setText(_translate("Form", "Axes=Cut(Wire)", None))
+ self.spin_wire_cut_axis.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_cut_axis.setToolTip(_translate("Form", "Create Axes:\n"
"Cut the selected Line in 2(n) parts and create 2(n) Axes.\n"
"The number indicates in how many parts to cut.\n"
"\n"
"NB: You can change the successive lines to be bicolor (red and white) \n"
-"in \"Ori. Pref.\" TAB", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_axis.setText(QtGui.QApplication.translate("Form", "Axes=Cut(Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_axis_cut.setToolTip(QtGui.QApplication.translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_extension_axis.setToolTip(QtGui.QApplication.translate("Form", "Enlarge(Axis):\n"
+"in \"Ori. Pref.\" TAB", None))
+ self.button_cut_axis.setText(_translate("Form", "Axes=Cut(Axis)", None))
+ self.spin_axis_cut.setToolTip(_translate("Form", "The number indicates in how many parts the selected Line will be cut (Max 100).", None))
+ self.button_extension_axis.setToolTip(_translate("Form", "Enlarge(Axis):\n"
"Extend an Axis at two extrema.\n"
"- First select an Axis (or several Axes) \n"
"- Second push this button\n"
"\n"
"NB: \n"
-" - The percentage of the extension can be defined first.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_extension_axis.setText(QtGui.QApplication.translate("Form", "Enlarge(Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_axis.setToolTip(QtGui.QApplication.translate("Form", "Extension of the Line in percentage.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_axis.setText(QtGui.QApplication.translate("Form", "50.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_axis.setToolTip(QtGui.QApplication.translate("Form", "Create a set of Lines on a Plane perpendicular to the view at location of 2 mouse clicks.\n"
+" - The percentage of the extension can be defined first.", None))
+ self.button_extension_axis.setText(_translate("Form", "Enlarge(Axis)", None))
+ self.extension_axis.setToolTip(_translate("Form", "Extension of the Line in percentage.", None))
+ self.extension_axis.setText(_translate("Form", "50.0", None))
+ self.button_click_for_axis.setToolTip(_translate("Form", "Create a set of Lines on a Plane perpendicular to the view at location of 2 mouse clicks.\n"
"- Click first on the Button then at least twice click on the View (with no object in background).\n"
-"- Click first on the Button then at least twice click on the View (with an object in background), it will attach the lines to the surface of the object.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_axis.setText(QtGui.QApplication.translate("Form", "Click", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_base_axes.setToolTip(QtGui.QApplication.translate("Form", "Create 3 Axes at Base location of all selected Object(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_base_axes.setText(QtGui.QApplication.translate("Form", "Object(s) Base Axes", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_to_sketch.setToolTip(QtGui.QApplication.translate("Form", "Transform Line(s) in Sketch\'s Line(s) by projection onto the Sketch\'s Plane:\n"
+"- Click first on the Button then at least twice click on the View (with an object in background), it will attach the lines to the surface of the object.", None))
+ self.button_click_for_axis.setText(_translate("Form", "Click", None))
+ self.button_object_base_axes.setToolTip(_translate("Form", "Create 3 Axes at Base location of all selected Object(s).", None))
+ self.button_object_base_axes.setText(_translate("Form", "Object(s) Base Axes", None))
+ self.button_line_to_sketch.setToolTip(_translate("Form", "Transform Line(s) in Sketch\'s Line(s) by projection onto the Sketch\'s Plane:\n"
"- First select an existing Skecth;\n"
"- Select as much as Lines needed;\n"
-"Then click on this button.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_line_to_sketch.setText(QtGui.QApplication.translate("Form", "Axis(es) to Sketch", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Axis_Tab2), QtGui.QApplication.translate("Form", "Axis 2/2", None, QtGui.QApplication.UnicodeUTF8))
- self.button_linecenter_circle.setToolTip(QtGui.QApplication.translate("Form", "Select an Axis and a Point to create a Circle\n"
+"Then click on this button.", None))
+ self.button_line_to_sketch.setText(_translate("Form", "Axis(es) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Axis_Tab2_2), _translate("Form", "Axis 2/2", None))
+ self.lineEdit.setText(_translate("Form", "Examples from http://www.mathcurve.com/", None))
+ self.groupBox_14.setTitle(_translate("Form", "Equation :", None))
+ self.label_y_3.setText(_translate("Form", "Y (a,b,t) ", None))
+ self.ParCurve_a_2.setText(_translate("Form", "10 # Radius", None))
+ self.label_b_3.setText(_translate("Form", "b (a, t) ", None))
+ self.ParCurve_y_2.setText(_translate("Form", "b*sin(t)", None))
+ self.checkBox_polar_2.setToolTip(_translate("Form", "Toggle for Polar coordinates:\n"
+"then x is interpreted as radius\n"
+" and y is interpreted as angle teta.", None))
+ self.checkBox_polar_2.setText(_translate("Form", " Polar coord.", None))
+ self.label_x_3.setText(_translate("Form", "X (a,b,t) ", None))
+ self.ParCurve_x_2.setText(_translate("Form", "a*cos(t)", None))
+ self.label_a_3.setText(_translate("Form", "a (t) ", None))
+ self.ParCurve_b_2.setText(_translate("Form", "a", None))
+ self.ParCurve_comboBox_2.setToolTip(_translate("Form", "Choose another curve from the list.", None))
+ self.ParCurve_button_edit_2.setToolTip(_translate("Form", "Click to access to a table where you can edit all parameters of all curves and \n"
+"save your custom curves.", None))
+ self.ParCurve_button_edit_2.setText(_translate("Form", "Edit", None))
+ self.checkBox_close_2.setText(_translate("Form", "Closed curve", None))
+ self.checkBox_face_2.setText(_translate("Form", "Create Face", None))
+ self.label_name_2.setText(_translate("Form", "Name", None))
+ self.ParCurve_name_2.setText(_translate("Form", "Circle", None))
+ self.groupBox_15.setTitle(_translate("Form", "Parameters", None))
+ self.label_tmin_3.setText(_translate("Form", "t min", None))
+ self.ParCurve_tmin_2.setText(_translate("Form", "0", None))
+ self.label_tmax_3.setText(_translate("Form", "t max", None))
+ self.ParCurve_tmax_2.setText(_translate("Form", "2*pi", None))
+ self.label_tstep_3.setText(_translate("Form", "step", None))
+ self.ParCurve_tstep_2.setText(_translate("Form", "0.01", None))
+ self.groupBox_16.setTitle(_translate("Form", "Type of 2D Curve", None))
+ self.checkBox_points_2.setText(_translate("Form", "Points", None))
+ self.checkBox_polyline_2.setText(_translate("Form", "Polyline", None))
+ self.checkBox_bspline_2.setText(_translate("Form", "Bspline", None))
+ self.checkBox_bezier_2.setText(_translate("Form", "Bezier", None))
+ self.ParCurve_button_store_2.setToolTip(_translate("Form", "Click to store the current edited curve into the table.\n"
+"To save your curve you need to go to \"Edit\".", None))
+ self.ParCurve_button_store_2.setText(_translate("Form", "Store", None))
+ self.ParCurve_button_apply_2.setToolTip(_translate("Form", "Click to visualize the curve.", None))
+ self.ParCurve_button_apply_2.setText(_translate("Form", "Apply", None))
+ self.tabWidget_8.setTabText(self.tabWidget_8.indexOf(self.tab_14), _translate("Form", "2D", None))
+ self.ParCurve_comboBox_3.setToolTip(_translate("Form", "Choose another curve from the list.", None))
+ self.ParCurve_button_edit_3.setToolTip(_translate("Form", "Click to access to a table where you can edit all parameters of all curves and \n"
+"save your custom curves.", None))
+ self.ParCurve_button_edit_3.setText(_translate("Form", "Edit", None))
+ self.label_name_3.setText(_translate("Form", "Name", None))
+ self.ParCurve_name_3.setText(_translate("Form", "Cylindrical helix", None))
+ self.groupBox_17.setTitle(_translate("Form", "Equation :", None))
+ self.label_a_4.setText(_translate("Form", "a (t) ", None))
+ self.ParCurve_a_3.setText(_translate("Form", "10*0.05 #Vert. step", None))
+ self.label_b_4.setText(_translate("Form", "b (a, t) ", None))
+ self.ParCurve_b_3.setText(_translate("Form", "1", None))
+ self.label_c_2.setText(_translate("Form", "c (a, b, t) ", None))
+ self.ParCurve_c_3.setText(_translate("Form", "10 # Radius", None))
+ self.label_x_4.setText(_translate("Form", "X (a,b,c,t) ", None))
+ self.ParCurve_x_3.setText(_translate("Form", "c*sin(t)", None))
+ self.label_y_4.setText(_translate("Form", "Y (a,b,c,t) ", None))
+ self.label_z_2.setText(_translate("Form", "Z (a,b,c,t) ", None))
+ self.ParCurve_z_3.setText(_translate("Form", "a*t", None))
+ self.ParCurve_y_3.setText(_translate("Form", "c*cos(t)", None))
+ self.groupBox_18.setTitle(_translate("Form", "Parameters", None))
+ self.label_tmin_4.setText(_translate("Form", "t min", None))
+ self.label_tmax_4.setText(_translate("Form", "t max", None))
+ self.ParCurve_tmax_3.setText(_translate("Form", "5*2*pi #5 circles", None))
+ self.label_tstep_4.setText(_translate("Form", "step", None))
+ self.ParCurve_tstep_3.setText(_translate("Form", "0.01", None))
+ self.ParCurve_tmin_3.setText(_translate("Form", "0", None))
+ self.groupBox_19.setTitle(_translate("Form", "Type of 3D Curve", None))
+ self.checkBox_points_3.setText(_translate("Form", "Points", None))
+ self.checkBox_polyline_3.setText(_translate("Form", "Polyline", None))
+ self.checkBox_bspline_3.setText(_translate("Form", "Bspline", None))
+ self.checkBox_bezier_3.setText(_translate("Form", "Bezier", None))
+ self.checkBox_close_3.setText(_translate("Form", "Closed curve", None))
+ self.ParCurve_button_store_3.setToolTip(_translate("Form", "Click to store the current edited curve into the table.\n"
+"To save your curve you need to go to \"Edit\".", None))
+ self.ParCurve_button_store_3.setText(_translate("Form", "Store", None))
+ self.ParCurve_button_apply_3.setToolTip(_translate("Form", "Click to visualize the curve.", None))
+ self.ParCurve_button_apply_3.setText(_translate("Form", "Apply", None))
+ self.tabWidget_8.setTabText(self.tabWidget_8.indexOf(self.tab_15), _translate("Form", "3D", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Wire_Tab_2), _translate("Form", "Wire", None))
+ self.button_linecenter_circle.setToolTip(_translate("Form", "Select an Axis and a Point to create a Circle\n"
"centered on the Point, perpendicular to the Axis \n"
-"with the given radius.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_linecenter_circle.setText(QtGui.QApplication.translate("Form", "Circle=(Axis, center)", None, QtGui.QApplication.UnicodeUTF8))
- self.radius_circle.setToolTip(QtGui.QApplication.translate("Form", "Radius of the Circle.", None, QtGui.QApplication.UnicodeUTF8))
- self.radius_circle.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_linepoint_circle.setToolTip(QtGui.QApplication.translate("Form", "Select an Axis and a Point to create a Circle\n"
-"centered on the Axis and tangenting the Point.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_linepoint_circle.setText(QtGui.QApplication.translate("Form", "Circle=(Axis, point)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_3points_circle.setToolTip(QtGui.QApplication.translate("Form", "Select 3 Points to create a Circle.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_3points_circle.setText(QtGui.QApplication.translate("Form", "Circle=(3 points)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_circle.setToolTip(QtGui.QApplication.translate("Form", "Create Arcs:\n"
+"with the given radius.", None))
+ self.button_linecenter_circle.setText(_translate("Form", "Circle=(Axis, center)", None))
+ self.radius_circle.setToolTip(_translate("Form", "Radius of the Circle.", None))
+ self.radius_circle.setText(_translate("Form", "10.0", None))
+ self.button_linepoint_circle.setToolTip(_translate("Form", "Select an Axis and a Point to create a Circle\n"
+"centered on the Axis and tangenting the Point.", None))
+ self.button_linepoint_circle.setText(_translate("Form", "Circle=(Axis, point)", None))
+ self.button_3points_circle.setToolTip(_translate("Form", "Select 3 Points to create a Circle.", None))
+ self.button_3points_circle.setText(_translate("Form", "Circle=(3 points)", None))
+ self.button_cut_circle.setToolTip(_translate("Form", "Create Arcs:\n"
"Cut the selected Circle(s) or Arc(s) in 2(n) parts and create 2(n) Arcs.\n"
"The number indicates in how many parts to cut.\n"
"- First select as many Circles and Arcs you want\n"
@@ -2136,226 +2743,40 @@ class Ui_Form(object):
"- Third push this button\n"
"\n"
"NB: You can change the successive lines to be bicolor (red and white) \n"
-"in \"Ori. Pref.\" TAB", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_circle.setText(QtGui.QApplication.translate("Form", "Arcs=Cut(Circle)", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_circle_cut.setToolTip(QtGui.QApplication.translate("Form", "The number indicates in how many parts the selected Circle will be cut (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_3points_ellipse.setToolTip(QtGui.QApplication.translate("Form", "Select a center and 2 Points to create an Ellipse.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_3points_ellipse.setText(QtGui.QApplication.translate("Form", "Ellipse=(3 points)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_circle_to_sketch.setToolTip(QtGui.QApplication.translate("Form", "Transform Circle(s) and Arc(s) in Sketch\'s object(s) by projection onto the Sketch\'s Plane:\n"
+"in \"Ori. Pref.\" TAB", None))
+ self.button_cut_circle.setText(_translate("Form", "Arcs=Cut(Circle)", None))
+ self.spin_circle_cut.setToolTip(_translate("Form", "The number indicates in how many parts the selected Circle will be cut (Max 100).", None))
+ self.button_3points_ellipse.setToolTip(_translate("Form", "Select a center and 2 Points to create an Ellipse.", None))
+ self.button_3points_ellipse.setText(_translate("Form", "Ellipse=(3 points)", None))
+ self.button_circle_to_sketch.setToolTip(_translate("Form", "Transform Circle(s) and Arc(s) in Sketch\'s object(s) by projection onto the Sketch\'s Plane:\n"
"- First select an existing Skecth;\n"
"- Select as much as Circles and arcs needed;\n"
-"Then click on this button.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_circle_to_sketch.setText(QtGui.QApplication.translate("Form", "Circle(s) to Sketch", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("Form", "Circle", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_plane.setToolTip(QtGui.QApplication.translate("Form", "Click:\n"
-"Create a rectangular Plane perpendicular to the view at location of one mouse click.\n"
-"Define the width and the length of the Plane if needed.\n"
-"- Click first on the Button then click once on the View.\n"
-"- Click first on the Button then click once on top of one object of the View\n"
-" to attach the plane at this object.\n"
-"- You can also select an already existing point first and click the button to attach the plane.\n"
-"\n"
-"NB: The plane width and length can be defined first.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_click_for_plane.setText(QtGui.QApplication.translate("Form", "Click", None, QtGui.QApplication.UnicodeUTF8))
- self.length_plane.setToolTip(QtGui.QApplication.translate("Form", "Length of the Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.length_plane.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.width_plane.setToolTip(QtGui.QApplication.translate("Form", "Width of the Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.width_plane.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_planeandaxis_plane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(Plane, Axis):\n"
-"Create a Plane crossing a Line and perpendicular to a Plane.\n"
-"- First select a plane and a line NOT on the previous plane\n"
-"- Second push this button\n"
-"\n"
-"NB: The plane created can be rotated if a none null angle is defined first.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_planeandaxis_plane.setText(QtGui.QApplication.translate("Form", "Plane=(Plane, Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_planeandaxis_plane.setToolTip(QtGui.QApplication.translate("Form", "Angle of rotation of the created Plane (in degrees).", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_planeandaxis_plane.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_axisandpoint_plane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(Point, Axis):\n"
-"Create a plane crossing a Line and a Point.\n"
-"- First select a line and a point NOT on the previous line\n"
-"- Second push this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_axisandpoint_plane.setText(QtGui.QApplication.translate("Form", "Plane=(Point, Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_axis_point_plane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(Point, _|Axis):\n"
-"Create a plane perpendicular to a Line and crossing a Point.\n"
-"- First select a line and a point NOT on the previous line\n"
-"- Second push this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_axis_point_plane.setText(QtGui.QApplication.translate("Form", "Plane=(Point, _|Axis)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_tangent.setToolTip(QtGui.QApplication.translate("Form", "Face Tangent:\n"
-"Create a tanget Plane at click location of a Face.\n"
-"- First click in the view to select and object,\n"
-"- Second push this button\n"
-"-Third click on a location on the selected object.\n"
-"\n"
-"NB: The plane width and length can be defined first.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_face_tangent.setText(QtGui.QApplication.translate("Form", "Face Tangent", None, QtGui.QApplication.UnicodeUTF8))
- self.length_plane_2.setToolTip(QtGui.QApplication.translate("Form", "Length of the Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.length_plane_2.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.width_plane_2.setToolTip(QtGui.QApplication.translate("Form", "Width of the Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.width_plane_2.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_threepoints_plane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(3 Points):\n"
-"Create a Plane crossing 3 Points.\n"
-"- First select 3 different points\n"
-"- Second push this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_threepoints_plane.setText(QtGui.QApplication.translate("Form", "Plane=(3 Points)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distPlane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(Plane,dist):\n"
-"Create a Plane parallel to a Plane at a given distance.\n"
-"- First select a plane or several Planes\n"
-"- Second push this button\n"
-"\n"
-"NB: \n"
-" - The distance to the plane created can be defined first.\n"
-"Positive number in one direction and negative in the other one.\n"
-"The second number indicates the number of planes to create.\n"
-"With option \"Object copy\" in \"Ori. Pref.\" TAB\n"
-" - If a Face of a Cube is selected the Cube is duplicate with the \n"
-"corresponding Face at the defined distance from the original.\n"
-"Several Faces of the cube can be selected.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_distPlane.setText(QtGui.QApplication.translate("Form", "Plane=(Plane,dist)", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_plane.setToolTip(QtGui.QApplication.translate("Form", "Distance to the new plane.\n"
-"Can be negative for the reverse direction!", None, QtGui.QApplication.UnicodeUTF8))
- self.dist_plane.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_dist_plane.setToolTip(QtGui.QApplication.translate("Form", "The number of copies (Max 100).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_planeandpoint_plane.setToolTip(QtGui.QApplication.translate("Form", "Plane=(Point, Plane):\n"
-"Create a plane crossing a Point and parallel to a Plane.\n"
-"- First select a plane and a point NOT on the previous plane\n"
-"- Second push this button\n"
-"\n"
-"NB: you can enlarge the created new plane by setting first an extension length.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_planeandpoint_plane.setText(QtGui.QApplication.translate("Form", "Plane=(Point, Plane)", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_planePointPlane.setToolTip(QtGui.QApplication.translate("Form", "Length for the extensions of the new Plane compared to initial one.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_planePointPlane.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Plane_Tab1), QtGui.QApplication.translate("Form", "Plane 1/2", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_center_planes.setToolTip(QtGui.QApplication.translate("Form", "Object(s) Center Planes:\n"
-"Create 3 Planes (XY, XZ and YZ) at center location of all selected Object(s).\n"
-"- First select one or severl objects\n"
-"- Second push this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_object_center_planes.setText(QtGui.QApplication.translate("Form", "Object(s) Center Planes", None, QtGui.QApplication.UnicodeUTF8))
- self.button_extension_plane.setToolTip(QtGui.QApplication.translate("Form", "Enlarge(Plane):\n"
-"Extend a Plane in each dimension.\n"
-"- First select a Plane (or several Planes) \n"
-"- Second push this button\n"
-"\n"
-"NB: \n"
-" - The percentage of the extension can be defined first.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_extension_plane.setText(QtGui.QApplication.translate("Form", "Enlarge(Plane)", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_plane.setToolTip(QtGui.QApplication.translate("Form", "Extension of the Plane in each dimension in percentage.", None, QtGui.QApplication.UnicodeUTF8))
- self.extension_plane.setText(QtGui.QApplication.translate("Form", "50.0", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Plane_Tab11), QtGui.QApplication.translate("Form", "Plane 2/2", None, QtGui.QApplication.UnicodeUTF8))
- self.button_boundingboxes.setToolTip(QtGui.QApplication.translate("Form", "Create bounding boxes around each of selected object(s).\n"
-"6 rectangles at the limits of each bounding boxes will be created.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_boundingboxes.setText(QtGui.QApplication.translate("Form", "Bounding Box(es)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_boundingbox.setToolTip(QtGui.QApplication.translate("Form", "Create one bounding box around all of selected object(s).\n"
-"6 rectangles at the limits of the bounding box will be created.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_boundingbox.setText(QtGui.QApplication.translate("Form", "Bounding Box", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_volumBB.setToolTip(QtGui.QApplication.translate("Form", "if \"Vol.\" is toggled:\n"
-" In Addition of rectangles, the Bounding box will be also created as a Volume.", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_volumBB.setText(QtGui.QApplication.translate("Form", "Vol.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cylinder_create.setToolTip(QtGui.QApplication.translate("Form", "Create a Cylinder aligned on Axes:\n"
-"- First select one or several couple of ( Axis and a Ref. Point). \n"
-"- Define Diameter and Length if needed.\n"
-"Then Click the button...\n"
-"It will create a Cylinder aligned on the selected axis \n"
-"with one of the extremities at the Ref. point,\n"
-"for all couple selected.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cylinder_create.setText(QtGui.QApplication.translate("Form", "Cylinder", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_cylinder.setToolTip(QtGui.QApplication.translate("Form", "Radius of the Cylinder.", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_cylinder.setText(QtGui.QApplication.translate("Form", "2.0", None, QtGui.QApplication.UnicodeUTF8))
- self.length_cylinder.setToolTip(QtGui.QApplication.translate("Form", "Length of the Cylinder.\n"
-"Negative value will reverse the direction from Ref. Point", None, QtGui.QApplication.UnicodeUTF8))
- self.length_cylinder.setText(QtGui.QApplication.translate("Form", "20.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cube_create.setToolTip(QtGui.QApplication.translate("Form", "Create a Cuboid aligned on Axes:\n"
-"- First select one or several couple of ( Axis and a Ref. Point). \n"
-"- Define Dimensions if needed.\n"
-"Then Click the button...\n"
-"It will create a Cube aligned on the selected axis \n"
-"with one of the extremities at Ref. point,\n"
-"for all couple selected.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cube_create.setText(QtGui.QApplication.translate("Form", "Cube", None, QtGui.QApplication.UnicodeUTF8))
- self.section_cube.setToolTip(QtGui.QApplication.translate("Form", "Section (Length, Width) of the Cube.", None, QtGui.QApplication.UnicodeUTF8))
- self.section_cube.setText(QtGui.QApplication.translate("Form", "2.0,2.0", None, QtGui.QApplication.UnicodeUTF8))
- self.height_cube.setToolTip(QtGui.QApplication.translate("Form", "Heigth of the Cube.\n"
-"Negative value will reverse the direction from Ref. Point", None, QtGui.QApplication.UnicodeUTF8))
- self.height_cube.setText(QtGui.QApplication.translate("Form", "20.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_sphere_create.setToolTip(QtGui.QApplication.translate("Form", "Create a Sphere shell:\n"
-"- First select one or several Center Point(s). \n"
-"- Define Diameter if needed.\n"
-"Then Click the button...\n"
-"It will create Sphere shell(s) centered\n"
-"at the selected point(s).", None, QtGui.QApplication.UnicodeUTF8))
- self.button_sphere_create.setText(QtGui.QApplication.translate("Form", "Sphere", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_sphere.setToolTip(QtGui.QApplication.translate("Form", "Diameter of the Sphere.", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_sphere.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_dome_create.setToolTip(QtGui.QApplication.translate("Form", "Create a full geodesic dome shell:\n"
-"- First select one or several Center Point(s). \n"
-"- Define Diameter and Frequency Parameter (Integer between 1 to 10) if needed.\n"
-"Then Click the button...\n"
-"It will create full geodesic dome shell(s) with a X-Y-symmetry plane \n"
-"for even frequencies and centered\n"
-"at the selected point(s).\n"
-"\n"
-"If Frequency Parameter = 1, the code create an icosahedron. \n"
-"An icosahedron is a polyhedron with 20 faces.\n"
-"\n"
-"Original code from : Ulrich Brammer", None, QtGui.QApplication.UnicodeUTF8))
- self.button_dome_create.setText(QtGui.QApplication.translate("Form", "Dome", None, QtGui.QApplication.UnicodeUTF8))
- self.spin_frequency_dome.setToolTip(QtGui.QApplication.translate("Form", "Frequency Parameter (Integer between 1 to 20).", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_dome.setToolTip(QtGui.QApplication.translate("Form", "Diameter of the Dome.", None, QtGui.QApplication.UnicodeUTF8))
- self.diameter_dome.setText(QtGui.QApplication.translate("Form", "10.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_letter.setToolTip(QtGui.QApplication.translate("Form", "AB:\n"
-"Create 3D Text attached to a Point. \n"
-"- First select a Plane\n"
-"- Then push this button\n"
-"in this case the center of the text is attached to center of the Plane;\n"
-"or\n"
-"- First select a Plane and a Point on the Plane\n"
-"- Then push this button\n"
-"NB:\n"
-" Change the text and his size if needed", None, QtGui.QApplication.UnicodeUTF8))
- self.button_letter.setText(QtGui.QApplication.translate("Form", "AB", None, QtGui.QApplication.UnicodeUTF8))
- self.letter.setToolTip(QtGui.QApplication.translate("Form", "Put the desired text here", None, QtGui.QApplication.UnicodeUTF8))
- self.letter.setText(QtGui.QApplication.translate("Form", "A", None, QtGui.QApplication.UnicodeUTF8))
- self.size_letter.setToolTip(QtGui.QApplication.translate("Form", "Size of the font.", None, QtGui.QApplication.UnicodeUTF8))
- self.size_letter.setText(QtGui.QApplication.translate("Form", "2.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_revolve.setToolTip(QtGui.QApplication.translate("Form", "Revolve:\n"
-"Make the revolution of Edge(s) or Wire(s) around an Axis:\n"
-"- Select one or several wire(s)\n"
-"- Then push this button\n"
-"or\n"
-"- Select FIRST one Point as center of rotation and one Axis as rotation axis !\n"
-"- Select one or several wire(s)\n"
-"- Then push this button\n"
-"\n"
-"NB:\n"
-" You can also define the angle of revolution if needed\n"
-" If no Axis is selected the Z axis is considered as Axis of rotation !\n"
-" If no Point is selected the Origin is considered as Center of rotation !", None, QtGui.QApplication.UnicodeUTF8))
- self.button_revolve.setText(QtGui.QApplication.translate("Form", "Revolve", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_revolve.setToolTip(QtGui.QApplication.translate("Form", "Angle of the revolution in degrees.", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_revolve.setText(QtGui.QApplication.translate("Form", "360", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_allsubselect.setToolTip(QtGui.QApplication.translate("Form", "if \"All\" is toggled:\n"
+"Then click on this button.", None))
+ self.button_circle_to_sketch.setText(_translate("Form", "Circle(s) to Sketch", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_16), _translate("Form", "Circle", None))
+ self.checkBox_allsubselect.setToolTip(_translate("Form", "if \"All\" is toggled:\n"
" All the wires of the Trajectory selected will be considered.\n"
"\n"
"Untoggled if you select a Skecth with several curves and you want to process\n"
-"only the one subselected.", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_allsubselect.setText(QtGui.QApplication.translate("Form", "All", None, QtGui.QApplication.UnicodeUTF8))
- self.transition_comboBox.setToolTip(QtGui.QApplication.translate("Form", "For the function :\n"
+"only the one subselected.", None))
+ self.checkBox_allsubselect.setText(_translate("Form", "All", None))
+ self.transition_comboBox.setToolTip(_translate("Form", "For the function :\n"
"makePipeShell(shapeList,[isSolid,isFrenet,transition])\n"
"Select a Transition option in case of trajectory with several wires; Transition can be:\n"
-"# 0 (default), 1 (right corners) or 2 (rounded corners).", None, QtGui.QApplication.UnicodeUTF8))
- self.transition_comboBox.setItemText(0, QtGui.QApplication.translate("Form", "No Transition", None, QtGui.QApplication.UnicodeUTF8))
- self.transition_comboBox.setItemText(1, QtGui.QApplication.translate("Form", "Right corners", None, QtGui.QApplication.UnicodeUTF8))
- self.transition_comboBox.setItemText(2, QtGui.QApplication.translate("Form", "Rounded corners", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_solid.setToolTip(QtGui.QApplication.translate("Form", "if \"Solid\" is toggled:\n"
+"# 0 (default), 1 (right corners) or 2 (rounded corners).", None))
+ self.transition_comboBox.setItemText(0, _translate("Form", "No Transition", None))
+ self.transition_comboBox.setItemText(1, _translate("Form", "Right corners", None))
+ self.transition_comboBox.setItemText(2, _translate("Form", "Rounded corners", None))
+ self.checkBox_solid.setToolTip(_translate("Form", "if \"Solid\" is toggled:\n"
" The Beam sweep will generate a solid with a closed selected wire as Section.\n"
"If this check box is toggle off:\n"
-" Or if the Section wire is not closed, only a shell will be created.", None, QtGui.QApplication.UnicodeUTF8))
- self.checkBox_solid.setText(QtGui.QApplication.translate("Form", "Solid", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_Frenet.setToolTip(QtGui.QApplication.translate("Form", "Force the \"isFrenet\" parameter to True for the function :\n"
+" Or if the Section wire is not closed, only a shell will be created.", None))
+ self.checkBox_solid.setText(_translate("Form", "Solid", None))
+ self.radioButton_Frenet.setToolTip(_translate("Form", "Force the \"isFrenet\" parameter to True for the function :\n"
"makePipeShell(shapeList,[isSolid,isFrenet,transition])\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.radioButton_Frenet.setText(QtGui.QApplication.translate("Form", "isFrenet", None, QtGui.QApplication.UnicodeUTF8))
- self.button_sweep.setToolTip(QtGui.QApplication.translate("Form", "Section Sweep:\n"
+"", None))
+ self.radioButton_Frenet.setText(_translate("Form", "isFrenet", None))
+ self.button_sweep.setToolTip(_translate("Form", "Section Sweep:\n"
"# Make a loft defined by a list of profiles along a wire.\n"
"Will extrude/sweep a Section along a Trajectory like sweep from Part Workbench but:\n"
"- the Section center (of Mass) is move at the first point of the Trajectory and;\n"
@@ -2372,10 +2793,214 @@ class Ui_Form(object):
"- All option (means if the trajectory selected is a compound, all sub wires will be used for the sweep)\n"
"- Transition Option (Select a Transition option in case of trajectory with several wires; Transition can be:\n"
"# 0 (default), 1 (right corners) or 2 (rounded corners).)\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_sweep.setText(QtGui.QApplication.translate("Form", "Section Sweep", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Objects_Tab2), QtGui.QApplication.translate("Form", "Object", None, QtGui.QApplication.UnicodeUTF8))
- self.button_alignface2view.setToolTip(QtGui.QApplication.translate("Form", "Align the face of selected object(s) to the actual view Plane.\n"
+"", None))
+ self.button_sweep.setText(_translate("Form", "Section Sweep", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_17), _translate("Form", "Sweeping", None))
+ self.button_click_for_plane.setToolTip(_translate("Form", "Click:\n"
+"Create a rectangular Plane perpendicular to the view at location of one mouse click.\n"
+"Define the width and the length of the Plane if needed.\n"
+"- Click first on the Button then click once on the View.\n"
+"- Click first on the Button then click once on top of one object of the View\n"
+" to attach the plane at this object.\n"
+"- You can also select an already existing point first and click the button to attach the plane.\n"
+"\n"
+"NB: The plane width and length can be defined first.\n"
+"", None))
+ self.button_click_for_plane.setText(_translate("Form", "Click", None))
+ self.length_plane.setToolTip(_translate("Form", "Length of the Plane.", None))
+ self.length_plane.setText(_translate("Form", "10.0", None))
+ self.width_plane.setToolTip(_translate("Form", "Width of the Plane.", None))
+ self.width_plane.setText(_translate("Form", "10.0", None))
+ self.button_planeandaxis_plane.setToolTip(_translate("Form", "Plane=(Plane, Axis):\n"
+"Create a Plane crossing a Line and perpendicular to a Plane.\n"
+"- First select a plane and a line NOT on the previous plane\n"
+"- Second push this button\n"
+"\n"
+"NB: The plane created can be rotated if a none null angle is defined first.", None))
+ self.button_planeandaxis_plane.setText(_translate("Form", "Plane=(Plane, Axis)", None))
+ self.angle_planeandaxis_plane.setToolTip(_translate("Form", "Angle of rotation of the created Plane (in degrees).", None))
+ self.angle_planeandaxis_plane.setText(_translate("Form", "0.0", None))
+ self.button_axisandpoint_plane.setToolTip(_translate("Form", "Plane=(Point, Axis):\n"
+"Create a plane crossing a Line and a Point.\n"
+"- First select a line and a point NOT on the previous line\n"
+"- Second push this button", None))
+ self.button_axisandpoint_plane.setText(_translate("Form", "Plane=(Point, Axis)", None))
+ self.button_axis_point_plane.setToolTip(_translate("Form", "Plane=(Point, _|Axis):\n"
+"Create a plane perpendicular to a Line and crossing a Point.\n"
+"- First select a line and a point NOT on the previous line\n"
+"- Second push this button", None))
+ self.button_axis_point_plane.setText(_translate("Form", "Plane=(Point, _|Axis)", None))
+ self.button_face_tangent.setToolTip(_translate("Form", "Face Tangent:\n"
+"Create a tanget Plane at click location of a Face.\n"
+"- First click in the view to select and object,\n"
+"- Second push this button\n"
+"-Third click on a location on the selected object.\n"
+"\n"
+"NB: The plane width and length can be defined first.", None))
+ self.button_face_tangent.setText(_translate("Form", "Face Tangent", None))
+ self.length_plane_2.setToolTip(_translate("Form", "Length of the Plane.", None))
+ self.length_plane_2.setText(_translate("Form", "10.0", None))
+ self.width_plane_2.setToolTip(_translate("Form", "Width of the Plane.", None))
+ self.width_plane_2.setText(_translate("Form", "10.0", None))
+ self.button_threepoints_plane.setToolTip(_translate("Form", "Plane=(3 Points):\n"
+"Create a Plane crossing 3 Points.\n"
+"- First select 3 different points\n"
+"- Second push this button", None))
+ self.button_threepoints_plane.setText(_translate("Form", "Plane=(3 Points)", None))
+ self.button_distPlane.setToolTip(_translate("Form", "Plane=(Plane,dist):\n"
+"Create a Plane parallel to a Plane at a given distance.\n"
+"- First select a plane or several Planes\n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The distance to the plane created can be defined first.\n"
+"Positive number in one direction and negative in the other one.\n"
+"The second number indicates the number of planes to create.\n"
+"With option \"Object copy\" in \"Ori. Pref.\" TAB\n"
+" - If a Face of a Cube is selected the Cube is duplicate with the \n"
+"corresponding Face at the defined distance from the original.\n"
+"Several Faces of the cube can be selected.", None))
+ self.button_distPlane.setText(_translate("Form", "Plane=(Plane,dist)", None))
+ self.dist_plane.setToolTip(_translate("Form", "Distance to the new plane.\n"
+"Can be negative for the reverse direction!", None))
+ self.dist_plane.setText(_translate("Form", "10.0", None))
+ self.spin_dist_plane.setToolTip(_translate("Form", "The number of copies (Max 100).", None))
+ self.button_planeandpoint_plane.setToolTip(_translate("Form", "Plane=(Point, Plane):\n"
+"Create a plane crossing a Point and parallel to a Plane.\n"
+"- First select a plane and a point NOT on the previous plane\n"
+"- Second push this button\n"
+"\n"
+"NB: you can enlarge the created new plane by setting first an extension length.", None))
+ self.button_planeandpoint_plane.setText(_translate("Form", "Plane=(Point, Plane)", None))
+ self.extension_planePointPlane.setToolTip(_translate("Form", "Length for the extensions of the new Plane compared to initial one.", None))
+ self.extension_planePointPlane.setText(_translate("Form", "0.0", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Plane_Tab1_3), _translate("Form", "Plane 1/2", None))
+ self.button_object_center_planes.setToolTip(_translate("Form", "Object(s) Center Planes:\n"
+"Create 3 Planes (XY, XZ and YZ) at center location of all selected Object(s).\n"
+"- First select one or severl objects\n"
+"- Second push this button", None))
+ self.button_object_center_planes.setText(_translate("Form", "Object(s) Center Planes", None))
+ self.button_extension_plane.setToolTip(_translate("Form", "Enlarge(Plane):\n"
+"Extend a Plane in each dimension.\n"
+"- First select a Plane (or several Planes) \n"
+"- Second push this button\n"
+"\n"
+"NB: \n"
+" - The percentage of the extension can be defined first.", None))
+ self.button_extension_plane.setText(_translate("Form", "Enlarge(Plane)", None))
+ self.extension_plane.setToolTip(_translate("Form", "Extension of the Plane in each dimension in percentage.", None))
+ self.extension_plane.setText(_translate("Form", "50.0", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Plane_Tab1_4), _translate("Form", "Plane 2/2", None))
+ self.button_boundingboxes.setToolTip(_translate("Form", "Create bounding boxes around each of selected object(s).\n"
+"6 rectangles at the limits of each bounding boxes will be created.", None))
+ self.button_boundingboxes.setText(_translate("Form", "Bounding Box(es)", None))
+ self.button_boundingbox.setToolTip(_translate("Form", "Create one bounding box around all of selected object(s).\n"
+"6 rectangles at the limits of the bounding box will be created.", None))
+ self.button_boundingbox.setText(_translate("Form", "Bounding Box", None))
+ self.checkBox_volumBB.setToolTip(_translate("Form", "if \"Vol.\" is toggled:\n"
+" In Addition of rectangles, the Bounding box will be also created as a Volume.", None))
+ self.checkBox_volumBB.setText(_translate("Form", "Vol.", None))
+ self.button_cylinder_create.setToolTip(_translate("Form", "Create a Cylinder aligned on Axes:\n"
+"- First select one or several couple of ( Axis and a Ref. Point). \n"
+"- Define Diameter and Length if needed.\n"
+"Then Click the button...\n"
+"It will create a Cylinder aligned on the selected axis \n"
+"with one of the extremities at the Ref. point,\n"
+"for all couple selected.", None))
+ self.button_cylinder_create.setText(_translate("Form", "Cylinder", None))
+ self.diameter_cylinder.setToolTip(_translate("Form", "Radius of the Cylinder.", None))
+ self.diameter_cylinder.setText(_translate("Form", "2.0", None))
+ self.length_cylinder.setToolTip(_translate("Form", "Length of the Cylinder.\n"
+"Negative value will reverse the direction from Ref. Point", None))
+ self.length_cylinder.setText(_translate("Form", "20.0", None))
+ self.button_cube_create.setToolTip(_translate("Form", "Create a Cuboid aligned on Axes:\n"
+"- First select one or several couple of ( Axis and a Ref. Point). \n"
+"- Define Dimensions if needed.\n"
+"Then Click the button...\n"
+"It will create a Cube aligned on the selected axis \n"
+"with one of the extremities at Ref. point,\n"
+"for all couple selected.", None))
+ self.button_cube_create.setText(_translate("Form", "Cube", None))
+ self.section_cube.setToolTip(_translate("Form", "Section (Length, Width) of the Cube.", None))
+ self.section_cube.setText(_translate("Form", "2.0,2.0", None))
+ self.height_cube.setToolTip(_translate("Form", "Heigth of the Cube.\n"
+"Negative value will reverse the direction from Ref. Point", None))
+ self.height_cube.setText(_translate("Form", "20.0", None))
+ self.button_sphere_create.setToolTip(_translate("Form", "Create a Sphere shell:\n"
+"- First select one or several Center Point(s). \n"
+"- Define Diameter if needed.\n"
+"Then Click the button...\n"
+"It will create Sphere shell(s) centered\n"
+"at the selected point(s).", None))
+ self.button_sphere_create.setText(_translate("Form", "Sphere", None))
+ self.diameter_sphere.setToolTip(_translate("Form", "Diameter of the Sphere.", None))
+ self.diameter_sphere.setText(_translate("Form", "10.0", None))
+ self.button_dome_create.setToolTip(_translate("Form", "Create a full geodesic dome shell:\n"
+"- First select one or several Center Point(s). \n"
+"- Define Diameter and Frequency Parameter (Integer between 1 to 10) if needed.\n"
+"Then Click the button...\n"
+"It will create full geodesic dome shell(s) with a X-Y-symmetry plane \n"
+"for even frequencies and centered\n"
+"at the selected point(s).\n"
+"\n"
+"If Frequency Parameter = 1, the code create an icosahedron. \n"
+"An icosahedron is a polyhedron with 20 faces.\n"
+"\n"
+"Original code from : Ulrich Brammer", None))
+ self.button_dome_create.setText(_translate("Form", "Dome", None))
+ self.spin_frequency_dome.setToolTip(_translate("Form", "Frequency Parameter (Integer between 1 to 20).", None))
+ self.diameter_dome.setToolTip(_translate("Form", "Diameter of the Dome.", None))
+ self.diameter_dome.setText(_translate("Form", "10.0", None))
+ self.button_letter.setToolTip(_translate("Form", "AB:\n"
+"Create 3D Text attached to a Point. \n"
+"- First select a Plane\n"
+"- Then push this button\n"
+"in this case the center of the text is attached to center of the Plane;\n"
+"or\n"
+"- First select a Plane and a Point on the Plane\n"
+"- Then push this button\n"
+"NB:\n"
+" Change the text and his size if needed", None))
+ self.button_letter.setText(_translate("Form", "AB", None))
+ self.letter.setToolTip(_translate("Form", "Put the desired text here", None))
+ self.letter.setText(_translate("Form", "A", None))
+ self.size_letter.setToolTip(_translate("Form", "Size of the font.", None))
+ self.size_letter.setText(_translate("Form", "2.0", None))
+ self.button_revolve.setToolTip(_translate("Form", "Revolve:\n"
+"Make the revolution of Edge(s) or Wire(s) around an Axis:\n"
+"- Select one or several wire(s)\n"
+"- Then push this button\n"
+"or\n"
+"- Select FIRST one Point as center of rotation and one Axis as rotation axis !\n"
+"- Select one or several wire(s)\n"
+"- Then push this button\n"
+"\n"
+"NB:\n"
+" You can also define the angle of revolution if needed\n"
+" If no Axis is selected the Z axis is considered as Axis of rotation !\n"
+" If no Point is selected the Origin is considered as Center of rotation !", None))
+ self.button_revolve.setText(_translate("Form", "Revolve", None))
+ self.angle_revolve.setToolTip(_translate("Form", "Angle of the revolution in degrees.", None))
+ self.angle_revolve.setText(_translate("Form", "360", None))
+ self.button_common.setToolTip(_translate("Form", "Compute the common parts between selected shapes.\n"
+"- Select at least two objects and click.\n"
+"\n"
+"Highlight common parts by showing the common shape in red and setting half-transparency on original parts (the original objects are not modified).\n"
+"Original code from HighlightCommon.FCMacro\n"
+" https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightCommon.FCMacro\n"
+" Authors = 2015 Javier Martinez Garcia\n"
+"", None))
+ self.button_common.setText(_translate("Form", "Common", None))
+ self.button_difference.setToolTip(_translate("Form", "Compute the difference parts between selected shapes.\n"
+"- Select two objects and click.\n"
+"\n"
+"Compute the difference between two shapes. Additions are marked red, removals are marked green. Both original parts will be half transparent. The volume of the additions and removals are printed in the console. \n"
+"Original code from HighlightDifference.FCMacro\n"
+" https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightDifference.FCMacro\n"
+" Authors = 2015 Gaël Ecorchard (Galou)", None))
+ self.button_difference.setText(_translate("Form", "Difference", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Objects_Tab2_2), _translate("Form", "Object", None))
+ self.button_alignface2view.setToolTip(_translate("Form", "Align the face of selected object(s) to the actual view Plane.\n"
" - Click first to select a Face of one or several objects.\n"
"These objects will be moved not the point of view.\n"
"Then Click the button.\n"
@@ -2390,9 +3015,9 @@ class Ui_Form(object):
"\n"
" Two clicks will rotate by 180 deg the moving objects.\n"
"\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_alignface2view.setText(QtGui.QApplication.translate("Form", "Align Face to View", None, QtGui.QApplication.UnicodeUTF8))
- self.button_align_faces.setToolTip(QtGui.QApplication.translate("Form", "Align the Face(s) from selected object(s) to the last Face selected.\n"
+"", None))
+ self.button_alignface2view.setText(_translate("Form", "Align Face to View", None))
+ self.button_align_faces.setToolTip(_translate("Form", "Align the Face(s) from selected object(s) to the last Face selected.\n"
" - Click first to select a Face of an object or several Faces from several objects. \n"
"These objects will be moved.\n"
" - Click second to select a Face to align to (the last object is fixed and will never move).\n"
@@ -2407,11 +3032,11 @@ class Ui_Form(object):
" In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)\n"
"\n"
" Two clicks will rotate by 180 deg the moving objects.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_align_faces.setText(QtGui.QApplication.translate("Form", "Align Faces", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_align_faces.setToolTip(QtGui.QApplication.translate("Form", "This Angle (in degrees) will be added to the angle needed to align Faces.", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_align_faces.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_align_edges.setToolTip(QtGui.QApplication.translate("Form", "Align the Edge(s) from selected object(s) to the last Edge selected.\n"
+"", None))
+ self.button_align_faces.setText(_translate("Form", "Align Faces", None))
+ self.angle_align_faces.setToolTip(_translate("Form", "This Angle (in degrees) will be added to the angle needed to align Faces.", None))
+ self.angle_align_faces.setText(_translate("Form", "0.0", None))
+ self.button_align_edges.setToolTip(_translate("Form", "Align the Edge(s) from selected object(s) to the last Edge selected.\n"
" - Click first to select an Edge of an object or several Edges from several objects. \n"
"These objects will be moved.\n"
" - Click second to select an Edge to align to (the last object is fixed and will never move).\n"
@@ -2426,88 +3051,88 @@ class Ui_Form(object):
" In this case the Axis of rotation is Z vector : Base.Vector(0, 0, 1)\n"
"\n"
" Two clicks will rotate by 180 deg the moving objects.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_align_edges.setText(QtGui.QApplication.translate("Form", "Align Edges", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_align_edges.setToolTip(QtGui.QApplication.translate("Form", "This Angle (in degrees) will be added to the angle needed to align Edges.", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_align_edges.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_joint_points.setToolTip(QtGui.QApplication.translate("Form", "Joint Point(s) from selected object(s) to the last Point selected.\n"
+"", None))
+ self.button_align_edges.setText(_translate("Form", "Align Edges", None))
+ self.angle_align_edges.setToolTip(_translate("Form", "This Angle (in degrees) will be added to the angle needed to align Edges.", None))
+ self.angle_align_edges.setText(_translate("Form", "0.0", None))
+ self.button_joint_points.setToolTip(_translate("Form", "Joint Point(s) from selected object(s) to the last Point selected.\n"
" - Click first to select a Point of an object or several Points from several objects.\n"
"These objects will be moved. \n"
" - Click second to select an Point to joint to (the last object is fixed and will never move).\n"
"Then Click the button.\n"
"\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_joint_points.setText(QtGui.QApplication.translate("Form", "Joint Points", None, QtGui.QApplication.UnicodeUTF8))
- self.button_joint_faces.setToolTip(QtGui.QApplication.translate("Form", "Joint Face(s) from selected object(s) to the last Face selected.\n"
+"", None))
+ self.button_joint_points.setText(_translate("Form", "Joint Points", None))
+ self.button_joint_faces.setToolTip(_translate("Form", "Joint Face(s) from selected object(s) to the last Face selected.\n"
" - Click first to select a Face of an object or several Faces from several objects. \n"
"These objects will be moved.\n"
" - Click second to select a Face to joint to (the last object is fixed and will never move).\n"
"Then Click the button.\n"
"\n"
" Two clicks will rotate by 180 deg the moving objects.\n"
-"", None, QtGui.QApplication.UnicodeUTF8))
- self.button_joint_faces.setText(QtGui.QApplication.translate("Form", "Joint Faces", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.align_tab), QtGui.QApplication.translate("Form", "Align", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_6.setTitle(QtGui.QApplication.translate("Form", "Object", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_object.setToolTip(QtGui.QApplication.translate("Form", "Select the Object to cut:\n"
+"", None))
+ self.button_joint_faces.setText(_translate("Form", "Joint Faces", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.align_tab_2), _translate("Form", "Align", None))
+ self.groupBox_20.setTitle(_translate("Form", "Object", None))
+ self.button_cut_select_object.setToolTip(_translate("Form", "Select the Object to cut:\n"
"First Click on the object in the view \n"
-"and push this button to accept...", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_object.setText(QtGui.QApplication.translate("Form", "Select Object", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_line.setToolTip(QtGui.QApplication.translate("Form", "Select the Line to cut the Object along:\n"
+"and push this button to accept...", None))
+ self.button_cut_select_object.setText(_translate("Form", "Select Object", None))
+ self.button_cut_select_line.setToolTip(_translate("Form", "Select the Line to cut the Object along:\n"
"First Click on the line/edge in the view \n"
-"and push this button to accept...", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_line.setText(QtGui.QApplication.translate("Form", "Select Cut Line", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_plane.setToolTip(QtGui.QApplication.translate("Form", "Select the Reference Plane to cut the Object from:\n"
+"and push this button to accept...", None))
+ self.button_cut_select_line.setText(_translate("Form", "Select Cut Line", None))
+ self.button_cut_select_plane.setToolTip(_translate("Form", "Select the Reference Plane to cut the Object from:\n"
"First Click on the plane in the view \n"
"and push this button to accept...\n"
"\n"
"The Reference Plane is the Plane you pose the object on before to use a saw! \n"
-"(Note that the Angle is calculated from the Normal at this Plane)", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_select_plane.setText(QtGui.QApplication.translate("Form", "Select Ref. Plane", None, QtGui.QApplication.UnicodeUTF8))
- self.label_angle.setToolTip(QtGui.QApplication.translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
+"(Note that the Angle is calculated from the Normal at this Plane)", None))
+ self.button_cut_select_plane.setText(_translate("Form", "Select Ref. Plane", None))
+ self.label_angle_3.setToolTip(_translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
"\n"
" 0.0 means that the Plane of cutting is along the Cut Line with \n"
-"a 90 deg angle with Reference Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.label_angle.setText(QtGui.QApplication.translate("Form", "Angle", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_cut_object.setToolTip(QtGui.QApplication.translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
+"a 90 deg angle with Reference Plane.", None))
+ self.label_angle_3.setText(_translate("Form", "Angle", None))
+ self.angle_cut_object.setToolTip(_translate("Form", "Angle of cutting relative to the Normal of the Reference Plane (in degrees).\n"
"\n"
" 0.0 means that the Plane of cutting is along the Cut Line with \n"
-"a 90 deg angle with Reference Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.angle_cut_object.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_thickness.setToolTip(QtGui.QApplication.translate("Form", "Thickness of the Cut.\n"
+"a 90 deg angle with Reference Plane.", None))
+ self.angle_cut_object.setText(_translate("Form", "0.0", None))
+ self.label_thickness_2.setToolTip(_translate("Form", "Thickness of the Cut.\n"
"\n"
-"i.e. the thickness of a saw.", None, QtGui.QApplication.UnicodeUTF8))
- self.label_thickness.setText(QtGui.QApplication.translate("Form", "Thickness", None, QtGui.QApplication.UnicodeUTF8))
- self.thickness_cut_object.setToolTip(QtGui.QApplication.translate("Form", "Thickness of the Cut.\n"
+"i.e. the thickness of a saw.", None))
+ self.label_thickness_2.setText(_translate("Form", "Thickness", None))
+ self.thickness_cut_object.setToolTip(_translate("Form", "Thickness of the Cut.\n"
"\n"
-"i.e. the thickness of a saw.", None, QtGui.QApplication.UnicodeUTF8))
- self.thickness_cut_object.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_reset.setText(QtGui.QApplication.translate("Form", "Reset", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_apply.setToolTip(QtGui.QApplication.translate("Form", "Cut an object by selecting a Line cut, a Plane and an Angle regarding the Plane.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_cut_apply.setText(QtGui.QApplication.translate("Form", "Apply", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.cut_tab), QtGui.QApplication.translate("Form", "Cut", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select.setToolTip(QtGui.QApplication.translate("Form", "- Select one or several object(s) in the view and \n"
+"i.e. the thickness of a saw.", None))
+ self.thickness_cut_object.setText(_translate("Form", "0.0", None))
+ self.button_cut_reset.setText(_translate("Form", "Reset", None))
+ self.button_cut_apply.setToolTip(_translate("Form", "Cut an object by selecting a Line cut, a Plane and an Angle regarding the Plane.", None))
+ self.button_cut_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.cut_tab_2), _translate("Form", "Cut", None))
+ self.ObjRot_button_select.setToolTip(_translate("Form", "- Select one or several object(s) in the view and \n"
"- Click on this button.\n"
"\n"
"NB\n"
"Once object(s) are selected an other Click will unselect them !\n"
-"Selected Object(s) will be displayed with 75% of transparency.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select.setText(QtGui.QApplication.translate("Form", "Select Object(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_axis.setItemText(0, QtGui.QApplication.translate("Form", "X", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_axis.setItemText(1, QtGui.QApplication.translate("Form", "Y", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_axis.setItemText(2, QtGui.QApplication.translate("Form", "Z", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_axis.setItemText(3, QtGui.QApplication.translate("Form", "To select", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select_axis.setText(QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_8), QtGui.QApplication.translate("Form", "Axis", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_center.setItemText(0, QtGui.QApplication.translate("Form", "Origin", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_center.setItemText(1, QtGui.QApplication.translate("Form", "Base Obj.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_center.setItemText(2, QtGui.QApplication.translate("Form", "Center Obj.(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_comboBox_center.setItemText(3, QtGui.QApplication.translate("Form", "To select", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select_center.setText(QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_9), QtGui.QApplication.translate("Form", "Center", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_2.setTitle(QtGui.QApplication.translate("Form", "Angle of rotation :", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_5.setTabText(self.tabWidget_5.indexOf(self.tab_7), QtGui.QApplication.translate("Form", "Define", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select_angle.setToolTip(QtGui.QApplication.translate("Form", "Calculate angle from 2 objects.\n"
+"Selected Object(s) will be displayed with 75% of transparency.", None))
+ self.ObjRot_button_select.setText(_translate("Form", "Select Object(s)", None))
+ self.ObjRot_comboBox_axis.setItemText(0, _translate("Form", "X", None))
+ self.ObjRot_comboBox_axis.setItemText(1, _translate("Form", "Y", None))
+ self.ObjRot_comboBox_axis.setItemText(2, _translate("Form", "Z", None))
+ self.ObjRot_comboBox_axis.setItemText(3, _translate("Form", "To select", None))
+ self.ObjRot_button_select_axis.setText(_translate("Form", "Select", None))
+ self.tabWidget_10.setTabText(self.tabWidget_10.indexOf(self.tab_18), _translate("Form", "Axis", None))
+ self.ObjRot_comboBox_center.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjRot_comboBox_center.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjRot_comboBox_center.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjRot_comboBox_center.setItemText(3, _translate("Form", "To select", None))
+ self.ObjRot_button_select_center.setText(_translate("Form", "Select", None))
+ self.tabWidget_10.setTabText(self.tabWidget_10.indexOf(self.tab_19), _translate("Form", "Center", None))
+ self.groupBox_21.setTitle(_translate("Form", "Angle of rotation :", None))
+ self.tabWidget_11.setTabText(self.tabWidget_11.indexOf(self.tab_20), _translate("Form", "Define", None))
+ self.ObjRot_button_select_angle.setToolTip(_translate("Form", "Calculate angle from 2 objects.\n"
"Angle measurement between two Edges or two Planes\n"
"- Select the 2 Edges and\n"
"- Click this button\n"
@@ -2519,22 +3144,22 @@ class Ui_Form(object):
"- Click this button\n"
"\n"
"NB:\n"
-" Normals of Planes will be used. ", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_select_angle.setText(QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_5.setTabText(self.tabWidget_5.indexOf(self.tab_10), QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_lineEdit_angle.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_angle_2.setText(QtGui.QApplication.translate("Form", " (deg)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_reset.setText(QtGui.QApplication.translate("Form", "Reset", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjRot_button_apply.setText(QtGui.QApplication.translate("Form", "Apply", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.rotate_tab), QtGui.QApplication.translate("Form", "Rotate", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_select.setToolTip(QtGui.QApplication.translate("Form", "- Select one or several object(s) in the view and \n"
+" Normals of Planes will be used. ", None))
+ self.ObjRot_button_select_angle.setText(_translate("Form", "Select", None))
+ self.tabWidget_11.setTabText(self.tabWidget_11.indexOf(self.tab_21), _translate("Form", "Select", None))
+ self.ObjRot_lineEdit_angle.setText(_translate("Form", "0.0", None))
+ self.label_angle_4.setText(_translate("Form", " (deg)", None))
+ self.ObjRot_button_reset.setText(_translate("Form", "Reset", None))
+ self.ObjRot_button_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.rotate_tab_2), _translate("Form", "Rotate", None))
+ self.ObjTrans_button_select.setToolTip(_translate("Form", "- Select one or several object(s) in the view and \n"
"- Click on this button.\n"
"\n"
"NB\n"
"Once object(s) are selected an other Click will unselect them !\n"
-"Selected Object(s) will be displayed with 75% of transparency.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_select.setText(QtGui.QApplication.translate("Form", "Select Object(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_duplicate.setToolTip(QtGui.QApplication.translate("Form", "Toggle this check box to generate copies the object during the Translation.\n"
+"Selected Object(s) will be displayed with 75% of transparency.", None))
+ self.ObjTrans_button_select.setText(_translate("Form", "Select Object(s)", None))
+ self.ObjTrans_duplicate.setToolTip(_translate("Form", "Toggle this check box to generate copies the object during the Translation.\n"
"Copy means that the original Object will be left in his original location.\n"
"NB:\n"
"\n"
@@ -2553,10 +3178,10 @@ class Ui_Form(object):
" - If one starting point and several ending points are selected.\n"
" One copy is done at each ending points selected, then at double distance\n"
" of each ending points along the line defined by starting and the current \n"
-" ending point, and so on!", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_duplicate.setText(QtGui.QApplication.translate("Form", "Copy", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_spin.setToolTip(QtGui.QApplication.translate("Form", "The number of copies.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_deepCopy.setToolTip(QtGui.QApplication.translate("Form", "Toggle this check box to realize \"deep\" copies. \n"
+" ending point, and so on!", None))
+ self.ObjTrans_duplicate.setText(_translate("Form", "Copy", None))
+ self.ObjTrans_spin.setToolTip(_translate("Form", "The number of copies.", None))
+ self.ObjTrans_deepCopy.setToolTip(_translate("Form", "Toggle this check box to realize \"deep\" copies. \n"
"Means that all children and parents of selected Object(s) will be copied too! \n"
"\n"
"If the object selected is Pad and his link is on Sketch, and Skecth parent is Box\n"
@@ -2578,65 +3203,59 @@ class Ui_Form(object):
"Pad001 \n"
" |_Sketch \n"
"\n"
-"On the last result the same Sketch is both link to Pad001 but also still to Pad.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_deepCopy.setText(QtGui.QApplication.translate("Form", "Deep", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_3.setTitle(QtGui.QApplication.translate("Form", "Starting Point :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_start.setItemText(0, QtGui.QApplication.translate("Form", "Origin", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_start.setItemText(1, QtGui.QApplication.translate("Form", "Base Obj.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_start.setItemText(2, QtGui.QApplication.translate("Form", "Center Obj.(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_start.setItemText(3, QtGui.QApplication.translate("Form", "To select", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_start.setItemText(4, QtGui.QApplication.translate("Form", "To define", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_select_start.setText(QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.label_3.setText(QtGui.QApplication.translate("Form", "X :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_start_x.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_4.setText(QtGui.QApplication.translate("Form", "Y :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_start_y.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_6.setText(QtGui.QApplication.translate("Form", "Z :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_start_z.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_4.setTabText(self.tabWidget_4.indexOf(self.tab_5), QtGui.QApplication.translate("Form", "Start", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox_4.setTitle(QtGui.QApplication.translate("Form", "Ending Point :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(0, QtGui.QApplication.translate("Form", "Origin", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(1, QtGui.QApplication.translate("Form", "Base Obj.", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(2, QtGui.QApplication.translate("Form", "Center Obj.(s)", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(3, QtGui.QApplication.translate("Form", "To select", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(4, QtGui.QApplication.translate("Form", "To define", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_comboBox_end.setItemText(5, QtGui.QApplication.translate("Form", "Relative", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_select_end.setText(QtGui.QApplication.translate("Form", "Select", None, QtGui.QApplication.UnicodeUTF8))
- self.label_7.setText(QtGui.QApplication.translate("Form", "Z :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_end_z.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_8.setText(QtGui.QApplication.translate("Form", "Y :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_end_y.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.label_9.setText(QtGui.QApplication.translate("Form", "X :", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_end_x.setText(QtGui.QApplication.translate("Form", "0.0", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_4.setTabText(self.tabWidget_4.indexOf(self.tab_6), QtGui.QApplication.translate("Form", "End", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_reset.setText(QtGui.QApplication.translate("Form", "Reset", None, QtGui.QApplication.UnicodeUTF8))
- self.ObjTrans_button_apply.setText(QtGui.QApplication.translate("Form", "Apply", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.translate_tab), QtGui.QApplication.translate("Form", "Translate", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.Modif_Tab), QtGui.QApplication.translate("Form", "Modif.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_alignview.setToolTip(QtGui.QApplication.translate("Form", "Set the current view perpendicular to the selected Face, \n"
+"On the last result the same Sketch is both link to Pad001 but also still to Pad.", None))
+ self.ObjTrans_deepCopy.setText(_translate("Form", "Deep", None))
+ self.groupBox_22.setTitle(_translate("Form", "Starting Point :", None))
+ self.ObjTrans_comboBox_start.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjTrans_comboBox_start.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjTrans_comboBox_start.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjTrans_comboBox_start.setItemText(3, _translate("Form", "To select", None))
+ self.ObjTrans_comboBox_start.setItemText(4, _translate("Form", "To define", None))
+ self.ObjTrans_button_select_start.setText(_translate("Form", "Select", None))
+ self.label_11.setText(_translate("Form", "X :", None))
+ self.ObjTrans_start_x.setText(_translate("Form", "0.0", None))
+ self.label_12.setText(_translate("Form", "Y :", None))
+ self.ObjTrans_start_y.setText(_translate("Form", "0.0", None))
+ self.label_13.setText(_translate("Form", "Z :", None))
+ self.ObjTrans_start_z.setText(_translate("Form", "0.0", None))
+ self.tabWidget_12.setTabText(self.tabWidget_12.indexOf(self.tab_22), _translate("Form", "Start", None))
+ self.groupBox_23.setTitle(_translate("Form", "Ending Point :", None))
+ self.ObjTrans_comboBox_end.setItemText(0, _translate("Form", "Origin", None))
+ self.ObjTrans_comboBox_end.setItemText(1, _translate("Form", "Base Obj.", None))
+ self.ObjTrans_comboBox_end.setItemText(2, _translate("Form", "Center Obj.(s)", None))
+ self.ObjTrans_comboBox_end.setItemText(3, _translate("Form", "To select", None))
+ self.ObjTrans_comboBox_end.setItemText(4, _translate("Form", "To define", None))
+ self.ObjTrans_comboBox_end.setItemText(5, _translate("Form", "Relative", None))
+ self.ObjTrans_button_select_end.setText(_translate("Form", "Select", None))
+ self.label_14.setText(_translate("Form", "Z :", None))
+ self.ObjTrans_end_z.setText(_translate("Form", "0.0", None))
+ self.label_15.setText(_translate("Form", "Y :", None))
+ self.ObjTrans_end_y.setText(_translate("Form", "0.0", None))
+ self.label_16.setText(_translate("Form", "X :", None))
+ self.ObjTrans_end_x.setText(_translate("Form", "0.0", None))
+ self.tabWidget_12.setTabText(self.tabWidget_12.indexOf(self.tab_23), _translate("Form", "End", None))
+ self.ObjTrans_button_reset.setText(_translate("Form", "Reset", None))
+ self.ObjTrans_button_apply.setText(_translate("Form", "Apply", None))
+ self.tabWidget_9.setTabText(self.tabWidget_9.indexOf(self.translate_tab_2), _translate("Form", "Translate", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.Modif_Tab_2), _translate("Form", "Modif.", None))
+ self.button_alignview.setToolTip(_translate("Form", "Set the current view perpendicular to the selected Face, \n"
"or aligned to the selected Axis, \n"
"or aligned on 2 Points.\n"
-"ReClick with same selection, will reverse the direction.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_alignview.setText(QtGui.QApplication.translate("Form", "Align View to ...", None, QtGui.QApplication.UnicodeUTF8))
- self.button_trackcamera.setText(QtGui.QApplication.translate("Form", "Camera Track", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.View_Tab), QtGui.QApplication.translate("Form", "View", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isView.setToolTip(QtGui.QApplication.translate("Form", "Detect the position of the camera.\n"
+"ReClick with same selection, will reverse the direction.", None))
+ self.button_alignview.setText(_translate("Form", "Align View to ...", None))
+ self.button_trackcamera.setText(_translate("Form", "Camera Track", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.View_Tab_2), _translate("Form", "View", None))
+ self.button_isView.setToolTip(_translate("Form", "Detect the position of the camera.\n"
"The returned value is the value provided \n"
-"by the function getCameraOrientation().", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isView.setText(QtGui.QApplication.translate("Form", "View ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isCoplanar.setToolTip(QtGui.QApplication.translate("Form", "Check if two faces or two Edges are Coplanar:\n"
+"by the function getCameraOrientation().", None))
+ self.button_isView.setText(_translate("Form", "View ?", None))
+ self.button_isParallel.setToolTip(_translate("Form", "Check if two faces or two Edges are Parallel:\n"
"- Select the 2 faces/planes or 2 Edges/Lines and\n"
"Click this button\n"
"\n"
-"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isCoplanar.setText(QtGui.QApplication.translate("Form", "are Coplanar ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isParallel.setToolTip(QtGui.QApplication.translate("Form", "Check if two faces or two Edges are Parallel:\n"
-"- Select the 2 faces/planes or 2 Edges/Lines and\n"
-"Click this button\n"
-"\n"
-"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isParallel.setText(QtGui.QApplication.translate("Form", "are Parallel ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isAngle.setToolTip(QtGui.QApplication.translate("Form", "Check for two Edges/Planes angle:\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isParallel.setText(_translate("Form", "are Parallel ?", None))
+ self.button_isAngle.setToolTip(_translate("Form", "Check for two Edges/Planes angle:\n"
"Angle measurement between two Edges or two Planes\n"
"- Select the 2 Edges and\n"
"- Click this button\n"
@@ -2648,38 +3267,43 @@ class Ui_Form(object):
"- Click this button\n"
"\n"
"NB:\n"
-" Normals of Planes will be used. ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isAngle.setText(QtGui.QApplication.translate("Form", "Angle ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isLength.setToolTip(QtGui.QApplication.translate("Form", "Check for Line Length:\n"
+" Normals of Planes will be used. ", None))
+ self.button_isAngle.setText(_translate("Form", "Angle ?", None))
+ self.button_isLength.setToolTip(_translate("Form", "Check for Line Length:\n"
"Length measurement and Delta values (on main Axes) for a Line\n"
"- Select the Line and\n"
"Click this button\n"
-" ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isLength.setText(QtGui.QApplication.translate("Form", "Length ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isDistance.setToolTip(QtGui.QApplication.translate("Form", "Check for two Points distance:\n"
-"Distances measurement and Delta values (on main Axes) between two Points\n"
-"- Select the 2 Points and\n"
-"Click this button\n"
-" ", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isDistance.setText(QtGui.QApplication.translate("Form", "Distance ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isPerpendicular.setToolTip(QtGui.QApplication.translate("Form", "Check if two faces or two Edges are Perpendicular:\n"
+" ", None))
+ self.button_isLength.setText(_translate("Form", "Length ?", None))
+ self.button_isPerpendicular.setToolTip(_translate("Form", "Check if two faces or two Edges are Perpendicular:\n"
"- Select the 2 faces/planes or 2 Edges/Lines and\n"
"Click this button\n"
"\n"
-"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isPerpendicular.setText(QtGui.QApplication.translate("Form", "are Perpendicular ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isClearance.setToolTip(QtGui.QApplication.translate("Form", "Check for two Objects Clearance distance:\n"
-"Quick measurements between parallel faces and similarly placed objects\n"
-"- Select the 2 Objects and\n"
-"Click this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isClearance.setText(QtGui.QApplication.translate("Form", "Distance Clearance ?", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isArea.setToolTip(QtGui.QApplication.translate("Form", "Check for surface Area:\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isPerpendicular.setText(_translate("Form", "are Perpendicular ?", None))
+ self.button_isDistance.setToolTip(_translate("Form", "Check for two Points distance:\n"
+"Distances measurement and Delta values (on main Axes) between two Points\n"
+"- Select the 2 Points and\n"
+"Click this button\n"
+" ", None))
+ self.button_isDistance.setText(_translate("Form", "Distance ?", None))
+ self.button_isArea.setToolTip(_translate("Form", "Check for surface Area:\n"
"Area measurement for a Plane or a set of Planes.\n"
"- Select One or several Planes and\n"
-"Click this button", None, QtGui.QApplication.UnicodeUTF8))
- self.button_isArea.setText(QtGui.QApplication.translate("Form", "Area ?", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("Form", "Check", None, QtGui.QApplication.UnicodeUTF8))
- self.tabWidget_0.setTabText(self.tabWidget_0.indexOf(self.tab_2), QtGui.QApplication.translate("Form", "W. F.", None, QtGui.QApplication.UnicodeUTF8))
- self.button_WF_quit.setText(QtGui.QApplication.translate("Form", "Close", None, QtGui.QApplication.UnicodeUTF8))
- self.label_release.setText(QtGui.QApplication.translate("Form", "2015", None, QtGui.QApplication.UnicodeUTF8))
+"Click this button", None))
+ self.button_isArea.setText(_translate("Form", "Area ?", None))
+ self.button_isCoplanar.setToolTip(_translate("Form", "Check if two faces or two Edges are Coplanar:\n"
+"- Select the 2 faces/planes or 2 Edges/Lines and\n"
+"Click this button\n"
+"\n"
+"NB: You can change the tolerance in \"Ori. Pref.\" TAB", None))
+ self.button_isCoplanar.setText(_translate("Form", "are Coplanar ?", None))
+ self.button_isClearance.setToolTip(_translate("Form", "Check for two Objects Clearance distance:\n"
+"Quick measurements between parallel faces and similarly placed objects\n"
+"- Select the 2 Objects and\n"
+"Click this button", None))
+ self.button_isClearance.setText(_translate("Form", "Distance Clearance ?", None))
+ self.tabWidget_7.setTabText(self.tabWidget_7.indexOf(self.tab_24), _translate("Form", "Check", None))
+ self.button_WF_quit.setText(_translate("Form", "Close", None))
+ self.label_release.setText(_translate("Form", "2015", None))
diff --git a/WorkFeature/WF_2015.py b/WorkFeature/WF_2015.py
index 454795e..76540ee 100644
--- a/WorkFeature/WF_2015.py
+++ b/WorkFeature/WF_2015.py
@@ -4,7 +4,7 @@
***************************************************************************
* Thanks to original ideas, codes, and support from : *
* - Javier Martinez Garcia 2014, 2015 for ideas and first WF codes *
-* for tje code on parallelism of two faces, forTour camera code *
+* for tje code on parallelism of two faces, forTour camera code... *
* - Jonathan Wiedemann for Gui ideas and for view codes 2014 *
* and support *
* - NormandC for his support *
@@ -13,6 +13,7 @@
* - Eriossoltero for macro Ellipse-Center+2Points *
* - Ulrich Brammer for Geodesic dome code *
* - Wmayer Many Thanks for active help on testing and debbuging *
+* - Gaël Ecorchard for HighlightDifference Macro *
* Special thanks to Mario52 for diverse MACRO codes as FCCamera, *
* cutCircle, cutWire, Delta xyz, bounding box ... *
* and other diverse pieces of codes *
@@ -29,6 +30,7 @@
* Copyright (c) 2013 galou_breizh *
* Copyright (c) 2015 Ulrich Brammer *
* Copyright (c) Eriossoltero *
+* Copyright (c) 2015 Gaël Ecorchard *
* *
* This file is a supplement to the FreeCAD CAx development system. *
* *
@@ -51,15 +53,18 @@
"""
# First two lines to be able to launch with python
import sys
+from WorkFeature import WF_ObjParCurve_2015
# change this by your own FreeCAD lib path import FreeCAD
if not sys.path.__contains__("/usr/lib/freecad/lib"):
sys.path.append("/usr/lib/freecad/lib")
import WFGui_2015 as WFGui
from WF_ObjRot_2015 import *
+from WF_Utils_2015 import *
+from WF_ObjParCurve_2015 import *
global myRelease
-myRelease = "2015_10_05"
+myRelease = "2015_10_20"
import os.path
import time
@@ -84,9 +89,13 @@ ICONS_PATH = os.path.dirname(__file__) + "/Icons"
QtCore.QDir.addSearchPath("icons", ICONS_PATH)
# LineColor
-red = 1.0 # 1 = 255
-green = 0.0 #
-blue = 0.0 #
+#red = 1.0 # 1 = 255
+#green = 0.0 #
+#blue = 0.0 #
+red=(1.00,0.00,0.00)
+green=(0.00,0.67,0.00)
+blue=(0.33,0.00,1.00)
+orange=(1.00,0.67,0.00)
flag_for_face=True
# Some Global variables
@@ -1708,7 +1717,7 @@ def properties_point(Point_User_Name):
return
-def properties_line(Line_User_Name):
+def properties_line(Line_User_Name, color=(1.00,0.67,0.00)):
""" Define the properties of a Work feature Line.
PointColor
LineColor
@@ -1717,11 +1726,11 @@ def properties_line(Line_User_Name):
Transparency
"""
try:
- Gui.ActiveDocument.getObject(Line_User_Name).PointColor = (1.00,0.67,0.00)
+ Gui.ActiveDocument.getObject(Line_User_Name).PointColor = color
except:
print_msg("Not able to set PointColor !")
try:
- Gui.ActiveDocument.getObject(Line_User_Name).LineColor = (1.00,0.67,0.00)
+ Gui.ActiveDocument.getObject(Line_User_Name).LineColor = color
except:
print_msg("Not able to set LineColor !")
try:
@@ -1788,14 +1797,14 @@ def plot_point(Vector_point, part="Part::Feature", name="Point", grp="WorkPoints
return point_User_Name
-def plot_axis(Vector_A, Vector_B, part="Part::Feature", name="Axis", grp="WorkAxis"):
+def plot_axis(Vector_A, Vector_B, part="Part::Feature", name="Axis", grp="WorkAxis", color=(1.00,0.67,0.00)):
if not(App.ActiveDocument.getObject( grp )):
App.ActiveDocument.addObject("App::DocumentObjectGroup", grp)
axis = App.ActiveDocument.addObject(part, name)
axis.Shape = Part.makeLine(Vector_A, Vector_B)
App.ActiveDocument.getObject( grp ).addObject(axis)
axis_User_Name = axis.Label
- properties_line(axis_User_Name)
+ properties_line(axis_User_Name, color)
return axis_User_Name, axis
@@ -3303,10 +3312,11 @@ def point_toSketch():
num_point, return_points = vertexToSketch(m_pointList,m_sketch)
if m_num_point != num_point:
printError_msg(error_msg)
- return
- createFolders('WorkPoints')
- for point in return_points:
- plot_point(point, part="Part::Feature", name="Sketch_Proj", grp="WorkPoints")
+ return
+ if msg != 0:
+ createFolders('WorkPoints')
+ for point in return_points:
+ plot_point(point, part="Part::Feature", name="Sketch_Proj", grp="WorkPoints")
# Refresh
App.getDocument(str(m_actDoc.Name)).recompute()
print_msg(str(num_point) + result_msg )
@@ -3449,9 +3459,94 @@ def plot_2PointsAxis():
except:
printError_msg(error_msg)
+def plot_NPoints_axis():
+ """ Create an Axis based on a linear regression from a set of Points.
+ """
+ global verbose
+ msg=verbose
+ import numpy as np
+
+ m_actDoc = get_ActiveDocument(info=msg)
+ if m_actDoc == None:
+ return None
+
+ createFolders('WorkAxis')
+ error_msg = "Unable to create Axis : \nSelect at least two points!"
+ result_msg = " : Axis created !"
+ name = "Line from N Points"
+ part = "Part::Feature"
+ grp = "WorkAxis"
+
+ Selection = get_SelectedObjects(info=msg, printError=False)
+
+ try:
+ SelectedObjects = Selection
+ Number_of_Points = SelectedObjects[0]
+ if msg != 0:
+ print_msg("Number_of_Points=" + str(Number_of_Points))
+ if Number_of_Points > 1:
+ m_x = []
+ m_y = []
+ m_z = []
+ Point_List = SelectedObjects[3]
+ if msg != 0:
+ print_msg("Point_List=" + str(Point_List))
+ for Selected_Point in Point_List:
+ m_point = Selected_Point.Point
+ m_x.append(m_point.x)
+ m_y.append(m_point.y)
+ m_z.append(m_point.z)
+
+ m_np_x = np.asfarray(m_x)
+ m_np_y = np.asfarray(m_y)
+ m_np_z = np.asfarray(m_z)
+ if msg != 0:
+ print_msg(" m_np_x=" + str(m_np_x))
+ print_msg(" m_np_y=" + str(m_np_y))
+ print_msg(" m_np_z=" + str(m_np_z))
+ m_data = np.concatenate((m_np_x[:, np.newaxis],
+ m_np_y[:, np.newaxis],
+ m_np_z[:, np.newaxis]),
+ axis=1)
+ if msg != 0:
+ print_msg(" m_data=" + str(m_data))
+ # Calculate the mean of the points, i.e. the 'center' of the cloud
+ m_datamean = m_data.mean(axis=0)
+ if msg != 0:
+ print_msg(" m_datamean=" + str(m_datamean))
+ Axis_E0 = Base.Vector(m_datamean[0], m_datamean[1], m_datamean[2])
+
+ # Do an SVD on the mean-centered data.
+ m_uu, m_dd, m_vv = np.linalg.svd(m_data - m_datamean)
+ if msg != 0:
+ print_msg(" m_uu=" + str(m_uu))
+ print_msg(" m_dd=" + str(m_dd))
+ print_msg(" m_vv=" + str(m_vv))
+ # Now vv[0] contains the first principal component, i.e. the direction
+ # vector of the 'best fit' line in the least squares sense.
+ Axis_dir = Base.Vector(m_vv[0][0],m_vv[0][1],m_vv[0][2])
+ Axis_E1 = Axis_E0 - Axis_dir.normalize().multiply(m_dd[0]/2.)
+ Axis_E2 = Axis_E0 + Axis_dir.normalize().multiply(m_dd[0]/2.)
+ Axis_User_Name, axis = plot_axis(Axis_E1, Axis_E2, part, name, grp, orange)
+ print_msg(str(Axis_User_Name) + result_msg )
+ Axis_dir = Base.Vector(m_vv[1][0],m_vv[1][1],m_vv[1][2])
+ #Axis_E2 = Axis_E0 + Axis_dir.normalize().multiply(m_dd[1]/2.)
+ Axis_E2 = Axis_E0 + Axis_dir
+ Axis_User_Name, axis = plot_axis(Axis_E0, Axis_E2, part, name, grp, red)
+ print_msg(str(Axis_User_Name) + result_msg )
+ Axis_dir = Base.Vector(m_vv[2][0],m_vv[2][1],m_vv[2][2])
+ #Axis_E2 = Axis_E0 + Axis_dir.normalize().multiply(m_dd[2]/2.)
+ Axis_E2 = Axis_E0 + Axis_dir
+ Axis_User_Name, axis = plot_axis(Axis_E0, Axis_E2, part, name, grp, green)
+ print_msg(str(Axis_User_Name) + result_msg )
+ else:
+ printError_msg(error_msg)
+ except:
+ printError_msg(error_msg)
def plot_cylinderAxis():
- msg=1
+ global verbose
+ msg=verbose
createFolders('WorkAxis')
error_msg = "Unable to create Cylinder Axis : \nSelect one cylindrical face only !"
result_msg = " : Cylinder Axis created !"
@@ -3471,55 +3566,56 @@ def plot_cylinderAxis():
if msg != 0:
print_msg("Number_of_Faces=" + str(Number_of_Faces))
print_msg("Number_of_Edges=" + str(Number_of_Edges))
- if Number_of_Faces == 1:
+ if Number_of_Faces >= 1:
Face_list = SelectedObjects[5]
- Face = Face_list[0]
- Face_Wire = Face.OuterWire
- Face_Edges = Face_Wire.Edges
- try:
- Circle_Center_1 = None
- Circle_Center_2 = None
- for i in range(len(Face_Edges)):
- Current_Edge = Face_Edges[i]
- Edge_Info = Current_Edge.Curve
- Edge_Type_Name = str(Edge_Info)
- #print_msg("Edge_Type_Name = " + str(Edge_Type_Name))
- Edge_Circle = Edge_Type_Name[0:6]
- Edge_Line = Edge_Type_Name[1:5]
- if Edge_Circle == "Circle":
- Circle_Axis = Current_Edge.Curve.Axis
- Circle_Axis = Circle_Axis.normalize()
- if Circle_Center_1 == None:
- Circle_Center_1 = Current_Edge.Curve.Center
- #Circle_Radius_1 = Current_Edge.Curve.Radius
- else:
- Circle_Center_2 = Current_Edge.Curve.Center
- #Circle_Radius_2 = Current_Edge.Curve.Radius
- if Edge_Line == "Line":
- Line_Start = Current_Edge.Curve.StartPoint
- Line_End = Current_Edge.Curve.EndPoint
- Edge_Length = ( Line_End - Line_Start ).Length
- except:
- printError_msg("Not valid cylinder !")
- #print_msg("Circle_Center_1 = " + str(Circle_Center_1))
- #print_msg("Circle_Center_2 = " + str(Circle_Center_2))
- Axis_A = Circle_Center_1
- Axis_B = Circle_Center_2
- Axis_dir = Axis_B - Axis_A
- if m_extensionFaceNormal != 0.0:
- Axis_dir_norm = Axis_B - Axis_A
- Axis_dir_norm = Axis_dir_norm.normalize()
- Axis_dir_norm = Axis_dir_norm.multiply(m_extensionFaceNormal)
- Axis_E1 = Axis_B + Axis_dir_norm
- Axis_E2 = Axis_A - Axis_dir_norm
- else:
- Axis_E1 = Axis_B + Axis_dir.multiply(0.1)
- Axis_E2 = Axis_A - Axis_dir.multiply(0.9)
-
-
- Axis_User_Name, axis = plot_axis(Axis_E1, Axis_E2, part, name)
-
- print_msg(str(Axis_User_Name) + result_msg )
+ for Face in Face_list:
+ #Face = Face_list[0]
+ Face_Wire = Face.OuterWire
+ Face_Edges = Face_Wire.Edges
+ try:
+ Circle_Center_1 = None
+ Circle_Center_2 = None
+ for i in range(len(Face_Edges)):
+ Current_Edge = Face_Edges[i]
+ Edge_Info = Current_Edge.Curve
+ Edge_Type_Name = str(Edge_Info)
+ #print_msg("Edge_Type_Name = " + str(Edge_Type_Name))
+ Edge_Circle = Edge_Type_Name[0:6]
+ Edge_Line = Edge_Type_Name[1:5]
+ if Edge_Circle == "Circle":
+ Circle_Axis = Current_Edge.Curve.Axis
+ Circle_Axis = Circle_Axis.normalize()
+ if Circle_Center_1 == None:
+ Circle_Center_1 = Current_Edge.Curve.Center
+ #Circle_Radius_1 = Current_Edge.Curve.Radius
+ else:
+ Circle_Center_2 = Current_Edge.Curve.Center
+ #Circle_Radius_2 = Current_Edge.Curve.Radius
+ if Edge_Line == "Line":
+ Line_Start = Current_Edge.Curve.StartPoint
+ Line_End = Current_Edge.Curve.EndPoint
+ Edge_Length = ( Line_End - Line_Start ).Length
+ except:
+ printError_msg("Not valid cylinder !")
+ #print_msg("Circle_Center_1 = " + str(Circle_Center_1))
+ #print_msg("Circle_Center_2 = " + str(Circle_Center_2))
+ Axis_A = Circle_Center_1
+ Axis_B = Circle_Center_2
+ Axis_dir = Axis_B - Axis_A
+ if m_extensionFaceNormal != 0.0:
+ Axis_dir_norm = Axis_B - Axis_A
+ Axis_dir_norm = Axis_dir_norm.normalize()
+ Axis_dir_norm = Axis_dir_norm.multiply(m_extensionFaceNormal)
+ Axis_E1 = Axis_B + Axis_dir_norm
+ Axis_E2 = Axis_A - Axis_dir_norm
+ else:
+ Axis_E1 = Axis_B + Axis_dir.multiply(0.1)
+ Axis_E2 = Axis_A - Axis_dir.multiply(0.9)
+
+
+ Axis_User_Name, axis = plot_axis(Axis_E1, Axis_E2, part, name)
+
+ print_msg(str(Axis_User_Name) + result_msg )
elif Number_of_Edges >= 1:
m_selEx = Gui.Selection.getSelectionEx(m_actDoc.Name)
m_objs = [selobj.Object for selobj in m_selEx]
@@ -4907,10 +5003,10 @@ def vertexToSketch(points,sketch):
Projection2 = m_p2.projectToPlane(m_sketch.Placement.Base, m_rec2N)
# Append the Projection
geoList.append(Part.Point(Projection1))
- return_points.append(Part.Point(Projection2))
- m_sketch.addGeometry(geoList)
+ return_points.append(Part.Point(Projection2))
num_point = num_point + 1
+ m_sketch.addGeometry(geoList)
return num_point, return_points
@@ -5320,12 +5416,13 @@ def line_toSketch():
if m_num_line != (num_edge + num_point):
printError_msg(error_msg)
return
- createFolders('WorkPoints')
- createFolders('WorkAxis')
- for point in return_points:
- plot_point(point, part="Part::Feature", name="Sketch_Proj", grp="WorkPoints")
- for edge in return_edges:
- plot_axis(edge.StartPoint,edge.EndPoint, part="Part::Feature", name="Sketch_Proj", grp="WorkAxis")
+ if msg != 0:
+ createFolders('WorkPoints')
+ createFolders('WorkAxis')
+ for point in return_points:
+ plot_point(point, part="Part::Feature", name="Sketch_Proj", grp="WorkPoints")
+ for edge in return_edges:
+ plot_axis(edge.StartPoint,edge.EndPoint, part="Part::Feature", name="Sketch_Proj", grp="WorkAxis")
# Refresh
App.getDocument(str(m_actDoc.Name)).recompute()
@@ -7587,7 +7684,8 @@ def plot_sectionSweep():
- All option (means if the trajectory selected is a compound, all sub wires will be used for the sweep)
- Transition Option (Select a Transition option in case of trajectory with several wires; Transition can be:
# 0 (default), 1 (right corners) or 2 (rounded corners).)
- """
+ """
+ global verbose
msg=verbose
# Variable makeSolid = 1 to create solid if section is closed, 0 to create surfaces
@@ -7600,11 +7698,11 @@ def plot_sectionSweep():
# will be processed
allSubProfile=sweep_all
-# if msg != 0:
-# print_msg("makeSolid = " + str(makeSolid))
-# print_msg("isFrenet = " + str(isFrenet))
-# print_msg("transition = " + str(transition))
-# print_msg("allSubProfile = " + str(allSubProfile))
+ if msg != 0:
+ print_msg("makeSolid = " + str(makeSolid))
+ print_msg("isFrenet = " + str(isFrenet))
+ print_msg("transition = " + str(transition))
+ print_msg("allSubProfile = " + str(allSubProfile))
createFolders('WorkAxis')
createFolders('WorkPoints')
@@ -7649,13 +7747,30 @@ def plot_sectionSweep():
# Get the list of sections in case of first section is a Compound
m_sections = []
- if isinstance(shape0,Part.Compound):
- m_msg = "Compound Section Found !"
+ if isinstance(shape0,Part.Compound):
+ if msg != 0:
+ print_msg("Compound Section Found !")
for wire in shape0.Wires:
m_sections.append(Part.Wire([wire]))
else:
- m_msg = "NO Compound Found !"
- m_sections.append(Part.Wire([shape0]))
+ if msg != 0:
+ print_msg("NO Compound Section Found !")
+ print_msg(str(getShapeType(shape0)))
+ try:
+ if len(shape0.Wires):
+ for wire in shape0.Wires:
+ m_sections.append(Part.Wire([wire]))
+ elif len(shape0.Edges):
+ for edge in shape0.Edges:
+ m_sections.append(Part.Wire([edge]))
+ elif len(shape0.Vertexes):
+ for vertex in shape0.Vertexes:
+ m_sections.append(Part.Wire([vertex]))
+ else:
+ print_msg("Not able to transform " + str(shape0) + "in wire !")
+ return
+ except:
+ pass
if msg != 0:
print_msg("03-Get the list of sections in case of first section is a Compound")
@@ -7744,7 +7859,21 @@ def plot_sectionSweep():
for wire in shape3.Wires:
m_sections3.append(Part.Wire([wire]))
else:
- m_sections3.append(Part.Wire([shape3]))
+ try:
+ if len(shape3.Wires):
+ for wire in shape3.Wires:
+ m_sections3.append(Part.Wire([wire]))
+ elif len(shape0.Edges):
+ for edge in shape3.Edges:
+ m_sections3.append(Part.Wire([edge]))
+ elif len(shape0.Vertexes):
+ for vertex in shape3.Vertexes:
+ m_sections3.append(Part.Wire([vertex]))
+ else:
+ print_msg("Not able to transform " + str(shape3) + "in wire !")
+ return
+ except:
+ pass
# if msg != 0:
# print_msg("m_sections3 = " + str(m_sections3))
@@ -8978,6 +9107,16 @@ def object_perpendicular():
def object_coplanar():
two_objects_are("coplanar")
+
+
+def object_highlightCommon():
+ """
+ Compute the common parts between selected shapes:
+ Quick measurements between parallel faces and similarly placed objects
+
+ Original code from : 'JMG, galou and other contributors' 10/2015
+ Adapted to WF by : Rentlau_64 10/2015
+ """
def object_clearance():
"""
@@ -9026,6 +9165,7 @@ def object_angle():
NB:
Normals of Planes will be used.
"""
+ global verbose
msg=verbose
error_msg =\
@@ -9262,8 +9402,244 @@ def camera_orientation():
"Degrees Angle : " + str(math.degrees(pl.Rotation.Angle))
print_gui_msg(msg)
-
+
+
+def object_common():
+ """Compute the common parts between selected shapes.
+ - Select at least two objects.
+ Original code from HighlightCommon.FCMacro
+ https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightCommon.FCMacro
+ Authors = 2015 Javier Martinez Garcia
+ """
+ global verbose
+ msg=verbose
+
+ m_actDoc = get_ActiveDocument(info=msg)
+ if m_actDoc == None:
+ return None
+
+ createFolders('WorkObjects')
+ error_msg =\
+ "INCORRECT Object(s) Selection :\n" +\
+ "You Must Select at least Two(2) Objects !"
+ result_msg = " : Common object created into WorkFeatures/WorkObjects/"
+ name = "Part"
+ part = "Part::Feature"
+ grp = "WorkObjects"
+
+ try:
+ selectionObjects = Gui.Selection.getSelection()
+ if len(selectionObjects) < 2:
+ printError_msg(error_msg)
+ return
+ object_list = []
+ for obj in selectionObjects:
+ object_list.append(obj)
+ for i, object_a in enumerate(object_list):
+ shape_a = object_a.Shape
+ label_a = object_a.Label
+ for object_b in object_list[(i + 1):]:
+ shape_b = object_b.Shape
+ label_b = object_b.Label
+ common = shape_a.common(shape_b)
+ if common.Volume > 1e-6:
+ if not(App.ActiveDocument.getObject( grp )):
+ App.ActiveDocument.addObject("App::DocumentObjectGroup", grp)
+ intersection_object = FreeCAD.ActiveDocument.addObject(part)
+ intersection_object.Label = "Common (" +\
+ str(label_a.encode('utf-8')) +\
+ "-" +\
+ str(label_b.encode('utf-8')) +\
+ ")"
+ intersection_object.Shape = common
+ App.ActiveDocument.getObject( grp ).addObject(intersection_object)
+ intersection_object.ViewObject.ShapeColor = (1.0, 0.0, 0.0, 1.0)
+ object_a.ViewObject.Transparency = 80
+ object_b.ViewObject.Transparency = 80
+
+ print_msg( str(intersection_object.Label.encode('utf-8')) + result_msg )
+ print_msg("Volume of the intersection between " +\
+ str(label_a.encode('utf-8')) +\
+ " and " +\
+ str(label_b.encode('utf-8')) +\
+ " : " +\
+ str(common.Volume) + "\n")
+ else:
+ print_gui_msg("No intersection between " +\
+ str(label_a.encode('utf-8')) +\
+ " and " +\
+ str(label_b.encode('utf-8')))
+ except:
+ printError_msg(error_msg)
+
+
+def object_difference():
+ """Compute the difference parts between selected shapes.
+ - Select two objects.
+
+ Original code from HighlightDifference.FCMacro
+ https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightDifference.FCMacro
+ Authors = 2015 Gaël Ecorchard (Galou)
+ """
+ global verbose
+ msg=verbose
+ msg=1
+
+ m_actDoc = get_ActiveDocument(info=msg)
+ if m_actDoc == None:
+ return None
+
+ createFolders('WorkObjects')
+ error_msg =\
+ "INCORRECT Object(s) Selection :\n" +\
+ "You Must Select Two(2) Objects !"
+ result_msg = " : Difference object created into WorkFeatures/WorkObjects/"
+ name = "Part"
+ part = "Part::Feature"
+ grp = "WorkObjects"
+
+ try:
+ selectionObjects = Gui.Selection.getSelection()
+
+ if len(selectionObjects) < 2:
+ printError_msg(error_msg)
+ return
+ object_list = []
+ for obj in selectionObjects:
+ object_list.append(obj)
+ for i, object_a in enumerate(object_list):
+ shape_a = object_a.Shape
+ label_a = object_a.Label
+ for object_b in object_list[(i + 1):]:
+ shape_b = object_b.Shape
+ label_b = object_b.Label
+ shape_addition = shape_a.cut(shape_b)
+ if shape_addition.Volume < 1e-6:
+ print_gui_msg("No Cut of " +\
+ str(label_a.encode('utf-8')) +\
+ " by " +\
+ str(label_b.encode('utf-8')))
+ else:
+ print_msg("Volume of the red " +\
+ str(label_a.encode('utf-8')) +\
+ " Cut by " +\
+ str(label_b.encode('utf-8')) +\
+ " : " +\
+ str(shape_addition.Volume) + "\n")
+ if not(App.ActiveDocument.getObject( grp )):
+ App.ActiveDocument.addObject("App::DocumentObjectGroup", grp)
+
+ added = FreeCAD.ActiveDocument.addObject(part)
+ added.Label = "Cut red (" +\
+ str(label_a.encode('utf-8')) +\
+ "-" +\
+ str(label_b.encode('utf-8')) +\
+ ")"
+ added.Shape = shape_addition
+ App.ActiveDocument.getObject( grp ).addObject(added)
+ added.ViewObject.ShapeColor = (1.0, 0.0, 0.0, 1.0)
+
+ shape_removal = shape_b.cut(shape_a)
+ if shape_removal.Volume < 1e-6:
+ print_gui_msg("No Cut of " +\
+ str(label_b.encode('utf-8')) +\
+ " by " +\
+ str(label_a.encode('utf-8')))
+ else:
+ print_msg("Volume of the green " +\
+ str(label_b.encode('utf-8')) +\
+ " Cut by " +\
+ str(label_a.encode('utf-8')) +\
+ " : " +\
+ str(shape_removal.Volume) + "\n")
+
+ if not(App.ActiveDocument.getObject( grp )):
+ App.ActiveDocument.addObject("App::DocumentObjectGroup", grp)
+
+ removed = FreeCAD.ActiveDocument.addObject(part)
+ removed.Label = "Cut green (" +\
+ str(label_b.encode('utf-8')) +\
+ "-" +\
+ str(label_a.encode('utf-8')) +\
+ ")"
+ removed.Shape = shape_removal
+ App.ActiveDocument.getObject( grp ).addObject(removed)
+ removed.ViewObject.ShapeColor = (0.0, 0.5, 0.0, 1.0)
+
+ object_a.ViewObject.Transparency = 80
+ object_b.ViewObject.Transparency = 80
+ except:
+ printError_msg(error_msg)
+
+
+# object_a = FreeCAD.Gui.Selection.getSelectionEx()[0].Object
+# object_b = FreeCAD.Gui.Selection.getSelectionEx()[1].Object
+# shape_a = object_a.Shape
+# shape_b = object_b.Shape
+# label_a = object_a.Label
+# label_b = object_b.Label
+# shape_addition = shape_a.cut(shape_b)
+# if shape_addition.Volume < 1e-6:
+# FreeCAD.Console.PrintMessage('No addition from {} to {}\n'.format(
+# label_a, label_b))
+# else:
+# FreeCAD.Console.PrintMessage(
+# 'Volume of the addition from {} to {}: {}\n'.format(
+# label_a, label_b, shape_addition.Volume))
+#
+# shape_removal = shape_b.cut(shape_a)
+# if shape_removal.Volume < 1e-6:
+# FreeCAD.Console.PrintMessage('No removal from {} to {}\n'.format(
+# label_a, label_b))
+# else:
+# FreeCAD.Console.PrintMessage(
+# 'Volume of the removal from {} to {}: {}\n'.format(
+# label_a, label_b, shape_removal.Volume))
+#
+# if (shape_addition.Volume < 1e-6) and (shape_removal.Volume < 1e-6):
+# FreeCAD.Console.PrintMessage('{} and {} have the same shape\n'.format(
+# label_a, label_b))
+#
+# added = FreeCAD.ActiveDocument.addObject('Part::Feature')
+# added.Label = 'Addition ({} − {})'.format(label_a, label_b)
+# added.Shape = shape_addition
+# added.ViewObject.ShapeColor = (1.0, 0.0, 0.0, 1.0)
+# removed = FreeCAD.ActiveDocument.addObject('Part::Feature')
+# removed.Label = 'Removal ({} − {})'.format(label_b, label_a)
+# removed.Shape = shape_removal
+# removed.ViewObject.ShapeColor = (0.0, 0.5, 0.0, 1.0)
+#
+# object_a.ViewObject.Transparency = 80
+# object_b.ViewObject.Transparency = 80
+
+def object_align2view_old():
+ """ Align the object(s) selected to the actual view.
+ - Click first to select a Face of an object.
+
+ The changed values are : Rotation Axis((X, Y, Z), Angle)
+ Same Euler angles : Yaw, Pitch, Roll
+ The Translation is not modifylace your object selected to the position ActiveView (camera)
+
+ Original Code from Mario52
+ """
+ # revoir le point de rotation
+ msg=verbose
+ error_msg = "INCORRECT Object(s) Selection :\n\nYou Must at least one object !"
+
+ try:
+ m_sel_list = Gui.Selection.getSelection()
+ pl = App.Placement()
+ pl.Rotation = FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()
+ for m_sel in m_sel_list:
+ m_Nameelement = m_sel.Name
+ if msg!=0:
+ print_msg("Object selected =" + str(m_Nameelement))
+ pl.Base = m_sel.Placement.Base
+ App.ActiveDocument.getObject(m_Nameelement).Placement=pl
+ except:
+ printError_msg(error_msg)
+
def object_align2view():
"""
Align the face of selected object(s) to the actual view Plane.
@@ -9763,10 +10139,14 @@ class WorkFeatureTab():
self.m_tab.setCurrentIndex(3)
#----------------------------------------------------------------
- # Create a Rotation object
- self.rot = Rotation(self.ui)
- # Create a Translation object
- self.trans = Translation(self.ui)
+ # Create a Rotation object and connect
+ self.eventsRot = RotationEvents(self.ui)
+ # Create a Translation object and connect
+ self.eventsTrans = TranslationEvents(self.ui)
+ # Create a Parametric 2D Curve object and connect
+ self.events2D = ParametricCurve2DEvents(self.ui)
+ # Create a Parametric 3D Curve object and connect
+ self.events3D = ParametricCurve3DEvents(self.ui)
### Connect to functions
self.connections_for_checkbox_toggled = {
@@ -9803,6 +10183,7 @@ class WorkFeatureTab():
"button_object_axis" : "plot_centerObjectAxes",
"button_twopoints_axis" : "plot_2PointsAxis",
+ "button_Npoints_axis" : "plot_NPoints_axis",
"button_cylinder_axis" : "plot_cylinderAxis",
"button_plane_axis" : "plot_planeAxis",
"button_face_normal" : "plot_faceNormal",
@@ -9849,6 +10230,8 @@ class WorkFeatureTab():
"button_dome_create" : "plot_centerDome",
"button_letter" : "plot_letter",
"button_revolve" : "plot_revolution",
+ "button_common" : "object_common",
+ "button_difference" : "object_difference",
"button_sweep" : "plot_sectionSweep",
"button_alignview" : "view_align",
@@ -9874,7 +10257,7 @@ class WorkFeatureTab():
"button_align_faces" : "object_alignFaces",
"button_align_edges" : "object_alignEdges",
"button_joint_points" : "object_jointPoints",
- "button_joint_faces" : "object_jointFaces",
+ "button_joint_faces" : "object_jointFaces",
}
self.connections_for_text_changed = {
@@ -9983,117 +10366,6 @@ class WorkFeatureTab():
#print_msg( "Connecting : " + str(m_key) + " and " + str(m_val) )
QtCore.QObject.connect(getattr(self.ui, str(m_key)),
QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")),globals()[str(m_val)])
-
-#==============================================================================
-# Define Connections to Translation Object
-#==============================================================================
- self.connections_for_ObjTrans_button_pressed = {
- "ObjTrans_button_select" : "initialize",
- "ObjTrans_button_select_start" : "select_start",
- "ObjTrans_button_select_end" : "select_end",
- "ObjTrans_button_reset" : "reset",
- "ObjTrans_button_apply" : "application",
- }
-
- self.connections_for_ObjTrans_combobox_changed = {
- "ObjTrans_comboBox_start" : "select_start_type",
- "ObjTrans_comboBox_end" : "select_end_type",
- }
-
- self.connections_for_ObjTrans_checkbox_toggled = {
- "ObjTrans_duplicate" : "copyFlag",
- "ObjTrans_deepCopy" : "deepCopyFlag",
- }
-
- self.connections_for_ObjTrans_spin_changed = {
- "ObjTrans_spin" : "numberCopies",
- }
-
- self.connections_for_ObjTrans_return_pressed = {
- "ObjTrans_start_x" : "start_x_entered",
- "ObjTrans_start_y" : "start_y_entered",
- "ObjTrans_start_z" : "start_z_entered",
- "ObjTrans_end_x" : "end_x_entered",
- "ObjTrans_end_y" : "end_y_entered",
- "ObjTrans_end_z" : "end_z_entered",
- }
-#==============================================================================
-# Connect to Translation functions
-#==============================================================================
- for m_key, m_val in self.connections_for_ObjTrans_button_pressed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("pressed()"),getattr(self.trans, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjTrans_combobox_changed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")),getattr(self.trans, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjTrans_checkbox_toggled.items():
- #print_msg( "Connecting : " + str(m_key) + " and " + str(m_val) )
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL(_fromUtf8("toggled(bool)")),getattr(self.trans, str(m_val)))
-
-
- for m_key, m_val in self.connections_for_ObjTrans_spin_changed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("valueChanged(int)"),getattr(self.trans, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjTrans_return_pressed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("returnPressed()"),getattr(self.trans, str(m_val)))
-#==============================================================================
-# Define Connections to Rotation Object
-#==============================================================================
- self.connections_for_ObjRot_slider_changed = {
- "ObjRot_horizontalSlider" : "angle_value_changed",
- }
-
- self.connections_for_ObjRot_button_pressed = {
- "ObjRot_button_select" : "initialize",
- "ObjRot_button_select_center" : "select_center",
- "ObjRot_button_select_axis" : "select_axis",
- "ObjRot_button_select_angle" : "select_angle",
- "ObjRot_button_reset" : "reset",
- "ObjRot_button_apply" : "application",
- }
-
- self.connections_for_ObjRot_combobox_changed = {
- "ObjRot_comboBox_center" : "center_value",
- "ObjRot_comboBox_axis" : "axis_value",
- }
-
- self.connections_for_ObjRot_return_pressed = {
- "ObjRot_lineEdit_angle" : "angle_value_entered",
- }
-
-#==============================================================================
-# Connect to Rotation functions
-#==============================================================================
- for m_key, m_val in self.connections_for_ObjRot_button_pressed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("pressed()"),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_combobox_changed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_slider_changed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("valueChanged(int)"),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_return_pressed.items():
- #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("returnPressed()"),getattr(self.rot, str(m_val)))
-#==============================================================================
self.m_dialog.show()
m_text=str(myRelease)
diff --git a/WorkFeature/WF_ObjParCurve2DEditGui_2015.py b/WorkFeature/WF_ObjParCurve2DEditGui_2015.py
new file mode 100644
index 0000000..75fc49b
--- /dev/null
+++ b/WorkFeature/WF_ObjParCurve2DEditGui_2015.py
@@ -0,0 +1,193 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'WF_ObjParCurve2DEditGui_2015.ui'
+#
+# Created: Tue Oct 27 06:56:40 2015
+# by: PySide UI code generator 4.11.2
+#
+# WARNING! All changes made in this file will be lost!
+
+from PySide import QtCore, QtGui
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(1039, 460)
+ self.gridLayout_3 = QtGui.QGridLayout(Form)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.groupBox_2 = QtGui.QGroupBox(Form)
+ self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
+ self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_load = QtGui.QPushButton(self.groupBox_2)
+ self.button_load.setObjectName(_fromUtf8("button_load"))
+ self.horizontalLayout.addWidget(self.button_load)
+ self.button_save = QtGui.QPushButton(self.groupBox_2)
+ self.button_save.setObjectName(_fromUtf8("button_save"))
+ self.horizontalLayout.addWidget(self.button_save)
+ spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem)
+ self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox_2, 0, 0, 1, 1)
+ self.tableWidget = QtGui.QTableWidget(Form)
+ self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
+ self.tableWidget.setColumnCount(10)
+ self.tableWidget.setRowCount(2)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 8, item)
+ self.gridLayout_3.addWidget(self.tableWidget, 1, 0, 1, 1)
+ self.groupBox = QtGui.QGroupBox(Form)
+ self.groupBox.setObjectName(_fromUtf8("groupBox"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.horizontalLayout_2 = QtGui.QHBoxLayout()
+ self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+ self.button_addRow = QtGui.QPushButton(self.groupBox)
+ self.button_addRow.setObjectName(_fromUtf8("button_addRow"))
+ self.horizontalLayout_2.addWidget(self.button_addRow)
+ self.button_removeRow = QtGui.QPushButton(self.groupBox)
+ self.button_removeRow.setObjectName(_fromUtf8("button_removeRow"))
+ self.horizontalLayout_2.addWidget(self.button_removeRow)
+ spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_2.addItem(spacerItem1)
+ self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox, 2, 0, 1, 1)
+ self.horizontalLayout_4 = QtGui.QHBoxLayout()
+ self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
+ self.comboBox_select = QtGui.QComboBox(Form)
+ self.comboBox_select.setEnabled(False)
+ self.comboBox_select.setMaximumSize(QtCore.QSize(0, 0))
+ self.comboBox_select.setFrame(True)
+ self.comboBox_select.setModelColumn(1)
+ self.comboBox_select.setObjectName(_fromUtf8("comboBox_select"))
+ self.horizontalLayout_4.addWidget(self.comboBox_select)
+ spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_4.addItem(spacerItem2)
+ self.gridLayout_3.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
+ self.horizontalLayout_3 = QtGui.QHBoxLayout()
+ self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
+ self.button_quit = QtGui.QPushButton(Form)
+ self.button_quit.setObjectName(_fromUtf8("button_quit"))
+ self.horizontalLayout_3.addWidget(self.button_quit)
+ spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_3.addItem(spacerItem3)
+ self.gridLayout_3.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
+
+ self.retranslateUi(Form)
+ QtCore.QMetaObject.connectSlotsByName(Form)
+
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(_translate("Form", "Form", None))
+ self.groupBox_2.setTitle(_translate("Form", "2D Database", None))
+ self.button_load.setToolTip(_translate("Form", "Click to load common and customs curves.", None))
+ self.button_load.setText(_translate("Form", "Load", None))
+ self.button_save.setToolTip(_translate("Form", "This will save customs curves only in your HOME directory under \"Parametric2D.dat\".", None))
+ self.button_save.setText(_translate("Form", "Save", None))
+ item = self.tableWidget.verticalHeaderItem(0)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.verticalHeaderItem(1)
+ item.setText(_translate("Form", "2", None))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Form", "Name", None))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Form", "a (t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Form", "b (a, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Form", "X (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Form", "Y (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Form", "t min", None))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Form", "t max", None))
+ item = self.tableWidget.horizontalHeaderItem(7)
+ item.setText(_translate("Form", "t step", None))
+ item = self.tableWidget.horizontalHeaderItem(8)
+ item.setText(_translate("Form", "Polar", None))
+ item = self.tableWidget.horizontalHeaderItem(9)
+ item.setText(_translate("Form", "Comments", None))
+ __sortingEnabled = self.tableWidget.isSortingEnabled()
+ self.tableWidget.setSortingEnabled(False)
+ item = self.tableWidget.item(0, 0)
+ item.setText(_translate("Form", "Circle", None))
+ item = self.tableWidget.item(0, 1)
+ item.setText(_translate("Form", "10 # Radius", None))
+ item = self.tableWidget.item(0, 2)
+ item.setText(_translate("Form", "a", None))
+ item = self.tableWidget.item(0, 3)
+ item.setText(_translate("Form", "a*cos(t)", None))
+ item = self.tableWidget.item(0, 4)
+ item.setText(_translate("Form", "a*sin(t)", None))
+ item = self.tableWidget.item(0, 5)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(0, 6)
+ item.setText(_translate("Form", "2*pi", None))
+ item = self.tableWidget.item(0, 7)
+ item.setText(_translate("Form", "0.01", None))
+ item = self.tableWidget.item(0, 8)
+ item.setText(_translate("Form", "0", None))
+ self.tableWidget.setSortingEnabled(__sortingEnabled)
+ self.groupBox.setTitle(_translate("Form", "Row", None))
+ self.button_addRow.setToolTip(_translate("Form", "Add a row into the table.", None))
+ self.button_addRow.setText(_translate("Form", "add", None))
+ self.button_removeRow.setToolTip(_translate("Form", "Remove a row from the table.", None))
+ self.button_removeRow.setText(_translate("Form", "remove", None))
+ self.button_quit.setText(_translate("Form", "Quit", None))
+
diff --git a/WorkFeature/WF_ObjParCurve3DEditGui_2015.py b/WorkFeature/WF_ObjParCurve3DEditGui_2015.py
new file mode 100644
index 0000000..c25afcd
--- /dev/null
+++ b/WorkFeature/WF_ObjParCurve3DEditGui_2015.py
@@ -0,0 +1,244 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'WF_ObjParCurve3DEditGui_2015.ui'
+#
+# Created: Tue Oct 27 06:56:50 2015
+# by: PySide UI code generator 4.11.2
+#
+# WARNING! All changes made in this file will be lost!
+
+from PySide import QtCore, QtGui
+
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ def _fromUtf8(s):
+ return s
+
+try:
+ _encoding = QtGui.QApplication.UnicodeUTF8
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+ def _translate(context, text, disambig):
+ return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_Form(object):
+ def setupUi(self, Form):
+ Form.setObjectName(_fromUtf8("Form"))
+ Form.resize(1039, 460)
+ self.gridLayout_3 = QtGui.QGridLayout(Form)
+ self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+ self.groupBox_2 = QtGui.QGroupBox(Form)
+ self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
+ self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
+ self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+ self.horizontalLayout = QtGui.QHBoxLayout()
+ self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+ self.button_load = QtGui.QPushButton(self.groupBox_2)
+ self.button_load.setObjectName(_fromUtf8("button_load"))
+ self.horizontalLayout.addWidget(self.button_load)
+ self.button_save = QtGui.QPushButton(self.groupBox_2)
+ self.button_save.setObjectName(_fromUtf8("button_save"))
+ self.horizontalLayout.addWidget(self.button_save)
+ spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout.addItem(spacerItem)
+ self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox_2, 0, 0, 1, 1)
+ self.tableWidget = QtGui.QTableWidget(Form)
+ self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
+ self.tableWidget.setColumnCount(11)
+ self.tableWidget.setRowCount(3)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setVerticalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(10, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(0, 9, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 0, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 1, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 2, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 3, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 4, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 5, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 6, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 7, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 8, item)
+ item = QtGui.QTableWidgetItem()
+ self.tableWidget.setItem(1, 9, item)
+ self.gridLayout_3.addWidget(self.tableWidget, 1, 0, 1, 1)
+ self.groupBox = QtGui.QGroupBox(Form)
+ self.groupBox.setObjectName(_fromUtf8("groupBox"))
+ self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
+ self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
+ self.horizontalLayout_2 = QtGui.QHBoxLayout()
+ self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+ self.button_addRow = QtGui.QPushButton(self.groupBox)
+ self.button_addRow.setObjectName(_fromUtf8("button_addRow"))
+ self.horizontalLayout_2.addWidget(self.button_addRow)
+ self.button_removeRow = QtGui.QPushButton(self.groupBox)
+ self.button_removeRow.setObjectName(_fromUtf8("button_removeRow"))
+ self.horizontalLayout_2.addWidget(self.button_removeRow)
+ spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_2.addItem(spacerItem1)
+ self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
+ self.gridLayout_3.addWidget(self.groupBox, 2, 0, 1, 1)
+ self.horizontalLayout_4 = QtGui.QHBoxLayout()
+ self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
+ self.comboBox_select = QtGui.QComboBox(Form)
+ self.comboBox_select.setEnabled(False)
+ self.comboBox_select.setMaximumSize(QtCore.QSize(0, 0))
+ self.comboBox_select.setModelColumn(1)
+ self.comboBox_select.setObjectName(_fromUtf8("comboBox_select"))
+ self.horizontalLayout_4.addWidget(self.comboBox_select)
+ spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_4.addItem(spacerItem2)
+ self.gridLayout_3.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
+ self.horizontalLayout_3 = QtGui.QHBoxLayout()
+ self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
+ self.button_quit = QtGui.QPushButton(Form)
+ self.button_quit.setObjectName(_fromUtf8("button_quit"))
+ self.horizontalLayout_3.addWidget(self.button_quit)
+ spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
+ self.horizontalLayout_3.addItem(spacerItem3)
+ self.gridLayout_3.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
+
+ self.retranslateUi(Form)
+ QtCore.QMetaObject.connectSlotsByName(Form)
+
+ def retranslateUi(self, Form):
+ Form.setWindowTitle(_translate("Form", "Form", None))
+ self.groupBox_2.setTitle(_translate("Form", "3D Database", None))
+ self.button_load.setToolTip(_translate("Form", "Click to load common and customs curves.", None))
+ self.button_load.setText(_translate("Form", "Load", None))
+ self.button_save.setToolTip(_translate("Form", "This will save customs curves only in your HOME directory under \"Parametric3D.dat\".", None))
+ self.button_save.setText(_translate("Form", "Save", None))
+ item = self.tableWidget.verticalHeaderItem(0)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.verticalHeaderItem(1)
+ item.setText(_translate("Form", "2", None))
+ item = self.tableWidget.verticalHeaderItem(2)
+ item.setText(_translate("Form", "3", None))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Form", "Name", None))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Form", "a (t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Form", "b (a, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Form", "c (a, b, t) ", None))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Form", "X (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Form", "Y (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Form", "Z (a,b,c,t)", None))
+ item = self.tableWidget.horizontalHeaderItem(7)
+ item.setText(_translate("Form", "t min", None))
+ item = self.tableWidget.horizontalHeaderItem(8)
+ item.setText(_translate("Form", "t max", None))
+ item = self.tableWidget.horizontalHeaderItem(9)
+ item.setText(_translate("Form", "t step", None))
+ item = self.tableWidget.horizontalHeaderItem(10)
+ item.setText(_translate("Form", "Comments", None))
+ __sortingEnabled = self.tableWidget.isSortingEnabled()
+ self.tableWidget.setSortingEnabled(False)
+ item = self.tableWidget.item(0, 0)
+ item.setText(_translate("Form", "Cylindrical helix", None))
+ item = self.tableWidget.item(0, 1)
+ item.setText(_translate("Form", "10*0.05 #Vert. step", None))
+ item = self.tableWidget.item(0, 2)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.item(0, 3)
+ item.setText(_translate("Form", "10 # Radius", None))
+ item = self.tableWidget.item(0, 4)
+ item.setText(_translate("Form", "c*sin(t)", None))
+ item = self.tableWidget.item(0, 5)
+ item.setText(_translate("Form", "c*cos(t)", None))
+ item = self.tableWidget.item(0, 6)
+ item.setText(_translate("Form", "a*t", None))
+ item = self.tableWidget.item(0, 7)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(0, 8)
+ item.setText(_translate("Form", "5*2*pi #5 circles", None))
+ item = self.tableWidget.item(0, 9)
+ item.setText(_translate("Form", "0.01", None))
+ item = self.tableWidget.item(1, 0)
+ item.setText(_translate("Form", "Circle with Teeth", None))
+ item = self.tableWidget.item(1, 1)
+ item.setText(_translate("Form", "37", None))
+ item = self.tableWidget.item(1, 2)
+ item.setText(_translate("Form", "1", None))
+ item = self.tableWidget.item(1, 3)
+ item.setText(_translate("Form", "(a+cos(a*t)*2)*b", None))
+ item = self.tableWidget.item(1, 4)
+ item.setText(_translate("Form", "c*cos(t)", None))
+ item = self.tableWidget.item(1, 5)
+ item.setText(_translate("Form", "c*sin(t)", None))
+ item = self.tableWidget.item(1, 6)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(1, 7)
+ item.setText(_translate("Form", "0", None))
+ item = self.tableWidget.item(1, 8)
+ item.setText(_translate("Form", "2*pi", None))
+ item = self.tableWidget.item(1, 9)
+ item.setText(_translate("Form", "0.01", None))
+ self.tableWidget.setSortingEnabled(__sortingEnabled)
+ self.groupBox.setTitle(_translate("Form", "Row", None))
+ self.button_addRow.setToolTip(_translate("Form", "Add a row into the table.", None))
+ self.button_addRow.setText(_translate("Form", "add", None))
+ self.button_removeRow.setToolTip(_translate("Form", "Remove a row from the table.", None))
+ self.button_removeRow.setText(_translate("Form", "remove", None))
+ self.button_quit.setText(_translate("Form", "Quit", None))
+
diff --git a/WorkFeature/WF_ObjParCurveEdit_2015.py b/WorkFeature/WF_ObjParCurveEdit_2015.py
new file mode 100644
index 0000000..c1309ac
--- /dev/null
+++ b/WorkFeature/WF_ObjParCurveEdit_2015.py
@@ -0,0 +1,388 @@
+# -*- coding: utf-8 -*-
+"""
+Created on Sat May 30 18:53:08 2015
+
+@author: laurent
+"""
+import sys
+import os.path
+sys.path.append(os.path.dirname(__file__))
+#from ParCurve2DEditGui_2015 import Ui_Form
+import WorkFeature.WF_ObjParCurve2DEditGui_2015 as EDIT_2D
+import WorkFeature.WF_ObjParCurve3DEditGui_2015 as EDIT_3D
+from WorkFeature.WF_Utils_2015 import read_text_into_list, write_text, append_text
+
+from PySide import QtCore, QtGui
+import FreeCAD as App
+
+global myDatabase2DName
+myDatabase2DName = "Parametric2D.dat"
+global myDatabase3DName
+myDatabase3DName = "Parametric3D.dat"
+
+####################################################################################
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ _fromUtf8 = lambda s: s
+
+
+index = ['Name', 'a' , 'b' , 'c' , 'X' , 'Y', 'Z', 'tmin', 'tmax', 'tstep']
+d1 = ["default",37, 1, '(a+cos(a*t)*2)*b', 'cos(t)*c', 'sin(t)*c', 0, 0., '2*pi', 0.01]
+d2 = ["spiral", 5, 0, 10, 'c*sin(t)', 'c*cos(t)', 'a*0.05*t', .0, '20*pi', '0.05*pi']
+d3 = ["Seam of a tennis ball", '5', '5', '2*(sqrt(a*b))', 'a*(cos(t))+b*(cos(3*t))',
+ 'a*(sin(t))-b*(sin(3*t))', 'c*(sin(2*t))', 0., '2*pi', '0.05*pi']
+
+
+class Model(QtCore.QAbstractTableModel):
+ def __init__(self,tableWidget):
+ super(Model, self).__init__()
+ self.table = []
+ #print "Initialize table " + str(self.table)
+ for i_row in range(tableWidget.rowCount()):
+ m_line = []
+ for i_column in range(tableWidget.columnCount()):
+ #print str(i_column)
+ m_item = tableWidget.item(i_row, i_column)
+ if m_item is None:
+ break
+ else:
+ #print str(tableWidget.item(i_row, i_column).text())
+ m_line.append(str(tableWidget.item(i_row, i_column).text()))
+
+ if len(m_line) != 0:
+ self.table.append(m_line)
+ #print str(self.table)
+ self.columnNumber = 0
+ self.rowNumber = 0
+ self.rowNumber = len(self.table)
+ if self.rowNumber != 0:
+ self.columnNumber = len(self.table[0])
+
+
+ #print "self.rowNumber=" + str(self.rowNumber)
+ #print "self.columnNumber=" + str(self.columnNumber)
+
+ def rowCount(self, index=QtCore.QModelIndex()):
+ return self.rowNumber
+ def columnCount(self, index=QtCore.QModelIndex()):
+ return self.columnNumber
+ def flags(self, index):
+ return QtCore.Qt.ItemIsEditable | QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
+
+ def data(self, index, role):
+ if role == QtCore.Qt.DisplayRole:
+ return self.table[index.row()][index.column()]
+ def setData(self, index, role, value):
+ if role == QtCore.Qt.DisplayRole:
+ self.table[index.row()][index.column()] = value
+
+
+class tableWidget():
+ def __init__(self, database):
+ """
+ parameter database : the name of database file without path.
+ """
+ # Flag for common database
+ self.database_exists = False
+ self.database_name = None
+ self.curves_number = 0
+ self.curves_loaded = False
+ # Flag for user database
+ self.database_user_exists = False
+ self.database_user_name = None
+ self.curves_user_number = 0
+ self.curves_user_loaded = False
+ if database :
+ # Check if database file exists in current script directory
+ m_current = os.path.dirname(__file__)
+ m_dirs_to_look = [str(m_current), str(m_current) + "/Ressources",]
+ for m_dir in m_dirs_to_look:
+ self.database_path = m_dir + "/"
+ #print self.database_path
+ self.database_name = str(self.database_path) + str(database)
+ if os.path.exists(self.database_name):
+ self.database_exists = True
+
+ # Check if database file exists in home directory
+ m_home = os.path.expanduser("~")
+ self.database_path = m_home + "/"
+ self.database_user_name = str(self.database_path) + str(database)
+ if os.path.exists(self.database_user_name):
+ self.database_user_exists = True
+
+ self.header = None
+
+ # This Object ill be created with the setupUi
+ #self.tableWidget = QtGui.QTableWidget(Form)
+ self.tableWidget = None
+#===============================================================================
+# class tableWidget2D(EDIT_2D.Ui_Form, tableWidget):
+# def __init__(self, database="Parametric2D.dat"):
+# EDIT_2D.Ui_Form.__init__(self)
+# tableWidget.__init__(self, database)
+# self.header = "Name, a (t), b (a,t), X (a,b,t), Y(a,b,t), Polar, tmin, tmax, tstep"
+#
+# def setupUi(self, Form, combox):
+# EDIT_2D.Ui_Form.setupUi(self,Form)
+# tableWidget.setupUi(self, Form, combox)
+#===============================================================================
+ self.dialog = None
+ self.comboBox = None
+ self.connections_for_button_pressed = None
+ self.connections_for_combobox_changed = None
+ self.model = None
+
+ def setupUi(self, Form, combox):
+ self.dialog = Form
+ self.comboBox = combox
+ self.updateModel()
+
+ # Connect to functions
+ self.connections_for_button_pressed = {
+ "button_addRow" : "insertRowAfter",
+ "button_removeRow" : "removeSelectedRow",
+ "button_load" : "loadDatabase",
+ "button_save" : "saveDatabase",
+ "button_quit" : "widgetQuit",
+ }
+ self.connections_for_combobox_changed = {
+ "comboBox_select" : "selectCurve",
+ }
+
+ for m_key, m_val in self.connections_for_button_pressed.items():
+ #print_msg( "Connecting : " + str(getattr(self, str(m_key))) + " and " + str(getattr(self, str(m_val))) )
+ QtCore.QObject.connect(getattr(self, str(m_key)),
+ QtCore.SIGNAL("pressed()"),getattr(self, str(m_val)))
+
+ for m_key, m_val in self.connections_for_combobox_changed.items():
+ #print_msg( "Connecting : " + str(getattr(self, str(m_key))) + " and " + str(getattr(self, str(m_val))) )
+ QtCore.QObject.connect(getattr(self, str(m_key)),
+ QtCore.SIGNAL("currentIndexChanged(QString)"),getattr(self, str(m_val)))
+ self.curves_number = 0
+ self.curves_user_number = 0
+ if self.database_exists:
+ self.curves_number = self.loadDatabase(self.database_name)
+ print "Loaded from common database : " + str(self.curves_number) + " curves !"
+ if self.curves_number != 0:
+ self.curves_loaded = True
+
+ if self.database_user_exists:
+ self.curves_user_number = self.loadDatabase(self.database_user_name)
+ print "Loaded from user database : " + str(self.curves_user_number) + " curves !"
+ if self.curves_user_number != 0:
+ self.curves_user_loaded = True
+
+
+ def updateModel(self):
+ self.model = Model(self.tableWidget)
+ self.comboBox.setModel(self.model)
+ self.comboBox.setModelColumn(0)
+
+
+ def insertRow(self,row):
+ self.tableWidget.insertRow(row)
+
+
+ def insertRowAfter(self):
+ self.insertRow(self.tableWidget.rowCount())
+
+
+ def setRowCount(self,row):
+ self.tableWidget.setRowCount(row)
+
+
+ def removeSelectedRow(self):
+ m_index = self.tableWidget.currentRow()
+ self.removeRow(m_index)
+
+
+ def removeRow(self,row):
+ self.tableWidget.removeRow(row)
+ self.updateModel()
+
+
+ def removeLastRow(self):
+ self.removeRow(self.tableWidget.rowCount()-1)
+
+
+ def insertDataAfter(self, data, rowCount):
+ if isinstance(data,list) !=True:
+ print "Type of input data must be a 'list'"
+ return
+ m_rowNumber = len(data)
+ m_columnNumber = len(data[0])
+ m_widget = self.tableWidget
+ for i in range(m_rowNumber):
+ self.insertRowAfter()
+ for j in range(m_columnNumber):
+ item = QtGui.QTableWidgetItem(str(data[i][j]))
+ m_widget.setItem(rowCount + i, j, item)
+ self.updateModel()
+
+
+ def insertData(self, data):
+ if isinstance(data,list) !=True:
+ print "Type of input data must be a 'list'"
+ return
+ #print str(data)
+ m_rowNumber = len(data)
+ m_columnNumber = len(data[0])
+ m_widget = self.tableWidget
+ m_widget.setRowCount(m_rowNumber)
+ #m_widget.setColumnCount(columns)
+ #m_widget.setHorizontalHeaderLabels(['name', 'num','x','y','z'])
+ for i in range(m_rowNumber):
+ for j in range(m_columnNumber):
+ item = QtGui.QTableWidgetItem(str(data[i][j]))
+ m_widget.setItem(i, j, item)
+ self.updateModel()
+
+
+ def addCurveData(self,data):
+ m_curveList = self.selectAllCurves()
+ m_curveList.append(data)
+ self.insertData(m_curveList)
+
+
+ def loadDatabase(self, my_database_name):
+ try:
+ m_lines = read_text_into_list(my_database_name)
+ del m_lines[0]
+ m_data = []
+ for m_line in m_lines:
+ d = eval(m_line)
+ #print str(d)
+ m_data.append(d)
+
+ #print str(self.curves_number + self.curves_user_number)
+ if (self.curves_number + self.curves_user_number) == 0:
+ self.insertData(m_data)
+ else:
+ self.insertDataAfter(m_data,(self.curves_number + self.curves_user_number))
+
+ return len(m_data)
+ except:
+ message = "Unable to load the database file :" + str(my_database_name)
+ print message
+ App.Console.PrintError("\nERROR : " + message)
+
+
+ def saveDatabase(self, my_database_name = None):
+ if my_database_name in [None]:
+ my_database_name = self.database_user_name
+
+ if (self.curves_number) != 0:
+ m_curves = self.selectAllCurvesFrom(self.curves_number)
+ else:
+ m_curves = self.selectAllCurves()
+
+ #print str(m_curves)
+ write_text(filename=my_database_name, text=str(self.header))
+ append_text(filename=my_database_name, text="")
+ for m_curve in m_curves:
+ append_text(filename=my_database_name, text=str(m_curve))
+
+
+ def selectCurve(self, *argc):
+ #print str(*argc)
+ m_curveRow = self.tableWidget.row(self.tableWidget.findItems(str(*argc), QtCore.Qt.MatchExactly)[0])
+ print str(m_curveRow)
+ m_line = []
+ for i_column in range(self.tableWidget.columnCount()):
+ #print str(i_column)
+ m_item = self.tableWidget.item(m_curveRow, i_column)
+ if m_item is None:
+ break
+ else:
+ #print str(tableWidget.item(i_row, i_column).text())
+ m_line.append(str(self.tableWidget.item(m_curveRow, i_column).text()))
+ #print str(m_line)
+ return m_line
+
+ def selectAllCurvesFrom(self,row):
+ m_lineList = []
+ m_total_rows = self.tableWidget.rowCount()
+ m_total_cols = self.tableWidget.columnCount()
+ for i_row in range(row, m_total_rows):
+ m_line = []
+ for i_column in range(m_total_cols):
+ m_item = self.tableWidget.item(i_row, i_column)
+ if m_item is None:
+ break
+ else:
+ m_line.append(str(self.tableWidget.item(i_row, i_column).text()))
+ m_lineList.append(m_line)
+ #print str(m_lineList)
+ return m_lineList
+
+
+ def selectAllCurves(self):
+ m_lineList = []
+ m_total_rows = self.tableWidget.rowCount()
+ m_total_cols = self.tableWidget.columnCount()
+ for i_row in range(m_total_rows):
+ m_line = []
+ for i_column in range(m_total_cols):
+ m_item = self.tableWidget.item(i_row, i_column)
+ if m_item is None:
+ break
+ else:
+ m_line.append(str(self.tableWidget.item(i_row, i_column).text()))
+ m_lineList.append(m_line)
+ #print str(m_lineList)
+ return m_lineList
+
+ def widgetQuit(self):
+ self.dialog.hide()
+
+
+class tableWidget2D(EDIT_2D.Ui_Form, tableWidget):
+ def __init__(self, database="Parametric2D.dat"):
+ EDIT_2D.Ui_Form.__init__(self)
+ tableWidget.__init__(self, database)
+ self.header = "Name, a (t), b (a,t), X (a,b,t), Y(a,b,t), Polar, tmin, tmax, tstep"
+
+ def setupUi(self, Form, combox):
+ EDIT_2D.Ui_Form.setupUi(self,Form)
+ tableWidget.setupUi(self, Form, combox)
+
+
+class tableWidget3D(EDIT_3D.Ui_Form, tableWidget):
+ def __init__(self, database="Parametric3D.dat"):
+ EDIT_3D.Ui_Form.__init__(self)
+ tableWidget.__init__(self, database)
+ self.header = "Name, a (t), b (a,t),c (a,b,t), X (a,b,c,t), Y (a,b,c,t), Z (a,b,c,t), tmin, tmax, tstep"
+
+ def setupUi(self, Form, combox):
+ EDIT_3D.Ui_Form.setupUi(self,Form)
+ tableWidget.setupUi(self, Form, combox)
+
+
+if __name__ == '__main__':
+ app = QtGui.QApplication(sys.argv)
+ #app = QtGui.qApp
+ #app.exec_()
+ myNewWidget = QtGui.QDockWidget()
+ myNewWidget = QtGui.QWidget()
+ #myNewWidget.ui = Ui_Form()
+ myNewWidget.ui = tableWidget()
+ myNewWidget.ui.setupUi(myNewWidget)
+ #myNewWidget.ui.insertRow(1)
+ #myNewWidget.ui.insertRow(3)
+ #myNewWidget.ui.removeRow(3)
+ myNewWidget.ui.insertRowAfter()
+ myNewWidget.ui.insertRowAfter()
+ myNewWidget.ui.insertRowAfter()
+ myNewWidget.ui.removeLastRow()
+ #myNewWidget.ui.setRowCount(20)
+ mydata = []
+ mydata.append(d1)
+ mydata.append(d2)
+ mydata.append(d3)
+ myNewWidget.ui.insertData(mydata)
+ myNewWidget.show()
+
+ #mw = app.activeWindow()
+ #mw.addDockWidget(QtCore.Qt.RightDockWidgetArea,myNewWidget)
+ app.exec_()
\ No newline at end of file
diff --git a/WorkFeature/WF_ObjParCurve_2015.py b/WorkFeature/WF_ObjParCurve_2015.py
new file mode 100644
index 0000000..f8a8e84
--- /dev/null
+++ b/WorkFeature/WF_ObjParCurve_2015.py
@@ -0,0 +1,545 @@
+# -*- coding: utf-8 -*-
+"""
+"""
+from WorkFeature.WF_Utils_2015 import DefineAndConnectEvents
+import WorkFeature.WF_ObjParCurveEdit_2015 as ParCurveEdit
+
+import FreeCAD
+import FreeCADGui
+import Draft
+import Part
+
+from PySide import QtGui
+from math import *
+
+####################################################################################
+# Classes
+class Parametric():
+ def __init__(self, gui):
+ """ A Parametric object
+ """
+ self.debug = 1
+ self.close = False
+ self.face = False
+ self.points = False
+ self.poly = True
+ self.bspline = False
+ self.bezier = False
+ self.meshes = False
+ self.polar = False
+
+ self.dialog = None
+ self.combox = None
+
+ self.gui = gui
+
+
+ def updateOptions(self):
+ pass
+
+
+ def ccloseState(self, flag):
+ if self.debug != 0:
+ print self.ccloseState.__name__
+ self.close = flag
+ self.updateOptions()
+
+
+ def cfaceState(self, flag):
+ if self.debug != 0:
+ print self.cfaceState.__name__
+ self.face = flag
+ self.updateOptions()
+
+
+ def cpointsState(self, flag):
+ if self.debug != 0:
+ print self.cpointsState.__name__
+ self.points = flag
+ self.updateOptions()
+
+
+ def cpolyState(self, flag):
+ if self.debug != 0:
+ print self.cpolyState.__name__
+ self.poly = flag
+ self.updateOptions()
+
+
+ def cbsplineState(self, flag):
+ if self.debug != 0:
+ print self.cbsplineState.__name__
+ self.bspline = flag
+ self.updateOptions()
+
+
+ def cbezierState(self, flag):
+ if self.debug != 0:
+ print self.cbezierState.__name__
+ self.bezier = flag
+ self.updateOptions()
+
+
+ def cmeshesState (self, flag):
+ if self.debug != 0:
+ print self.cmeshesState.__name__
+ self.meshes = flag
+ self.updateOptions()
+
+
+ def cpolarState(self, flag):
+ if self.debug != 0:
+ print self.ccloseState.__name__
+ self.polar = flag
+ self.updateOptions()
+
+
+ def plot_matriz(self, matriz):
+ """ Plot the dataset with different options.
+ """
+ if self.debug != 0:
+ print self.plot_matriz.__name__
+
+ if self.points == True:
+ for point in matriz:
+ Draft.makePoint(point)
+ else:
+ curva = Part.makePolygon(matriz)
+ if self.bspline == True:
+ Draft.makeBSpline(curva,closed=self.close,face=False)
+ #Draft.makeBSpline(Draft.makeWire(curva,closed=self.close,face=False),closed=self.close,face=False)
+ if self.bezier == True:
+ Draft.makeBezCurve(curva,closed=self.close,face=False)
+ if self.poly == True:
+ Draft.makeWire(curva,closed=self.close,face=False)
+ if self.close == True and self.face == True:
+ Draft.upgrade(FreeCADGui.Selection.getSelection(),delete=True)
+ FreeCAD.ActiveDocument.recompute()
+
+
+ def edit(self):
+ """ Launch the edit panel curve.
+ """
+ if self.debug != 0:
+ print self.edit.__name__
+
+ self.dialog.show()
+# self.dialog.exec_()
+
+class ParametricCurve2D(Parametric):
+ """ A ParametricCurve2D object
+ """
+ def __init__(self, gui):
+ Parametric.__init__(self, gui)
+
+ self.name = self.gui.ParCurve_name_2
+ self.la = self.gui.ParCurve_a_2
+ self.lb = self.gui.ParCurve_b_2
+ self.lx = self.gui.ParCurve_x_2
+ self.ly = self.gui.ParCurve_y_2
+ self.ltmin = self.gui.ParCurve_tmin_2
+ self.ltmax = self.gui.ParCurve_tmax_2
+ self.ltstep = self.gui.ParCurve_tstep_2
+
+ self.lpolar = self.gui.checkBox_polar_2
+ self.cb_points = self.gui.checkBox_points_2
+ self.cb_polyline = self.gui.checkBox_polyline_2
+ self.cb_bspline = self.gui.checkBox_bspline_2
+ self.cb_bezier = self.gui.checkBox_bezier_2
+
+ self.cb_close = self.gui.checkBox_close_2
+ self.cb_face = self.gui.checkBox_face_2
+
+ self.cb_face.setEnabled(False)
+ self.close = False
+ self.face = False
+
+ self.combox = self.gui.ParCurve_comboBox_2
+
+ self.dialog = QtGui.QDialog()
+ self.dialog.resize(280,110)
+ self.dialog.setWindowTitle("2D Parametric Curve Editor")
+ self.dialog.ui = ParCurveEdit.tableWidget2D(database="Parametric2D.dat")
+ self.dialog.ui.setupUi(self.dialog, self.combox)
+
+
+ def updateOptions(self):
+ if self.points:
+ self.cb_close.setEnabled(False)
+ self.cb_face.setEnabled(False)
+ self.cb_close.setChecked(False)
+ self.cb_face.setChecked(False)
+ self.close = False
+ self.face = False
+ else:
+ self.cb_close.setEnabled(True)
+ if self.poly and self.close:
+ self.cb_face.setEnabled(True)
+ else:
+ self.cb_face.setEnabled(False)
+ self.cb_face.setChecked(False)
+ self.face = False
+
+
+ def select_curve(self, *argc):
+ """ Selection of Curve by combo box.
+ """
+ if self.debug != 0:
+ print self.select_curve.__name__
+
+ m_line = self.dialog.ui.selectCurve(*argc)
+ if self.debug != 0:
+ print str(m_line)
+ self.name.setText(str(m_line[0]))
+ self.la.setText(str(m_line[1]))
+ self.lb.setText(str(m_line[2]))
+ self.lx.setText(str(m_line[3]))
+ self.ly.setText(str(m_line[4]))
+ self.ltmin.setText(str(m_line[5]))
+ self.ltmax.setText(str(m_line[6]))
+ self.ltstep.setText(str(m_line[7]))
+ m_polar = int(str(m_line[8]))
+ if self.debug != 0:
+ print str(m_polar)
+ print str(self.lpolar)
+ self.polar = False
+ if m_polar == 1:
+ print str(m_polar)
+ self.polar = True
+ self.lpolar.setChecked(self.polar)
+
+ def draw(self):
+ if self.debug != 0:
+ print self.draw.__name__
+
+ msgBox = QtGui.QMessageBox()
+
+ fa = str(self.la.text())
+ fb = str(self.lb.text())
+ fx = str(self.lx.text())
+ fy = str(self.ly.text())
+ t = float(eval(str(self.ltmin.text())))
+ tf = float(eval(str(self.ltmax.text())))
+ intt = float(eval(str(self.ltstep.text())))
+
+ d = (tf + intt -t)/intt
+ dmax = int(d)
+ matriz = []
+
+ if self.debug != 0:
+ print "t=" + str(t) +" to " + str(tf) + " with step of " + str(intt)
+ print "d=" + str(d)
+ print "a=" + str(fa)
+ print "b=" + str(fb)
+ print "x=" + str(fx)
+ print "y=" + str(fy)
+
+ code = """
+def f(fa,fb,fx,fy,t):
+ value=""
+ msgBox = QtGui.QMessageBox()
+ try:
+ value="a() = """+str(fa)+""""
+ a="""+str(fa)+"""
+ value="b() = """+str(fb)+""""
+ b="""+str(fb)+"""
+ value="X() = """+str(fx)+""""
+ fxx="""+str(fx)+"""
+ value="Y() = """+str(fy)+""""
+ fyy="""+str(fy)+"""
+ except ZeroDivisionError:
+ msgBox.setText("Error division by zero in calculus of "+value+" for (t) = "+str(t)+" !")
+ msgBox.exec_()
+ return
+ except:
+ msgBox.setText("Error in the formula of "+value+" for (t) = "+str(t)+" !")
+ msgBox.exec_()
+ return
+
+ return fxx, fyy
+ """
+#==============================================================================
+# for i in range(int(d)):
+# try:
+# value="a"
+# a=eval(fa)
+# value="b"
+# b=eval(fb)
+# value="X"
+# fxx=eval(fx)
+# value="Y"
+# fyy=eval(fy)
+# #print fxx,fyy
+# except ZeroDivisionError:
+# msgBox.setText("Error division by zero in calculus of "+value+"() for t="+str(t)+" !")
+# msgBox.exec_()
+# except:
+# msgBox.setText("Error in the formula of "+value+"() !")
+# msgBox.exec_()
+#
+# if self.polar == True:
+# matriz.append(FreeCAD.Vector(fxx*cos(fyy),fxx*sin(fyy),0.0))
+# else:
+# matriz.append(FreeCAD.Vector(fxx,fyy,0.0))
+# t+=intt
+#==============================================================================
+
+ if self.debug != 0:
+ print code
+ exec code
+
+ for i in range(dmax):
+ fxx, fyy = f(fa,fb,fx,fy,t)
+ if self.polar == True:
+ matriz.append(FreeCAD.Vector(fxx*cos(fyy),fxx*sin(fyy),0.0))
+ else:
+ matriz.append(FreeCAD.Vector(fxx,fyy,0.0))
+ t+=intt
+
+ self.plot_matriz(matriz)
+
+
+ def store(self):
+ """ Store the parametric curve.
+ """
+ if self.debug != 0:
+ print self.store.__name__
+ m_line = []
+ m_items = [self.name, self.la, self.lb,self.lx, self.ly,
+ self.ltmin, self.ltmax, self.ltstep,]
+
+ for m_item in m_items:
+ m_val = ""
+ m_val = m_item.text()
+ m_line.append(str(m_val))
+ if self.polar:
+ m_line.append("1")
+ else:
+ m_line.append("0")
+ # append comment
+ m_line.append("")
+ print str(m_line)
+ self.dialog.ui.addCurveData(m_line)
+
+
+class ParametricCurve3D(Parametric):
+ """ A ParametricCurve3D object
+ """
+ def __init__(self, gui):
+ Parametric.__init__(self, gui)
+
+ self.name = self.gui.ParCurve_name_3
+ self.la = self.gui.ParCurve_a_3
+ self.lb = self.gui.ParCurve_b_3
+ self.lc = self.gui.ParCurve_c_3
+ self.lx = self.gui.ParCurve_x_3
+ self.ly = self.gui.ParCurve_y_3
+ self.lz = self.gui.ParCurve_z_3
+ self.ltmin = self.gui.ParCurve_tmin_3
+ self.ltmax = self.gui.ParCurve_tmax_3
+ self.ltstep = self.gui.ParCurve_tstep_3
+
+ self.combox = self.gui.ParCurve_comboBox_3
+
+ self.dialog = QtGui.QDialog()
+ self.dialog.resize(280,110)
+ self.dialog.setWindowTitle("3D Parametric Curve Editor")
+ self.dialog.ui = ParCurveEdit.tableWidget3D(database="Parametric3D.dat")
+ self.dialog.ui.setupUi(self.dialog, self.combox)
+
+
+ def select_curve(self, *argc):
+ """ Selection of Curve by combo box.
+ """
+ if self.debug != 0:
+ print self.select_curve.__name__
+
+ m_line = self.dialog.ui.selectCurve(*argc)
+ if self.debug != 0:
+ print str(m_line)
+ self.name.setText(str(m_line[0]))
+ self.la.setText(str(m_line[1]))
+ self.lb.setText(str(m_line[2]))
+ self.lc.setText(str(m_line[3]))
+ self.lx.setText(str(m_line[4]))
+ self.ly.setText(str(m_line[5]))
+ self.lz.setText(str(m_line[6]))
+ self.ltmin.setText(str(m_line[7]))
+ self.ltmax.setText(str(m_line[8]))
+ self.ltstep.setText(str(m_line[9]))
+
+
+ def draw(self):
+ if self.debug != 0:
+ print self.draw.__name__
+ msgBox = QtGui.QMessageBox()
+ fa = str(self.la.text())
+ fb = str(self.lb.text())
+ fc = str(self.lc.text())
+ fx = str(self.lx.text())
+ fy = str(self.ly.text())
+ fz = str(self.lz.text())
+ t = float(eval(str(self.ltmin.text())))
+ tf = float(eval(str(self.ltmax.text())))
+ intt = float(eval(str(self.ltstep.text())))
+
+ d = (tf + intt -t)/intt
+ dmax = int(d)
+ matriz = []
+
+ if self.debug != 0:
+ print "t=" + str(t) +" to " + str(tf) + " with step of " + str(intt)
+ print "d=" + str(d)
+ print "a=" + str(fa)
+ print "b=" + str(fb)
+ print "c=" + str(fc)
+ print "x=" + str(fx)
+ print "y=" + str(fy)
+ print "z=" + str(fz)
+
+ code = """
+def f(fa,fb,fc,fx,fy,fz,t):
+ value=""
+ msgBox = QtGui.QMessageBox()
+ try:
+ value="a() = """+str(fa)+""""
+ a="""+str(fa)+"""
+ value="b() = """+str(fb)+""""
+ b="""+str(fb)+"""
+ value="c() = """+str(fc)+""""
+ c="""+str(fc)+"""
+ value="X() = """+str(fx)+""""
+ fxx="""+str(fx)+"""
+ value="Y() = """+str(fy)+""""
+ fyy="""+str(fy)+"""
+ value="Z() = """+str(fz)+""""
+ fzz="""+str(fz)+"""
+ except ZeroDivisionError:
+ msgBox.setText("Error division by zero in calculus of "+value+" for (t) = "+str(t)+" !")
+ msgBox.exec_()
+ return
+ except:
+ msgBox.setText("Error in the formula of "+value+" for (t) = "+str(t)+" !")
+ msgBox.exec_()
+ return
+ return fxx, fyy, fzz
+ """
+#==============================================================================
+# for i in range(int(d)):
+# try:
+# value="a"
+# a=eval(fa)
+# value="b"
+# b=eval(fb)
+# value="c"
+# c=eval(fc)
+# value="X"
+# fxx=eval(fx)
+# value="Y"
+# fyy=eval(fy)
+# value="Z"
+# fzz=eval(fz)
+# except ZeroDivisionError:
+# msgBox.setText("Error division by zero in calculus of "+value+"() for t="+str(t)+" !")
+# msgBox.exec_()
+# except:
+# msgBox.setText("Error in the formula of "+value+"() !")
+# msgBox.exec_()
+# matriz.append(FreeCAD.Vector(fxx,fyy,fzz))
+# t+=intv
+#==============================================================================
+
+ if self.debug != 0:
+ print code
+ exec code
+ for i in range(dmax):
+ fxx, fyy, fzz = f(fa,fb,fc,fx,fy,fz,t)
+ matriz.append(FreeCAD.Vector(fxx,fyy,fzz))
+ t+=intt
+ self.plot_matriz(matriz)
+
+
+ def store(self):
+ """ Store the parametric curve.
+ """
+ if self.debug != 0:
+ print self.store.__name__
+ m_line = []
+ m_items = [self.name, self.la, self.lb, self.lc, self.lx, self.ly, self.lz,
+ self.ltmin, self.ltmax, self.ltstep,]
+ for m_item in m_items:
+ m_val = ""
+ m_val = m_item.text()
+ m_line.append(str(m_val))
+ # append comment
+ m_line.append("")
+ print str(m_line)
+ self.dialog.ui.addCurveData(m_line)
+
+
+class ParametricCurve2DEvents(DefineAndConnectEvents):
+ def __init__(self,ui):
+ self.ui = ui
+ # Create Parametric Curve 2D object
+ self.parcurv2D = ParametricCurve2D(self.ui)
+ DefineAndConnectEvents.__init__(self, self.ui, self.parcurv2D)
+
+ def defineEvents(self):
+ #======================================================================
+ # Connect to 2D functions
+ #======================================================================
+ self.connections_for_slider_changed = {}
+ self.connections_for_button_pressed = {
+ "ParCurve_button_edit_2" : "edit",
+ "ParCurve_button_apply_2" : "draw",
+ "ParCurve_button_store_2" : "store",
+ }
+ self.connections_for_combobox_changed = {
+ "ParCurve_comboBox_2" : "select_curve",
+ }
+ self.connections_for_checkbox_toggled = {
+ "checkBox_close_2" : "ccloseState",
+ "checkBox_face_2" : "cfaceState",
+ "checkBox_points_2" : "cpointsState",
+ "checkBox_polyline_2" : "cpolyState",
+ "checkBox_bspline_2" : "cbsplineState",
+ "checkBox_bezier_2" : "cbezierState",
+ "checkBox_polar_2" : "cpolarState",
+ }
+ self.connections_for_spin_changed = {}
+ self.connections_for_return_pressed = {}
+
+
+class ParametricCurve3DEvents(DefineAndConnectEvents):
+ def __init__(self,ui):
+ self.ui = ui
+ # Create Parametric Curve 3D object
+ self.parcurv3D = ParametricCurve3D(self.ui)
+ DefineAndConnectEvents.__init__(self, self.ui, self.parcurv3D)
+
+ def defineEvents(self):
+ #======================================================================
+ # Connect to 3D functions
+ #======================================================================
+ self.connections_for_slider_changed = {}
+ self.connections_for_button_pressed = {
+ "ParCurve_button_edit_3" : "edit",
+ "ParCurve_button_apply_3" : "draw",
+ "ParCurve_button_store_3" : "store",
+ }
+ self.connections_for_combobox_changed = {
+ "ParCurve_comboBox_3" : "select_curve",
+ }
+ self.connections_for_checkbox_toggled = {
+ "checkBox_close_3" : "ccloseState",
+ "checkBox_points_3" : "cpointsState",
+ "checkBox_polyline_3" : "cpolyState",
+ "checkBox_bspline_3" : "cbsplineState",
+ "checkBox_bezier_3" : "cbezierState",
+ }
+ self.connections_for_spin_changed = {}
+ self.connections_for_return_pressed = {}
+
+
+if __name__ == '__main__':
+ myObject = Parametric(None)
\ No newline at end of file
diff --git a/WorkFeature/WF_ObjRot_2015.py b/WorkFeature/WF_ObjRot_2015.py
index c401413..2621a22 100644
--- a/WorkFeature/WF_ObjRot_2015.py
+++ b/WorkFeature/WF_ObjRot_2015.py
@@ -5,9 +5,11 @@ import sys
if not sys.path.__contains__("/usr/lib/freecad/lib"):
sys.path.append("/usr/lib/freecad/lib")
-import __init__ as func
+import WF_2015 as func
+from WF_Utils_2015 import *
+
global myRelease
-myRelease = "2105_02"
+myRelease = "2015_10"
import os.path
import math
@@ -21,33 +23,7 @@ from FreeCAD import Base
from PySide import QtCore, QtGui
-####################################################################################
-# Functions
-def print_attributes(obj, doc=False):
- """ Print all the attributes of this object and their value """
- __m_type = obj.__class__.__name__
- print '* Attributes print for '+ str(__m_type) + '*'
- for names in dir(obj):
- attr = getattr(obj,names)
- if not callable(attr):
- if doc:
- print names,':',attr
- else:
- print names
-
-def print_methods(obj, doc=False):
- """ Print all the methods of this object and their doc string"""
- __m_type = obj.__class__.__name__
- print '\n* Methods print for '+ str(__m_type) + '*'
- for names in dir(obj):
- attr = getattr(obj,names)
- if callable(attr):
- if doc:
- print names,':',attr.__doc__
- else:
- print names
-
def plot_point(Vector_point, part="Part::Feature", name="CenterObjects", grp="Rot_Trans"):
if not(App.ActiveDocument.getObject( grp )):
@@ -1406,7 +1382,70 @@ try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
+
+class RotationEvents(DefineAndConnectEvents):
+ def __init__(self,ui):
+ self.ui = ui
+ # Create a Rotation object
+ self.rot = Rotation(self.ui)
+ DefineAndConnectEvents.__init__(self, self.ui, self.rot)
+ def defineEvents(self):
+ self.connections_for_slider_changed = {
+ "ObjRot_horizontalSlider" : "angle_value_changed",
+ }
+ self.connections_for_button_pressed = {
+ "ObjRot_button_select" : "initialize",
+ "ObjRot_button_select_center" : "select_center",
+ "ObjRot_button_select_axis" : "select_axis",
+ "ObjRot_button_reset" : "reset",
+ "ObjRot_button_apply" : "application",
+ }
+ self.connections_for_combobox_changed = {
+ "ObjRot_comboBox_center" : "center_value",
+ "ObjRot_comboBox_axis" : "axis_value",
+ }
+ self.connections_for_checkbox_toggled = {}
+ self.connections_for_spin_changed = {}
+ self.connections_for_return_pressed = {
+ "ObjRot_lineEdit_angle" : "angle_value_entered",
+ }
+
+class TranslationEvents(DefineAndConnectEvents):
+ def __init__(self,ui):
+ self.ui = ui
+ # Create a Translation object
+ self.trans = Translation(self.ui)
+ DefineAndConnectEvents.__init__(self, self.ui, self.trans)
+
+ def defineEvents(self):
+ self.connections_for_slider_changed = {}
+ self.connections_for_button_pressed = {
+ "ObjTrans_button_select" : "initialize",
+ "ObjTrans_button_select_start" : "select_start",
+ "ObjTrans_button_select_end" : "select_end",
+ "ObjTrans_button_reset" : "reset",
+ "ObjTrans_button_apply" : "application",
+ }
+ self.connections_for_combobox_changed = {
+ "ObjTrans_comboBox_start" : "select_start_type",
+ "ObjTrans_comboBox_end" : "select_end_type",
+ }
+ self.connections_for_checkbox_toggled = {
+ "ObjTrans_duplicate" : "copyFlag",
+ "ObjTrans_deepCopy" : "deepCopyFlag",
+ }
+ self.connections_for_spin_changed = {
+ "ObjTrans_spin" : "numberCopies",
+ }
+ self.connections_for_return_pressed = {
+ "ObjTrans_start_x" : "start_x_entered",
+ "ObjTrans_start_y" : "start_y_entered",
+ "ObjTrans_start_z" : "start_z_entered",
+ "ObjTrans_end_x" : "end_x_entered",
+ "ObjTrans_end_y" : "end_y_entered",
+ "ObjTrans_end_z" : "end_z_entered",
+ }
####################################################################################
class ObjectRotationTab():
def __init__(self):
@@ -1438,12 +1477,11 @@ class ObjectRotationTab():
self.ui.setupUi(self.m_dialog)
self.m_tab.setCurrentIndex(i+1)
- # Create a Rotation object
- self.rot = Rotation(self.ui)
# Create a Translation object
self.trans = Translation(self.ui)
- # Connect to functions
+ # Create a Rotation object and connect
+ self.eventsRot = RotationEvents(self.ui)
self.connections_for_ObjTrans_button_pressed = {
@@ -1476,57 +1514,16 @@ class ObjectRotationTab():
"ObjTrans_end_z" : "end_z_entered",
}
- self.connections_for_ObjRot_slider_changed = {
- "ObjRot_horizontalSlider" : "angle_value_changed",
- }
-
- self.connections_for_ObjRot_button_pressed = {
- "ObjRot_button_select" : "initialize",
- "ObjRot_button_select_center" : "select_center",
- "ObjRot_button_select_axis" : "select_axis",
- "ObjRot_button_reset" : "reset",
- "ObjRot_button_apply" : "application",
- }
-
- self.connections_for_ObjRot_combobox_changed = {
- "ObjRot_comboBox_center" : "center_value",
- "ObjRot_comboBox_axis" : "axis_value",
- }
-
- self.connections_for_ObjRot_return_pressed = {
- "ObjRot_lineEdit_angle" : "angle_value_entered",
- }
-
+
self.connections_for_button_clicked = {
"button_quit" : "quit_clicked",
}
for m_key, m_val in self.connections_for_button_clicked.items():
- #func.print_msg( "Connecting : " + str(m_key) + " and " + str(m_val) )
+ #print_msg( "Connecting : " + str(m_key) + " and " + str(m_val) )
QtCore.QObject.connect(getattr(self.ui, str(m_key)),
QtCore.SIGNAL("clicked()"),getattr(self,str(m_val)))
-
- # Connect to Rotation functions
- for m_key, m_val in self.connections_for_ObjRot_button_pressed.items():
- #func.print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("pressed()"),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_combobox_changed.items():
- #func.print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_slider_changed.items():
- #func.print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("valueChanged(int)"),getattr(self.rot, str(m_val)))
-
- for m_key, m_val in self.connections_for_ObjRot_return_pressed.items():
- #func.print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.rot, str(m_val))) )
- QtCore.QObject.connect(getattr(self.ui, str(m_key)),
- QtCore.SIGNAL("returnPressed()"),getattr(self.rot, str(m_val)))
-
+
# Connect to Translation functions
for m_key, m_val in self.connections_for_ObjTrans_button_pressed.items():
#func.print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.trans, str(m_val))) )
diff --git a/WorkFeature/WF_Utils_2015.py b/WorkFeature/WF_Utils_2015.py
new file mode 100644
index 0000000..a347b75
--- /dev/null
+++ b/WorkFeature/WF_Utils_2015.py
@@ -0,0 +1,238 @@
+# -*- coding: utf-8 -*-
+"""
+"""
+import os.path
+
+from PySide import QtCore
+try:
+ _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+ _fromUtf8 = lambda s: s
+
+
+###############################################################################
+# Functions
+def print_attributes(obj, doc=False):
+ """ Print all the attributes of this object and their value """
+ __m_type = obj.__class__.__name__
+ print '* Attributes print for '+ str(__m_type) + '*'
+ for names in dir(obj):
+ attr = getattr(obj,names)
+ if not callable(attr):
+ if doc:
+ print names,':',attr
+ else:
+ print names
+
+def print_methods(obj, doc=False):
+ """ Print all the methods of this object and their doc string"""
+ __m_type = obj.__class__.__name__
+ print '\n* Methods print for '+ str(__m_type) + '*'
+ for names in dir(obj):
+ attr = getattr(obj,names)
+ if callable(attr):
+ if doc:
+ print names,':',attr.__doc__
+ else:
+ print names
+
+
+def write_text(filename=None, text=None):
+ """
+ Write the text into an ASCII file.
+
+ Return True if success, false if not.
+
+ *filename* : (string) full path name.
+
+ *text* : (string) the text to write.
+ """
+ if filename != None and text != None:
+ try:
+ __m_f=open(filename,'w')
+ __m_f.write(text)
+ __m_f.close()
+ return True
+ except:
+ print "\nERROR : The file " + str(filename) + \
+ " cannot be opened in write mode !"
+ return False
+ else:
+ return False
+
+
+def append_text(filename=None, text="" ):
+ """
+ Print/Add text either on screen or on at the end of an existing ASCII text file.
+
+ *filename* : (string) full path name.
+
+ *text* : (string) the text to add at the end of the file.
+ """
+ if text.__class__.__name__ != 'str':
+ return None
+ if filename and os.path.exists(filename):
+ try:
+ __m_f=open(filename,'r+')
+ __m_f.readlines()
+ __m_f.write(text+'\n')
+ __m_f.close()
+ except:
+ print "\nERROR : The file " + str(filename) + \
+ " can not be opened for append mode !"
+ return False
+ else:
+ print text +'\n'
+
+def read_text_into_list(filename):
+ """
+ Read the complete ASCII file *filename* (if possible) into a unique
+ list of strings and return the list
+ (or None in case of error).
+
+ Controls are done on *filename*.
+
+ *filename* : (string) full path name.
+ """
+ if filename and os.path.exists(filename):
+ try:
+ __m_f=open(filename,'r')
+ # read the complete ASCII file if possible into a unique list of strings
+ try:
+ #m_strings = __m_f.readlines()
+ m_strings = __m_f.read().splitlines()
+ except:
+ __m_f.close()
+ print "\nERROR : The file " + str(filename) + \
+ " cannot be fully read !"
+ return None
+ finally:
+ __m_f.close()
+ __m_f.close()
+ return m_strings
+ except:
+ print "\nERROR : The file " + str(filename) + \
+ " cannot be opened in read mode !"
+ return None
+ else:
+ if os.path.exists(filename) == False:
+ print "\nERROR : " + str(filename) + " not a valid file !"
+ return None
+
+
+def read_text(filename):
+ """
+ Read the complete ASCII file *filename* (if possible) into a unique
+ string and return the string
+ (or None in case of error).
+
+ Controls are done on *filename*.
+
+ *filename* : (string) full path name.
+ """
+ if filename and os.path.exists(filename):
+ try:
+ __m_f=open(filename,'r')
+ # read the complete ASCII file if possible into a unique string
+ try:
+ m_string = __m_f.read()
+ except:
+ __m_f.close()
+ print "\nERROR : The file " + str(filename) + \
+ " cannot be fully read !"
+ return None
+ finally:
+ __m_f.close()
+ __m_f.close()
+ return m_string
+ except:
+ print "\nERROR : The file " + str(filename) + \
+ " cannot be opened in read mode !"
+ return None
+ else:
+ if os.path.exists(filename) == False:
+ print "\nERROR : " + str(filename) + " not a valid file !"
+ return None
+
+
+###############################################################################
+# Classes
+class DefineAndConnectEvents():
+ def __init__(self, ui, obj):
+ """
+ Definition of communications between a Gui and an python Object.
+ This class is a base class and must be derived like :
+
+ class ParametricCurve2DEvents(DefineAndConnectEvents):
+ def __init__(self,ui):
+ self.ui = ui
+ # Create Parametric Curve objects
+ self.parcurv2D = ParametricCurve2D(self.ui)
+ DefineAndConnectEvents.__init__(self, self.ui, self.parcurv2D)
+
+
+ def defineEvents(self):
+ #==============================
+
+ # Definition of connections
+
+ # by type of actions on widgets of the Gui.
+ #==============================
+ self.connections_for_button_pressed = {
+ "ParCurve_button_edit_2" : "edit",
+ "ParCurve_button_apply_2" : "draw",
+ "ParCurve_button_store_2" : "store",
+ }
+ ...
+ """
+ if self.__class__ is DefineAndConnectEvents:
+ raise Exception("Direct construction not allowed !\nSee doc of the Class.")
+ self.ui = ui
+ self.obj = obj
+ self.defineEvents()
+ self.connectEvents()
+
+ def defineEvents(self):
+ """
+ Definition of connections by type of actions on widgets of the Gui.
+ """
+ self.connections_for_slider_changed = {}
+ self.connections_for_button_pressed = {}
+ self.connections_for_combobox_changed = {}
+ self.connections_for_checkbox_toggled = {}
+ self.connections_for_spin_changed = {}
+ self.connections_for_return_pressed = {}
+
+ def connectEvents(self):
+ for m_key, m_val in self.connections_for_slider_changed.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL("valueChanged(int)"),getattr(self.obj, str(m_val)))
+
+ for m_key, m_val in self.connections_for_button_pressed.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL("pressed()"),getattr(self.obj, str(m_val)))
+
+ for m_key, m_val in self.connections_for_combobox_changed.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")),getattr(self.obj, str(m_val)))
+
+ for m_key, m_val in self.connections_for_checkbox_toggled.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL(_fromUtf8("toggled(bool)")),getattr(self.obj, str(m_val)))
+
+ for m_key, m_val in self.connections_for_spin_changed.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL("valueChanged(int)"),getattr(self.obj, str(m_val)))
+
+ for m_key, m_val in self.connections_for_return_pressed.items():
+ #print_msg( "Connecting : " + str(getattr(self.ui, str(m_key))) + " and " + str(getattr(self.obj, str(m_val))) )
+ QtCore.QObject.connect(getattr(self.ui, str(m_key)),
+ QtCore.SIGNAL("returnPressed()"),getattr(self.obj, str(m_val)))
+
+if __name__ == '__main__':
+ myObject = DefineAndConnectEvents(None, None)
\ No newline at end of file
diff --git a/start_WF.py b/start_WF.py
new file mode 100644
index 0000000..59ab6c7
--- /dev/null
+++ b/start_WF.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+import sys
+import os.path
+
+try:
+ # try import
+ import WorkFeature.WF_2015 as WF
+except:
+ # get the path of the current python script
+ m_current_path = os.path.realpath(__file__)
+ m_current_path = os.path.dirname(m_current_path)
+ # check if this path belongs to the PYTHONPATH variable and if not add it
+ if not sys.path.__contains__(str(m_current_path)):
+ sys.path.append(str(m_current_path))
+ # retry import now
+ import WorkFeature.WF_2015 as WF
+
+WF.myDialog = WF.WorkFeatureTab()