Zheng, Lei
c9232b141a
Toponaming: Transfer in getLinksTo
2024-07-21 17:36:50 -04:00
bgbsww
6ac5370cc4
Adjust PropertyTopoShape::Save code for correctness.
2024-07-08 21:18:32 -05:00
bgbsww
d9ba737132
Toponaming: Bugfix #14952
2024-06-28 19:29:26 -05:00
bgbsww
3c3709cb5d
Toponaming: Fix save and restore of elementmaps
2024-06-23 23:33:12 -04:00
bgbsww
2657bbee4d
Minor test tweaks, and small fixes to pass tests
2024-05-17 19:14:01 -05:00
bgbsww
99da05f8a6
Rewrite PropertyTopoShape::getShape to fix dangling reference
2024-04-01 16:54:59 -05:00
bgbsww
3df25821e5
Toposhape/Part:: Fix, relocate and test element methods in ComplexGeoData and TopoShape
2024-03-07 23:00:48 -05:00
bgbsww
7945bf686e
Toponaming/Part: Cleanups, problem fixes, and tests
2024-03-04 16:04:01 -05:00
Zheng, Lei
2adff99c14
Toposhape/Part: Transfer in PropoertyTopoShape and related
2024-03-01 07:55:12 -05:00
wmayer
a0d86224f3
Part: modernize C++: use equals default
2023-08-22 15:14:03 +02:00
wmayer
312975edba
Part: modernize C++: use range-based for loop
2023-08-16 21:56:32 -05:00
wmayer
899932cec0
Part/PD: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
marioalexis
34f070cf9b
Part: Replace C cast
2022-09-18 11:06:51 -05:00
Uwe
73511f82c2
[Part] Prim* to Sur*: remove unneeded includes
...
- also sort includes
2022-07-03 19:32:28 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
wmayer
5234d9bc67
App: add pure virtual methods to PropertyGeometry to delegate it to the geometry of sub-classes
...
Following the law of Demeter add some wrapper methods to PropertyGeometry and implement them in sub-classes. As a side-effect this makes some const_cast obsolete
2022-06-24 16:15:02 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
0a65575c2c
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
wmayer
89e4455057
Part: [skip ci] print warning only if eof bit is not set, i.e. ignore it for empty files
2022-03-17 20:24:06 +01:00
Uwe
1e852e6d6b
[Part] remove unused variable
...
MSVC complained about it
2022-03-12 15:44:27 +01:00
wmayer
c3828d6225
Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
...
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
wmayer
f212a8ef76
Part: set explicit format version number for BRep files to support all OCC versions
2021-12-11 23:31:41 +01:00
luz paz
c69f245d6f
Part: remove py2 code
2021-04-25 11:29:35 +02:00
wmayer
b33a120935
Part: [skip ci] implement getPyObject/setPyObject of TopoShape class
2020-10-16 13:46:44 +02:00
luz.paz
53bb216b57
Part: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all Part WB files
2019-12-22 00:59:47 +01:00
wmayer
a247b7e6a5
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
bf5923c0f3
add missing std:: namespace to build on Debian 10
2019-08-21 16:31:00 +02:00
wmayer
851e3d9847
add missing std:: namespace to build on Debian 10
2019-08-21 00:12:50 +02:00
Abdullah Tahiri
a56658489b
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
87bf7094a5
PVS: V601 The bool type is implicitly cast to the double type
...
PVS: V668 There is no sense in testing pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error
2019-03-13 14:09:10 +01:00
wmayer
557fee3dc6
fix -Wignored-qualifiers
2018-08-19 12:38:57 +02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
wmayer
88aefc28e8
backport to OCCT < 6.8
2018-08-07 16:56:33 +02:00
Zheng, Lei
8f3cf6156b
PropertyPartShape: remove CopyShapeOnSave parameter
2018-08-06 19:01:37 +02:00
Zheng, Lei
d65349f1f9
PropertyPartShape: fix brep shape saving without copy
2018-08-06 19:01:09 +02:00
Zheng, Lei
8018f2640d
PropertyPartShape: add parameter to disable copy on save
...
By default PropertyPartShape uses BRepBuilderAPI_Copy to copy the shape
on saving, to get rid of the triangulation. However, OCCT seems to
perform a deep copy and shape sharing information is lost.
A new parameter, BaseApp/Preferences/Mod/Part/General/CopyShapeOnSave,
is added to disable this.
2018-08-06 19:00:58 +02:00
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
wmayer
ed23c0d3c4
py3: ported Part to python3
2017-03-01 16:38:53 +01:00
Stefan Tröger
15b14783d1
Extensions: Handle static/dynamic cast
...
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
258be36aad
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
wmayer
801ac34258
fix -Wdeprecated in Part & FreeCADGui
2016-09-22 15:32:49 +02:00
wmayer
1ce73dda96
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
wmayer
006de1ab19
issue #0002666 : Error on Save File
2016-08-12 13:33:48 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
wmayer
0ea6a2ed0d
+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData
...
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
wmayer
ad96714fe8
+ issue #0002245 : BRep File cannot be written
2015-10-17 17:13:27 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
Eivind Kvedalen
3f0fc98d72
Part: Added getPaths(...) method to PropertyPartShape.
2015-09-21 14:51:04 +02:00