Commit Graph

19553 Commits

Author SHA1 Message Date
Zheng, Lei
cbaee7e4ec Gui: add more options to DlgPropertyLink
Support user editable sub-element column.
(Dis)allow sync sub-object 3D view selection.
2020-02-11 15:40:27 -05:00
Zheng, Lei
c4be6c8b23 App: add class TransactionLocker
To protect some critical transaction from being closed prematurely. It
is currently used to protect transaction of object deletion.
2020-02-11 15:40:27 -05:00
Zheng, Lei
3cd84fc2d0 TechDraw: fix build for qt4 2020-02-11 15:40:27 -05:00
Zheng, Lei
0633abb70d Gui: refactor link property editor
PropertyLinkItem now support all major types of link property.
PropertyLinkListItem is no longer necessary, but kept for backward
compatible, which is now identical to PropertyLinkItem.

DlgPropertyLink, the link selection dialog, is now made modeless, so
that that user can select geometry sub-element directory from 3D view.
2020-02-11 15:40:27 -05:00
Zheng, Lei
24d935096d Gui: fix missing property editor transaction closing
The problem happens when refreshing property editor while editing.
2020-02-11 15:40:27 -05:00
Zheng, Lei
3364911d6d App: add PropertyXLinkList
PropertyXLinkList is derived from PropertyXLinkSubList, which is
modified to provide APIs compatible to PropertyLinkList.

The only difference between the two class is in their getPyObject() to
make PropertyXLinkList output similar to PropertyLinkList in Python. In
C++, both class can accept mix of objects link with or without subname,
depending on which set of APIs are used.
2020-02-11 15:40:27 -05:00
Zheng, Lei
e4a2d9fc42 App: fix PropertyXLink invalid external link 2020-02-11 15:40:27 -05:00
Zheng, Lei
e707ba8348 App: fix PropertyLinkSub(List) unicode handling 2020-02-11 15:40:27 -05:00
Zheng, Lei
c182425ecd App: remove unncessary exception catch
This allows exception to propagate to generated C++ python extension
class code.
2020-02-11 15:40:27 -05:00
Zheng, Lei
39959f9500 App: add new convenient class SubObjectT
Derived from App::DocumentObjectT to add support of sub object

Also some minor changes to App::DocumentObjectT

Changed Gui::SelectionChanges to make use of SubObjectT
2020-02-11 15:40:27 -05:00
donovaly
5d60f3af01 DlgPrefsTechDraw1.ui: revert unwanted change 2020-02-11 07:44:56 -05:00
donovaly
1174051394 [TD] some wording improvements 2020-02-11 07:44:56 -05:00
sliptonic
a797a41727 Merge pull request #2997 from mlampert/bugfix/path-tag-dressup-issue
Path: fix holding tag precision
2020-02-10 18:02:22 +01:00
wmayer
f6c7648870 Mesh: [skip ci] add methods to create empty KD tree or to add further points 2020-02-10 17:39:36 +01:00
Kurt Kremitzki
8deed98ace Add DigitalOcean support notice 2020-02-10 11:20:21 +01:00
paullee0
97c40204a4 [ArchWall, DraftGeomUtils] fix bug: ArchWall with Offset Attribute set and based on Sketch fails at some cases
DraftGeomUtils.offsetWire() supports ArchWall Offset setting inherently now.

Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=42933
2020-02-10 11:19:47 +01:00
carlopav
136c7c32de [Draft] Move and rotate bugfix to handle App::DocumentGroup
Bugfix, ref https://forum.freecadweb.org/viewtopic.php?f=23&t=43061
2020-02-10 11:16:34 +01:00
vocx-fc
3ed0df5a54 Draft: override text in dimension only when GUI is up 2020-02-10 11:14:01 +01:00
vocx-fc
814c97b70d Draft: standardized module to build messages 2020-02-10 11:12:45 +01:00
vocx-fc
a80ba25896 Draft: disable the excessive output in the ToDo class 2020-02-10 11:09:10 +01:00
Rene 'Renne' Bartsch
b6baaa72e9 [Path] Add GCode documentation of Path Workbench
This is a documentation of all GCodes used by the FreeCAD Path Workbench to e.g. simplify pre- and post-processor development.
Initial commit.

