Commit Graph

31 Commits

Author SHA1 Message Date
wmayer
2295c4b9a3 Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes 2021-09-14 23:01:29 +02:00
wmayer
c3228becfc MeshPart: refactor class Mesher 2021-03-27 01:28:54 +01:00
Benjamin Nauck
49b7f237be [MeshPart] Fix copy-paste error
It doesn't make sense to check minLen and then call SetMinSize to maxLen
so this must be a copy-paste error.

Introduced in eb6f60469a

Found with Coverity.
2021-01-30 11:47:06 +01:00
wmayer
b431987ea3 smesh: port to version 9.6 2021-01-20 19:49:56 +01:00
wmayer
2520569cc7 fixes #0004426: [skip ci] Patch to add MinLength and MaxLenght to the Netgen options in the Python API (provided by thomasFreeCAD) 2020-09-12 19:37:12 +02:00
wmayer
6300e09dd8 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
2e5283c693 for standard meshing algorithm copy color from face to segment 2019-07-04 16:57:08 +02:00
wmayer
c7f881ee43 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer
a6341b3f27 revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +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
wmayer
f8728a008f fixes #0001906: add Parameters isRelative, theAngDeflection of BRepMesh_IncrementalMesh in MeshFromShape Gui command 2017-09-30 16:15:24 +02:00
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
wmayer
9607ce0a8f suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01: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
Stefan Tröger
96a47af8f2 SMESH: Prevent generator from being deleted 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
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
e9c4c44b67 + fixes #0001292 2013-11-05 18:51:40 +01: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