Skip to content

Commit 125f5da

Browse files
authored
Merge pull request #20 from WelSimLLC/dev
add mesh export test case;
2 parents acfb7fa + 55212e9 commit 125f5da

11 files changed

+79
-53
lines changed

04_OnlyGUI/04001_import_a_shape.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
<wsevents>
33
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;File" />
44
<wsevent object="mainWindow/menuBar/&amp;File" command="activate" arguments="Fem_NewDoc" />
5-
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.0.0" />
6-
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0" />
7-
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.1.0" />
8-
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.2.0" />
9-
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.3.0" />
105
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
116
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
12-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/hole_plate_2d.step" />
7+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/hole_plate_2d.step" />
138
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.0.0" />
149
</wsevents>

07_Mesh/07003_stl_mesh.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1515
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
16-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/bar3d.stl" />
16+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/bar3d.stl" />
1717
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.0.0.0.0" />
1818
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="9.1" />
1919
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData/qt_scrollarea_viewport/11Material" command="activated" arguments="Structural Steel (ID:2)" />

07_Mesh/07004_stl_mesh_tet10.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1515
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
16-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/bar3d.stl" />
16+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/bar3d.stl" />
1717
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.0.0.0.0" />
1818
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="9.1" />
1919
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData/qt_scrollarea_viewport/11Material" command="activated" arguments="Structural Steel (ID:2)" />

07_Mesh/07005_stl_mesh_horseshoe.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1515
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
16-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/horseshoe.stl" />
16+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/horseshoe.stl" />
1717
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.0.0.0.0" />
1818
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="9.1" />
1919
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData/qt_scrollarea_viewport/11Material" command="activated" arguments="Structural Steel (ID:2)" />

07_Mesh/07006_mesh_export.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" ?>
2+
<wsevents description="Regression test file generated by WELSIM 2024R1(2.8)">
3+
<wsevent object="wsApp" command="cleanFolder" arguments="$WELSIM_DATA_ROOT/97_Exported/07006" />
4+
5+
6+
<wsevent object="mainWindow/Fem_NewDoc/Fem_NewDoc" command="activate" arguments="" />
7+
<wsevent object="mainWindow/Shape_Box/Shape_Box" command="activate" arguments="" />
8+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.1.0.0.0" />
9+
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="4.1" />
10+
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData/qt_scrollarea_viewport/7MaximumSize" command="set_double" arguments="5" />
11+
<wsevent object="mainWindow/Fem_MeshAll/Fem_MeshAll" command="activate" arguments="" />
12+
13+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.1.0" />
14+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
15+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
16+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.wsmsh" />
17+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
18+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
19+
20+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
21+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
22+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.inp" />
23+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
24+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
25+
26+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
27+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
28+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.msh" />
29+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
30+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
31+
32+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
33+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
34+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.mmesh" />
35+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
36+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
37+
38+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
39+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
40+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.bdf" />
41+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
42+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
43+
44+
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
45+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
46+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.unv" />
47+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
48+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
49+
50+
<!-- <wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
51+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
52+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.vtk" />
53+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
54+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" /> -->
55+
56+
<!-- <wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="openContextMenu" arguments="0.0.1.0.1.0" />
57+
<wsevent object="wsContextMenu" command="activate" arguments="Fem_ExportFEMesh" />
58+
<wsevent object="mainWindow/QFileDialog/fileNameEdit" command="set_string" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.vtu" />
59+
<wsevent object="mainWindow/QFileDialog/fileTypeCombo" command="activated" arguments="All Files (*)" />
60+
<wsevent object="mainWindow/QFileDialog/buttonBox/1QPushButton0" command="activate" arguments="" /> -->
61+
62+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.wsmsh" />
63+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.inp" />
64+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.msh" />
65+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.mmesh" />
66+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.bdf" />
67+
<wscheck object="wsApp" property="hasFile" arguments="$WELSIM_DATA_ROOT/97_Exported/07006/output_mesh.unv" />
68+
69+
</wsevents>

07_Mesh/07006_mesh_export_abaqus.xml

Lines changed: 0 additions & 39 deletions
This file was deleted.

11_FrontISTR/11011_modal_solid_rotor3d.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1717
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
18-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/rotor3d.step" />
18+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/rotor3d.step" />
1919
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.0.0.0.0" />
2020
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="8.1" />
2121
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData/qt_scrollarea_viewport/11Material" command="activated" arguments="Structural Steel (ID:2)" />

12_OpenRadioss/12001_or_ice_cube_sliding.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<wsevent object="mainWindow/menuBar/&amp;File" command="activate" arguments="Fem_NewDoc" />
1010
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Definition" />
1111
<wsevent object="mainWindow/menuBar/&amp;Definition" command="activate" arguments="Mat_Import" />
12-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/02_MaterialData/ice_plasticity.wsmat" />
12+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/02_MaterialData/ice_plasticity.wsmat" />
1313

1414
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1515
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
16-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/slide_rail_shell.step" />
16+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/slide_rail_shell.step" />
1717
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.0.0" />
1818
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="setCurrent" arguments="0.0.1.0.0.0.0.0" />
1919
<wsevent object="mainWindow/DockPropDockingView/PropDockingView/PropView/tabWidget/qt_tabwidget_stackedwidget/propertyData" command="setCurrent" arguments="8.1" />

21_SU2/21001_cfd2d_hole_plate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<wsevent object="mainWindow/menuBar/&amp;File" command="activate" arguments="Fem_NewDoc" />
1010
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1111
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
12-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/hole_plate_2d.step" />
12+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/hole_plate_2d.step" />
1313

1414
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.0.0" />
1515
<wsevent object="mainWindow/wsMdiArea/1QWidget0/1QMdiSubWindow0/qView3DMRML/1QWidget0/ThreeDWidget3D/1qMRMLThreeDViewControllerWidget0/qMRMLThreeDViewControllerWidget/AxesWidget" command="mousePress" arguments="1,1,0,50,30" />

21_SU2/21002_cfd2d_naca0012_unsteady.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<wsevent object="mainWindow/menuBar" command="activate" arguments="&amp;Geometry" />
1010
<wsevent object="mainWindow/menuBar/&amp;Geometry" command="activate" arguments="Fem_ImportPart" />
1111

12-
<wsevent object="mainWindow/FileOpenDlg" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/naca0012_2d.step" />
12+
<wsevent object="mainWindow/OpenDialog" command="filesSelected" arguments="$WELSIM_DATA_ROOT/01_ShapeData/naca0012_2d.step" />
1313
<wsevent object="mainWindow/DockTreeDocking/TreeDocking/treeWidget" command="expand" arguments="0.0.1.0.0.0" />
1414

1515
<wsevent object="mainWindow/wsMdiArea/wsViewPort/wsMidSubWindow/qView3DMRML/1QWidget0/ThreeDWidget3D/1qMRMLThreeDViewControllerWidget0/BarWidget/PinButton" command="set_boolean" arguments="true" />

0 commit comments

Comments
 (0)