Commit Graph

11508 Commits

Author SHA1 Message Date
ickby
d5cbee5543 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
81ec84356f unit test for / operator of Quantity 2018-10-27 15:58:40 +02:00
George Shuklin
fb1b60a825 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
15f4ae54f4 Add arrows to dLabel getSVG, minor style cleanup 2018-10-26 19:25:44 -03:00
George Shuklin
97aa6930a5 Add line for annotation (no arrow yet) 2018-10-26 19:25:44 -03:00
George Shuklin
ec1e837871 Initial work, only text (no lines) 2018-10-26 19:25:44 -03:00
triplus
8150d39a25 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
89275b883b Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02:00
wandererfan
26d0a134db Fix delayed rotation of DVP based Views 2018-10-26 00:49:53 +02:00
wandererfan
957328ee18 Workaround for #3332 2018-10-26 00:49:52 +02:00
luz.paz
7948cccd9a Reverting partial commit 34c4ceb82 2018-10-26 00:47:18 +02:00
wmayer
c9f01fe75f make the methods highlightSelection/unhighlightSelection virtual 2018-10-26 00:40:20 +02:00
Yorik van Havre
8eb3e2a103 Arch: Make section planes claim their children in the tree 2018-10-25 12:13:16 -03:00
Yorik van Havre
dc50823f5f AddonManager: Fixed missing files in cmake 2018-10-25 12:02:46 -03:00
Yorik van Havre
ba1174f793 Arch: Fixed bug in Site 2018-10-25 11:59:22 -03:00
luz.paz
2535665ee8 Please review these and then I'll squash all in to one commit 2018-10-25 11:06:28 -03:00
luz.paz
7e221ab15d 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
c574b72f7d [AddonManager] Fix Python 2 bug with list comprehension 2018-10-25 11:04:43 -03:00
Gaël Écorchard
1052ea6469 [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
d5e150841d [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
58b5749163 [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
0d035d3f5b py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
Clemens Weissbacher
6fc219732f py3: Arch: fix import urllib2 problem 2018-10-25 11:03:36 -03:00
pekkaroi
fbb0039774 PATH Fix bug on finding minimum Z on DressupRampEntry 2018-10-25 11:02:02 -03:00
lorenz
617f5ec328 py3: Arch: try to fix unicode problem 2018-10-25 11:01:03 -03:00
Bernd Hahnebach
61205d086f FEM: nonlinear material, small fix in setting solver attributes 2018-10-25 11:00:07 -03:00
Bernd Hahnebach
27b51c98e4 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
859e4e7778 FEM: ccx tools, small improvements if nonpositive jacobians are in the mesh 2018-10-25 11:00:07 -03:00
luz.paz
ccd7be0bc2 FEM: file headers, fix .cpp and .h header text 2018-10-25 11:00:07 -03:00
wandererfan
22ff1e2cea 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
6e05b0f4ca 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
64538f7b3c Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wmayer
d88860a4c1 rework error handling mechanism 2018-10-24 19:38:43 +02:00
Yorik van Havre
4d4061e7e4 Arch: Prevent exporting materials as IFC objects 2018-10-24 14:22:38 -03:00
Yorik van Havre
fe067060d4 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
14c70ce8cd Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
Amritpal Singh
b593f59dee Updated Draft Dimension object. 2018-10-24 11:06:17 -03:00
Yorik van Havre
e60c5b0a7b Draft: Set normal direction of dimensions to (0,0,1) by default 2018-10-23 22:18:26 -03:00
kreso-t
fbdbf65f4e 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
1ca15ecab4 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
fc78df5416 py3: cannot take len() of zip() object directly 2018-10-22 15:38:16 -03:00
wandererfan
7a8c559bcc Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan
fd426a856a Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
4f93ae9431 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
2018-10-22 15:34:13 -03:00
looooo
c05666dd1c py3: Draft: use proper way to test if property is available
if the attribute is not available py3 raises: `<class 'AssertionError'>: The enum is empty`. For py2 hasattr simple returns False. Similar changes should be applied also to other places.
2018-10-22 15:25:00 -03:00
wmayer
5f6a6cde9c fix bug in PropertyPlacementList::RestoreDocFile 2018-10-22 12:06:54 +02:00
wmayer
27691eb8bd fixes 0003638: Importing CSV-files produces an empty spreadsheet without the data 2018-10-18 23:32:32 +02:00
looooo
31123b4ead py3: arch: fix unicode problems #3590 2018-10-17 11:28:16 +02:00
wandererfan
7f6be0a265 Change tool from cylinder to prism
- cutting with cylinder produced too many
  short bsplines from HLR.  Straight cut
  from prism reduces these and speeds up
  HLR significantly.
2018-10-17 11:25:49 +02:00
Bernd Hahnebach
d8eb9dd470 FEM: code formating, cut lines with more than 200 diggits 2018-10-17 11:23:05 +02:00