wmayer
e4d1ed8366
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
08b77bff08
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
marioalexis
705d6f139e
Fem: Call PyMem_Free() to free allocated buffer
2022-02-09 16:05:14 +01:00
Bernd Hahnebach
09b7bede23
FEM: cpp python mesh api, fix crash if not existing group was given in get name method
2021-06-24 17:25:54 +02:00
luz paz
1212bef4cd
[FEM] remove Py2 code
2021-04-25 11:25:29 +02:00
wmayer
38819925a5
Fem: Python header must be included before vtk headers to avoid re-definition of macro _LARGEFILE_SOURCE
2020-10-18 14:45:31 +02:00
joha2
bdfd0b10a7
FEM: add methods to to edit mesh groups:
...
- add addGroup, addGroupElements, removeGroup to C++ mesh class
- expose the methods to Python
- add a unit test class
- update test commands file
- add test to fem test app module
2020-05-23 14:56:15 +02:00
luz.paz
73b8ee91ee
FEM: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Zheng, Lei
8426ebe2ba
Fix various Py::Object leak
2019-10-08 17:53:20 +02:00
Abdullah Tahiri
8fa75b1d6f
PCH: Fem App
2019-05-16 21:43:07 +02:00
wmayer
4156a32ad7
add convenience functions to get element type to id and vice versa
2019-01-20 17:58:30 +01:00
wmayer
450c1bcff9
fix crash when accessing invalid group
2019-01-20 17:57:08 +01:00
looooo
5a915d5db6
add function to retrive femmesh edges by a TopoDS_Edge
2018-11-09 11:11:59 +01:00
looooo
0d8a6bfe7a
Fem: fenics: py3-fixes
2018-06-04 10:02:09 +02:00
luz.paz
1d8aaad976
FEM: typo fixes
2018-04-29 20:40:15 +02:00
wmayer
1633af4b94
Improve handling of external smesh
...
+ add SMESH_version.h.cmake to set full version number instead of using compiler define
+ do not set include path of smesh globally
+ do not set library path of smesh globally
+ do not set HAVE_NETGEN define globally
+ improve using debug and release libs of smesh for MSVC
2018-04-28 12:10:55 +02:00
looooo
c999ec1960
external smesh: use version info
...
for precompiler conditionals
2018-04-28 12:05:30 +02:00
looooo
c74af88e0b
port to smesh 8.3
...
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
Bernd Hahnebach
b142ce5bc7
FEM: Abaqus writer, add method parameter for elem and group options
2017-11-25 16:54:02 -02:00
Bernd Hahnebach
5d0a4e1ad9
FEM: mesh api, add EdgesOnly and FacesOnly
2017-11-25 16:54:02 -02:00
wmayer
0d617f97d6
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
fa4bebf2e0
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
f4b84e8963
FEM: source code typos, issue 0002914
2017-02-28 17:35:26 +01:00
looooo
1464152b56
py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int
2017-02-19 14:21:34 +01:00
wmayer
79ddef18f2
rearrange headers to avoid warning
2016-12-30 13:31:08 +01:00
wmayer
677ec6cd30
fix coverity issues
2016-10-08 17:43:30 +02:00
wmayer
c07da3fa7e
do not handle enum value SMDSAbs_NbElementTypes
2016-10-01 13:34:37 +02:00
Bernd Hahnebach
00b26c5921
FEM: python mesh API, add methods to retrieve group data
2016-10-01 13:20:38 +02:00
Bernd Hahnebach
a9120b32ec
FEM: add GroupID to python mesh API
2016-09-27 13:04:47 -03:00
wmayer
1b62721382
fix crash in FemMeshPy::addVolume
2016-08-19 16:56:05 +02:00
Bernd Hahnebach
80bd3c7cc3
FEM: mesh python api, add methods to add edges with id
2016-08-15 21:38:31 +02:00
Bernd Hahnebach
20a62a38fc
FEM: mesh python api, add method to add faces with id
2016-08-15 21:38:09 +02:00
Bernd Hahnebach
8cad28f4ea
FEM: mesh python api, delete some empty lines
2016-08-15 21:37:35 +02:00
Bernd Hahnebach
fd71773b72
FEM: mesh python api, better error message
2016-08-15 21:37:08 +02:00
qingfengxia
d243fea366
correct spelling StanardHypotheses to StandardHypotheses
2016-08-07 18:20:17 +01:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
Stefan Tröger
6efba7028d
FEM: Add faces by face workaround for force constraint
2016-06-15 22:34:10 +02:00
Bernd Hahnebach
3091fd5973
FEM: remove trailing whitespaces
2016-04-24 19:10:33 +02:00
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