Commit Graph

51 Commits

Author SHA1 Message Date
Markus Reitböck
914f6bec44 ReverseEngineering: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:35 +02:00
Max Wilfinger
4eebf4431e Update src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com>
2025-06-30 10:34:53 -05:00
Max Wilfinger
da5f0f18c6 ReverseEngineering: Update UI strings for consistency 2025-06-30 10:34:53 -05:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
wmayer
b47d72f8de RE: Add function to approximate B-Spline from points 2024-04-03 18:06:00 +02:00
mosfet80
eda7e134ea casts clean (#11548)
* remove unecessary casts

clean unused code

revert  example py code

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-04 10:51:36 -06:00
wmayer
c6bc17ffc1 RE: apply clang format 2023-09-02 16:24:25 +02:00
Chris Hennes
118dc0c6c3 RE: Correct use of Wrapped_ParseTupleAndKeywords 2023-09-02 13:55:08 +02:00
Chris Hennes
e80f05cea0 RE: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
wmayer
f336ebd1e6 RE: modernize C++: use equals default 2023-08-22 12:48:09 +02:00
wmayer
96f27bf43f RE: modernize C++: use range-based for loop 2023-08-15 17:20:01 +02:00
wmayer
7b3d759ea1 RE: [skip ci] fix build failure 2022-12-11 11:32:56 +01:00
Uwe
bea2f9be2c [Reverse Eng] App: enable precompiled headers
- also some sorting
2022-12-11 04:10:58 +01:00
wmayer
68053e4f4d ReverseEngineering: [skip ci] improve doc string of approxSurface 2022-08-15 15:23:39 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
b48f7229a3 Sketch: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 12:41:53 +02:00
wmayer
d231a7c7db Reen: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
5ca787cb0e [RE] remove Python.h and Xerces 2022-03-20 22:49:38 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
593f02db63 ReverseEngineering: improve workflow of fitting of B-spline surface 2020-03-05 16:29:09 +01:00
wmayer
7464c81dbe ReverseEngineering: [skip ci] improve segmentation based on point clouds 2020-03-03 21:27:31 +01:00
luz.paz
c7f9874422 ReverseEngineering: [skip ci] Fix header uniformity
This PR fixes header uniformity across all ReverseEngineering files
2019-12-26 18:22:37 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
9f7075bb8f extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
luzpaz
706141b967 Make uniform the use of B-spline visible to users
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source  comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer
7321fa6b7e don't filter point cloud when estimating normals to avoid mismatch of number of points and normals 2017-08-24 13:05:21 +02:00
Peter Lama
a75a98ef27 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
asiersarasua
ba3274cf1a Fix typos 2017-04-09 18:29:11 +02:00
looooo
b265030d1d py3: ReverseEngeneering: port Py_InitFunc to python3 2017-02-28 17:39:08 +01:00
wmayer
1558e920db py3: ported ReverseEngineering to python3 2017-02-28 17:39:08 +01:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
297e84e3f0 + fix compiler warnings 2016-03-19 10:12:04 +01:00
wmayer
37b7334df6 + remove extra qualification on normalEstimation 2016-03-09 18:57:36 +01:00
wmayer
6da5c23990 + add algorithm to estimate normals of points 2016-03-09 14:46:19 +01:00
wmayer
816b54bd25 + add segmentation algorithm 2016-03-03 18:07:17 +01:00
wmayer
ec992ae1dc + filter out invalid points 2016-03-02 18:04:45 +01:00
wmayer
8a76f2c13e + add region growing, segmentation and ransac algorithms to Reen module 2016-03-02 15:51:26 +01:00
wmayer
39187dacac + add voxel filter function to Reen module 2016-02-29 23:44:55 +01:00
wmayer
281447780b + simplify porting of ReverseEngineering module to Python3 2016-01-20 10:26:50 +01:00
wmayer
17d7dd840e + add points view feature and command to triangulate it 2015-12-30 16:25:08 +01:00
wmayer
93b53f1662 + add several surface reconstruction methods from pcl to Reen module 2015-12-05 16:19:18 +01:00
wmayer
7eb7be3936 + add Poisson surface reconstruction 2015-12-02 23:36:26 +01:00
wmayer
0bb6dc4cf1 + add task dialog to perform B-Spline fit 2015-11-06 14:30:26 +01:00
wmayer
38ca335a1f + check if pcl is built opennurbs support 2015-11-04 12:16:35 +01:00
wmayer
466d1a60b1 + optimize B-spline approximation 2015-11-03 00:55:15 +01:00
wmayer
2d4d60d2ab + allow in approxSurface() to also pass points object 2015-11-02 17:36:45 +01:00
wmayer
212e2bf19c + include pcl bspline fit into Reverse Engineering module 2015-10-30 22:06:34 +01:00
wmayer
977411b4cc + check input of approxSurface for obviously wrong values 2015-10-25 12:46:02 +01:00
wmayer
e82a780774 + move module Python stuff into C++ class 2015-10-24 18:04:53 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00