Commit Graph

4320 Commits

Author SHA1 Message Date
Yorik van Havre
6c9650ebf5 Arch: Added more meshing options for Collada exporter - fixes #2341 2015-12-02 18:42:30 -02:00
Yorik van Havre
114d1622d2 Draft: small bugfix 2015-12-01 22:14:59 -02:00
wmayer
93a3dc0cdd + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer
f46371b6ac + reorder header to fix warnings with Win32 build 2015-11-30 20:38:19 +01:00
Yorik van Havre
6836e7317f Arch: Allow to draw walls by entering length, width and height on the GUI - fixes #2000 2015-11-30 15:40:52 -02:00
Yorik van Havre
56a47248b9 Draft: fixed buggy global copy mode 2015-11-30 15:39:43 -02:00
Bernd Hahnebach
1168bd4d27 FEM: fix node order of seg3 in ViewProwiderFemMesh 2015-11-30 11:21:51 -02:00
Bernd Hahnebach
f6803a9f8e FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Yorik van Havre
0682924c0c Draft: Fixed arrows at endpoints of wires - fixes #2066 2015-11-29 12:47:06 -02:00
Bernd Hahnebach
15ab3db87c FEM: fix not closing taskd of _CommandSolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
3ad3c89888 FEM: do not allow to add multiple soler with gui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
a6d7efa5d9 FEM: make selection of quick analysis consistent with solverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
dda0ddaa80 FEM: raise exception if multiple solver or mesh are in an analysis, they are not yet supported 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
6cfac737fb FEM: replace Calculix with CalculiX in strings 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
c68ffa6bb6 FEM: delete FemExample since there is no example inside 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
68fdc49898 FEM: delete not used import FemGui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
988c0af766 FEM: rename modul MechanicalAnalysis to FemAnalysis 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
78e775183c FEM: rename command MechanicalJobControl to SolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
d45fee9379 FEM: activate CommandMechanicalJobControl with_Solver selected 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
e00412b779 FEM: rename TaskPanelJobControl to TaskPanelFemSolverCalculix 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
2acb52295a FEM: include calculix solver objekt if new analysis is created 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
08e4e0a87b FEM: fix test frame work 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
784a7f0e70 FEM: add CalculiX solver object 2015-11-28 20:04:22 -02:00
Author qingfengxia
ac9400e493 FEM: new solver object implementation of the object 2015-11-28 20:04:22 -02:00
Author qingfengxia
8e0bd8e9e8 FEM: new solver object icon 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
55ba5b0745 FEM: fix some line endings 2015-11-28 20:04:22 -02:00
Yorik van Havre
de8c2cbb66 Arch: Added editmode to Section Planes - fixes #2098 2015-11-28 14:51:40 -02:00
wmayer
96611d0a71 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
Abdullah Tahiri
e28ca0847a Sketch: Solver: Extended Advanced Solver configuration
========================================================

This is an advanced setting just for allowing increased choices to power users that have problems with a given sketch and want to
test different flavours of DogLeg algorithm.

This commit does not change the default behaviour of FreeCAD. It is only intended to give more options to power users.

The advanced solver configuration is extended to support three different Gauss-newton steps for DogLeg:

FullPivLU => h_gn = Jx.fullPivLu().solve(-fx);
LeastNormFullPivLU => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).fullPivLu().solve(-fx);
LeastNormLdlt => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).ldlt().solve(-fx);

This setting is applied only to DogLeg. It is applied to DogLeg as normal or redundant solver, if DogLeg is the selected solver.

Selecting a solver different from DogLeg for both normal and redundant disables the setting.

We have been told:
https://forum.kde.org/viewtopic.php?f=74&t=129439#p346104

that our default Gauss-Newton step in DogLeg may not be adequate in general (we generally deal with underconstraint systems
unless we have a fully constraint sketch, and even then it is many times overconstraint at least for redundant solving).

We have been told that maybe these LeastNorm options are more suitable for us (performance set aside). This enables you as power
user to test if it works fine with FreeCAD.
2015-11-28 13:08:31 +01:00
Abdullah Tahiri
e0e8edf769 Sketch: Solver Defaults: Sketch size multiplier OFF
===================================================

This commit sets the sketch size multiplier OFF by default (so the number of iterations DogLeg/BGFS/LM is not sketch size dependent).

