Salome HOME
general crack dialog, use working dir and result file name
[modules/smesh.git] / src / Tools / blocFissure / ihm / fissureGenerale.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Dialog</class>
4  <widget class="QDialog" name="Dialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>666</width>
10     <height>589</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Insertion de fissure dans un maillage sain</string>
15   </property>
16   <property name="toolTip">
17    <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Insertion d'un maillage de fissure dans un maillage hexaédrique sain.&lt;/p&gt;&lt;p&gt;Le maillage sain est fourni sous forme de fichier Med.&lt;/p&gt;&lt;p&gt;La face de fissure est décrite par une géométrie dans un fichier brep.&lt;/p&gt;&lt;p&gt;La ou les arêtes de fond de fissure sont données par leurs index dans la face de fissure.&lt;/p&gt;&lt;p&gt;La procédure identfie des mailles saines à enlever et remailler, construit un maillage régulier rayonnant autour de la ligne de fond de fissure, reconstitue les faces externes en triangles, complète la zone à remailler en tétraèdres.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout_3">
20    <item>
21     <widget class="QGroupBox" name="groupBox">
22      <property name="title">
23       <string>maillage sain et géometries de fissure</string>
24      </property>
25      <layout class="QGridLayout" name="gridLayout_4">
26       <item row="1" column="0">
27        <layout class="QHBoxLayout" name="horizontalLayout">
28         <item>
29          <widget class="QLabel" name="label">
30           <property name="text">
31            <string>index edges fond fissure</string>
32           </property>
33          </widget>
34         </item>
35         <item>
36          <widget class="QLineEdit" name="le_fondfiss">
37           <property name="toolTip">
38            <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Index des edges décrivant le fond de fissure, dans la face de fissure.&lt;/p&gt;&lt;p&gt;Sous forme d'une liste Python.&lt;/p&gt;&lt;p&gt;Exemples : &lt;span style=&quot; font-weight:600; font-style:italic; color:#000080;&quot;&gt;[5,9]&lt;/span&gt; ou&lt;span style=&quot; font-weight:600;&quot;/&gt;&lt;span style=&quot; font-weight:600; font-style:italic; color:#000080;&quot;&gt;[3]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;(on peut récupérer ces valeurs à l'aide du dialogue de création de groupes d'edges, dans GEOM)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
39           </property>
40          </widget>
41         </item>
42         <item>
43          <spacer name="horizontalSpacer">
44           <property name="orientation">
45            <enum>Qt::Horizontal</enum>
46           </property>
47           <property name="sizeHint" stdset="0">
48            <size>
49             <width>40</width>
50             <height>20</height>
51            </size>
52           </property>
53          </spacer>
54         </item>
55        </layout>
56       </item>
57       <item row="0" column="0">
58        <layout class="QGridLayout" name="gridLayout">
59         <item row="0" column="1">
60          <widget class="QLineEdit" name="le_maillage">
61           <property name="toolTip">
62            <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;fichier med du maillage sain (hexaèdres)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
63           </property>
64          </widget>
65         </item>
66         <item row="1" column="0">
67          <widget class="QPushButton" name="pb_facefiss">
68           <property name="toolTip">
69            <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;sélection du fichier brep (géométrie) décrivant la face de fissure.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
70           </property>
71           <property name="text">
72            <string>face fissure</string>
73           </property>
74          </widget>
75         </item>
76         <item row="1" column="1">
77          <widget class="QLineEdit" name="le_facefiss">
78           <property name="toolTip">
79            <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;fichier brep (géométrie) décrivant la face de fissure.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
80           </property>
81          </widget>
82         </item>
83         <item row="0" column="0">
84          <widget class="QPushButton" name="pb_maillage">
85           <property name="toolTip">
86            <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;sélection du fichier med du maillage sain (hexaèdres)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
87           </property>
88           <property name="text">
89            <string>maillage sain</string>
90           </property>
91          </widget>
92         </item>
93        </layout>
94       </item>
95      </layout>
96      <zorder></zorder>
97      <zorder></zorder>
98     </widget>
99    </item>
100    <item>
101     <layout class="QHBoxLayout" name="horizontalLayout_12">
102      <item>
103       <widget class="QGroupBox" name="groupBox_2">
104        <property name="title">
105         <string>identification zone à remailler</string>
106        </property>
107        <layout class="QVBoxLayout" name="verticalLayout">
108         <item>
109          <layout class="QHBoxLayout" name="horizontalLayout_5">
110           <item>
111            <widget class="QLabel" name="label_2">
112             <property name="text">
113              <string>distance influence</string>
114             </property>
115            </widget>
116           </item>
117           <item>
118            <widget class="QDoubleSpinBox" name="dsb_influence">
119             <property name="toolTip">
120              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;La zone remaillée contiendra toutes les mailles du maillage sain à une distance de la face de fissure inférieure à cette valeur.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
121             </property>
122             <property name="decimals">
123              <number>5</number>
124             </property>
125            </widget>
126           </item>
127          </layout>
128         </item>
129         <item>
130          <layout class="QHBoxLayout" name="horizontalLayout_8">
131           <item>
132            <widget class="QGroupBox" name="groupBox_3">
133             <property name="title">
134              <string>prémaillage face fissure</string>
135             </property>
136             <layout class="QHBoxLayout" name="horizontalLayout_7">
137              <item>
138               <layout class="QGridLayout" name="gridLayout_2">
139                <item row="0" column="0">
140                 <widget class="QLabel" name="label_3">
141                  <property name="text">
142                   <string>min</string>
143                  </property>
144                 </widget>
145                </item>
146                <item row="0" column="1">
147                 <widget class="QDoubleSpinBox" name="dsb_meshBrepMin">
148                  <property name="toolTip">
149                   <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pour faciliter la détermination de la zone à remailler, il faut des points sur la face de fissure, suffisament resserrés, en relation avec la taille des mailles du maillage sain.&lt;/p&gt;&lt;p&gt;Ces points sont obtenus par pré maillage de la face de fissure, en triangles. On donne la taille min et max des triangles.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
150                  </property>
151                  <property name="decimals">
152                   <number>5</number>
153                  </property>
154                  <property name="maximum">
155                   <double>1000000.000000000000000</double>
156                  </property>
157                 </widget>
158                </item>
159                <item row="1" column="0">
160                 <widget class="QLabel" name="label_4">
161                  <property name="text">
162                   <string>max</string>
163                  </property>
164                 </widget>
165                </item>
166                <item row="1" column="1">
167                 <widget class="QDoubleSpinBox" name="dsb_meshBrepMax">
168                  <property name="toolTip">
169                   <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pour faciliter la détermination de la zone à remailler, il faut des points sur la face de fissure, suffisament resserrés, en relation avec la taille des mailles du maillage sain.&lt;/p&gt;&lt;p&gt;Ces points sont obtenus par pré maillage de la face de fissure, en triangles. On donne la taille min et max des triangles.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
170                  </property>
171                  <property name="decimals">
172                   <number>5</number>
173                  </property>
174                  <property name="maximum">
175                   <double>1000000.000000000000000</double>
176                  </property>
177                 </widget>
178                </item>
179               </layout>
180              </item>
181             </layout>
182            </widget>
183           </item>
184           <item>
185            <spacer name="horizontalSpacer_3">
186             <property name="orientation">
187              <enum>Qt::Horizontal</enum>
188             </property>
189             <property name="sizeHint" stdset="0">
190              <size>
191               <width>13</width>
192               <height>17</height>
193              </size>
194             </property>
195            </spacer>
196           </item>
197          </layout>
198         </item>
199         <item>
200          <layout class="QHBoxLayout" name="horizontalLayout_9">
201           <item>
202            <widget class="QGroupBox" name="groupBox_7">
203             <property name="title">
204              <string>messages</string>
205             </property>
206             <layout class="QHBoxLayout" name="horizontalLayout_6">
207              <item>
208               <layout class="QHBoxLayout" name="horizontalLayout_4">
209                <item>
210                 <widget class="QLabel" name="label_10">
211                  <property name="text">
212                   <string>mode</string>
213                  </property>
214                 </widget>
215                </item>
216                <item>
217                 <widget class="QComboBox" name="cb_log">
218                  <property name="toolTip">
219                   <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;L'affichage de messages pendant le calcul peut aider à la mise au point du maillage. Les messages sont écrits dans un fichier de log, dans le répertoire d'exécution.&lt;/p&gt;&lt;p&gt;- Le mode &lt;span style=&quot; font-weight:600;&quot;&gt;silencieux&lt;/span&gt; donne très peu d'information,&lt;/p&gt;&lt;p&gt;- Le mode &lt;span style=&quot; font-weight:600;&quot;&gt;verbeux&lt;/span&gt; liste les principales étapes du calcul,&lt;/p&gt;&lt;p&gt;- Le mode &lt;span style=&quot; font-weight:600;&quot;&gt;debug&lt;/span&gt; donne un maximum de détail, et publie des objets intermédiaires dans l'étude.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
220                  </property>
221                  <item>
222                   <property name="text">
223                    <string>silencieux</string>
224                   </property>
225                  </item>
226                  <item>
227                   <property name="text">
228                    <string>verbeux</string>
229                   </property>
230                  </item>
231                  <item>
232                   <property name="text">
233                    <string>debug</string>
234                   </property>
235                  </item>
236                 </widget>
237                </item>
238               </layout>
239              </item>
240             </layout>
241            </widget>
242           </item>
243           <item>
244            <spacer name="horizontalSpacer_9">
245             <property name="orientation">
246              <enum>Qt::Horizontal</enum>
247             </property>
248             <property name="sizeHint" stdset="0">
249              <size>
250               <width>18</width>
251               <height>20</height>
252              </size>
253             </property>
254            </spacer>
255           </item>
256          </layout>
257         </item>
258         <item>
259          <spacer name="verticalSpacer">
260           <property name="orientation">
261            <enum>Qt::Vertical</enum>
262           </property>
263           <property name="sizeHint" stdset="0">
264            <size>
265             <width>20</width>
266             <height>17</height>
267            </size>
268           </property>
269          </spacer>
270         </item>
271        </layout>
272        <zorder>verticalSpacer</zorder>
273       </widget>
274      </item>
275      <item>
276       <spacer name="horizontalSpacer_6">
277        <property name="orientation">
278         <enum>Qt::Horizontal</enum>
279        </property>
280        <property name="sizeHint" stdset="0">
281         <size>
282          <width>17</width>
283          <height>20</height>
284         </size>
285        </property>
286       </spacer>
287      </item>
288      <item>
289       <widget class="QGroupBox" name="groupBox_4">
290        <property name="sizePolicy">
291         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
292          <horstretch>0</horstretch>
293          <verstretch>0</verstretch>
294         </sizepolicy>
295        </property>
296        <property name="title">
297         <string>maillage zone de fissure</string>
298        </property>
299        <layout class="QVBoxLayout" name="verticalLayout_2">
300         <item>
301          <widget class="QGroupBox" name="groupBox_5">
302           <property name="title">
303            <string>pipe rayonnant</string>
304           </property>
305           <layout class="QHBoxLayout" name="horizontalLayout_10">
306            <item>
307             <layout class="QGridLayout" name="gridLayout_3">
308              <item row="0" column="0">
309               <widget class="QLabel" name="label_5">
310                <property name="text">
311                 <string>rayon pipe</string>
312                </property>
313               </widget>
314              </item>
315              <item row="0" column="1">
316               <widget class="QDoubleSpinBox" name="dsb_rayonPipe">
317                <property name="toolTip">
318                 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pipe rayonnant construit sur le fond de fissure :&lt;/p&gt;&lt;p&gt;Rayon du pipe.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
319                </property>
320                <property name="decimals">
321                 <number>5</number>
322                </property>
323                <property name="maximum">
324                 <double>1000000.000000000000000</double>
325                </property>
326               </widget>
327              </item>
328              <item row="1" column="0">
329               <widget class="QLabel" name="label_6">
330                <property name="text">
331                 <string>longueur mailles</string>
332                </property>
333               </widget>
334              </item>
335              <item row="1" column="1">
336               <widget class="QDoubleSpinBox" name="dsb_lenSegPipe">
337                <property name="toolTip">
338                 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pipe rayonnant construit sur le fond de fissure :&lt;/p&gt;&lt;p&gt;Longueur des mailles le long de la ligne de fond de fissure.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
339                </property>
340                <property name="decimals">
341                 <number>5</number>
342                </property>
343                <property name="maximum">
344                 <double>1000000.000000000000000</double>
345                </property>
346               </widget>
347              </item>
348              <item row="2" column="0">
349               <widget class="QLabel" name="label_7">
350                <property name="text">
351                 <string>couronnes</string>
352                </property>
353               </widget>
354              </item>
355              <item row="2" column="1">
356               <widget class="QSpinBox" name="sb_couronnes">
357                <property name="toolTip">
358                 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pipe rayonnant construit sur le fond de fissure :&lt;/p&gt;&lt;p&gt;nombre de couronnes de mailles autour de la ligne de fond de fissure.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
359                </property>
360                <property name="minimum">
361                 <number>2</number>
362                </property>
363                <property name="maximum">
364                 <number>10000</number>
365                </property>
366                <property name="value">
367                 <number>4</number>
368                </property>
369               </widget>
370              </item>
371              <item row="3" column="0">
372               <widget class="QLabel" name="label_8">
373                <property name="text">
374                 <string>secteurs</string>
375                </property>
376               </widget>
377              </item>
378              <item row="3" column="1">
379               <widget class="QSpinBox" name="sb_secteurs">
380                <property name="toolTip">
381                 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pipe rayonnant construit sur le fond de fissure :&lt;/p&gt;&lt;p&gt;nombre de secteurs selon un cercle normal au fond de fissure.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
382                </property>
383                <property name="minimum">
384                 <number>4</number>
385                </property>
386                <property name="maximum">
387                 <number>10000</number>
388                </property>
389                <property name="value">
390                 <number>8</number>
391                </property>
392               </widget>
393              </item>
394             </layout>
395            </item>
396            <item>
397             <spacer name="horizontalSpacer_4">
398              <property name="orientation">
399               <enum>Qt::Horizontal</enum>
400              </property>
401              <property name="sizeHint" stdset="0">
402               <size>
403                <width>6</width>
404                <height>20</height>
405               </size>
406              </property>
407             </spacer>
408            </item>
409           </layout>
410          </widget>
411         </item>
412         <item>
413          <widget class="QGroupBox" name="groupBox_6">
414           <property name="title">
415            <string>faces externes</string>
416           </property>
417           <layout class="QHBoxLayout" name="horizontalLayout_11">
418            <item>
419             <widget class="QLabel" name="label_9">
420              <property name="text">
421               <string>aretes face fissure</string>
422              </property>
423             </widget>
424            </item>
425            <item>
426             <widget class="QDoubleSpinBox" name="dsb_areteFaceFissure">
427              <property name="toolTip">
428               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Faces externes de la zone à remailler.&lt;/p&gt;&lt;p&gt;Mailage en triangles : valeur cible des arêtes.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
429              </property>
430              <property name="decimals">
431               <number>5</number>
432              </property>
433              <property name="maximum">
434               <double>1000000.000000000000000</double>
435              </property>
436             </widget>
437            </item>
438            <item>
439             <spacer name="horizontalSpacer_5">
440              <property name="orientation">
441               <enum>Qt::Horizontal</enum>
442              </property>
443              <property name="sizeHint" stdset="0">
444               <size>
445                <width>1</width>
446                <height>20</height>
447               </size>
448              </property>
449             </spacer>
450            </item>
451           </layout>
452          </widget>
453         </item>
454        </layout>
455       </widget>
456      </item>
457     </layout>
458    </item>
459    <item>
460     <layout class="QGridLayout" name="gridLayout_5">
461      <item row="0" column="0">
462       <widget class="QPushButton" name="pb_reptrav">
463        <property name="text">
464         <string>répertoire de travail</string>
465        </property>
466       </widget>
467      </item>
468      <item row="0" column="1">
469       <widget class="QLineEdit" name="le_reptrav">
470        <property name="toolTip">
471         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Répertoire dans lequel seront rangés le maillage final, les objets intermédiaires, la log d'exécution.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
472        </property>
473       </widget>
474      </item>
475      <item row="1" column="0">
476       <widget class="QPushButton" name="pb_nomres">
477        <property name="text">
478         <string>nom résultat</string>
479        </property>
480       </widget>
481      </item>
482      <item row="1" column="1">
483       <widget class="QLineEdit" name="le_nomres">
484        <property name="toolTip">
485         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Nom des résultats.&lt;/p&gt;&lt;p&gt;Le fichier maillage résultat sera rangé dans le répertoire de travail, sous le nom fissure_&lt;span style=&quot; font-weight:600; font-style:italic; color:#0055ff;&quot;&gt;Nom&lt;/span&gt;.med&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
486        </property>
487       </widget>
488      </item>
489     </layout>
490    </item>
491    <item>
492     <spacer name="verticalSpacer_2">
493      <property name="orientation">
494       <enum>Qt::Vertical</enum>
495      </property>
496      <property name="sizeHint" stdset="0">
497       <size>
498        <width>20</width>
499        <height>13</height>
500       </size>
501      </property>
502     </spacer>
503    </item>
504    <item>
505     <layout class="QHBoxLayout" name="horizontalLayout_2">
506      <item>
507       <spacer name="horizontalSpacer_7">
508        <property name="orientation">
509         <enum>Qt::Horizontal</enum>
510        </property>
511        <property name="sizeHint" stdset="0">
512         <size>
513          <width>40</width>
514          <height>20</height>
515         </size>
516        </property>
517       </spacer>
518      </item>
519      <item>
520       <widget class="QLabel" name="lb_calcul">
521        <property name="font">
522         <font>
523          <pointsize>24</pointsize>
524         </font>
525        </property>
526        <property name="text">
527         <string>--- Calcul en cours ---</string>
528        </property>
529       </widget>
530      </item>
531      <item>
532       <spacer name="horizontalSpacer_8">
533        <property name="orientation">
534         <enum>Qt::Horizontal</enum>
535        </property>
536        <property name="sizeHint" stdset="0">
537         <size>
538          <width>40</width>
539          <height>20</height>
540         </size>
541        </property>
542       </spacer>
543      </item>
544     </layout>
545    </item>
546    <item>
547     <layout class="QHBoxLayout" name="horizontalLayout_3">
548      <item>
549       <widget class="QPushButton" name="pb_reset">
550        <property name="toolTip">
551         <string>réinitialisation de tous les paramètres à leur valeur par défaut</string>
552        </property>
553        <property name="text">
554         <string>Reset</string>
555        </property>
556       </widget>
557      </item>
558      <item>
559       <widget class="QPushButton" name="pb_valPrec">
560        <property name="toolTip">
561         <string>réinitialisation de tous les paramètres à leur valeur de la précédente éxécution</string>
562        </property>
563        <property name="text">
564         <string>Précédent</string>
565        </property>
566       </widget>
567      </item>
568      <item>
569       <widget class="QPushButton" name="pb_recharger">
570        <property name="toolTip">
571         <string>réinitialisation des paramètres à partir d'un fichier préalablement sauvegardé</string>
572        </property>
573        <property name="text">
574         <string>Recharger</string>
575        </property>
576       </widget>
577      </item>
578      <item>
579       <widget class="QPushButton" name="pb_sauver">
580        <property name="toolTip">
581         <string>sauvegarde des paramètres dans un fichier à choisir</string>
582        </property>
583        <property name="text">
584         <string>Sauver</string>
585        </property>
586       </widget>
587      </item>
588      <item>
589       <spacer name="horizontalSpacer_2">
590        <property name="orientation">
591         <enum>Qt::Horizontal</enum>
592        </property>
593        <property name="sizeHint" stdset="0">
594         <size>
595          <width>40</width>
596          <height>20</height>
597         </size>
598        </property>
599       </spacer>
600      </item>
601      <item>
602       <widget class="QDialogButtonBox" name="bb_OkCancel">
603        <property name="orientation">
604         <enum>Qt::Horizontal</enum>
605        </property>
606        <property name="standardButtons">
607         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
608        </property>
609       </widget>
610      </item>
611     </layout>
612    </item>
613   </layout>
614  </widget>
615  <resources/>
616  <connections>
617   <connection>
618    <sender>bb_OkCancel</sender>
619    <signal>accepted()</signal>
620    <receiver>Dialog</receiver>
621    <slot>accept()</slot>
622    <hints>
623     <hint type="sourcelabel">
624      <x>248</x>
625      <y>254</y>
626     </hint>
627     <hint type="destinationlabel">
628      <x>157</x>
629      <y>274</y>
630     </hint>
631    </hints>
632   </connection>
633   <connection>
634    <sender>bb_OkCancel</sender>
635    <signal>rejected()</signal>
636    <receiver>Dialog</receiver>
637    <slot>reject()</slot>
638    <hints>
639     <hint type="sourcelabel">
640      <x>316</x>
641      <y>260</y>
642     </hint>
643     <hint type="destinationlabel">
644      <x>286</x>
645      <y>274</y>
646     </hint>
647    </hints>
648   </connection>
649  </connections>
650 </ui>