Commit Graph

153 Commits

Author SHA1 Message Date
wmayer
cbd0f792bb C++17: remove workaround for external smesh to fix build failure on Conda 2023-03-22 13:24:21 +01:00
luzpaz
01e8bbc2bf Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
Uwe
4045c3ce7b [MeshPart] fix unwrap feature
- fixes #8741
- in commit 5830b5c28c4107b1795a the pybind headers were accidentally removed
2023-03-09 16:57:21 +01:00
Uwe
6be2f122cd [skip ci] [Mesh] add comment for boost 2022-12-20 02:56:10 +01:00
wmayer
435c384460 MeshPart: [skip ci] fix some issues reported by GH actions 2022-12-19 22:28:34 +01:00
wmayer
1e8fb26dac MeshPart: include boost python headers only where required 2022-12-19 21:49:42 +01:00
wmayer
b358407e3b Base: refactor InventorBuilder 2022-12-13 17:48:51 +01:00
Uwe
323055ec3f [MeshPart] enable precompiled headers
- also some sorting
2022-12-08 03:42:55 +01:00
Uwe
462b9616b6 [MeshPart] improve PreCompiled.h handling 2022-12-07 23:35:52 +01:00
wmayer
9537b3e84c Base: refactoring of InventorBuilder 2022-11-29 15:20:43 +01:00
wmayer
f0e22410db Base: start of refactoring of InventorBuilder 2022-11-27 16:45:16 +01:00
wmayer
dafe5f11fb Base: start of refactoring of Builder3D 2022-11-27 15:02:44 +01:00
wmayer
8ba310fd3a MeshPart: [skip ci] fix build failure 2022-11-23 19:44:42 +01:00
Uwe
2669383c2a [MeshPart] remove unused includes
- also some sorting
2022-11-23 03:35:31 +01:00
luz paz
be783892bb MeshPart: remove trailing whitespace 2022-11-15 12:45:52 +01:00
wmayer
57ca9f6b1f MeshPart: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:36:52 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
wmayer
8c298493de Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
882e96d7d5 Mod: [skip ci] improve whitespace 2022-08-08 10:46:04 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
4c0b62555e MeshPart: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
2022-07-25 10:34:51 +02:00
wmayer
936bc03959 Mesh: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:33:18 +02:00
andrea
c66aadeb60 removed references to OCC<7 2022-06-25 14:29:24 +02:00
wmayer
1f170e3d23 Mod: handle removed headers in PCH files for OCC 7.6 2022-05-21 06:28:07 +02:00
wmayer
bb8dda44f5 Mesh: include header with export macros 2022-03-24 20:42:15 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
8c7213e847 MeshPart: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
47650ab2c6 [Mesh] remove Python.h and Xerces
seems not to be necessary anymore
2022-03-21 01:46:54 +01:00
wmayer
4b2850528b MeshPart: suppress incorrect warning with clang/MSYS 2022-03-20 13:45:43 +01:00
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
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
cf8eaccc79 MeshPart: raise runtime error in meshFromShape() if smesh was built without netgen support 2022-01-26 11:56:23 +01:00
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