[FEM] add missing preferences settings

- since 0.19 we support to check meshes
- since 0.20 we support buckling

- also revise dialog to get rid of arbitrary limits etc.
This commit is contained in:
Uwe
2022-03-17 22:33:56 +01:00
parent 9590317cd9
commit 4e7b96d250
5 changed files with 1012 additions and 640 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -23,13 +23,13 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include <Gui/Application.h>
#include "DlgSettingsFemCcxImp.h"
#include "ui_DlgSettingsFemCcx.h"
#include <Gui/Application.h>
#include <Gui/PrefWidgets.h>
using namespace FemGui;
@@ -38,6 +38,9 @@ DlgSettingsFemCcxImp::DlgSettingsFemCcxImp( QWidget* parent )
, ui(new Ui_DlgSettingsFemCcxImp)
{
ui->setupUi(this);
// set ranges
ui->dsb_ccx_analysis_time->setMaximum(FLOAT_MAX);
ui->dsb_ccx_initial_time_step->setMaximum(FLOAT_MAX);
}
DlgSettingsFemCcxImp::~DlgSettingsFemCcxImp()

View File

@@ -93,6 +93,8 @@
<!-- main wb icon and preferences icons -->
<file>icons/FemWorkbench.svg</file>
<file>icons/fem-solver-analysis-buckling.svg</file>
<file>icons/fem-solver-analysis-checkmesh.svg</file>
<file>icons/fem-solver-analysis-frequency.svg</file>
<file>icons/fem-solver-analysis-static.svg</file>
<file>icons/fem-solver-analysis-thermomechanical.svg</file>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="64" height="64" viewBox="0 0 64.000001 64" id="svg2" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs id="defs4">
<marker style="overflow:visible" id="Arrow1Lend" refX="0.0" refY="0.0" orient="auto">
<path transform="scale(0.8) rotate(180) translate(12.5,0)" style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1pt" d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " id="path5637" />
</marker>
<linearGradient id="linearGradient3951">
<stop id="stop3953" offset="0" style="stop-color:#cc0000;stop-opacity:1" />
<stop id="stop3955" offset="1" style="stop-color:#fce94f;stop-opacity:0" />
</linearGradient>
<linearGradient id="linearGradient3945">
<stop id="stop3947" offset="0" style="stop-color:#2e3436;stop-opacity:1" />
<stop id="stop3949" offset="1" style="stop-color:#fce94f;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3887">
<stop id="stop3889" offset="0" style="stop-color:#2e3436;stop-opacity:1" />
<stop id="stop3891" offset="1" style="stop-color:#2e3436;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3802">
<stop style="stop-color:#ef2929;stop-opacity:1" offset="0" id="stop3804" />
<stop style="stop-color:#fce94f;stop-opacity:1" offset="1" id="stop3806" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3851" id="linearGradient3071" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1,0,0,1,9.5296849,999.58139)" spreadMethod="reflect" x1="-27.470316" y1="23.780821" x2="-6.4703155" y2="9.7808199" />
<linearGradient id="linearGradient3851">
<stop style="stop-color:#ef2929;stop-opacity:1" offset="0" id="stop3853" />
<stop id="stop3800" offset="0.57894737" style="stop-color:#fce94f;stop-opacity:1" />
<stop style="stop-color:#73d216;stop-opacity:1" offset="1" id="stop3855" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3802" id="linearGradient3808" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3851" id="linearGradient3817" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.0098909,0,0,1.0373636,9.1184294,998.64564)" spreadMethod="reflect" x1="-27.470316" y1="23.780821" x2="-6.4703155" y2="9.7808199" />
<linearGradient xlink:href="#linearGradient3802" id="linearGradient3819" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" />
<linearGradient xlink:href="#linearGradient3802" id="linearGradient3821" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" gradientTransform="matrix(0.8720316,-0.00112607,-2.5696464e-4,0.86700354,-13.021851,-3.9946748)" />
<linearGradient xlink:href="#linearGradient3802" id="linearGradient3823" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" />
<linearGradient xlink:href="#linearGradient3851" id="linearGradient3825" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.0877819,0,0,1.1300256,-22.186045,1007.3203)" spreadMethod="reflect" x1="-27.470316" y1="23.780821" x2="-6.4703155" y2="9.7808199" />
<linearGradient xlink:href="#linearGradient3851" id="linearGradient3833" x1="35.103447" y1="1022.8914" x2="13.044866" y2="1007.7099" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3887" id="linearGradient3823-1" gradientUnits="userSpaceOnUse" x1="6.1250777" y1="8.9445934" x2="24.008381" y2="21.240545" />
<linearGradient id="linearGradient3802-2">
<stop style="stop-color:#ef2929;stop-opacity:1" offset="0" id="stop3804-7" />
<stop style="stop-color:#fce94f;stop-opacity:1" offset="1" id="stop3806-7" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3802-2" id="linearGradient3819-9" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" />
<linearGradient y2="-2.0099678" x2="35.339195" y1="21.129963" x1="9.3783789" gradientUnits="userSpaceOnUse" id="linearGradient3858" xlink:href="#linearGradient3802-2" />
<linearGradient xlink:href="#linearGradient3945" id="linearGradient3823-0" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" />
<linearGradient id="linearGradient3802-7">
<stop style="stop-color:#ef2929;stop-opacity:1" offset="0" id="stop3804-6" />
<stop style="stop-color:#fce94f;stop-opacity:1" offset="1" id="stop3806-0" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3802-7" id="linearGradient3819-1" gradientUnits="userSpaceOnUse" x1="9.3783789" y1="21.129963" x2="35.339195" y2="-2.0099678" />
<linearGradient y2="19.11401" x2="34.505493" y1="27.862457" x1="42.715466" gradientUnits="userSpaceOnUse" id="linearGradient3916" xlink:href="#linearGradient3951" spreadMethod="reflect" gradientTransform="translate(6.9345099,-11.481415)" />
<linearGradient id="linearGradient4349">
<stop style="stop-color:#898709;stop-opacity:1" offset="0" id="stop4351" />
<stop style="stop-color:#000000;stop-opacity:1" offset="1" id="stop4353" />
</linearGradient>
<linearGradient id="linearGradient5241">
<stop style="stop-color:#212c45;stop-opacity:1" offset="0" id="stop5243" />
<stop style="stop-color:#000000;stop-opacity:1" offset="1" id="stop5245" />
</linearGradient>
<linearGradient id="linearGradient5227">
<stop style="stop-color:#000000;stop-opacity:1" offset="0" id="stop5229" />
</linearGradient>
<linearGradient id="linearGradient3902">
<stop style="stop-color:#000000;stop-opacity:0.58823532" offset="0" id="stop3904" />
<stop style="stop-color:#000000;stop-opacity:0.39215687" offset="1" id="stop3906" />
</linearGradient>
<linearGradient id="linearGradient3894">
<stop style="stop-color:#45351d;stop-opacity:1" offset="0" id="stop3896" />
<stop style="stop-color:#000000;stop-opacity:1" offset="1" id="stop3898" />
</linearGradient>
<linearGradient id="linearGradient3792">
<stop style="stop-color:#aaaaaa;stop-opacity:1" offset="0" id="stop3794" />
<stop style="stop-color:#d2d2d2;stop-opacity:1" offset="1" id="stop3796" />
</linearGradient>
<linearGradient id="linearGradient3784">
<stop style="stop-color:#bebebe;stop-opacity:1" offset="0" id="stop3786" />
<stop style="stop-color:#ffffff;stop-opacity:0.39215687" offset="1" id="stop3788" />
</linearGradient>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#71b2f8;stop-opacity:1" />
<stop id="stop3381" offset="1" style="stop-color:#002795;stop-opacity:1" />
</linearGradient>
<radialGradient r="22" fy="91.956673" fx="225.93762" cy="91.956673" cx="225.93762" gradientTransform="matrix(-1.4090915,3.8636359,-0.97565325,-0.35582669,437.08461,-816.22007)" gradientUnits="userSpaceOnUse" id="radialGradient3062" xlink:href="#linearGradient3011" />
<linearGradient id="linearGradient3011">
<stop id="stop3013" offset="0" style="stop-color:#fce94f;stop-opacity:1" />
<stop id="stop3015" offset="1" style="stop-color:#c4a000;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3805">
<stop style="stop-color:#4e9a06;stop-opacity:1" offset="0" id="stop3807" />
<stop style="stop-color:#8ae234;stop-opacity:1" offset="1" id="stop3809" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3377" id="radialGradient3850" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6028459,1.0471639,-1.9794021,1.1395295,127.9588,-74.456907)" cx="51.328892" cy="31.074146" fx="51.328892" fy="31.074146" r="19.571428" />
<radialGradient xlink:href="#linearGradient3377" id="radialGradient3076" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.58019421,1.0078171,-1.9050269,1.0967121,59.286512,-197.81747)" cx="51.328892" cy="31.074146" fx="51.328892" fy="31.074146" r="19.571428" />
<linearGradient xlink:href="#linearGradient3805" id="linearGradient3811" x1="49.058823" y1="60.823528" x2="34.941177" y2="23.17647" gradientUnits="userSpaceOnUse" />
<radialGradient xlink:href="#linearGradient3377-3" id="radialGradient3692" cx="45.883327" cy="28.869568" fx="45.883327" fy="28.869568" r="19.467436" gradientUnits="userSpaceOnUse" />
<radialGradient xlink:href="#linearGradient3377-3" id="radialGradient3703" gradientUnits="userSpaceOnUse" cx="135.38333" cy="97.369568" fx="135.38333" fy="97.369568" r="19.467436" gradientTransform="matrix(0.97435,0.2250379,-0.4623105,2.0016728,48.487554,-127.99883)" />
<linearGradient id="linearGradient3377-3">
<stop id="stop3379-4" offset="0" style="stop-color:#faff2b;stop-opacity:1" />
<stop id="stop3381-4" offset="1" style="stop-color:#ffaa00;stop-opacity:1" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3377-3" id="radialGradient3705" gradientUnits="userSpaceOnUse" cx="148.88333" cy="81.869568" fx="148.88333" fy="81.869568" r="19.467436" gradientTransform="matrix(1.3852588,-0.05136783,0.03705629,0.9993132,-60.392403,7.7040438)" />
<linearGradient gradientTransform="translate(0,-4)" xlink:href="#linearGradient3767" id="linearGradient3773" x1="22.116516" y1="55.717518" x2="17.328547" y2="21.31134" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3767">
<stop style="stop-color:#edd400;stop-opacity:1" offset="0" id="stop3769" />
<stop style="stop-color:#fce94f;stop-opacity:1" offset="1" id="stop3771" />
</linearGradient>
<linearGradient gradientTransform="translate(0,-4)" xlink:href="#linearGradient3777" id="linearGradient3783" x1="53.896763" y1="51.179787" x2="47.502235" y2="21.83742" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3777">
<stop style="stop-color:#c4a000;stop-opacity:1" offset="0" id="stop3779" />
<stop style="stop-color:#edd400;stop-opacity:1" offset="1" id="stop3781" />
</linearGradient>
</defs>
<metadata id="metadata7">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>[vdwalts]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2016-08-01</dc:date>
<dc:relation>http://www.freecadweb.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="g6642" transform="translate(1.5176926,2.8974132)">
<g id="layer1-4" transform="translate(-1.2737939,-1.3364289)">
<path style="fill:none;stroke:black;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 55.818182,23.636364 C 56.060606,23.636364 56.060606,23.636364 55.818182,23.636364 Z" id="path2422" />
<path style="fill:#fce94f;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 3,13 L 37,19 L 61,11 L 31,7 Z" id="path2993" />
<path style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 61,11 V 47 L 37,57 V 19 Z" id="path2995" />
<path id="path3825" d="M 3,13 L 37,19 V 57 L 3,51 Z" style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path style="fill:none;stroke:#fce94f;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 5,15.42772 L 5.00867,49.346836 L 35.017341,54.615635 L 35.008641,20.682021 Z" id="path3765" />
<path style="fill:none;stroke:#edd400;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 39.01243,20.433833 L 39.00017,53.969134 L 59.001275,45.668141 L 59.001635,13.800778 Z" id="path3775" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 25,54 V 17" id="path3051" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 13,52 V 15" id="path3051-3" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 47,51.999998 V 16" id="path3051-6" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 55,49.5 V 13" id="path3051-7" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 24.363636,8.5909091 L 55,13" id="path3853" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 13.75,10.875 L 47,16" id="path3873" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 13.049334,14.759655 L 40.369369,8.1385643" id="path3875" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="M 25.745115,16.848834 L 50.365288,9.5849195" id="path3875-3" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 3,25 L 37,31" id="path3895" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 3,39 L 37,45" id="path3895-5" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 37,45 L 61,35" id="path3915" />
<path style="fill:none;stroke:#302b00;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 37,31 L 61,23" id="path3915-6" />
</g>
<g id="layer1" transform="translate(-1.4004365,-4.0844755)">
<circle style="fill:#73d216;fill-opacity:1;stroke:#172a04;stroke-width:2.10526;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" id="path3785" transform="matrix(0.95,0,0,0.95,2.1000001,2.1000001)" cx="42" cy="42" r="20" />
<circle style="fill:url(#linearGradient3811);fill-opacity:1;stroke:#8ae234;stroke-width:2.35294;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" id="path3785-3" transform="matrix(0.85,0,0,0.85,6.3000001,6.3000001)" cx="42" cy="42" r="20" />
<path style="fill:white;stroke:#172a04;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 31,45 L 35,41 L 39,45 L 51,33 L 55,37 L 39,53 Z" id="path3813" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB