Commit Graph

11140 Commits

Author SHA1 Message Date
Bernd Hahnebach
31966c577c FEM: unittest, move all CCX analysis tests in one test case class 2017-05-27 19:57:27 -03:00
Bernd Hahnebach
3392b7268e FEM: unittest, get rid of duplicates and move them to helpers 2017-05-27 19:57:27 -03:00
Bernd Hahnebach
2fbe2d715f FEM: unittest, move unv test out of analysis test case 2017-05-27 19:57:27 -03:00
Bernd Hahnebach
3029f85008 FEM: unittest, update result files and FreeCAD files 2017-05-27 19:57:27 -03:00
Sabin Iacob
02e0278e45 Path: use the actual values instead of absolute values when calculating distance 2017-05-27 19:52:21 -03:00
Sabin Iacob
4778d59bfa Path: add zmax to the job weight so we drill the holes that are closer to the surface first 2017-05-27 19:52:21 -03:00
Sabin Iacob
f0ac7ad884 Path: re-add the fix from https://github.com/FreeCAD/FreeCAD/pull/725 2017-05-27 19:52:21 -03:00
Sabin Iacob
f4139b43d0 Path: make PathUtil.sort_jobs more generic, allow tuning job weights 2017-05-27 19:52:21 -03:00
Simon
f1bd61b94a Fix incomplete creation of an SVG path from edges.
* Observed bug: If an ArchWindow has two opening symbols (i.e. two sides
  that can be opened), only one was printed in SVG.
* In Draft.getSVG.getPath, some edges got lost in the call of
  Part.__sortEdges__. In contrast, Part.sortEdges does not skip edges. All
  edges are retained.
* With this fix, both opening symbols are rendered in Draft.getSVG.
* While it works for my test case, I suppose, Draft.getSVG.getPath is
  used in some other places as well. Thus, side effects must be checked
  by experienced people.
2017-05-27 19:49:20 -03:00
Simon
03c1497892 Add opening symbols to clones of windows
The method execute must create the sshapes and vshapes objects. They must
1. exist in the cloned (parent) object (by calling the execute function)
2. and be copied to the clone object.
Then the SVG rendering in ArchSectionPlan can find it.
2017-05-27 19:49:20 -03:00
Abdullah Tahiri
4e9c5bd4c6 fixes #0003018 2017-05-26 23:28:08 +02:00
Yorik van Havre
8f7c90e6ee AddonManager: Introduced SSL fix discussed on FreeCAD-addon issue #11 2017-05-25 10:48:17 -03:00
Yorik van Havre
47f4e8072e Arch: Fixed moving and rotating spaces 2017-05-25 10:46:52 -03:00
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
Yorik van Havre
9cfacf77e4 Merge pull request #773 from realthunder/PathArea
Path.Area: bug fix and new feature
2017-05-24 12:09:49 -03:00
Zheng, Lei
d62614d44b Path.Area: make Path.fromShapes optionally return end pos 2017-05-24 09:16:52 +08:00
Zheng, Lei
c6e9127863 Path.Area: removed LogLevel from setDefaultParams
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
Zheng, Lei
364302d32c Path.Area: fix side effect on projection 2017-05-24 09:16:52 +08:00
Yorik van Havre
ec067c77d2 Display the number of selected elements in Selection View 2017-05-21 19:10:19 -03:00
Yorik van Havre
9179165fcd Draft: Leave all clones selected after cloning 2017-05-21 18:21:01 -03:00
looooo
2f467da92a py3: base: repair compile-fail 2017-05-21 12:35:41 +02:00
Yorik van Havre
d4b7100bb2 py3: Base: files R-Z ported to python3
issue 0000995
2017-05-21 12:35:41 +02:00
wmayer
769bc97f63 workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-21 10:02:26 +02:00
wmayer
0e605eccb3 workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-20 21:21:30 +02:00
Yorik van Havre
bccb7372fe Arch: Fixed error in DXF export of Arch Panel sheets 2017-05-20 12:24:08 -03:00
wmayer
d0020dc1cc fix crashes with FEM post-processing commands 2017-05-20 16:18:34 +02:00
Yorik van Havre
9fe7b89ff0 Draft: Allow to set the Working Plane from 3 selected vertices 2017-05-20 00:53:11 -03:00
wmayer
3d8eba966b fix build failure if VTK is not enabled 2017-05-19 12:53:31 +02:00
wmayer
1902adf710 fix crash caused by PR761 2017-05-18 19:44:10 +02:00
wmayer
b99b0eb65b fix crash in pipeline command 2017-05-18 18:40:56 +02:00
wmayer
583574dfcc Add Python wrapper for pipeline object 2017-05-18 18:40:25 +02:00
wmayer
831ceae546 py3: port PR changes to be compatible with Py3 2017-05-18 16:25:13 +02:00
Keith Sloan
13f7ca7f2d Fix for Polyhedron with faces 2017-05-18 16:18:53 +02:00
Yorik van Havre
0bc16d353b py3: Base: files I-R ported to python3
PyObjectBase.cpp and PyObjectBase.h not included
issue 0000995
2017-05-18 16:00:05 +02:00
looooo
dc01180b78 py3: define xrange for python3
this is done in files where the xrange is used.
replace this with range once python2 is not supported anymore.
issue 0000995
2017-05-18 15:56:09 +02:00
lorenz
f10289058f StringIO/ io fix for addonmanager
io.StringIO handles unicode in py2 and 3. StringIO.StringIO handles str in python2
2017-05-18 15:56:09 +02:00
wmayer
982d73d93b extend error text set in Python console by additional information if present 2017-05-17 19:59:17 +02:00
wmayer
75652c247e in Python console check if exception is dict and set more readable text 2017-05-17 19:37:34 +02:00
looooo
1355495f07 vs 2013 has already version info grater 18 2017-05-17 16:39:28 +02:00
Yorik van Havre
ccebc7d16b py3: Base: files A-I ported to python3
issue 0000995
2017-05-17 16:39:28 +02:00
Keith Sloan
80d1231068 Fix for cylinder with polygon number as a decimal 2017-05-17 11:24:29 -03:00
Yorik van Havre
d8a375287c Merge pull request #758 from KeithSloan/zero-rad
Fix for circle with zero radius
2017-05-17 11:22:57 -03:00
Keith Sloan
a4e2dedb2a Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan
9e1730ab7b Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-17 05:36:19 +01:00
wmayer
f8daae5eea handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
wmayer
11b187309b fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
31710838d4 issue #0003025: Unhandled unknown exception caught in GUIApplication::notify when opening file 2017-05-16 10:37:34 +02:00
wmayer
f001c3e16b fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer
64d7cab373 fix build failure and make Py2/Py3 specific change 2017-05-15 22:36:21 +02:00
wmayer
1d8206acbf Fix various issues:
+ fix dangling pointers when fetching Python error text
+ initialize members in overloaded constructors of Exception class
+ implement assignment operator in sub-class
+ move to PyCXX API to simplify handling with reference counting and reading values from the dict
2017-05-15 18:49:09 +02:00