FEM: analysing group meshing, set default to False
This commit is contained in:
@@ -272,8 +272,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>
|
||||
|
||||
@@ -338,7 +338,10 @@ class GmshTools():
|
||||
"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,
|
||||
|
||||
Reference in New Issue
Block a user