See [forum discussion](https://forum.freecadweb.org/viewtopic.php?f=15&t=42655).
2020-02-10 11:07:10 +01:00
vocx-fc
01df7c0a63 Draft: added init_tools to create the toolbars 2020-02-10 11:02:28 +01:00
vocx-fc
0cb62a9e4f Draft: explicitly import modules in the initialization
Also other small fixes: cleanup for getting the icon
of the workbench; we don't need to test for PySide because
it should already exist as part of the system
for the entire interface to work; cleanup of the printing
functions.
2020-02-10 11:02:28 +01:00
Bernd Hahnebach
708db09300 FEM: ccx writer, revert copy accident from 4eb6344 2020-02-10 09:33:02 +01:00
Bernd Hahnebach
4eb6344487 FEM: ccx writer, add comment about solver type 2020-02-10 09:30:32 +01:00
mlampert
e09e44d69a Merge branch 'master' into bugfix/path-tag-dressup-issue 2020-02-09 13:41:22 -08:00
sliptonic
045e924cd6 Merge pull request #2966 from Schildkroet/master
[PATH] Added option to clear edges on PathMillFace
2020-02-09 20:43:23 +01:00
sliptonic
0649291ef3 Merge pull request #3026 from J-Dunn/master
Path: fix missing HorizFeed in boundaryDressup
2020-02-09 16:20:20 +01:00
wmayer
c01c1f7fde Sketcher: add option to disable leaving sketch with Esc button 2020-02-09 13:52:09 +01:00
wmayer
1e7e459533 Sketcher: [skip ci] fix -Wunused-private-field 2020-02-09 10:33:06 +01:00
mlampert
aea5dd7bd8 Merge branch 'master' into bugfix/path-tag-dressup-issue 2020-02-08 18:59:03 -08:00
J-Dunn
c944aafc59 fix missing HorizFeed in boundaryDressup
fix missing HorizFeed in boundaryDressup  see bug #4260
2020-02-08 21:10:50 +00:00
wmayer
16b2b9a864 Sketcher: split huge settings page into two pages 2020-02-08 19:45:23 +01:00
wmayer
85aeef9384 Gui: ComboView always must be created because it includes the task view. 2020-02-08 14:52:28 +01:00
wmayer
7308db6331 Gui: [skip ci] fix naming inconsistency and rename 'combi' to 'combo' 2020-02-08 14:04:53 +01:00
wmayer
832d175377 Gui: fix naming inconsistency and rename 'combi' to 'combo' 2020-02-08 13:43:44 +01:00
Zheng, Lei
a8e048ec1f Gui: fix tree view mode option in general preference 2020-02-08 13:12:30 +01:00
sgrogan
3089ffd435 Update Libpack link 2020-02-08 12:39:13 +01:00
triplus
c420de0f9b Option to opt-out from using a Linux desktop icon theme. 2020-02-08 12:31:34 +01:00
wmayer
5abb3e57c2 Part: [skip ci] use the right value from the user settings to set point size 2020-02-08 11:07:06 +01:00
UR-0
c3eb6d9001 ResultShow.ui improved labels concerning user defined equations 2020-02-07 19:59:34 +01:00
wandererfan
8462c43a06 [TD]add Hatch limit parameters 2020-02-07 12:28:13 -05:00
wandererfan
e983ca3911 [TD]fix Preference dialog keys 2020-02-07 12:28:13 -05:00
Bernd Hahnebach
8125657da7 FEM: result mechanical task panel, typo in obj attribut, thanks ur_0 2020-02-07 18:05:01 +01:00
wmayer
f22607a617 Sketcher: [skip ci] add create polygon command to sketcher menu 2020-02-07 15:28:07 +01:00
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
f3a78196d9 Gui: also sort parameter groups in ascending order [skip ci] 2020-02-07 13:30:32 +01:00
mlampert
569f398b83 Merge branch 'master' into bugfix/path-tag-dressup-issue 2020-02-06 19:59:32 -08:00
Bernd Hahnebach
bb189d540c FEM: thermomech bimetall, add it to the unit test 2020-02-06 23:36:47 +01:00
Bernd Hahnebach
74ba3e7d26 FEM: thermomech bimetall, add it to the examples 2020-02-06 23:36:38 +01:00