Commit Graph

7797 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
Mateusz Skowroński
07dc86fc10 QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position) const is deprecated in Qt4.
Use QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position, const QTransform & deviceTransform) const instead.

This change is Qt4/Qt5 neutral.
2016-08-15 14:14:10 +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
b9502394d5 use lower epsilon for double value in property editor 2016-08-15 10:59:27 +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
554875b930 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer
279531e89d remove superfluous semicolons 2016-08-14 17:10:49 +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
d7f36ecc11 cleanup SoAutoZoomTranslation 2016-08-12 17:55:53 +02:00
wmayer
af86618b9e adjust fix for BSD for time info from commit 2665a5d 2016-08-12 14:03:16 +02: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
2cf5963adf fix build failure on Linux&OSX 2016-08-12 09:33:00 +02:00
wmayer
eeb73f7928 add quantity box to unit calculator and allow to set all pre-defined units 2016-08-11 19:03:16 +02:00
wmayer
3e7cfc2584 rework units dialog 2016-08-11 17:32:58 +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
5d70709c65 Gui: Selection: Py interface for setting pick radius
Gui.ActiveDocument.ActiveView.getViewer().setPickRadius(new_val)
2016-08-10 18:46:45 +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
DeepSOIC
8415bc32b6 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00
DeepSOIC
17aa0b9594 Gui: Selection: add pick radius to preferences
Not functional yet
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
wmayer
87a079143e add comment to missing function in original PyCXX sources 2016-08-10 13:22:28 +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
5f8fefdf1a upgrade PyCXX from v6.2.5 to v6.2.8 2016-08-10 11:55:23 +02:00
wmayer
c124fe115e fix -Wmismatched-new-delete 2016-08-10 10:04:37 +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
c74a7b5010 App::Property: add methods to get/set read-onlyness 2016-08-08 21:47:45 +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