Commit Graph

14 Commits

Author SHA1 Message Date
wmayer fbb5555f27 Part: do not expect a face to be infinite if meshing it has failed
See https://forum.freecadweb.org/viewtopic.php?p=601240#p601240
2022-06-11 13:01:15 +02:00
wmayer edd346cc3d Part: Fix several coverity issues:
* CID 350581: Structurally dead code
* CID 350620: Structurally dead code
* CID 350563: Big parameter passed by value
* CID 350552: Uncaught exception
* CID 305193: Uncaught exception
* CID 350556: Uninitialized scalar field
* CID 350579: Uninitialized pointer read
2022-03-13 16:06:40 +01:00
marioalexis a888a0ac0a Part: Implement Tools::getNormal function 2022-01-20 13:01:27 +01:00
wmayer 9e8516002b Part: fixes #0004774: Datum plane or line is not available in sketch in another body via binder 2021-10-30 22:28:57 +02:00
wmayer 03be15cc6b Part: fix bug in Part::Tools::getPointNormals for OCCT 7.6 2021-10-09 14:34:04 +02:00
wmayer 66d3dd897f Part: add convenience function to convert TColgp_Array1OfDir to std::vector 2021-10-09 11:37:18 +02:00
wmayer 302568d177 Part: copy ViewProviderPartExt::getNormals to Tools class 2021-10-08 16:55:09 +02:00
wmayer 08d46b5f88 Part: add methods to get the point normals of the triangulation or surface 2021-10-08 15:28:22 +02:00
wmayer c9d17ebde2 Part: add convenience functions to retrieve triangulation of a face or edge 2021-10-08 12:41:07 +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
wmayer 1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer c8e241c9f3 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer 1d1e71b52f + integrate biarcs algorithm 2015-04-05 14:10:03 +02:00