Commit Graph

14508 Commits

Author SHA1 Message Date
markus
f094ae4135 Fixed logging for unit tests. 2018-09-01 21:01:04 +02:00
markus
8054540afe Added button to stock dialog to recreate the stock object. 2018-09-01 21:01:03 +02:00
markus
5b39974bfb Only track stock from base's extent at creation time. 2018-09-01 21:01:03 +02:00
Bernd Waibel
a8be139cbc Improve search for coin3d tag file
Currently cmake looks for coin.tag and coin.tag.gz when searching a
tag file of the Coin3D documentation. On some coin3d installations,
the tag file is named Coin.tag or Coin.tag.gz. This patch improves
the search by adding additional hints to the find_file() test for
the tag file.
2018-09-01 20:58:40 +02:00
wmayer
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
8c08635d30 get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module 2018-09-01 16:26:18 +02:00
Bernd Waibel
1eeb19748b Fix typo in search for OpenGL. 2018-08-31 23:27:10 +02:00
wmayer
fb1a0be846 exit application when running unit tests raised a system exception 2018-08-31 22:21:15 +02:00
Yorik van Havre
022653331f Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre
5f025587a0 Draft: Fixed bug in WorkingPlaneProxy color 2018-08-30 17:11:40 -03:00
Kurt Kremitzki
e381e6b739 Remove unused Debian packaging files
These files are not used in Debian or the PPA; they use conventions from
many years ago and in general are cruft. The canonical location for this
information is now https://salsa.debian.org/science-team/freecad. This
fixes #2984.
2018-08-30 03:31:52 -05:00
Yorik van Havre
682650b0b2 Draft: Fixed adding points in Wires 2018-08-29 21:49:56 -03:00
wmayer
3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
Keith Sloan
c717d1121d improve csg import 2018-08-29 21:45:41 +02:00
wmayer
96771a07b0 use a widget's current font as default in the list of available families 2018-08-29 19:33:02 +02:00
Bernd Hahnebach
28b7e01123 YEAH 1000 commits for great FreeCAD project :-) ahh the commit ... FEM: netgen mesh obj, typo in attribute description 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
d436630f5b FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
ff716f3d45 FEM: mesh netgen and gmsh, use the same group and description for mesh geometry object 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
26a255b384 FEM: common test module, some comments 2018-08-29 11:02:43 -03:00
Daniel Furtlehner
998b72324d AddonManager: Fixes download of metadata.txt with Py3
urllib2 in Py3 gives us a bytearray instead of a string. We have to decode it first to get the metadata.txt. When decoding fails we assume that we are in Py2 and process as before.
2018-08-29 11:00:42 -03:00
Yorik van Havre
b469c237b5 Arch: cache svg calculations in section planes/techdraw views for better performance 2018-08-28 21:03:25 -03:00
wmayer
404b42d0a6 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
Yorik van Havre
559a5e6e58 Arch: Added placement controls to section plane's task panel 2018-08-28 11:18:35 -03:00
wmayer
16e709a682 do not explicitly use extesnion modules in SelectionView::getModule 2018-08-28 14:11:31 +02:00
wmayer
67b5ee0931 now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
Yorik van Havre
8708da2627 Arch: Section plane is now created at center of selected objects 2018-08-27 22:09:03 -03:00
Yorik van Havre
6f06345634 Draft: Fixed DXF support for new Draft texts 2018-08-27 12:11:38 -03:00
wmayer
904aef5551 use abstract interface to access geometry in transform dialog 2018-08-27 16:19:56 +02:00
Abdullah Tahiri
2a6655e176 Sketcher: UI option to enable/disable the automatic redundant removal mechanism 2018-08-26 20:54:02 +02:00
Abdullah Tahiri
8505b0eff4 Sketcher: Automatic redundant removal mechanism
===============================================

It is a long felt need that redundant constraints are not generated while autoconstraining.

The solver sketcher in v0.17 is überpicky with redundants due to the new popularity contest algorithm. The former behaviour is exhacerbated.

This new mode enables automatic redundant constraint removal.

In UI operations IN EDIT MODE, upon detection of redundancy by the solver, the Sketcher will remove all redundant constraints detected by that solve.

This makes the sketcher much less annoying.

How to test this?

The easiest example is to create a vertical line. Then make the endpoints symmetric with respect to the horizontal axis. Without this mode,
the vertical constraint and the symmetry constraint are redundant. With this mode, the vertical constraint gets automatically removed by the Sketcher.
2018-08-26 20:54:01 +02:00
Abdullah Tahiri
dc1bb7eb87 Sketcher: Move autoremoveredundants method from SketchAnalyser to SketchObject 2018-08-26 20:54:01 +02:00
Abdullah Tahiri
96f6c46949 GCS: Bug fixes
==============

- Zero initialization of the jacobian matrix
- Correct notification of redundant/conflicting in presence of non-driving constraints.

fixes #3529
2018-08-26 20:54:01 +02:00
Markus Hovorka
31750a7503 FEM: elmer, fix SIF variable output bug
The property "FluxVariable" of the FluxEquation document type was
exported wrongly by sifio. This was because sifio didn't recognise
unicode as a string and exported is as an array of chars.
2018-08-26 20:47:42 +02:00
luz.paz
31193039e2 FEM: femtools/femutils.py typos and whitespace fixes 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
f8939d689f FEM: vtk post, support multiple pipeline objects for filters 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
d060cacfa2 FEM: cpp commands sort constraints, temperature 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
144e548456 FEM: cpp commands sort constraints, pulley 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
283f9dbe7a FEM: cpp commands sort constraints, pressure 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
ffbeac03f9 FEM: cpp commands sort constraints, plane rotation 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
c8ec1a756a FEM: cpp commands sort constraints, initial temperature 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
38f8682633 FEM: cpp commands sort constraints, heat flux 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
79442a1f2a FEM: cpp commands sort constraints, move gear 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
164ee520a9 FEM: cpp commands sort constraints, move force 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
ab522431db FEM: cpp commands sort constraints, move fluid boundary 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
33f749c96e FEM: cpp commands sort constraints, move displacement 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
c97ed2db34 FEM: cpp commands sort constraints, move contact 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
ba6976fd67 FEM: cpp commands, use for command creation same order as for command definition 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
6923a52213 FEM: cpp commands, add some comments 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
e214769070 FEM: cpp commands, comment analysis and solver command as they are created in Python 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
8c30258db4 FEM: cpp commands, code formating 2018-08-26 20:47:38 +02:00