Commit Graph

35 Commits

Author SHA1 Message Date
Bernd Hahnebach
11a1de07d1 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
wmayer
20ed4aa2e2 + fix typo in FEM 2015-12-09 13:19:13 +01:00
Bernd Hahnebach
329cf56adf FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
Bernd Hahnebach
accb05c502 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
2829d2bdb6 + implement missing types in FemMesh.addFace 2015-07-10 11:01:17 +02:00
wmayer
7eb2ab64cb + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
02a23ba86f + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
a538d3c29d + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
d3029657f0 + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
92124ac084 FEM: Add getccxVolumesByFace and write_face_load functions
getccxVolumesByFace returns std::map<int, int> with ID of volume
and a number of face as per CalculiX definition. The same function is
accessible for python and returns list with the same information, like
this: [[229, 3], [230, 3], [233, 2], [238, 2]]

write_face_load produces something like this in the .inp file:

***********************************************************
** element + CalculiX face + load in [MPa]
** written by write_face_load function
*DLOAD
** Load on face Face2
229,P3,10.0
230,P3,10.0
233,P2,10.0
238,P2,10.0

Optimised by wmayer

Signed-off-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:59 +02:00
Przemo Firszt
6879373168 FEM: getNodesByVertex should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:43 +02:00
Przemo Firszt
36567695d3 FEM: getNodesByEdge should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:26 +02:00
Przemo Firszt
982976bdc5 FEM: getNodesByFace should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:07 +02:00
wmayer
5f04c6e882 + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer
0ad627b06d + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach
d2888e6c28 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
696d4a5f4a + fix warnings with clang 2014-09-24 17:46:04 +02:00
Sebastian Hoogen
af50cbf964 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
jriegel
b87ea22edf Get node of face implementation 2014-02-09 17:55:34 +01:00
jriegel
4d6aa134e6 Read Calculix Result files (*.frd) mesh 2013-12-30 22:33:05 +01:00
jriegel
3fb1dee566 Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
wmayer
7a13cb8d09 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
jriegel
cc55ce4008 start node index interface 2013-09-12 21:58:11 +02:00
jriegel
6d04316fa1 change node attribute to a id:vector3d dictionary and changes the scripts 2013-08-29 22:15:14 +02:00
jriegel
dd24a14927 Fix bug in getNodes() and some clean up in ApplyingBC 2013-08-15 19:35:52 +02:00
jriegel
116c7483c2 switch MachDistIsostatic to python algorithem 2013-07-31 19:10:45 +02:00
jriegel
b140d220e4 some tuning in Alignment & copy constructor for FemMeshPy 2013-07-13 15:45:05 +02:00
jriegel
3e5e14257a remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00
jriegel
d71fd39987 Add Nodes interface to FemMesh (for usage e.g. calculating eigen transformation) 2013-07-10 23:16:21 +02:00
jriegel
6a04345851 implement Hex8 and change temporarily the line show 2013-02-17 21:32:53 +01:00
jriegel
b532d3de57 Implementing Visual for FEM mesh higher degrees
- Tet10
- Add interface to insert higher degree nodes
2013-02-17 15:38:27 +01:00
Joachim Zettler
cef271f0e2 Changes on Machining Distortion to account for Centos 5.6 compilation 2012-03-26 10:06:16 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00