Commit Graph

4014 Commits

Author SHA1 Message Date
wmayer
92b330bbcb + support of unicode names for sketch constraints 2015-09-24 03:17:47 +02:00
Bernd Hahnebach
35327386e7 FEM: icons for FemShellThickness and FemBeamSection 2015-09-23 20:11:11 -03:00
Bernd Hahnebach
63ec2c1c93 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -03:00
Yorik van Havre
b22e3b00f2 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Przemo Firszt
8c8118dba1 FEM: Fix file names in MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
7115f7b480 FEM: FemTools - add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
b65454ef1c FEM: Update inp_file_name after base_name or working_directory change
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
e08bafd43b FEM: Fix icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
e13bcdd161 FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
41abe3bf36 FEM: Fix file paths + tidy up naming
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
wmayer
bfa6ec632d + backward compatibility of Linear and Polar pattern 2015-09-22 18:04:07 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Yorik van Havre
b3b36eda3d Materias: Fixed small bug in material editor 2015-09-21 19:49:04 -03:00
wmayer
fc2aa82cc3 + fix build failure 2015-09-21 23:42:18 +02:00
Przemo Firszt
6f1f34ff80 FEM: FemTest rework
- move test files to a separate directory
- use real life model to generate .inp files (model included)
- change format of csv node/volume files to allow direct copy&paste from .inp files
- use pre prepared real-life .dat & .frd files to test analysis results loading functions
- much more fine grained error reporting
- remove empty lines for output
- add helper function to print to console

Example run of the FEM test:

--------------- Start of FEM tests ---------------
Checking FEM new analysis...
Checking FEM new mesh...
sh: SMDS_MemoryLimit: command not found
Checking FEM new material...
Checking FEM new fixed constraint...
Checking FEM new force constraint...
Checking FEM new pressure constraint...
Checking FEM inp file prerequisites...
Checking FEM inp file write...
Setting up working directory /tmp/FEM_static
Writing /tmp/FEM_static/Mesh.inp for static analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_static.inp to /tmp/FEM_static/Mesh.inp
Setting up working directory to /home/przemo/software/FreeCAD/build/Mod/Fem/test_files in order to read simulated calculations
Setting base name to read test cube_static.frd file...
Checking FEM frd file read from static analysis...
Result object created as "Results"
Reading stats from result object for static analysis...
Setting analysis type to 'frequency"
Setting up working directory /tmp/FEM_frequency
Writing /tmp/FEM_frequency/Mesh.inp for frequency analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_frequency.inp to /tmp/FEM_frequency/Mesh.inp
Setting working directory to read simulated calculations...
Setting base name to read test cube_frequency.frd file...
Checking FEM frd file read from frequency analysis...
Last result object created as "Mode_10_results"
Reading stats from result object for frequency analysis...
--------------- End of FEM tests ---------------

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-21 11:16:03 -03:00
wmayer
e0bdf24c95 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
e6d54c6df9 Spreadsheet: Added round, trunc, ceil, and floor functions. 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
95088a0061 Spreadsheet: Added auto completer. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen
e39578c742 Spreadsheet: Replaced own Expression classed by the ones in App. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen
cacf7bdaf1 Sketcher: Added support for expressions. 2015-09-21 14:51:10 +02:00
Eivind Kvedalen
8e112bd2db PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
Eivind Kvedalen
9f452674fd Part: Added getPaths(...) method to PropertyPartShape. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
91942cc30f Spreadsheet: Updated documentation. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen
6d0df4c58b Spreadsheet: Use Base::fromStdString/toStdString. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
b65af55fc1 Spreadsheet: Fixed bug with dangling pointer when a document object is deleted. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
e34884b1a8 Spreadsheet: Removed 'using namespace App'; preparation for moving Expression
classes to App.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
b99cd32be5 Spreadsheet: Made freecad_dynamic_cast calls unambiguous (preparation for next commit). 2015-09-21 14:50:58 +02:00
Eivind Kvedalen
0f416ee68f Added -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment to mask warnings when compiling salomesmesh. 2015-09-21 14:50:58 +02:00
Yorik van Havre
403ba5a8ab Arch: fixed bug in material dialog 2015-09-20 21:17:12 -03:00
wmayer
eb05da7cd7 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
ed2eeffd67 + fixes #0002268: Segmentation Fault when using sketcher 2015-09-17 13:31:10 +02:00
wmayer
22b7fb660c + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer
dffaebd346 + check returned mdi view to be of the requested type 2015-09-16 16:15:19 +02:00
wmayer
4accb68bb1 + fix method ViewProviderDocumentObject::getActiveView()
+ fix SoAutoZoomTranslation and SoZoomTranslation to get correct scaling factor
(do not rely on active view because this can be the wrong one and thus delivers wrong results)
2015-09-16 11:32:35 +02:00
wmayer
a2d8a5b0aa + add convenience method to get editing view of a view provider 2015-09-15 22:09:28 +02:00
wmayer
200362779f + fix crash due to sloppy reference counting 2015-09-15 18:19:36 +02:00
wmayer
d9aa9e4bf1 + fixes #0000870: Center sketch to a constraint that has been double clicked in the constraint list. 2015-09-15 17:24:23 +02:00
Bernd Hahnebach
255bba18db FEM: CalculiX writer comments regarding load calculation algorithm 2015-09-15 15:30:15 +02:00
Bernd Hahnebach
2260fdf68e FEM: ccxInpWriter formating according flake8 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
4265871fc0 FEM: update FemAnalysis class description 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
36a4721875 FEM: use more obvious method names in ccxInpWriter 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
9e695519b1 FEM: make MechanicalMaterial less noisy 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
a4c07b51f6 FEM: fix typo in class type definition in MechanicalMaterial 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
fdccdec430 FEM: delete Debug prints in ccxInpWriter 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
5a6ae10fe4 FEM: add to ccxInpWriter: CLOAD for shell meshes and solid meshes without face data 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
8c363f270f FEM: TestFem, use no space in materialname 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
6b3cc51889 FEM: add FEM Mesh Type to the CalculiX elementset up to date only solid is supported 2015-09-15 15:13:27 +02:00
Bernd Hahnebach
11dd902174 FEM: CalculiX file writer move getTriangleArea to helpers 2015-09-15 15:13:27 +02:00
wmayer
69e0b6a94f + fixes #0002117: problems with rendering an arc - NAN 2015-09-15 12:53:22 +02:00