Commit Graph

15 Commits

Author SHA1 Message Date
wmayer
a543bf0783 Part: add convenience function to convert Placement into TopLoc_Location 2022-06-21 15:42:52 +02:00
wmayer
b7d8d26c52 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
15ee1fdd4e 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
ba711886e1 Part: Implement Tools::getNormal function 2022-01-20 13:01:27 +01:00
wmayer
e4851a11b4 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
86208783a8 Part: fix bug in Part::Tools::getPointNormals for OCCT 7.6 2021-10-09 14:34:04 +02:00
wmayer
87c70167be Part: add convenience function to convert TColgp_Array1OfDir to std::vector 2021-10-09 11:37:18 +02:00
wmayer
eba9360c1c Part: copy ViewProviderPartExt::getNormals to Tools class 2021-10-08 16:55:09 +02:00
wmayer
bc1bec296e Part: add methods to get the point normals of the triangulation or surface 2021-10-08 15:28:22 +02:00
wmayer
538ae87875 Part: add convenience functions to retrieve triangulation of a face or edge 2021-10-08 12:41:07 +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
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
6f8adef286 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer
997e21f749 + integrate biarcs algorithm 2015-04-05 14:10:03 +02:00