Commit Graph

11621 Commits

Author SHA1 Message Date
wmayer
f34ec4534c Replace Base::Exception with appropriate subclass 2018-11-14 17:11:53 +01:00
wmayer
4f02b209fc fixes 0003689: Snap to grid checkbox in edit control widget does not update 2018-11-14 12:40:39 +01:00
PoroCYon
da09f7c3d9 OpenSCAD: fix error in workaroundforissue128needed with date formats (YYYYMMDD vs YYYY.MM.DD)
This happens when the git version of OpenSCAD is installed (which uses YYYYMMDD), instead of
the latest released version (from 2015, which uses YYYY.MM.DD).
2018-11-14 00:14:19 +01:00
wmayer
a7094210f8 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
Gaël Écorchard
735b0a18b9 [AddonManager] Fix bug to install macros' other files 2018-11-13 13:28:53 +01:00
wmayer
b8ed93605d Fix scan coverity issues:
CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
Yorik van Havre
c18785fdb3 Arch: fixed bug in Schedule 2018-11-12 14:28:43 -02:00
lorenz
36f5421b34 ship: repair hydrostatics-plotting for py2 2018-11-11 14:34:10 -03:00
wmayer
04005b5e45 fixes 0003680: Export (Ctrl+E) doesn't check to make sure that object being exported is a model at all 2018-11-10 19:02:50 +01:00
wandererfan
9d384bd74e Fix #3674 inverted Detail from DPG
- Base views from ProjectionGroups can
  have inverted projection direction or
  rotation vector vs regular views. This
  causes Detail views to be inverted.
2018-11-10 17:04:58 +01:00
Abdullah Tahiri
07cf5b10d7 Sketcher: Trim support multiple intersections for circles
=========================================================

The problem with ellipses:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267248

The problem with circles:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267536
2018-11-09 22:30:04 +01:00
Abdullah Tahiri
084c483603 Sketcher: Ellipse trim, handle multiple intersection 2018-11-09 22:30:04 +01:00
Abdullah Tahiri
4245ae6863 Sketcher: Ellipse trimming with internal aligment geometry
==========================================================

Trimming was not considering a case where an ellipse is trimmed with respect to its own internal aligment geometry.

This resulted in Coincident Constraints with PointPos = Sketcher::none, which is invalid.
2018-11-09 22:30:03 +01:00
wandererfan
f10c28fb5b Handle case of no points returned
- GeomAPI_ProjectPointOnCurve sometimes returns
  zero points and/or throws "NotDone" exception.
2018-11-09 22:26:37 +01:00
Yorik van Havre
4d0c856fa0 Start: minor py3 fix 2018-11-09 17:59:36 -02:00
Yorik van Havre
bd2bf371af Arch: Fixed buggy import/export of objects based on rectangles to IFC 2018-11-09 17:59:17 -02:00
Yorik van Havre
a8fda8df0b Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
wmayer
847c6ef74a fixes 0003652: Missing little expression icon 2018-11-09 16:48:44 +01:00
wmayer
9fde41ff19 Allow user to define a custom minimum deviation for the tessellation 2018-11-09 13:42:38 +01:00
wmayer
f6a9cfaad3 fix -Wabsolute-value 2018-11-09 12:46:36 +01:00
looooo
d4461f351c add function to retrive femmesh edges by a TopoDS_Edge 2018-11-09 11:11:59 +01:00
Yorik van Havre
7d197ce829 Start: Use default file icon if mime-based one is unavailable for some reason 2018-11-08 17:56:21 -02:00
Yorik van Havre
490b76f405 Arch: Fixed py3 errors in IFC export 2018-11-08 17:23:06 -02:00
Yorik van Havre
b56598428d Arch: Disabled children claiming for Section Planes for now (buggy) 2018-11-08 15:17:22 -02:00
wmayer
fe033dee78 make unit tests about document observer more reliably 2018-11-08 16:19:06 +01:00
wmayer
24c33c0d96 remove some more boost.signals leftover 2018-11-08 12:34:43 +01:00
wmayer
36b9a1c45c Add unit tests to check the new Prop_NoRecompute value 2018-11-08 10:24:14 +01:00
Yorik van Havre
1d72ee4343 Draft: Export of Arch Axes to DXF 2018-11-07 12:38:07 -02:00
wmayer
daadba4924 add security checks when reading BMS files to avoid possible crashes due to corrupted data 2018-11-07 13:51:39 +01:00
wmayer
7fbd1c6beb remove some more boost.signals leftover 2018-11-07 11:42:44 +01:00
Bernd Hahnebach
ba11c3a701 FEM: commands, sort classes 2018-11-06 12:04:49 -03:00
Bernd Hahnebach
fb531582f6 FEM: print mesh info, rename it to display mesh info 2018-11-06 12:04:49 -03:00
Bernd Hahnebach
798c0ea4a8 FEM: z88 mesh, some changes:
- add a much simpler method to write a FemMesh to Z88 file format by Python
- add a read method which does not create a document object but just returns the FemMesh
2018-11-06 12:04:49 -03:00
easyw
3408e5908c minor Py3 issue fixed
https://forum.freecadweb.org/viewtopic.php?f=10&t=30624&p=265892#p265892
fixing as suggested here:
https://hynek.me/articles/hasattr/
2018-11-06 12:03:33 -03:00
Zheng, Lei
f2ddb64fa1 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
Zheng, Lei
a345669b38 Path.Area: fix default parameter initialization 2018-11-06 12:02:12 -03:00
Markus Lampert
2d3f94590e Support for step down in deburr op. 2018-11-06 12:01:18 -03:00
Markus Lampert
64addcabd9 Enable op base feature pre-selection for multiple base models. 2018-11-06 12:01:18 -03:00
Markus Lampert
e4fc276bac Maintain stock bound box extension values across refreshs 2018-11-06 12:01:18 -03:00
Yorik van Havre
fe8f172ce1 Arch: Fixed bug in windows snapping 2018-11-05 20:00:56 -02:00
Yorik van Havre
ff5d67b66c Draft: fixed snapping to WPProxies 2018-11-05 19:28:20 -02:00
apeltauer
d03a11ead9 Change the name of the Wire object
After changing the name from DWire to Wire the test fails, because an element with the name DWire does not exists.
The name change came in with commit "684b4ab03a27231e0cc603ca815bf9ea367fd0b9"
in file "src\Mod\Draft\Draft.py"
2018-11-05 19:24:02 +01:00
Yorik van Havre
fcdcb5d858 Arch/Draft: Fixed py3 bugs in text rendering 2018-11-05 11:47:54 -02:00
wmayer
fbb8e86cbf remove trailing spaces 2018-11-05 11:55:14 +01:00
wmayer
768b1874db + minor fix in Document unit tests 2018-11-05 11:21:50 +01:00
wmayer
c1f19d3854 remove trailing spaces 2018-11-05 10:53:01 +01:00
wmayer
dedf42102e remove leftover of boost.signals headers 2018-11-05 00:03:36 +01:00
Clemens Weissbacher
f71da8d76d py3: Arch: fix TypeError exception 2018-11-04 14:51:38 -03:00
Markus Lampert
fb4460e528 Added tool controller to custom op 2018-11-04 14:50:04 -03:00
Markus Lampert
fe8677fab1 Also restore position of base op when dressup is deleted. 2018-11-04 14:50:04 -03:00