Commit Graph

6081 Commits

Author SHA1 Message Date
wmayer
8257751ef7 + fix clang build failure 2015-09-24 13:14:23 +02:00
wmayer
29c8e82dae + fixes unicode support in expression engine 2015-09-24 13:10:54 +02:00
wmayer
12050b4c7d + use escaped unicode for mesh import 2015-09-24 10:10:22 +02:00
Eivind Kvedalen
89df605c3b Expression editor: Qt-workaround for '='-key; compare with text() instead. 2015-09-24 09:53:14 +02:00
Eivind Kvedalen
0894d5bdae ExpressionCompleter: Skip all types of links when building completer model. 2015-09-24 09:52:45 +02:00
wmayer
10786c65b8 + support of unicode names for sketch constraints 2015-09-24 03:17:47 +02:00
Bernd Hahnebach
8e8ecdd36f FEM: icons for FemShellThickness and FemBeamSection 2015-09-23 20:11:11 -03:00
Bernd Hahnebach
705c339f21 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -03:00
Yorik van Havre
de1bdefc7c Merge pull request #49 from pgilfernandez/pablogil-maya
New Maya navigation style
2015-09-23 20:05:05 -03:00
Yorik van Havre
2b172a9f41 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Eivind Kvedalen
7b39e233e3 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
28fe9b481d QuantitySpinBox: Fixed placement of expression editor pop-up. 2015-09-23 18:48:22 +02:00
Priit Laes
90ccc1cee4 build: Remove unused SoQt cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes
e891ec1ba2 build: Remove unneeded f2c cmake scripts 2015-09-23 12:25:43 +02:00
Priit Laes
e4cf5fab49 build: Remove unneeded ODE configuration files 2015-09-23 12:25:42 +02:00
Przemo Firszt
e544a66086 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
f85352d93d 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
d29f3fa276 FEM: FemTools - add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
8cd0939fff 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
cee4fc688f FEM: Fix icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
9ce1020d84 FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
ee7beea983 FEM: Fix file paths + tidy up naming
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
wmayer
60062892a6 + backward compatibility of Linear and Polar pattern 2015-09-22 18:04:07 +02:00
wmayer
b33be62bb6 + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
wmayer
a8507628fa Fix warnings: -Wuninitialized in expression engine 2015-09-22 10:12:17 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Yorik van Havre
0ce3d46e92 Materias: Fixed small bug in material editor 2015-09-21 19:49:04 -03:00
wmayer
037ec5be78 + fix build failure 2015-09-21 23:42:18 +02:00
Przemo Firszt
b25d2cd54d 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
14b15ac095 + get Label directly 2015-09-21 14:51:13 +02:00
wmayer
b936514937 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
4a3de89af0 Spreadsheet: Added round, trunc, ceil, and floor functions. 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
310a684251 Spreadsheet: Added auto completer. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen
4d5646fa5d Spreadsheet: Replaced own Expression classed by the ones in App. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen
67800ec8c4 Sketcher: Added support for expressions. 2015-09-21 14:51:10 +02:00
Eivind Kvedalen
cea2e62f57 Added QStyledItemDelegate to Qt4All.h 2015-09-21 14:51:09 +02:00
Eivind Kvedalen
ddfbe349cf PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
Eivind Kvedalen
897f8b78b8 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
Eivind Kvedalen
31a6fece52 Added ExpressionCompleter class. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
d7cbdf6a31 Updated Document::exportGraphviz() to visualize expression dependencies. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
a8328ec092 Modified Document::recompute() to take expressions into account. 2015-09-21 14:51:06 +02:00
Eivind Kvedalen
fb2b1a6ec0 Added PropertyExpressionEngine to DocumentObject class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
8259ec6764 Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
b052c21b16 DocumentObject: Added getOldLabel() method, preparation for renaming of object identifiers. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
3f0fc98d72 Part: Added getPaths(...) method to PropertyPartShape. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
ddc22a4101 Added setValue/getValue/canonicalPath/getPaths/verifyPath methods to various Property classes. 2015-09-21 14:51:03 +02:00
Eivind Kvedalen
722a40dd41 Added Expression classes to App directory. Added Expression interface to Property base class. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen
3474419925 Spreadsheet: Updated documentation. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen
4f589f6d60 Spreadsheet: Use Base::fromStdString/toStdString. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
bee11897a1 Spreadsheet: Fixed bug with dangling pointer when a document object is deleted. 2015-09-21 14:51:01 +02:00