Commit Graph

14210 Commits

Author SHA1 Message Date
Bernd Hahnebach
3bc85bcc6c FEM: unit test, fix due to example renaming 2019-10-09 03:17:37 +02:00
Bernd Hahnebach
c3df99e984 FEM: examples, move dev in manager 2019-10-08 22:46:13 +02:00
Bernd Hahnebach
d780f7a356 'FEM: examples, better file names for meshes 2019-10-08 22:46:06 +02:00
Yorik van Havre
1b3c41bcaa Draft: Added property to hide lines in dimensions 2019-10-08 17:19:13 -03:00
Yorik van Havre
ead3f64b2b Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-10-08 17:16:46 -03:00
Bernd Hahnebach
326ea342d2 FEM: examples, manager, add recomputes 2019-10-08 21:56:55 +02:00
Bernd Hahnebach
e8bc344304 FEM: examples, delete not needed comment 2019-10-08 21:56:48 +02:00
Bernd Hahnebach
1ec2a9621b FEM: examples, better var name for solver type 2019-10-08 21:56:40 +02:00
Bernd Hahnebach
128358baaf FEM: examples, rename multi material example 2019-10-08 21:56:32 +02:00
Bernd Hahnebach
84c8652ee3 FEM: fem exapmles, add nonlinear material example to show peeq strain 2019-10-08 21:56:25 +02:00
Bernd Hahnebach
9763b52a2a FEM: frd reader, delete not needed import 2019-10-08 21:56:17 +02:00
Yorik van Havre
d96468734c Draft: Better fix of copy mode 2019-10-08 16:32:23 -03:00
Zheng, Lei
71c54272a0 Fix various Py::Object leak 2019-10-08 17:53:20 +02:00
Zheng, Lei
78999b471b Spreadsheet: fix test case
Because of change in RotationPy __pow__
2019-10-08 17:53:20 +02:00
Zheng, Lei
4c2647393d Part: add missing API ViewProviderPartExt::getElementColors()
This API is defined in Gui::ViewProvider to allow color override in
Link. In particular, the implementation in PartGui::ViewProviderPartExt
allows override for various part shapes.
2019-10-08 10:22:17 +02:00
Zheng, Lei
7c76d2f3c3 Part: fix TopoShape::getElementTypes()
This also fixes Std_BoxElementSelection in Gui/CommandView.cpp, which
relies on this API through Data::ComplexGeoData::getElementTypes().
2019-10-08 10:22:00 +02:00
Zheng, Lei
f57283f598 Link: change sub-element linking mechanism
Previous multi-sub-element linking (e.g. Face, Edge) is supported
through SubElements of type PropertyStringList, which does not support
geometry element update tracking. This patch changes it to use
PropertyXLink's new multi-subname capability.
2019-10-08 10:20:50 +02:00
Zheng, Lei
45fd865fc0 Gui: refactor bounding box selection style
Previously, box style selection is rendered using customized
SoBoxSelectionRenderAction, which does not support selection context,
i.e. it does not work with Link.

This patch implements context aware bound box rendering inside
SoFCSelectionRoot, SoFCSelection and SoFCPathAnnotation (for always on
top rendering). The box rendering in SoBoxSelectionRenderAction is
disabled on construction. Box style selection can be enabled for
individual object through property SelectionStyle (moved from
ViewProviderGeometryObject to ViewProviderDocumentObject), or globally
through Parameter BaseApp/Preferences/View/ShowSelectionBoundingBox.

In addition, the parameter BaseApp/Preferences/View/UseNewSelection is
used to override selection model reported from
ViewProvider::useNewSelectionModel(). The reason being that, the same
parameter is already used to toggle selection model inside
SoFCSelection. This avoids inconsistency of selection model choice
between view provider and the SoFCSelection node inside. Note that if
the parameter 'UseNewSelection' is set to false, those view providers
that choose old selection model will not work with Link.
2019-10-08 09:56:09 +02:00
vocx-fc
1987e97fe6 Draft: added missing file Draft_Dimension_Tree.svg 2019-10-08 08:54:40 +02:00
Tomas Pavlicek
7157a4ac4d TechDraw - Fix Annotation and Symbol international characters mangling 2019-10-07 16:56:09 -04:00
Bernd Hahnebach
91ae52577b Arch: IFC import, better debug message for skipped objs in non parametric import mode 2019-10-07 21:53:12 +02:00
Yorik van Havre
617e8b5f91 Draft: Fixed copying of windows 2019-10-07 15:46:16 -03:00
Yorik van Havre
59c15ebbc5 Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
M G Berberich
67562acbef Draft circular array
Adds a circular array case to the Draft Array.

