Commit Graph

43 Commits

Author SHA1 Message Date
wmayer
b3322a4556 FEM: raise an exception if no valid object is selected 2023-02-10 21:10:25 +01:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
Uwe
fb5479e178 [FEM] update includes
- forgot to commit this in previous commit
2022-07-03 22:59:37 +02:00
wmayer
ee28112968 Fem: include Python.h before any vtk headers to fix compiler warnings 2022-03-24 20:05:27 +01:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d3595f267b [FEM] remove Python.h and Xerces 2022-03-21 01:22:59 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01: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
Abdullah Tahiri
8fa75b1d6f PCH: Fem App 2019-05-16 21:43:07 +02:00
wmayer
e63fa8161a fix re-throwing an exception 2018-11-15 17:20:55 +01: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
wmayer
846195327a harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
Bernd Hahnebach
9a27373321 FEM: code formating, white spaces 2017-02-17 22:07:56 +01:00
Bernd Hahnebach
90a9fd1a28 FEM: code formating, white spaces 2017-02-16 13:11:14 +01:00
qingfengxia
a9c97f1293 FEM: VTK post processing, changes:
- vtk result file reading
- some changes in vtk post processing pipe line
2017-02-16 07:54:16 +01:00
qingfengxia
d442a6dc0f Fem: add FemResult export to VTK files for visualization externally 2017-01-30 18:22:11 +01:00
qingfengxia
f4195976ce Fem: clean debug comments in FemVTKTools.cpp and AppFemPy.cpp 2016-10-29 15:12:18 +02:00
qingfengxia
4787fd823b Cfd: add vtk result import feature 2016-10-29 15:12:18 +02:00
qingfengxia
582350fcf7 Fem: add feature off vtk unstructured mesh import and export 2016-10-29 15:12:18 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
8bd18797c4 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
Bernd Hahnebach
e1c5c8fe38 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
Stefan Tröger
e8f1bd65bf FEM Post: fix vtk include wthout guard 2016-05-18 21:35:15 +02:00
Stefan Tröger
d52639cf8d FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00
Stefan Tröger
02095a49af FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +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
a6c53f304c + simplify porting of Fem module to Python3 2016-01-21 13:42:08 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +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
wmayer
ad877e1ae1 + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
jriegel
cc55ce4008 start node index interface 2013-09-12 21:58:11 +02:00
jriegel
9962af035b remove the Mesh dependency from Fem 2013-09-08 19:49:25 +02:00
jriegel
6a43acc5e6 Implement Isostatic Gui 2013-07-24 22:15:25 +02: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
e8f569fe6a Merge branch 'dvdjimmy/MachDist' 2012-08-20 21:56:42 +02:00
wmayer
84fc5ec87e 0000749: PI was not declared in this scope - compile error 2012-06-14 13:01:07 +02: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