Commit Graph

118 Commits

Author SHA1 Message Date
luzpaz
a77ccbd007 MeshPart: fix header uniformity + remove superfluous whitespace (#5135)
* MeshPart: fix header uniformity + remove superfluous whitespace
2021-11-06 00:15:00 +01:00
wmayer
ef7692d413 OCCT: port flatmesh to version 7.6 2021-10-12 10:03:11 +02:00
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
f95aeb7144 smesh: [skip ci] build FEM & MeshPart with C++14 when using external smesh because it doesn't support C++17 yet 2021-03-31 15:35:28 +02:00
wmayer
c3228becfc MeshPart: refactor class Mesher 2021-03-27 01:28:54 +01:00
Benjamin Nauck
7bacc68533 [MeshPart] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
wmayer
0d5b38385c [skip ci] Do not throw plain C string as exception 2021-02-06 15:52:21 +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
luz paz
a8c3b239b8 Fix various typos [skip ci]
Found via `codespell v2.1.dev0`  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-12-12 08:07:47 +01:00
wmayer
0e5cbf5298 Py2/Qt4: fix build failures and warnings 2020-11-30 19:05:37 +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
4dd60d3046 flatmesh: [skip ci] implement converters from Eigen3 matrices to Python 2020-07-29 16:42:53 +02:00
wmayer
fd7b228dba MeshPart: [skip ci] fix segmentation fault in flatmesh when built with boost.python 2020-07-29 13:44:45 +02:00
wmayer
5ece278c94 remove deprecated std::binary_function 2020-05-11 13:46:37 +02:00
luz.paz
56b618c8be Revised per feedback from review 2019-12-17 15:13:48 -03:00
luz.paz
cc97145e9d Fix various typos [skip ci]
Fixed via 
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-17 15:13:48 -03:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
6300e09dd8 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
4e7c2a233f add method to get wires of mesh boundaries 2019-11-10 11:14:04 +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
b14cf8a00d extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
wmayer
2e5283c693 for standard meshing algorithm copy color from face to segment 2019-07-04 16:57:08 +02:00
wmayer
39a027dc62 improve projection of points onto mesh 2019-06-27 19:27:47 +02:00
wmayer
929210fd1d add method to project points on mesh 2019-06-26 16:57:14 +02:00
wmayer
88f91d621b determine edge parameters where curve point will be projected onto a mesh edge 2019-06-11 13:25:52 +02:00
wmayer
143a5ffe83 extend MeshPart.projectShapeOnMesh to allow list of points for projection, support keywords 2019-06-08 14:19:29 +02:00
lo
1922c84ca0 cmake: add option to disable linking of python extension modules to python-libraries 2019-05-24 14:37:33 +02:00
wmayer
4cfd4b0248 generate minumum number of points from an edge 2019-05-19 19:07:45 +02:00
wmayer
951f612022 add method to project shape on mesh 2019-05-14 15:21:08 +02:00
wmayer
9e2427684f add method to project shape on mesh 2019-05-12 22:56:23 +02:00
wmayer
bd85548506 fix gcc build failure 2019-05-11 15:27:33 +02:00
wmayer
b89555347f do some code refactoring 2019-05-11 15:14:04 +02:00
wmayer
c7f881ee43 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer
9ffa81f7c9 CMP0050: make MeshPart module aware of cmake policy 2018-08-20 17:45:15 +02:00
wmayer
a6341b3f27 revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +02:00
looooo
9c320b8c5f small flatmesh fix 2018-06-08 16:08:31 +02:00
luz.paz
69b3b0b7f2 Misc. typos 2018-05-19 12:06:34 -04:00
wmayer
36ba2bca08 more fixes for flatmesh
+ fix gcc warning
+ add conversion function for boost.python
+ switch build off by default due to travis build failure for Py3
2018-04-29 14:50:41 +02:00
wmayer
9d3a2a27b4 fix several warnings:
-Winconsistent-missing-override
-Wsign-compare
-Wmaybe-uninitialized
-Wmissing-braces
2018-04-29 13:28:36 +02:00
wmayer
b55c63eca0 support occ version < 7.0 for mesh flattening 2018-04-29 11:38:15 +02:00
wmayer
bafd202d9b include missing headers due to updated occ version 2018-04-29 08:39:53 +02:00
wmayer
e7cb8044ca add switch to toggle building of flat mesh module 2018-04-29 00:03:05 +02:00
wmayer
cf655e2365 implement optional Python binding for flatmesh using boost 2018-04-28 22:27:09 +02:00
wmayer
2628cb5be5 make sure MeshPart still builds without smesh 2018-04-28 15:33:41 +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
looooo
5c794688db flatmesh: missing include
+ do not show flatmesh-gui if flatmesh is not available
2018-04-27 09:12:41 +02:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00