Commit Graph

13884 Commits

Author SHA1 Message Date
carlopav
76bac3099e Allow for multiple object trackers + 1 line sketch edit
self.trakers is changed from list to dictionary. It now stores EditTrackers with {'object':[pointlist]}. Initial implementation is to allow editing wall height and wall base object.
2019-09-02 16:13:08 -03:00
carlopav
365e93c598 [Draft] Edit: Refactored object selection + bug on wall editing
Draft edit now get the editing object from data stored inside the EditTracker. This is the first step towards implementation of multi object editing.
2019-09-02 16:13:08 -03:00
carlopav
daa035870a [Draft] Edit: fixed bug with dimensions
Update function always receive global vector as target of the transformation.
2019-09-02 16:13:08 -03:00
carlopav
954a8d3aca [Draft] Edit: use lineui instead of pointui
use lineui for editing instead of pointUi and minor documentation changes
2019-09-02 16:13:08 -03:00
carlopav
e06fb52bd0 [Draft] Edit: separate selectstate functions
Separated functions that save, restore and set the select state of edited object from main functions.
2019-09-02 16:13:08 -03:00
Dion Moult
3c52a3c2d1 Fix UI labels and unit type to be angle instead of length when doing draft rotate 2019-09-02 16:05:36 -03:00
Bernd Hahnebach
cab9145a81 FEM: gmsh tools, fix writing groups and reactivate unit test for solve frame work 2019-09-02 19:50:41 +02:00
Bernd Hahnebach
6c8163e091 FEM: unit test, temporary deactivate solver frame work unit test, due to some changes in gmsh tools 2019-09-02 19:23:46 +02:00
Bernd Hahnebach
f1d80cb062 FEM: gmsh tools, rename dirs 2019-09-02 19:11:28 +02:00
Bernd Hahnebach
3bfcd36649 FEM: gmsh tools, move start logs in separate class method 2019-09-02 19:11:20 +02:00
Bernd Hahnebach
9cc8f6eb66 FEM: gmsh tools, make temp mesh files for gmsh unique 2019-09-02 17:59:24 +02:00
Bernd Hahnebach
b17dbedcee FEM: gmsh tools, improve comments 2019-09-02 17:59:11 +02:00
Bernd Hahnebach
71f8a31953 FEM: solver frame work, better prefix for temp directory 2019-09-02 17:59:03 +02:00
wmayer
203782a091 fix -Wunused-variable 2019-09-02 15:55:58 +02:00
Bernd Hahnebach
6ba1bc35b8 FEM: commands and manager, typo in property value 2019-09-02 13:06:56 +02:00
Bernd Hahnebach
daaab377d0 FEM: gmsh tools, move system import into dev 2019-09-02 13:05:08 +02:00
Bernd Hahnebach
a96282f482 FEM: gmsh tools, use join from os as a more robust path builder 2019-09-02 13:05:03 +02:00
Bernd Hahnebach
7c18aae1dc FEM: gmsh tools, resort imports 2019-09-02 13:04:58 +02:00
Bernd Hahnebach
32a6863e58 FEM: gmsh tools, typos 2019-09-02 09:03:37 +02:00
Bernd Hahnebach
67efd10dea Arch: IFC export, small code formating 2019-09-02 07:38:37 +02:00
Bernd Hahnebach
8e91b3ab2c Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
6e7e1f2035 FEM: gmsh tools, fix regression and explizit use double quotes in geo file 2019-09-01 22:29:21 +02:00
wmayer
00c016a967 fix bug in Path module: str has no attribute UserString 2019-09-01 22:14:53 +02:00
Yorik van Havre
679f7e91c7 Draft: Added shortcut to toggle near snap during drawing 2019-09-01 13:00:57 -03:00
wmayer
598faf9ad2 include missing header 2019-09-01 17:25:42 +02:00
luz.paz
0641ca0d1e AddonManager: Add BCFPlugin Workbench logo to dialog 2019-08-30 15:57:12 +02:00
KeithSloan
62d85f4491 Fix OpenSCAD Frustrum 2019-08-30 15:55:15 +02:00
Zheng, Lei
70857e17e0 Sketcher: fix missing update on expression change 2019-08-30 15:52:31 +02:00
Zheng, Lei
193b9899b6 Part: fix missing signal disconnect in TaskFaceColors 2019-08-30 15:47:17 +02:00
Zheng, Lei
7bf451fc67 Gui/PartDesign: fix setActiveObject() for Part and Body 2019-08-30 15:02:48 +02:00
Zheng, Lei
66a719773f Sketcher: fix lost of constraint in undo/redo 2019-08-30 14:57:41 +02:00
Zheng, Lei
2c2aadaa5d Draft/Arch: maintain Python 2 compatibility
In order to pass test under Python 2
2019-08-30 14:56:18 +02:00
Zheng, Lei
d2c5bcb949 Part: fix VBO update on multiple gl context
Multiple OpenGL context is caused by linking some shape object from
external documents. The VBO update must be triggered for all contexts.
2019-08-30 14:55:14 +02:00
Zheng, Lei
350c5982db Show: remove debug print 2019-08-30 14:54:20 +02:00
Zheng, Lei
a06e0b7c2d Part: fix TaskAttacher external editing 2019-08-30 14:53:50 +02:00
Zheng, Lei
c7d4e240e8 PartDesign: fix datum edit through external link 2019-08-30 14:53:03 +02:00
Zheng, Lei
5bef136deb TechDraw: avoid touching children if possible
There are lots of dependency inversion problem in TechDraw, the ideal
organization should let a child depend on project group, instead of the
other way round, e.g. using PropertyLinkListHidden.

