Commit Graph

11491 Commits

Author SHA1 Message Date
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
wandererfan
8280d551a9 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
44c2f19e38 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
9bb360bb75 fix bug in PropertyPlacementList::RestoreDocFile 2018-10-22 12:06:54 +02:00
wmayer
7b86681678 fixes 0003638: Importing CSV-files produces an empty spreadsheet without the data 2018-10-18 23:32:32 +02:00
looooo
1e6818b6fb py3: arch: fix unicode problems #3590 2018-10-17 11:28:16 +02:00
wandererfan
a281832627 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
5e3b10c92f FEM: code formating, cut lines with more than 200 diggits 2018-10-17 11:23:05 +02:00
Bernd Hahnebach
40d0db3176 FEM: ccx solver, add gemetry check analysis 2018-10-17 11:23:05 +02:00
Bernd Hahnebach
76cc1308e1 FEM: print message, fix 2018-10-17 11:23:05 +02:00
Bernd Hahnebach
5981cf07b1 FEM: inout modules, delete not used and not needed variable 2018-10-17 11:23:05 +02:00
luz.paz
f5523dd830 FEM: Typos 2018-10-17 11:23:04 +02:00
luz.paz
d6d7b36aeb FEM: Grammar and organization fixes 2018-10-17 11:23:04 +02:00
wmayer
0b12ceec84 make constraint validation consistent to evaluation 2018-10-16 23:21:40 +02:00
wmayer
20298c45d2 set the cloned shape the tip of the created body 2018-10-16 19:39:07 +02:00
wmayer
c6745d1b5b fixes 0003610: App::PropertyFloatList not updating in Spreadsheet 2018-10-13 14:02:03 +02:00
wandererfan
cb30a82969 Fix #3634 Lost formatSpec on save/restore 2018-10-13 02:10:53 +02:00
wmayer
7527c7d149 fix -Wunused-variable 2018-10-12 22:17:29 +02:00
luz.paz
125f41e3e8 Misc. typo fix
Found via `codespell`
2018-10-11 16:21:28 -04:00
wandererfan
f6e9faa62c Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
eaf987625e Correct tree icon for Angle3Pt 2018-10-11 21:59:05 +02:00
wandererfan
a373280946 Add @mario52's templates 2018-10-11 21:58:47 +02:00
wmayer
68c644104a implement mustExecute for Raytracing features 2018-10-11 15:51:11 +02:00
wmayer
23d64fa7b7 fixes 0003629: FEM, input file is not written if the FreeCAD document name has none standard letters 2018-10-11 12:40:16 +02:00
wmayer
ae7c53b951 Py3: fix opening file 2018-10-11 12:06:07 +02:00