Commit Graph

6000 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
bf5a0604eb FEM: solver object is used to write the eigenmode params to input file 2016-08-08 08:03:26 +02:00
Bernd Hahnebach
9efe4771b5 FEM: code formating: use 'not in' for test for membership 2016-08-08 08:03:25 +02:00
qingfengxia
d243fea366 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
wmayer
b789f1e36f Add function to sketch validation panel to highlight open vertexes 2016-08-07 15:30:09 +02:00
wmayer
e41f01b1e7 fix compiler warnings 2016-08-07 13:38:41 +02:00
DeepSOIC
b2fd98e442 Part: make Fusion and Common able to fuse arrays
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wwmayer
15a619649b Merge pull request #237 from ulrich1a/master
Basic importer for Excel-spreadsheets
2016-08-06 21:01:34 +02:00
wwmayer
08955fbb7f Merge pull request #235 from berndhahnebach/femsmallfixes
Femsmallfixes
2016-08-06 20:56:44 +02:00
Ulrich Brammer
63c36ee342 Basic importer for Excel-spreadsheets 2016-08-06 20:32:14 +02:00
wmayer
18a5009a96 use QuantityFormat to restore old behaviour for dimensionsal constraints of sketches 2016-08-06 19:08:27 +02:00
Bernd Hahnebach
dc32b66b5a FEM: fix materials task panel 2016-08-05 18:42:52 +02:00
Bernd Hahnebach
25c865023f FEM: fix pre check for shell and beam meshes 2016-08-05 18:42:51 +02:00
Yorik van Havre
60287f2605 Draft: fixed wrong decimals in dimensions display + minor bugfix 2016-08-04 19:16:38 -03:00
Bernd Hahnebach
84be9ea804 ARCH: ifc import: fix import if group has no group name provided 2016-08-04 14:33:31 -03:00
Bernd Hahnebach
a453428f83 ARCH: fix propper removing of tempfile on windows 2016-08-04 14:33:31 -03:00