Commit Graph

52 Commits

Author SHA1 Message Date
wmayer
5242f47473 Port to occ7.2:
+ replace use of StlMesh classes as they have been removed
2017-09-02 00:26:04 +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
Ian Rees
6be7148405 Improve Python docstrings in Part and MeshPart 2017-04-09 12:00:24 +12:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
looooo
f1fcefb228 py3: Mesh: fix py3 Long/Int problem with python2 2017-02-24 14:20:50 +01:00
wmayer
59fb7ec2cd py3: ported MeshPart to python3 2017-02-24 14:20:50 +01:00
wmayer
9607ce0a8f suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
Johannes Obermayr
69fa118b08 Link just against required VTK modules on Linux.
Note:
If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
2016-11-20 10:18:32 +01:00
wmayer
179c05a42f fix compiler warning 2016-10-31 21:31:35 +01:00
wmayer
a68b03a083 fix some typos 2016-09-27 19:26:45 +02:00
wmayer
855839c392 drop hard dependency of MeshPart to smesh 2016-09-24 11:16:27 +02:00
wmayer
b13efc182d fix -Wextra in MeshPart 2016-09-24 00:42:52 +02:00
wmayer
dc9576a934 use 'patch' for segment names and make unique names 2016-09-14 21:07:52 +02:00
wmayer
7248683f11 create mesh segments by face colors 2016-09-07 19:20:33 +02:00
wmayer
f899847f5d add OCC standard meshing algorithm to Mesher class 2016-09-07 16:39:54 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
WandererFan
0319adeec7 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
Stefan Tröger
96a47af8f2 SMESH: Prevent generator from being deleted 2016-06-15 22:34:10 +02:00
Stefan Tröger
6e1af4167d FEM Post: Always build except for VTK <6.2
VTK 6.0 has a bug which makes it incompatibel with c++11
2016-06-15 22:34:10 +02:00
Stefan Tröger
2f57406007 FEM: Use single smesh mesh generator throughout FreeCAD
Creating a mesh generator resets a critical data structure and makes all existing meshes invalid. Hence the SMESH_gen is made a singleton and all FreeCAD code is changed accordingly.
2016-06-15 22:34:10 +02:00
Jean-Marie Verdun
f7c77a446a FEM: Make FEM compatible with SMESH7 2016-06-15 22:34:10 +02:00
wmayer
2eb3c85393 + code clean-up 2016-01-21 16:43:27 +01:00
wmayer
afcdd66734 + simplify porting of MeshPart module to Python3 2016-01-20 22:38:45 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +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
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
Richard M. Shaw
d5e8ae2d05 Update CMake config to work with smesh 6.5.3.1.
New fork of standalone smesh is available here:
https://github.com/tpaviot/smesh
2014-12-19 11:23:38 +01:00
Sebastian Hoogen
46a00d1380 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer
6ee59180b0 + fix issues on 64-bit Linux/MacOSX systems 2014-11-19 15:32:35 +01:00
Sebastian Hoogen
d49528b27e issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +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
103ae7c2ad move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
wmayer
6ac93e9d72 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
mdinger
1498e99cef Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
67edfb895b + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
e2bd648e9a Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
3e3ce381f6 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
wmayer
938f623b8e + Re-enable Mefisto for MSVC 2014-04-03 10:23:30 +02:00
wmayer
ee94683af4 + fixes #0001081 2013-11-10 14:26:30 +01:00
wmayer
da0a11cff9 + Improve meshing algorithm 2013-11-07 11:17:18 +01:00
wmayer
af1e6fb1ec + Advanced options for different meshing algorithms 2013-11-07 02:16:33 +01:00
wmayer
71f2a7431c + Create finer meshes with netgen by bisecting 2013-11-06 17:50:57 +01:00
wmayer
44102e1c98 + Fix build failure 2013-11-05 21:08:23 +01:00
wmayer
e9c4c44b67 + fixes #0001292 2013-11-05 18:51:40 +01:00
wmayer
54a6f70c99 Disable NetgenPlugin for gcc and mingw 2013-04-01 17:40:52 +02:00
jriegel
216d3dd6f4 Remove Salomemesh from LibPack and compile with source. Changes for LibPack 8.1
Had to overwrite the salomemesh in 3rdParty with the original 5.1.2.2 from sf.net since through layout changes imposible to merge or even see changes in the code. Linux tweaking has to be done..
2013-03-31 00:16:25 +01:00
jriegel
a5c8cd9c4b Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer
837ddf5f38 Support of INSTALL target on Windows (VC++ and MinGW) 2012-02-17 21:41:00 +01:00