Commit Graph

13849 Commits

Author SHA1 Message Date
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
Yorik van Havre
66a3cd2248 Draft: further fixes to svg generation code 2019-08-28 21:21:05 -03:00
Yorik van Havre
ed26fc5418 Draft: Fixed text color and faces with holes in SVG rendering 2019-08-28 20:09:25 -03:00
Yorik van Havre
bb51fb4d2e Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-08-28 19:04:20 -03:00
Bernd Hahnebach
f3865dc12d FEM: gmsh tools, use double string quotes instead of single 2019-08-28 22:18:11 +02:00
Yorik van Havre
3e323fee14 Draft/TechDraw: Allow TD Draft views to not override individual colors and line type of rendered objects 2019-08-28 16:50:06 -03:00
Bernd Hahnebach
db692680fd Arch: import IFC, make use of improved color import 2019-08-28 21:49:28 +02:00
Bernd Hahnebach
4c7bcb29b0 Arch, import IFC helper, improve color code 2019-08-28 21:49:19 +02:00
Bernd Hahnebach
3dc5f7286f Arch: import IFC helper, some comment and rename property rel method 2019-08-28 21:49:13 +02:00
Bernd Hahnebach
2f89dec7eb Arch: import IFC helper, small code formating 2019-08-28 21:49:08 +02:00
Bernd Hahnebach
03fc637bfc FEM: mesh tools, typo 2019-08-28 21:49:02 +02:00
Bernd Hahnebach
ff5c854c89 FEM: mesh tools, use double string quotes instead of single 2019-08-28 21:48:56 +02:00
Daniel Wood
09a1be0894 Update the adaptive form so the widgets align. 2019-08-28 20:17:57 +01:00
Daniel Wood
4e5b0bc5d8 Change the coolant label on the setupsheet
... to be consistent with the rest of the forms.
2019-08-28 20:00:37 +01:00
Daniel Wood
0484141a57 Add coolant to the linuxcnc_post 2019-08-28 19:40:09 +01:00
Daniel Wood
0002090aa1 Handle setting the coolant mode on the job ui 2019-08-28 19:40:09 +01:00
Daniel Wood
32509136ee Handle setting the coolant mode on the setupsheet 2019-08-28 19:40:09 +01:00
Daniel Wood
3f5836254b Add a coolant mode combobox to the op ui 2019-08-28 19:40:09 +01:00
Daniel Wood
2996b815ae Handle selecting the coolant mode in the forms 2019-08-28 19:40:08 +01:00
Daniel Wood
bdcccc08b1 Add coolant feature to Ops 2019-08-28 19:40:08 +01:00
Daniel Wood
8b0e244ed4 Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
wandererfan
f4bb395387 [TD]Prevent crash in SelectionSingleton
- in SelectionSingleton::setVisible, if the selection changes during
  loop, a crash may occur.
- in QGraphicsScene, hiding an item changes its selected status.
2019-08-28 12:20:42 -04:00
wmayer
9d95936891 Fix warnings:
fix -Winconsistent-missing-override
fix -Wself-assign
2019-08-28 16:25:39 +02:00
wandererfan
f5b7f3bde8 [TD]Fix Travis compile errors (includes, qt4/qt5) 2019-08-28 08:38:27 -04:00
wandererfan
13676bfe57 [TD]Make TD View from ActiveView 2019-08-28 08:38:27 -04:00
wmayer
2af8a329c8 when creating mesh from shape do not set a fix crease angle but instead user preferences should be used 2019-08-28 11:43:52 +02:00
Yorik van Havre
60a54207ac Draft: Support for layer colors and linestyles in DXF import/export (legacy) 2019-08-27 22:59:35 -03:00
Yorik van Havre
5b2e74c3bd Draft: misc small fixes 2019-08-27 21:29:20 -03:00
mwganson
7fef64241d [Part workbench] add command create points object from mesh 2019-08-27 23:40:24 +02:00
Mark Ganson TheMarkster
5a3fb20cab Update Part.qrc 2019-08-27 23:40:15 +02:00
mwganson
ea7812656a [Part workbench] add Create points object from mesh command 2019-08-27 23:40:06 +02:00
sdh4
57ef3dfdf4 Part.BSplineSurface.buildFromPolesMultsKnots(): Fix 'Truth value of an array ... use a.any() or a.all()' when explicit knots or weights provided
Calls to BSplineSurface.buildFromPolesMultsKnots() with explicit knots or weights fail in recent versions of FreeCAD (tested on 0.18.3 with python3) with the message 'The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()'. 

This trivial change follows the pattern used later in the function of explicit comparisons with Py_None, replacing PyObject_Not() and PyObject_IsTrue()  when they are used to determine whether explicit weights or knots have been provided.
2019-08-27 21:48:52 +02:00
Bernd Hahnebach
efba264ff5 Arch: import IFC, helper, improve getting the color table 2019-08-27 13:44:39 +02:00
Tomas Pavlicek
ffcac528d5 TechDraw: Middle button panning 2019-08-27 07:33:30 -04:00
Daniel Wood
a6a7e045ab Remove unused function definition 2019-08-27 07:15:23 +01:00
Bernd Hahnebach
7927c7f3c0 Arch: import IFC, remove not needed return value of colors method 2019-08-27 08:04:02 +02:00