Markus Reitböck
68114945fa
Part: 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-24 20:08:56 +02:00
bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Benjamin Nauck
075a1362ed
Part: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Chris Hennes
b8589b03ea
Part: Remove inefficient vector reserve()
...
Coverity issue 356645
2025-03-22 07:15:15 +01:00
wmayer
c8abd4a6d4
Part: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
wmayer
7cb51a4980
Part: modernize C++: use range-based for loop
2023-08-16 21:56:32 -05:00
wmayer
c78e792737
Part: fix build failures with OCC >= 7.6
2022-08-09 18:42:38 +02:00
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
Uwe
1bb61c46ff
[Part] H* to mo*: remove unneeded includes
...
- also sort includes
2022-07-03 23:32:50 +02:00
andrea
c66aadeb60
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
cc2f815b4f
Part: fixes #6584 : Pocket becomes a pad when next object ofter a polar pattern
2022-04-10 23:55:03 +02:00
Chris Hennes
2ecc125497
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
wmayer
fabcdf5b28
Part: adjust orientation of refined face to input faces
2021-10-22 14:11:00 +02:00
asapelkin
ced8100ab9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
Abdullah Tahiri
216926233f
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
dc1720a7f2
continue PCH on Part module
2019-05-01 16:10:38 +02:00
wmayer
26728d9ddb
fixes 0003755: Crash when using Part - Refine Shape on certain files
2018-12-31 15:06:21 +01:00
Markus Lampert
e13c09235f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
wmayer
3e7dad49e2
reverse solid in case refinement flipped it
2017-09-22 22:13:43 +02:00
wmayer
0d617f97d6
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
8443891abe
fix possible segfault in modelRefine
2017-07-27 15:13:49 +02:00
wmayer
728757bc38
fix possible segfault in modelRefine
2017-07-27 15:08:14 +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
blobfish
deed33e6f2
Part: ModelRefine: adding basis surface to cylinder.
2016-05-07 09:45:39 +02:00
blobfish
96f88a4dca
Part: ModelRefine: don't call edgefuse perform directly
2015-07-02 10:26:02 +02:00
blobfish
ca4510c939
Part: ModelRefine: fix for bug# 2097
2015-05-15 18:06:33 +02:00
wmayer
859d76faf8
+ fixes #0002075 : Analysis of FreeCAD by PVS-Studio static analyzer
2015-05-01 16:56:31 +02:00
wmayer
a8a09e8e80
+ fixes #0002033 : boolean failure, model refine
2015-04-03 07:39:17 +02:00
blobfish
06a34cc3ec
Part: ModelRefine: catch bspline isEqual exception
2015-03-22 18:43:39 +01:00
Sebastian Hoogen
d7e4c54a1e
issue #1450
2015-01-10 12:09:00 -02:00
wmayer
55127da4f2
+ fixes #0001878 : model refine exception
2014-12-28 18:10:02 +01:00
jriegel
dc5c15c926
small fix for VS 2013
2014-11-22 12:46:10 +01:00
blobfish
05246a99ba
Part: ModelRefine: Fix for avoid edges of edgeFuse not working
2014-11-05 14:54:38 +01:00
blobfish
3b09e111e1
Part: ModelRefine: adding bspline support
2014-11-05 14:54:36 +01:00
blobfish
9d4aba8a1c
Part: ModelRefine: Add FixMissingSeam
2014-11-05 14:54:36 +01:00
blobfish
0b0a731d29
Part: ModelRefine: fix for missing tolerances.
2014-11-05 14:54:35 +01:00
Jan Rheinländer
6e11995967
Part: ModelRefine: Enhancement for cylindrical faces
2014-11-05 14:54:34 +01:00
blobfish
6324cea64d
Part: ModelRefine: Skip conic edges.
...
Extension on Mantis #1450
2014-03-03 10:32:15 +01:00
blobfish
f915427805
Part: ModelRefine: Skip spherical edges for edge fuse.
...
Mantis #1450
2014-03-01 13:15:16 +01:00
wmayer
f401d098ad
+ Changes to modelRefine (jrheinlaender)
2013-12-23 16:53:27 +01:00
wmayer
1482b39ac6
+ Apply fix of correct use of ShapeFix_Face
2013-12-07 12:54:38 +01:00
wmayer
628da091b6
fixes #0001302 : crash in model refine.
2013-12-01 11:44:50 +01:00
wmayer
d33f2b4565
Fix refinement algorithm to avoid the loose the solid
2013-08-24 07:26:31 +02:00
wmayer
bed8a97114
Replace BRepTools_ReShape with BRepBuilderAPI_MakeSolid in refinement algorithm
2013-08-23 15:25:17 +02:00
tanderson
8d23080ae3
Changing model refine, face union, build cylinder construction.
...
* fixes part aox.brep provided by shoogen.
2012-09-09 11:23:51 +02:00
wmayer
fc46edbedc
0000727: Keep faces colors on boolean operations
2012-06-04 22:58:37 +02:00
wmayer
33fb521137
0000727: Keep faces colors on boolean operations
2012-06-04 11:43:20 +02:00
tanderson
fcafb74bae
refine shape, face union fix
...
* fix for circular boundary of a planar face.
2012-03-22 14:35:02 -04:00
tanderson
bacc263cb1
adding orientation fix to face union cylinder
...
*fixes corupted face with the y rod mount
2012-03-01 17:12:59 -05:00
tanderson
d07be67d09
Implementing cylindrical faces for model refine face union
2012-02-25 14:14:06 +01:00