Commit Graph

175 Commits

Author SHA1 Message Date
luzpaz
a633be7342 Fix various typos
Found via codespell.
2024-11-15 20:18:46 +01:00
wmayer
f167e0e8ac Port: Include some important changes of the OpenBSD port
Forum thread: https://forum.freecad.org/viewtopic.php?t=80792
2024-09-09 18:01:38 +02:00
Chris Hennes
5e47f6804f Update for LibPack3 (#10337)
* cMake: Add base support for LibPack3

Minor changes to FreeCAD source code to support compiling with Qt 6.5 on MSVC,
and changes to cMake setup to support the new Libpack.

* NETGENPlugin: Fix compilation with MSVC and OCCT 7.8

* Material: Switch to Wrapped_ParseTupleAndKeywords for /fpermissive- on MSVC

* Base: Prevent accidental definition of MIN and MAX by MSVC

* cMake: Prevent accidentally finding an old LibPack

* Material: Wrap another ParseTuple call

* OCCT: Modify includes for 7.8.x

* Part: Change TNP code to use Wrapped_ParseTupleAndArgs

* Spreadsheet: Workaround for MSVC macro pollution

* Mesh: Workaround for MSVC macro pollution

* Base: Remove extra MSVC flag (moved to CMake)

* Tests: Fix compiling with /permissive-

* FEM: Fix Qt warnings about duplicate element names

* cMake: Ensure major version numbers are set

* Address review comments.

* cMake: Further tweaks for LibPack3

* cMake: Modify specification of compiler flags for MSVC

* Main: Remove QtQuick testing code

* cmake: Find Boost before SMESH (which uses it)

* Fixes for LibPack2

* cMake: Another try at importinhg VTK cleanly
2024-06-24 18:25:05 +02:00
Robert Schiele
6572bbca01 implement FORCE_BOOST_PY_SUFFIX
On some systems the boost-python suffix is not exactly as the code
currently expects. To avoid getting even more guessing in the CMake
files about how exactly the python component is named in the boost
installation we introduce a variable FORCE_BOOST_PY_SUFFIX that can
enforce a specific suffix. If the variable is not set the behavior is as
before.
2024-06-24 11:02:41 -05:00
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
mos
967dd8a8ed [MeshPart] clean
removed old commented code.

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

revert comments

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2024-05-27 11:06:30 -05:00
wmayer
a782d6f1bc Part: Add class BRepMesh
This refactors the code of TopoShape::getFacesFromDomains and the the private class BrepMesh of the MeshPart module
to reduce code duplication.
2024-03-06 07:20:39 +01:00
howetuft
99364d313b Release GIL while meshing in MeshPart.meshFromShape
This commit releases the Global Interpreter Lock around mesher call and
should enable multithreading use when exporting large quantities of
objects (for instance for external rendering).
2024-02-13 11:15:52 +01:00
wmayer
c425e675ba Mesh: fixes #11985: 3MF export to Prusa with clone = open edge warnings on clone
See https://forum.freecad.org/viewtopic.php?p=738731#p738731
2024-02-12 11:40:45 -06:00
mosfet80
0004597e0a Update Mesher.cpp
removed old code for smesh <v7.
Freecad now requre smesh  version >=7.7.1
2024-01-15 18:02:31 +01:00
Alexander Neumann
2bf42925f5 Guard MEFISTO code with version check against SMESH. 2024-01-15 10:44:06 -06:00
bgbsww
bd1fc0fc03 Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
liukaiwen
329904a055 [cmake] some definitions do not matter build now 2023-09-27 18:17:14 +08:00
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
5395c563d9 MeshPart: Final application of pre-commit 2023-09-04 08:18:51 -05:00
wmayer
01af14829a MeshPart: apply clang format 2023-09-02 11:30:04 +02:00
Chris Hennes
fdc4490b72 MeshPart: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
wmayer
40042573eb MeshPart: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
da00501288 Mod: modernize C++: use equals default 2023-08-22 11:16:49 +02:00
wmayer
953a59d17b MeshPart: modernize C++: use range-based for loop 2023-08-15 12:52:52 +02:00
wmayer
df93b14ec0 modernize C++: use emplace 2023-08-06 20:29:56 -06:00
wmayer
7a3106d31b modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
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