Commit Graph

5626 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
8990d1dc52 Merge pull request #49 from pgilfernandez/pablogil-maya
New Maya navigation style
2015-09-23 20:05:05 -03:00
Yorik van Havre
b22e3b00f2 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Eivind Kvedalen
417fdcf565 Expression parser: Fixed parsing of numbers like 2e3 (with e/E, but without decimal part). 2015-09-23 20:05:01 +02:00
Eivind Kvedalen
12e79ba65c QuantitySpinBox: Fixed placement of expression editor pop-up. 2015-09-23 18:48:22 +02:00
Priit Laes
8da76b5c4e build: Remove unused SoQt cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes
1f6f6d1c61 build: Remove unneeded f2c cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes
bb752d74f3 build: Remove unneeded ODE configuration files 2015-09-23 12:25:42 +02:00
Przemo Firszt
67dcc8f7be Travis: run FreeCAD and check log against .log_errors
All phrases that should trigger test build failure should be
added to .log_errors, one per line.

Tested-by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-23 10:06:19 +02: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
wmayer
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
wmayer
c4c34d2998 Fix warnings: -Wuninitialized in expression engine 2015-09-22 10:12:17 +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
131dee9db7 + get Label directly 2015-09-21 14:51:13 +02: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
bb78126184 Added QStyledItemDelegate to Qt4All.h 2015-09-21 14:51:09 +02:00
Eivind Kvedalen
8e112bd2db PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
Eivind Kvedalen
8e5619f7a0 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
Eivind Kvedalen
ea9fe65c14 Added ExpressionCompleter class. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
e21c2eff62 Updated Document::exportGraphviz() to visualize expression dependencies. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
402705f7c2 Modified Document::recompute() to take expressions into account. 2015-09-21 14:51:06 +02:00
Eivind Kvedalen
e17ece22c1 Added PropertyExpressionEngine to DocumentObject class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
bcbec533db Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
bef2e0cea0 DocumentObject: Added getOldLabel() method, preparation for renaming of object identifiers. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
9f452674fd Part: Added getPaths(...) method to PropertyPartShape. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
a45a663655 Added setValue/getValue/canonicalPath/getPaths/verifyPath methods to various Property classes. 2015-09-21 14:51:03 +02:00
Eivind Kvedalen
ae388d26ea Added Expression classes to App directory. Added Expression interface to Property base class. 2015-09-21 14:51:02 +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
ffa304e4f9 Base: Added toStdString and fromStdString, to convert std::string to/from QString,
assuming std::string is utf-8 encoded.
2015-09-21 14:51:00 +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
7b11426bff Added Base::freecad_dynamic_cast(...) 2015-09-21 14:50:59 +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