Commit Graph

10099 Commits

Author SHA1 Message Date
Markus Hovorka
dbc7fe9c67 FEM: fix unicode conversion error (sifio.py)
The sifio module could only serialize the str type. This commits
adds support for unicode strings. Some properties of FreeCAD
objects like the equation variable name use unicode strings.
2018-02-16 10:53:20 -02:00
Yorik van Havre
63d14a1edc Draft: Small fix in snapper 2018-02-16 10:52:57 -02:00
WandererFan
478f3aeec8 Merge branch 'master' into Fixes 2018-02-14 18:14:00 -05:00
WandererFan
9b4f451e21 Fix default GeomHatch weight 2018-02-14 15:42:26 -05:00
WandererFan
bdba11d965 Dimension Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
cbca02f7f3 HatchColor & HatchScale prop to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
6fa92cb188 KeepLabel Property to Gui side 2018-02-14 15:42:25 -05:00
luz.paz
be870deb4d Misc. source comment typo [skip ci]
Found via `codespell`
[skip ci]
2018-02-14 14:26:04 -05:00
tomate44
2ec68ac393 Edge.getParameterByLength fix 2018-02-14 18:46:35 +01:00
Yorik van Havre
3b80b34d60 Arch: Fixed bug in wall not updated on window size change 2018-02-13 10:54:06 -02:00
wmayer
066fcd3a0f implement transform command of point data 2018-02-13 00:32:58 +01:00
wmayer
a815251048 improve point import and export 2018-02-13 00:27:18 +01:00
luz.paz
5d07c271ee Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
WandererFan
bf0d94458a Remove unneeded code, add menu item
- remove code for updating tab with Page label
  (handled in MDIView)
- add context menu item to toggle Page
  KeepUpdated property
2018-02-12 21:57:15 +01:00
WandererFan
6b930016c8 Avoid affecting other Tabs when Page deleted.
- when Page object was deleted, closing the Page's
  tab would have undesired effect on 3D tab. Now Page
  delete does not affect other tabs.
2018-02-12 21:57:15 +01:00
luz.paz
978a02c9cb Arch: Misc. typos and uniformity fixes 2018-02-12 21:55:31 +01:00
wmayer
95bb1d69d7 fixes #0003347: No 'Tick' arrow style among other styles in Draft preferences 2018-02-12 21:53:17 +01:00
WandererFan
8b32757376 Change removeWindow logic for consistency
- Page window is removed in two places.  Problem with
  display of 3D window when Page window closed was fixed
  by  http://github.com/FreeCAD/FreeCAD/commit/e69a825.
  This commit makes the code for Page object delete
  consistent, but doesn't fix the problem with display
  of 3D window.
2018-02-11 20:07:57 +01:00
WandererFan
56280b1ffb Fix Unrequested Page Zoom
- Page zoomed out after updating editable
  text.
2018-02-11 20:07:57 +01:00
WandererFan
a9d7852942 Add 2 templates
- add templates for wiki howto example and US
  letter size
2018-02-11 20:07:57 +01:00
WandererFan
f24da28239 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
luz.paz
de0ca700d5 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
wmayer
e510c7540c Fix invalid Python object error
Example below led to a crash:
import Path
t = Path.Tool(name='t', diameter=1.2)
tt = Path.Tooltable()
tt.setTool(3, t)
attrs = tt.templateAttrs()
del attrs
2018-02-11 16:04:17 +01:00
wmayer
204de231bb fix reference counting issue 2018-02-11 14:08:18 +01:00
luz.paz
52fa10d9ac Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
2018-02-11 10:49:19 +01:00
wmayer
b780ba650f fix scan coverity issues 2018-02-10 14:29:49 +01:00
wmayer
2de84d64e8 fix warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 2018-02-10 12:42:41 +01:00
wmayer
c16af94dbe fix warning: private field 'm_lx' is not used [-Wunused-private-field]
fix warning: private field 'm_ly' is not used [-Wunused-private-field]
2018-02-10 12:28:50 +01:00
wmayer
91ce7f2749 fix warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 2018-02-10 12:18:33 +01:00
wmayer
6fe1beedcd fix -Wfor-loop-analysis 2018-02-10 11:57:53 +01:00
wmayer
d777fcc099 See PR 1309 2018-02-10 11:31:43 +01:00
Bernd Hahnebach
af167942d1 FEM: ccx writer, adapt constraint fixed to the mixed meshes 2018-02-10 00:53:16 +01:00
Bernd Hahnebach
65fa64af7e FEM: ccx input writer, write all mesh dirmension ccx elsets 2018-02-10 00:53:16 +01:00
Bernd Hahnebach
7d9430bc63 FEM: input writer, use own element table for each shape type 2018-02-10 00:53:16 +01:00
Bernd Hahnebach
f6488890fe FEM: writer base, add missing console log 2018-02-10 00:53:16 +01:00
wmayer
e40b2c7470 disable tip handling in PD view providers when start or finish editing 2018-02-10 00:46:30 +01:00
wmayer
3f9dda9263 proper handling of setting and reverting preview mode in PD view provider 2018-02-10 00:42:10 +01:00
wmayer
8101f35f22 avoid superfluous transaction on PD primitive creation 2018-02-09 23:10:40 +01:00
wmayer
c5ae798026 in ViewProviderBody::updateData make sure a view provider exists 2018-02-09 22:14:44 +01:00
Abdullah Tahiri
5681acf937 Part Design: Avoid feature modification during initialization
=============================================================

The values for the primitives are set after the connections to the slots "onchange" are connected.

This causes a river of onChanges at feature level which set the properties and modify the feature (to the same values).

Moving the connections at the end of the function just solves this issue.
2018-02-09 16:01:19 +01:00
sliptonic
728c7b75bc Path: add stock boundary as choice for millface
fixes #3326
2018-02-09 15:58:44 +01:00
Yorik van Havre
c51abf803f Arch: Fixed bug in component icon 2018-02-09 10:37:01 +01:00
luz.paz
67cc0099d6 Misc. typos 2018-02-08 13:23:25 -05:00
Bernd Hahnebach
1a57485b63 FEM: unit tests, small code improvements in solver frame work test 2018-02-08 09:46:40 +01:00
Bernd Hahnebach
dba9dbbf6e FEM: unit tests, reactivate Elmer test 2018-02-08 09:46:40 +01:00
Bernd Hahnebach
e5058200a5 FEM: elmer tasks, fix gmsh mesh object type check 2018-02-08 09:46:40 +01:00
Bernd Hahnebach
fe39f310e4 FEM: unit tests, add some example code to run FEM unit tests 2018-02-08 09:46:40 +01:00
wmayer
4eb3f9aeb6 put all STEP export/import options into one tab page 2018-02-07 22:46:30 +01:00
WandererFan
6fb1972875 Fix hidden click handles on Templates
- on some Templates, the green click handles for
  editing text were being painted under the Template
  and were not visible.
2018-02-07 19:05:25 +01:00