Commit Graph

16191 Commits

Author SHA1 Message Date
Yorik van Havre
90b5f63bc2 Draft: Show info message if an object cannot be scaled 2019-09-03 11:55:07 -03:00
luz.paz
a01ff00707 FEM: fixed recent typo introduced in 7c719b95cf5eda 2019-09-03 11:11:43 -03:00
luz.paz
7af7c10cf1 Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
Yorik van Havre
91ca523f54 Draft: Moved SelectPlane stuff from DraftGui to its own ui file 2019-09-02 22:15:58 -03:00
Yorik van Havre
b7b8dbabf5 Split Draft_SelectPlane and DraftSetWorkingPlaneProxy to a separate file 2019-09-02 17:23:57 -03:00
carlopav
6b693ebcb4 [Draft] Edit by default one object at once
Small optimization and set max number of edited objects to 1
2019-09-02 16:13:08 -03:00
carlopav
d7ece2d1d8 [Draft] Edit: Allow multi object editing
Modified to accept multiple object (max 5). The tool set EditTrackers for every selected object. Then edited object is identified using clicked EditTracker.
2019-09-02 16:13:08 -03:00
carlopav
cd3c649146 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
46e5a4c1f2 [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
8ad88c75f2 [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
5aeadc5175 [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
54e327ba9b [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
bfae0408ac 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
a8c56deca8 FEM: gmsh tools, fix writing groups and reactivate unit test for solve frame work 2019-09-02 19:50:41 +02:00
Bernd Hahnebach
df473d3b70 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
540a1be664 FEM: gmsh tools, rename dirs 2019-09-02 19:11:28 +02:00
Bernd Hahnebach
db0d2d082b FEM: gmsh tools, move start logs in separate class method 2019-09-02 19:11:20 +02:00
Bernd Hahnebach
082ddc8361 FEM: gmsh tools, make temp mesh files for gmsh unique 2019-09-02 17:59:24 +02:00
Bernd Hahnebach
8c047aed28 FEM: gmsh tools, improve comments 2019-09-02 17:59:11 +02:00
Bernd Hahnebach
235dc0fda1 FEM: solver frame work, better prefix for temp directory 2019-09-02 17:59:03 +02:00
wmayer
c7affbdf23 fix -Wunused-variable 2019-09-02 15:55:58 +02:00
Bernd Hahnebach
03fac44157 FEM: commands and manager, typo in property value 2019-09-02 13:06:56 +02:00
Bernd Hahnebach
e42b73e853 FEM: gmsh tools, move system import into dev 2019-09-02 13:05:08 +02:00
Bernd Hahnebach
fef48f30b2 FEM: gmsh tools, use join from os as a more robust path builder 2019-09-02 13:05:03 +02:00
Bernd Hahnebach
31359faa40 FEM: gmsh tools, resort imports 2019-09-02 13:04:58 +02:00
Bernd Hahnebach
b2e7e67bab FEM: gmsh tools, typos 2019-09-02 09:03:37 +02:00
Bernd Hahnebach
1780c82d2d Arch: IFC export, small code formating 2019-09-02 07:38:37 +02:00
Bernd Hahnebach
ecaf9000f6 Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
345c6dcc99 FEM: gmsh tools, fix regression and explizit use double quotes in geo file 2019-09-01 22:29:21 +02:00
wmayer
ae745e1c49 fix bug in Path module: str has no attribute UserString 2019-09-01 22:14:53 +02:00
Yorik van Havre
6666a33433 Draft: Added shortcut to toggle near snap during drawing 2019-09-01 13:00:57 -03:00
wmayer
05649e3848 include missing header 2019-09-01 17:25:42 +02:00
luz.paz
24aeb56183 AddonManager: Add BCFPlugin Workbench logo to dialog 2019-08-30 15:57:12 +02:00
KeithSloan
459edb13db Fix OpenSCAD Frustrum 2019-08-30 15:55:15 +02:00
Zheng, Lei
0ad1d0b9e6 Sketcher: fix missing update on expression change 2019-08-30 15:52:31 +02:00
Zheng, Lei
405ec26e3a Part: fix missing signal disconnect in TaskFaceColors 2019-08-30 15:47:17 +02:00
Zheng, Lei
432c9ae15b Gui/PartDesign: fix setActiveObject() for Part and Body 2019-08-30 15:02:48 +02:00
Zheng, Lei
7128cf7989 Sketcher: fix lost of constraint in undo/redo 2019-08-30 14:57:41 +02:00
Zheng, Lei
eb24c84468 Draft/Arch: maintain Python 2 compatibility
In order to pass test under Python 2
2019-08-30 14:56:18 +02:00
Zheng, Lei
b78761cf3c 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
59cd0c3802 Show: remove debug print 2019-08-30 14:54:20 +02:00
Zheng, Lei
e196d33549 Part: fix TaskAttacher external editing 2019-08-30 14:53:50 +02:00
Zheng, Lei
d00dd4724b PartDesign: fix datum edit through external link 2019-08-30 14:53:03 +02:00
Zheng, Lei
28a0cc1019 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
f362229041 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
de9732db1e Draft: disable implicit property linking in LinkArray 2019-08-30 13:35:25 +02:00
Zheng, Lei
99d4e2981c Show: fix body visible feature restore function 2019-08-30 13:35:07 +02:00
Zheng, Lei
5b8d2183fb PartDesign: add 'VisibleFeature' attribute to BodyPy 2019-08-30 13:34:41 +02:00
Zheng, Lei
42b4e4c0a9 PartDesign: do not touch body on child change 2019-08-30 13:31:19 +02:00
wandererfan
b24eea7beb [TD]Allow forced redraw of Page 2019-08-29 21:03:39 -04:00