Commit Graph

55 Commits

Author SHA1 Message Date
Bernd Hahnebach
f271e52b3d FEM: Abaqus writer, add method parameter for elem and group options 2017-11-25 16:54:02 -02:00
Bernd Hahnebach
1f11a3cc8e FEM: mesh api, add EdgesOnly and FacesOnly 2017-11-25 16:54:02 -02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
Kunda
90aeb372f5 FEM: source code typos, issue 0002914 2017-02-28 17:35:26 +01:00
looooo
5c0bcf611f py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int 2017-02-19 14:21:34 +01:00
wmayer
b2767f7197 rearrange headers to avoid warning 2016-12-30 13:31:08 +01:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
386e3d7024 do not handle enum value SMDSAbs_NbElementTypes 2016-10-01 13:34:37 +02:00
Bernd Hahnebach
efb87dc1c0 FEM: python mesh API, add methods to retrieve group data 2016-10-01 13:20:38 +02:00
Bernd Hahnebach
084e163137 FEM: add GroupID to python mesh API 2016-09-27 13:04:47 -03:00
wmayer
0d010d0418 fix crash in FemMeshPy::addVolume 2016-08-19 16:56:05 +02:00
Bernd Hahnebach
55873e71bf FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach
a39f57c7cc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach
421b3f5abb FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach
5f94c14b36 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
qingfengxia
be86b992c2 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
Stefan Tröger
aae79ee558 FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
wmayer
118d2eb531 + fix typo in FEM 2015-12-09 13:19:13 +01:00
Bernd Hahnebach
2f5706262d FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
Bernd Hahnebach
0c55f927f5 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
b3970f63ba + implement missing types in FemMesh.addFace 2015-07-10 11:01:17 +02:00
wmayer
96e77ab5bf + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
45604b3874 + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
814c144ecb + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
9e89f2ff9a + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
48efcc449b 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
be43c7f5c0 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
3395d4ea02 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
0e670396fa 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
ff774748cd + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer
f84a150bfd + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach
a15ea4ca18 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
Sebastian Hoogen
5e51a6cdf7 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
1341c43e5f Get node of face implementation 2014-02-09 17:55:34 +01:00
jriegel
c1a3b1434a Read Calculix Result files (*.frd) mesh 2013-12-30 22:33:05 +01:00
jriegel
132b75e5ab Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
wmayer
9af4f7ee73 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
jriegel
866668ace0 start node index interface 2013-09-12 21:58:11 +02:00
jriegel
97b32d6eb9 change node attribute to a id:vector3d dictionary and changes the scripts 2013-08-29 22:15:14 +02:00
jriegel
58ba9d4498 Fix bug in getNodes() and some clean up in ApplyingBC 2013-08-15 19:35:52 +02:00
jriegel
b8cac92e83 switch MachDistIsostatic to python algorithem 2013-07-31 19:10:45 +02:00
jriegel
211764b5da some tuning in Alignment & copy constructor for FemMeshPy 2013-07-13 15:45:05 +02:00
jriegel
cd19d8155c remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00