Commit Graph

15185 Commits

Author SHA1 Message Date
Przemo Firszt
aa85dbbf64 Use github api to find the total number of commits
That approach is faster and doesn't require huge download to determine
the total number of commits.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2018-11-10 17:03:20 +01:00
wmayer
990d54d4be When activating a part container in the tree view make sure all parent items are expanded 2018-11-10 16:13:10 +01:00
wmayer
06fa64a00d add method to check if an open transaction is empty
This is needed to avoid to incorrectly abort a transaction if a recompute was done between opening and closing an editor in the property view
2018-11-10 14:50:58 +01:00
wmayer
ccbf7a6c3a fixes 0003627: Hole fails to restore from file 2018-11-10 01:13:42 +01:00
Abdullah Tahiri
380f36eff1 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
605289585f Sketcher: Ellipse trim, handle multiple intersection 2018-11-09 22:30:04 +01:00
Abdullah Tahiri
200d9db0c2 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
fce600e29c 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
0ee70328a0 Start: minor py3 fix 2018-11-09 17:59:36 -02:00
Yorik van Havre
94a5fd7408 Arch: Fixed buggy import/export of objects based on rectangles to IFC 2018-11-09 17:59:17 -02:00
Yorik van Havre
3956cee0ac Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
wmayer
acb8946de4 by default disable old tree view & property view 2018-11-09 17:44:51 +01:00
wmayer
1631935bc4 fixes 0003652: Missing little expression icon 2018-11-09 16:48:44 +01:00
wmayer
5737b3241f Allow user to define a custom minimum deviation for the tessellation 2018-11-09 13:42:38 +01:00
wmayer
172f0a0016 fix -Wabsolute-value 2018-11-09 12:46:36 +01:00
looooo
5a915d5db6 add function to retrive femmesh edges by a TopoDS_Edge 2018-11-09 11:11:59 +01:00
Yorik van Havre
d59951e814 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
61bc405586 Arch: Fixed py3 errors in IFC export 2018-11-08 17:23:06 -02:00
Yorik van Havre
f416d97d63 Arch: Disabled children claiming for Section Planes for now (buggy) 2018-11-08 15:17:22 -02:00
wmayer
72314b0154 make unit tests about document observer more reliably 2018-11-08 16:19:06 +01:00
wmayer
943426c48e remove some more boost.signals leftover 2018-11-08 12:34:43 +01:00
wmayer
ec46f95192 Add unit tests to check the new Prop_NoRecompute value 2018-11-08 10:24:14 +01:00
wmayer
a432bafbdb Add a new PropertyType enum Prop_NoRecompute to reduce possible inconsistencies between touched and recomputed features.
At the moment many feature classes lack of the mustExecute() method and thus can cause a touched feature not to be recomputed and causes the feature to be in a broken state.
Now this new enum value virtually makes the mustExecute() superfluous and thus guarantees to recompute a feature if a modified property has not set the Prop_NoRecompute flag.

On the other hand there are properties that should only touch a feature but not enforce a recompute. This guarantees a better performance and avoids unnecessary recomputes.
For example this is useful for placements where a change can be applied on-the-fly and the feature is up-to-date. Other features that depend on the touched feature will still be recomputed.
2018-11-08 10:20:50 +01:00
Yorik van Havre
d2089999e0 Draft: Export of Arch Axes to DXF 2018-11-07 12:38:07 -02:00
wmayer
bff6312263 add security checks when reading BMS files to avoid possible crashes due to corrupted data 2018-11-07 13:51:39 +01:00
wmayer
c8dc989a51 remove some more boost.signals leftover 2018-11-07 11:42:44 +01:00
Bernd Hahnebach
9c2ef2b5f9 FEM: commands, sort classes 2018-11-06 12:04:49 -03:00
Bernd Hahnebach
a5d5687220 FEM: print mesh info, rename it to display mesh info 2018-11-06 12:04:49 -03:00
Bernd Hahnebach
aaf4fed348 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
dd8b8b6297 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
b6c0cf8ce5 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
Zheng, Lei
24aa185b3e Path.Area: fix default parameter initialization 2018-11-06 12:02:12 -03:00
Markus Lampert
716298bf0c Support for step down in deburr op. 2018-11-06 12:01:18 -03:00
Markus Lampert
9e0f0eeeb4 Enable op base feature pre-selection for multiple base models. 2018-11-06 12:01:18 -03:00
Markus Lampert
4ca516ee4d Maintain stock bound box extension values across refreshs 2018-11-06 12:01:18 -03:00
Yorik van Havre
a3efe18e71 Arch: Fixed bug in windows snapping 2018-11-05 20:00:56 -02:00
Yorik van Havre
cdf9625af1 Draft: fixed snapping to WPProxies 2018-11-05 19:28:20 -02:00
apeltauer
abf4d4ddf2 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 "917b5a505e8d5798a05c3c05cc7b4e052b2d05d5"
in file "src\Mod\Draft\Draft.py"
2018-11-05 19:24:02 +01:00
wmayer
f94445f9a9 add PS action to dumpToFile 2018-11-05 19:22:52 +01:00
Yorik van Havre
d32502d414 Arch/Draft: Fixed py3 bugs in text rendering 2018-11-05 11:47:54 -02:00
wmayer
135c67155d remove trailing spaces 2018-11-05 11:55:14 +01:00
wmayer
e8d5075b43 + minor fix in Document unit tests 2018-11-05 11:21:50 +01:00
wmayer
a67ee5648c remove trailing spaces 2018-11-05 10:53:01 +01:00
wmayer
0e9334aec2 remove leftover of boost.signals headers 2018-11-05 00:03:36 +01:00
Clemens Weissbacher
b6bafdf995 py3: Arch: fix TypeError exception 2018-11-04 14:51:38 -03:00
Markus Lampert
ebb4a8cc31 Added tool controller to custom op 2018-11-04 14:50:04 -03:00
Markus Lampert
a4fb7b6c95 Also restore position of base op when dressup is deleted. 2018-11-04 14:50:04 -03:00
Markus Lampert
fe916e3b58 Insert dressups at the same position in the operations list as the parent op is/was 2018-11-04 14:50:04 -03:00
Markus Lampert
210576f53e Moved Deburr out of experimental features. 2018-11-04 14:50:04 -03:00
pekkaroi
cf578c8899 Path: PathSurface task panel update 2018-11-04 14:49:21 -03:00