Commit Graph

6016 Commits

Author SHA1 Message Date
wmayer
810ca7984c free file descriptor when closing file 2016-08-16 12:55:50 +02:00
Bernd Hahnebach
bdd86eea7d FEM: prefs, move general prefs to general prefs class 2016-08-16 11:03:28 +02:00
Bernd Hahnebach
6415a988f5 FEM: move prefs path off General prefs tab to BaseApp/Preferences/Mod/Fem/General 2016-08-16 11:03:28 +02:00
Ian Rees
ee8039d54a TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
f8a646eb4c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
48c8f1cf60 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Ian Rees
6858ef9c41 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Bernd Hahnebach
84ea8cdee1 FEM: fix prefs 2016-08-15 21:39:24 +02:00
Bernd Hahnebach
bf03c91781 FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
80bd3c7cc3 FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach
20a62a38fc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach
8cad28f4ea FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach
fd71773b72 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
Bernd Hahnebach
c645baddb6 FEM: python mesh tools, fix key name for penta15 and format code better 2016-08-15 21:36:42 +02:00
Bernd Hahnebach
7173c40ac8 FEM: inp mesh importer, add module to cmakefiles 2016-08-15 21:36:21 +02:00
fandaL
3ff0ab0f79 FEM: import mesh from .inp file 2016-08-15 21:35:54 +02:00
wmayer
af4ef2fa7f Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
Mateusz Skowroński
dde8c3f4c1 QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński
f06de8d916 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
wmayer
4d77921111 use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
1fed75002e + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
wmayer
c1febd98f1 fix disappearing constraint icons when using a symmetry constraint 2016-08-14 19:25:53 +02:00
wmayer
7872a9a6dc fix displacement of constraint icons in sketch edit mode 2016-08-14 18:02:22 +02:00
wmayer
5aefa4e67d make code more readable 2016-08-14 16:46:58 +02:00
wmayer
9a2114fdc5 extend Python interface of sketcher and make non-parametic version working 2016-08-14 11:52:37 +02:00
Wolfgang E. Sanyer
d8298c6cff Fixed Draft.makeSketch to work with planes other than xy. 2016-08-12 22:48:33 -04:00
wmayer
26865522ea issue #0002666: Error on Save File 2016-08-12 13:33:48 +02:00
wmayer
aee9dbd8d4 fix wrong error text, fix activation of sub-widgets 2016-08-12 13:26:52 +02:00
qingfengxia
aa59b39690 bugfix: Taskview ui, typo, coding format for FluidBoundary 2016-08-12 11:05:55 +02:00
qingfengxia
dc9d24b0b4 Add Command and Icon FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
qingfengxia
79e3ec0f01 Add ViewProvider and TaskPanel FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
wmayer
3c9310f9bc using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
22f8287452 Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
9c99584682 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
9904e90fd5 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
32e624c108 Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan
1408f13665 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer
791def0513 query wrong parameter to check for path of ccx when set in preferences 2016-08-11 16:17:35 +02:00
DeepSOIC
fee109149b Sketcher: fix selectability of constraints when pickRadius is large
Constraints still do not respect pickRadius. I haven't found a way to
fix it.
2016-08-10 18:46:45 +02:00
wwmayer
c2fec94bac Merge pull request #238 from qingfengxia/renamingFem
correct spelling StanardHypotheses to StandardHypotheses
2016-08-10 14:59:27 +02:00
Ian Rees
554e8af594 Allow unit test suite to run with missing modules. 2016-08-10 13:57:23 +02:00
Bernd Hahnebach
b70f0d09e3 FEM: ccx input writer: reorder defs and def calls and
- fix presure and force are written for thermomech too
- change some comments
- fix FEM unit tests
2016-08-10 12:53:55 +02:00
wmayer
0d011e2190 fix various compiler warnings 2016-08-09 13:16:26 +02:00
DeepSOIC
d4e1fab28f Part: use the just-added methods to make properties read-only 2016-08-08 21:48:50 +03:00
DeepSOIC
2ed484c508 PartGui: new Revolve task dialog.
Updated to support Axis link, and Symmetric properties. Layout was
completely changed.
2016-08-08 20:53:03 +03:00
DeepSOIC
61f597814d Part: Revolve: add support for axis link and midplane
Changes on the App side only.
Added two properties:
* AxisLink (accepts an edge - line or arc of circle)
* Symmetric (for distributing the revolution symmetrically in both
directions)
2016-08-08 19:34:27 +03:00
Yorik van Havre
d09d3987bb Draft: fixed typo 2016-08-08 13:08:24 -03:00
wmayer
691c2ddc21 add method to get self-intersections of a mesh via Python 2016-08-08 16:40:59 +02:00
wmayer
eb4235da65 add plausibility for self-intersectin check to filter out false-positives 2016-08-08 16:40:11 +02:00
Bernd Hahnebach
69c4bac5a5 FEM: materials: simplify input writing and add pre checks for material value keys 2016-08-08 08:03:27 +02:00