Commit Graph

11133 Commits

Author SHA1 Message Date
Sabin Iacob
bed4255b0d Path: make PathUtil.sort_jobs more generic, allow tuning job weights 2017-05-27 19:52:21 -03:00
Simon
53770dfade 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
c4b1685728 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
c6e0c6aa80 fixes #0003018 2017-05-26 23:28:08 +02:00
Yorik van Havre
b604b27ad3 AddonManager: Introduced SSL fix discussed on FreeCAD-addon issue #11 2017-05-25 10:48:17 -03:00
Yorik van Havre
335da6a0ad Arch: Fixed moving and rotating spaces 2017-05-25 10:46:52 -03:00
Yorik van Havre
2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
Yorik van Havre
379ffe073f Merge pull request #773 from realthunder/PathArea
Path.Area: bug fix and new feature
2017-05-24 12:09:49 -03:00
Zheng, Lei
ae9f699e20 Path.Area: make Path.fromShapes optionally return end pos 2017-05-24 09:16:52 +08:00
Zheng, Lei
fe8d32854a Path.Area: removed LogLevel from setDefaultParams
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
Zheng, Lei
c94ffe1d93 Path.Area: fix side effect on projection 2017-05-24 09:16:52 +08:00
Yorik van Havre
a0da4b16a8 Display the number of selected elements in Selection View 2017-05-21 19:10:19 -03:00
Yorik van Havre
ee58881f18 Draft: Leave all clones selected after cloning 2017-05-21 18:21:01 -03:00
looooo
94c68d72c3 py3: base: repair compile-fail 2017-05-21 12:35:41 +02:00
Yorik van Havre
0e9e49cbcc py3: Base: files R-Z ported to python3
issue 0000995
2017-05-21 12:35:41 +02:00
wmayer
1ec3e5da82 workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-21 10:02:26 +02:00
wmayer
6bdc3eb29f workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-20 21:21:30 +02:00
Yorik van Havre
08b7d9154a Arch: Fixed error in DXF export of Arch Panel sheets 2017-05-20 12:24:08 -03:00
wmayer
945313c6d3 fix crashes with FEM post-processing commands 2017-05-20 16:18:34 +02:00
Yorik van Havre
8da45638be Draft: Allow to set the Working Plane from 3 selected vertices 2017-05-20 00:53:11 -03:00
wmayer
c30c325537 fix build failure if VTK is not enabled 2017-05-19 12:53:31 +02:00
wmayer
e239a70ffd fix crash caused by PR761 2017-05-18 19:44:10 +02:00
wmayer
d3895d03f2 fix crash in pipeline command 2017-05-18 18:40:56 +02:00
wmayer
a72a4d9a75 Add Python wrapper for pipeline object 2017-05-18 18:40:25 +02:00
wmayer
5fbca1a4ad py3: port PR changes to be compatible with Py3 2017-05-18 16:25:13 +02:00
Keith Sloan
ce8a423f2e Fix for Polyhedron with faces 2017-05-18 16:18:53 +02:00
Yorik van Havre
2becb8a0e8 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
ef22d5202d 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
fed9d79153 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
1b2b964c35 extend error text set in Python console by additional information if present 2017-05-17 19:59:17 +02:00
wmayer
f3e722c6de in Python console check if exception is dict and set more readable text 2017-05-17 19:37:34 +02:00
looooo
b1e3777834 vs 2013 has already version info grater 18 2017-05-17 16:39:28 +02:00
Yorik van Havre
7114667d64 py3: Base: files A-I ported to python3
issue 0000995
2017-05-17 16:39:28 +02:00
Keith Sloan
22cbd5b825 Fix for cylinder with polygon number as a decimal 2017-05-17 11:24:29 -03:00
Yorik van Havre
6ba7a109f8 Merge pull request #758 from KeithSloan/zero-rad
Fix for circle with zero radius
2017-05-17 11:22:57 -03:00
Keith Sloan
8904d65aab Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan
ca4884625d Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-05-17 05:36:19 +01:00
wmayer
1be8c73dca handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
wmayer
4d7554197e fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
f66562942c issue #0003025: Unhandled unknown exception caught in GUIApplication::notify when opening file 2017-05-16 10:37:34 +02:00
wmayer
e02db451dd fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer
dc413acc42 fix build failure and make Py2/Py3 specific change 2017-05-15 22:36:21 +02:00
wmayer
7d47a723fb 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
looooo
869e42e062 try to repair add-on manager 2017-05-15 12:21:14 +02:00
Zheng, Lei
fa00b4f06a Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei
dbbc32d3af Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei
a6abf0b25a Console: added tag based log support 2017-05-13 17:46:38 +02:00
wmayer
2fa2370ef1 remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
wmayer
4971818321 fix -Woverloaded-virtual 2017-05-13 16:46:49 +02:00
wmayer
ff82e88413 remove commented code 2017-05-13 16:09:30 +02:00