This patch is just a cheap fix. The problem occurs when the user uses
any expression to update properties like Scale in a projection group.
The Scale property will be changed on recomputing projection group,
which triggers children update, but since the group depends on the
children, the children has already been recomputed.
2019-08-30 14:47:05 +02:00
Zheng, Lei
2b79025ad9 Part: avoid touching in ViewProviderAttachExtension mergeOverlayIcons
ViewProviderAttachExtension::extensionMergeOverlayIcons() calls
AttachExtension::positionBySupport() which will always touch the
extended object. This may cause recomputation problems, e.g a datum
that is always touched, because normal recomputation trigger tree
view update by a timer, tree view refreshes the icon, datum gets
touched again.
2019-08-30 14:46:38 +02:00
Zheng, Lei
24b1467a55 Draft: disable implicit property linking in LinkArray 2019-08-30 13:35:25 +02:00
Zheng, Lei
5496bf0036 Show: fix body visible feature restore function 2019-08-30 13:35:07 +02:00
Zheng, Lei
72bd2bc9b2 PartDesign: add 'VisibleFeature' attribute to BodyPy 2019-08-30 13:34:41 +02:00
Zheng, Lei
35c5e5a8a9 PartDesign: do not touch body on child change 2019-08-30 13:31:19 +02:00
wandererfan
b2d8eeeb65 [TD]Allow forced redraw of Page 2019-08-29 21:03:39 -04:00
wandererfan
5bed53f858 [TD]Add parameters to control drawing update 2019-08-29 21:03:39 -04:00
sliptonic
dccf8484cc Merge branch 'master' into feature/coolant-management 2019-08-29 09:46:32 -05:00
sliptonic
174f13ea36 Merge pull request #2457 from dubstar-04/feature/tooltable
[Path] Manage multiple tool tables
2019-08-29 09:46:02 -05:00
Bernd Hahnebach
d54bff6de5 Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
99fa0b35cf Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:09 +02:00
Bernd Hahnebach
4fd1827fa9 Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:00 +02:00
Yorik van Havre
6fb468a1fe Draft: Export DXF objects with BYLAYER color if applicable 2019-08-28 22:48:57 -03:00