Parameters are: radial and tangential distance, number of circles,
symmetry-axes, axis and center of rotation.

see https://forum.freecadweb.org/viewtopic.php?f=13&t=39726 (german)
2019-10-07 13:53:10 -03:00
M G Berberich
e482ceeee2 Circular Array
ciruclar array for Draft workbench
2019-10-07 13:53:10 -03:00
Syres916
db17426a1e [Draft] Wire To BSpline fix to show new object
Discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=39466
2019-10-07 13:45:25 -03:00
vocx-fc
24b07312c6 Draft: DraftTools, place the CubicBezCurve tool before the BezCurve, as the cubic curve is more used. 2019-10-07 13:45:01 -03:00
vocx-fc
0c18f5e256 Draft, makeBezCurve(), changed parameter Degree to degree, preferred lowercase 2019-10-07 13:44:25 -03:00
Zheng, Lei
41387fd991 App: fix dynamic property undo/redo
Instead of enforce property type match when undo/redo, modify various
property Paste() to make it type safe.
2019-10-07 17:24:31 +02:00
Zheng, Lei
bda372be83 Spreadsheet: add test case for operation on matrix/placement/rotation 2019-10-07 17:24:31 +02:00
Zheng, Lei
006f685db1 Spreadsheet: column/row select on right click 2019-10-07 17:24:30 +02:00
Zheng, Lei
976952db63 Spreadsheet: improve cyclic dependency exception handling 2019-10-07 17:24:30 +02:00
Zheng, Lei
7a74093432 Replace use of Matrix.inverse() with inverseGauss()
Because of possible scaling involved.
2019-10-07 17:24:30 +02:00
Francesco Fantoni
a53c571457 removed trailing whitespace 2019-10-07 11:26:16 -03:00
Francesco
e325f2e579 fixes issue aligning workplane to a face
this is a quick workaround for a problem introduced in the Draft select plane procedure while refactoring the code. not sure it is the best fix though.
2019-10-07 11:26:16 -03:00
Zheng, Lei
fcda0934c9 Draft: relax Part::Feature type checking for Link support
Replace isDerivedFrom('Part::Feature') with hasattr(obj,'Shape')
2019-10-07 10:48:42 -03:00
vocx-fc
2f06decce5 Arch: ArchCommands, change the color of the vertices of the subcomponent when using Arch Remove, just like the line color and shape color are changed. 2019-10-07 10:46:36 -03:00
vocx-fc
d30e32ec1e Draft: modify the permissions of the icons (755), so that they don't have the execute permission (644) 2019-10-07 14:18:52 +02:00
vocx-fc
6383de2ee6 Draft: new icon for Draft_Dimension in the tree view in SVG, instead of XPM 2019-10-07 14:17:17 +02:00
vocx-fc
aebb0edd66 Draft: re-order alphabetically the resources in Draft.qrc to be easier to spot missing files 2019-10-07 14:17:08 +02:00
Zheng, Lei
6663d625a9 Gui: add new API ViewProviderDocumentObject::allowOverride()
This API is used to delcare if a view provider can be used as an
override for a give object.

Conflicts:
	src/App/DocumentObject.h
2019-10-06 17:22:57 +02:00
vocx-fc
4775def51b Part: deactivate and remove the remaining XPM icons, and use SVG icons instead 2019-10-06 17:05:30 +02:00
vocx-fc
022442ca7f Part: rename the icons to start with Part_ 2019-10-06 17:05:30 +02:00
Tomas Pavlicek
c6d1684e2a TechDraw - Put BOM on beginning of exported SVG 2019-10-06 07:31:34 -04:00
Tomas Pavlicek
cf721089a9 TechDraw - SVG changes via DOM manipulation instead of Regex replace 2019-10-06 07:31:34 -04:00
luz.paz
c80ecc4a70 Source typo fix (includes file rename) 2019-10-05 13:19:32 -04:00
vocx-fc
8589f7ec6e Part: new icon for Part::Part2DObject, in SVG, instead of using a generic XPM 2019-10-05 17:24:57 +02:00
vocx-fc
e13eb0ba61 Part: re-order the resources in Part.qrc, and removed the PNGs 2019-10-05 17:24:57 +02:00
luz.paz
e7530218e1 FIx typos and grammar 2019-10-05 17:21:13 +02:00
Jean-Marie Verdun
0a7d8d1259 Remove curl verbose mode ... (remove data exchange between europe and us client/server, reduce latency issue) 2019-10-05 17:21:03 +02:00