In complicated sketches having a high number of parameters, with sketch multiplier on, the number of iterations is extremely high (100 parameters*100 iterations => 10000 iterations).

The idea of disabling this comes from tests performed by DeepSOIC and from my own experience using the Sketcher. In general
sketch multiplier makes FreeCAD unresposive (very high amount of iterations, not a real freeze) in big sketches so that users
end up killing the application. This is preventing the users from taking appropriate action, Developers from getting the information of the failure and
users angry.

The idea is that even for complicated sketchs N iterations (100 by default) should be enough to converge, if it is ever going to converge. Experience will tell us
if we have to increase this number in the range [100-300]. 100 iterations in complicated dossiers is in my experience generally under 30 seconds.

N.B.: This commit does not change the defaults stored in your computer, so if you have the sketcher multiplier on, the advanced solver dialog will still enforce this local setting. You
may disable it or click the "defaults" button to disable the sketcher multiplier.
2015-11-28 13:08:24 +01:00
Eivind Kvedalen
ef7c8977ca Spreadsheet: Removed setPosition() function. 2015-11-28 12:56:28 +01:00
Eivind Kvedalen
899956cd51 Spreadsheet: Issue #2301: Handle enter/return and tab keys the same as e.g OpenOffice and Excel. 2015-11-28 12:56:27 +01:00
Eivind Kvedalen
8345044530 Spreadsheet: Fixed typo. 2015-11-28 12:56:26 +01:00
Eivind Kvedalen
5d562c26bc Spreadsheet: Improve python code when the Delete key is pressed. 2015-11-28 12:56:25 +01:00
wmayer
c633ec4075 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
dca6841c33 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-25 21:02:17 +01:00
wmayer
8516092c6e + fix whitespaces 2015-11-25 21:02:00 +01:00
Abdullah Tahiri
40f4940068 Sketcher: Solver Debug functionality: Ability to export a subsystem
===================================================================

It allows to export the c++ code to create a subsystem with the same information as the one solved using LM/DL/BGFS.

In this commit the functionality is disabled (for production).

To enable the functionality uncomment this line in planegcs/Constraints.h:
//#define _GCS_EXTRACT_SOLVER_SUBSYSTEM_

When enabled, upon solving with LM/DL/BGFS, the c++ code to generate the subsystem is added to a subsystem.txt that is created in the FreeCAD
execution directory.

Note that the file is created in append mode, so it will append all normal/redundant solvings until the file is deleted.

The resulting code can be directly pasted into a project similar to:
https://github.com/abdullahtahiriyo/Eigen_LUPiv_Convergence

Such a project only has libeigen as external dependency.
2015-11-25 20:39:04 +01:00
Yorik van Havre
10afa3e56c Arch: small fix in Arch git dialog 2015-11-25 13:17:54 -02:00
Yorik van Havre
faf062dc5a Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00
wmayer
330fb12588 FEM: Rename Display Modes 2015-11-23 18:17:10 +01:00
Abdullah Tahiri
72fc07ae83 Sketcher: Advanced solver dialog bug fix LM-tau
================================================

Due to a typo the code was setting LM-tau to 1E-80 by default instead of the intended 1E-3.
2015-11-21 22:48:02 +01:00
Bernd Hahnebach
0b39f9a9e6 FEM: add nodes of quad8, hexa20, penta6, penta15, pyra5, pyra13 to ViewProvider nodes are displayed 2015-11-19 19:01:23 +01:00
Bernd Hahnebach
f91389d07d FEM: FemMesh VP throw exception instead of assert(0) 2015-11-19 19:01:07 +01:00
Bernd Hahnebach
329cf56adf FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
wmayer
6f8adef286 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer
027a560fbc + add Python binding to Plate surface 2015-11-19 15:27:35 +01:00
Przemo Firszt
f0689be4d7 FEM, Tests: Fix line end problem in compare_inp_files
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-19 10:26:24 +01:00
DeepSOIC
1de6e977df API: Update docu strings of methods of BSplineCurve
Mainly exposing argument types and meanings, but also updating a few
descriptions by copy-paste-editing documentation of corresponding
OpenCASCADE.
2015-11-19 02:53:48 +03:00
Przemo Firszt
d40cbdec01 FEM: Use exisitng mesh property as link to mesh in result objects
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:22:02 +00:00