Commit Graph

11515 Commits

Author SHA1 Message Date
wmayer
17c783051b extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory 2018-10-28 17:10:10 +01:00
lorenz
e517c00d9b py3: Fem: remove extra b'ees
https://forum.freecadweb.org/viewtopic.php?f=18&t=30954
2018-10-28 15:13:30 +01:00
wmayer
465152bcc9 fix crash in debug mode in sketcher in case the equation matrix has rank zero 2018-10-28 14:51:14 +01:00
wmayer
4362ddc797 Raytracing: Fixed search locations of povray 2018-10-28 13:09:25 +01:00
Yorik van Havre
57726db47f AddonManager: minor bugfix 2018-10-27 16:15:55 -03:00
Yorik van Havre
7fabfde0ef py3 compatibility fixes 2018-10-27 16:04:51 -03:00
wmayer
3443fd9661 replace deprecated failUnless with assertEqual 2018-10-27 17:44:37 +02:00
ickby
c60364772a Persistence: Test cases for content dump
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
wmayer
2af5a983a2 unit test for / operator of Quantity 2018-10-27 15:58:40 +02:00
George Shuklin
7ec3984cbe Add support for dLabel.ViewObject.Line
If it's false, do not draw line (and arrow), text only
2018-10-26 19:25:44 -03:00
George Shuklin
9543d54647 Add arrows to dLabel getSVG, minor style cleanup 2018-10-26 19:25:44 -03:00
George Shuklin
3a85a1fd41 Add line for annotation (no arrow yet) 2018-10-26 19:25:44 -03:00
George Shuklin
3391a5ea4b Initial work, only text (no lines) 2018-10-26 19:25:44 -03:00
triplus
10cd4cc7af Hide Draft tray toolbar
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=3&t=31720
2018-10-26 04:26:20 +02:00
wandererfan
4fa707f46d Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02:00
wandererfan
9c1587cfad Fix delayed rotation of DVP based Views 2018-10-26 00:49:53 +02:00
wandererfan
b2135da447 Workaround for #3332 2018-10-26 00:49:52 +02:00
luz.paz
0660fd737c Reverting partial commit 2a53eb043 2018-10-26 00:47:18 +02:00
wmayer
33663d134d make the methods highlightSelection/unhighlightSelection virtual 2018-10-26 00:40:20 +02:00
Yorik van Havre
b11ed19f8d Arch: Make section planes claim their children in the tree 2018-10-25 12:13:16 -03:00
Yorik van Havre
f1e3ec88c6 AddonManager: Fixed missing files in cmake 2018-10-25 12:02:46 -03:00
Yorik van Havre
8ffd8c2901 Arch: Fixed bug in Site 2018-10-25 11:59:22 -03:00
luz.paz
2a53eb0432 Please review these and then I'll squash all in to one commit 2018-10-25 11:06:28 -03:00
luz.paz
f976a4f734 Misc. typos and whitespace fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
Gaël Écorchard
968ce141d0 [AddonManager] Fix Python 2 bug with list comprehension 2018-10-25 11:04:43 -03:00
Gaël Écorchard
2506f5b207 [AddonManager] Strip whitespace from other_files
Strip whitespace from the file name in the macro metadata __Files__
field.
2018-10-25 11:04:43 -03:00
Gaël Écorchard
37b738f86f [AddonManager] Add support for __Files__
Read the metadata __Files__ for macros from git and install or remove
files listed there.
__Files__ must be a comma-separated list of files to be copied alongside
the macro.  Their path must be relative to the macro (*.FCMacro file)
and not to othe root of the repository. Each file can be prefixed with a
subdirectory.
2018-10-25 11:04:43 -03:00
Gaël Écorchard
bac786a8ea [AddonManager] separate the Macro class
Separate the Macro class of the AddonManager into addonmanager_macro.py
to prepare for future support for dependent files for macros from the
git repository.
2018-10-25 11:04:43 -03:00
Clemens Weissbacher
cef825c567 py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
Clemens Weissbacher
54f88cc75c py3: Arch: fix import urllib2 problem 2018-10-25 11:03:36 -03:00
pekkaroi
ae9786253c PATH Fix bug on finding minimum Z on DressupRampEntry 2018-10-25 11:02:02 -03:00
lorenz
d3df5d979a py3: Arch: try to fix unicode problem 2018-10-25 11:01:03 -03:00
Bernd Hahnebach
d449f7f8c0 FEM: nonlinear material, small fix in setting solver attributes 2018-10-25 11:00:07 -03:00
Bernd Hahnebach
96f515748b FEM: ccx solver task panel run, return error if CalculiX has finished but there are errors in output. Happens on nonpositive jacobians 2018-10-25 11:00:07 -03:00
Bernd Hahnebach
341b72bea8 FEM: ccx tools, small improvements if nonpositive jacobians are in the mesh 2018-10-25 11:00:07 -03:00
luz.paz
a22a0d4567 FEM: file headers, fix .cpp and .h header text 2018-10-25 11:00:07 -03:00
wandererfan
733dae2b3d Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan
650404c17f Reduce unnecessary updates to QGraphicsScene
- Views were being redrawn unnecessarily on
  changes to selection status. Views are now
  redrawn only if the item's selection status
  is different from the desired state.
2018-10-25 10:58:53 -03:00
wandererfan
24f43527f5 Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wmayer
a53027342e rework error handling mechanism 2018-10-24 19:38:43 +02:00
Yorik van Havre
ea4fb69e4e Arch: Prevent exporting materials as IFC objects 2018-10-24 14:22:38 -03:00
Yorik van Havre
46b152669b Draft: fixed bug in delay system when passing a function with False as argument 2018-10-24 14:22:11 -03:00
Yorik van Havre
3969400a11 Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
Amritpal Singh
74a6bb4253 Updated Draft Dimension object. 2018-10-24 11:06:17 -03:00
Yorik van Havre
c78ebdec42 Draft: Set normal direction of dimensions to (0,0,1) by default 2018-10-23 22:18:26 -03:00
kreso-t
70fef39341 Path: Adaptive - finish depth option added
implemented the same way as in other path area operations
reusing the PathUtils.depth_params class
2018-10-22 15:41:18 -03:00
wandererfan
31a9ae655f Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
Martin Kroeker
13584d64fb py3: cannot take len() of zip() object directly 2018-10-22 15:38:16 -03:00
wandererfan
9f2ad88ded Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan
3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00