Skip to content

Commit

Permalink
Merge branch 'master' into flake8_config
Browse files Browse the repository at this point in the history
  • Loading branch information
gwicke committed May 28, 2020
2 parents cad6eb2 + 99a99f4 commit 64b9186
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui
Expand Up @@ -240,6 +240,9 @@
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="Gui::PrefCheckBox" name="cb_overwrite_solver_working_directory">
<property name="enabled">
<bool>false</bool>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
Expand Down Expand Up @@ -272,8 +275,11 @@
<layout class="QGridLayout" name="gl_2">
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="cb_analysis_group_meshing">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Create mesh groups for analysis reference shapes</string>
<string>Create mesh groups for analysis reference shapes (highly experimental)</string>
</property>
<property name="checked">
<bool>true</bool>
Expand Down
5 changes: 4 additions & 1 deletion src/Mod/Fem/femmesh/gmshtools.py
Expand Up @@ -338,7 +338,10 @@ def get_group_data(self):
"User parameter:BaseApp/Preferences/Mod/Fem/General"
).GetBool("AnalysisGroupMeshing", False)
if self.analysis and analysis_group_meshing:
Console.PrintMessage(" Group meshing for analysis.\n")
Console.PrintWarning(
" Group meshing for analysis is set to true in FEM General Preferences. "
"Are you really sure about this? You could run into trouble!\n"
)
self.group_nodes_export = True
new_group_elements = meshtools.get_analysis_group_elements(
self.analysis,
Expand Down

0 comments on commit 64b9186

Please sign in to comment.