Commit Graph

11900 Commits

Author SHA1 Message Date
Markus Lampert
ed482d7272 UI for operation's setup sheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
f58431d1ff Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert
6a48072357 Basic UI/editor for the SetupSheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
baac7569d7 Fixed stock creation with odd initial extent - tessellate to the rescue. 2018-09-02 00:32:21 -07:00
Markus Lampert
a58ef63544 Fixed heights and introduced OpStockZMin/Max. 2018-09-02 00:32:21 -07:00
Mark Ganson TheMarkster
09dc6d3021 Add eval() to distance line edit during scaling
This adds the ability to enter things like 6 * 25.4 into the distance line edit widget during scaling operations in the image workbench.  Can also enter something like math.pi * 3 or 2**3, etc.  Basically, any legal python input can be used.

Using eval() is not considered a secure way of doing things, but in this context the user would be entering malicious code into his own computer.  Also, what can the user do in eval() that he can't already do just by entering directly into the python console?
2018-09-01 18:16:48 -05:00
Michal Ulianko
2e2b8cba6a py3.7 fix
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
markus
828f6756c4 Hiding all/most properties that are supposed to be hidden on document restore again. 2018-09-01 21:01:04 +02:00
markus
e4ff363bb3 Fixed logging for unit tests. 2018-09-01 21:01:04 +02:00
markus
9dc6752415 Added button to stock dialog to recreate the stock object. 2018-09-01 21:01:03 +02:00
markus
d5e2c4c94d Only track stock from base's extent at creation time. 2018-09-01 21:01:03 +02:00
Yorik van Havre
7501055394 Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre
4caca90737 Draft: Fixed bug in WorkingPlaneProxy color 2018-08-30 17:11:40 -03:00
Yorik van Havre
e012edae73 Draft: Fixed adding points in Wires 2018-08-29 21:49:56 -03:00
Keith Sloan
e377166f6f improve csg import 2018-08-29 21:45:41 +02:00
Bernd Hahnebach
28b3ce6bca 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
4db7eaa7a8 FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
1aff8c43f9 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
4558f5dc28 FEM: common test module, some comments 2018-08-29 11:02:43 -03:00
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