Commit Graph

11081 Commits

Author SHA1 Message Date
Daniel Furtlehner
71528b8660 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
0a61c78543 Arch: cache svg calculations in section planes/techdraw views for better performance 2018-08-28 21:03:25 -03:00
wmayer
844165c062 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
Yorik van Havre
426a357a9e Arch: Added placement controls to section plane's task panel 2018-08-28 11:18:35 -03:00
wmayer
1d11f742ca now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
Yorik van Havre
b4a4154556 Arch: Section plane is now created at center of selected objects 2018-08-27 22:09:03 -03:00
Yorik van Havre
3c772fbf2c Draft: Fixed DXF support for new Draft texts 2018-08-27 12:11:38 -03:00
Abdullah Tahiri
2a3c0031a4 Sketcher: UI option to enable/disable the automatic redundant removal mechanism 2018-08-26 20:54:02 +02:00
Abdullah Tahiri
779b4f641d 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
716d53b86e Sketcher: Move autoremoveredundants method from SketchAnalyser to SketchObject 2018-08-26 20:54:01 +02:00
Abdullah Tahiri
c1d6ccb0d8 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
5a81cdca09 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
c67b984771 FEM: femtools/femutils.py typos and whitespace fixes 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
b8bdcfb830 FEM: vtk post, support multiple pipeline objects for filters 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
874968e08a FEM: cpp commands sort constraints, temperature 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
006ad25fb4 FEM: cpp commands sort constraints, pulley 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
3d5f833e21 FEM: cpp commands sort constraints, pressure 2018-08-26 20:47:41 +02:00
Bernd Hahnebach
ea8bc5eabb FEM: cpp commands sort constraints, plane rotation 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
8f801d57f3 FEM: cpp commands sort constraints, initial temperature 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
59bbc5b3c8 FEM: cpp commands sort constraints, heat flux 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
5ccdd24484 FEM: cpp commands sort constraints, move gear 2018-08-26 20:47:40 +02:00
Bernd Hahnebach
c500191237 FEM: cpp commands sort constraints, move force 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
021017ccdc FEM: cpp commands sort constraints, move fluid boundary 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
fd8aa01bf8 FEM: cpp commands sort constraints, move displacement 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
b5698a1add FEM: cpp commands sort constraints, move contact 2018-08-26 20:47:39 +02:00
Bernd Hahnebach
d8547f5715 FEM: cpp commands, use for command creation same order as for command definition 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
c5af8fadb4 FEM: cpp commands, add some comments 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
40873aaa08 FEM: cpp commands, comment analysis and solver command as they are created in Python 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
d005907d0c FEM: cpp commands, code formating 2018-08-26 20:47:38 +02:00
Bernd Hahnebach
cd8b9b0aaf FEM: vtk post, change order of commands and icons 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
4980bf6039 FEM: vtk post, small improvement in scalar clip gui 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
8b65b3d165 FEM: objects module, rename result objects to post processing ones 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
14f314ec8f FEM: objects module, delete recompute comments, the user needs to take care of recomputes if he adds objects by Python 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
063a3e56ab FEM: vtk post, typo in Tranparency property 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
9e607c4c39 FEM: vtk post, sync tranparency on reopen of pipeline task panel 2018-08-26 20:47:36 +02:00
wmayer
e02f5fae7c handle case if a B-spline is straight and thus maximum curvature is zero 2018-08-26 19:17:16 +02:00
luz.paz
f6de3eac88 Whitespace formatting 2018-08-26 17:30:44 +02:00
luz.paz
53e122a75a Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +02:00
wmayer
498040e9ee Part sweep now accepts compounds of edges that build a wire 2018-08-26 17:02:01 +02:00
wmayer
908e680a3e Part loft now accepts compounds of edges that build a wire 2018-08-26 16:49:48 +02:00
wmayer
501c5e0171 issue #0003177: Part Design Pad should allow besides 'Up to face' something like 'Up to plane' as well 2018-08-26 13:22:35 +02:00
Yorik van Havre
e6ded3176d Start: break too long thumb caption texts 2018-08-25 19:58:49 -03:00
wmayer
fc0f10c0de avoid that Datum plane is always touched when automatically resizing it from within its own view provider 2018-08-25 11:09:15 +02:00
Yorik van Havre
fa37600825 Arch: python3 fix 2018-08-25 00:11:43 -03:00
Yorik van Havre
9b2082581c Start: additional py3 fixes 2018-08-24 23:10:31 -03:00
Yorik van Havre
98a04703b8 Arch: Use the smallest face as profile when discovering extrusions in IFC objects - thanks @geometrygym 2018-08-24 23:10:10 -03:00
Yorik van Havre
144f753703 Arch: Using transparent style during walls and structs draw 2018-08-24 15:23:00 -03:00
Yorik van Havre
12df04e4b8 Draft: Fixed leftover scene callbacks in snapping 2018-08-24 15:16:35 -03:00
Yorik van Havre
dd19005c95 Start: misc improvements
- Hide recent files section if recent files prefs is set to 0
- Better filetype management
- Better tooltip on file thumbnails
- Added notes section (enable in preferences)
2018-08-23 16:00:18 -03:00
wmayer
448408c28a Improve usability of expression dialog:
+ add signal showFormulaDialog to QuantitySpinBox in order to indicate whether the formula dialog opens or closes
+ when formula dialog opens then hide the button box in the parent dialog, show it again when the formula dialog closes
2018-08-23 12:22:57 +02:00