wmayer
0b4fcb8f20
Mesh: consider placement in MeshPy::nearestFacetOnRay
2022-08-04 20:47:33 +02:00
wmayer
d7efe8358f
Mesh: consider placement in MeshPy::cut/trim/trimByPlane
2022-08-04 18:49:10 +02:00
wmayer
b0a5743264
Mesh: consider placement in MeshPy::getCurvaturePerVertex
2022-08-04 11:09:47 +02:00
wmayer
c8c311c981
Mesh: refactor MeshPy::getSelfIntersections
2022-08-04 10:34:49 +02:00
wmayer
dd5fa8b6e0
Mesh: refactor MeshPy::writeInventor
2022-08-03 17:56:24 +02:00
wmayer
0b424620d6
App: changes in ComplexGeoData:
...
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
luz paz
bf030f76aa
Fix various 'testing inequality to None' syntax issues
...
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
Uwe
763a575b23
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
Uwe
2bde1e6923
[Mesh] remove superfluous nullptr checks
2022-07-18 02:37:33 +02:00
wmayer
936bc03959
Mesh: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 13:33:18 +02:00
wmayer
73a7b460e4
Mesh: [skip ci] unit test for Mesh.foraminate()
2022-07-15 18:53:56 +02:00
wmayer
91e9c72357
Mesh: [skip ci] allow to set third parameter in Python wrapper
2022-07-15 17:39:33 +02:00
mosfet80
c86f0ce670
Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. ( #7036 )
...
* remove msc<1800
2022-06-28 00:42:33 +02:00
wmayer
f5235a8057
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
marioalexis
74c168a082
Mesh: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
wmayer
9d0c787f03
Mesh: replace boost::bind with std::bind
2022-06-21 15:23:47 +02:00
wmayer
8a81ff174b
Mesh: reduce the use of const_cast in Mesh module
2022-06-21 12:20:37 +02:00
Uwe
ca93124421
[Meh] Core: remove unnecessary Boolean comparisons - part 2/2
2022-06-19 18:22:22 +02:00
Uwe
1b73fbf645
[Meh] Core: remove unnecessary Boolean comparisons - part 1
2022-06-19 18:12:56 +02:00
wmayer
c856e8a13b
Mesh: fixes #7018 : 3mf created with FreeCAD cannot be loaded with PrusaSlicer
2022-06-14 18:55:05 +02:00
wmayer
b350f338b5
Mesh: fixes #6902 : Conda test errors
2022-06-14 11:32:07 +02:00
wmayer
eaaed0d81c
Mesh: [skip ci] use const-reference when iterating over list
2022-05-17 15:52:43 +02:00
wmayer
5b2d712ffe
Mesh: improve OBJ import by allowing arbitrary names for the mtllib file
2022-05-17 15:02:59 +02:00
wmayer
a2c24122c0
Mesh: modernize MeshIO classes
2022-05-17 12:20:22 +02:00
wmayer
79d6e85e6f
Mesh: implemented recommended move constructor and move assignment for Point3d
2022-05-17 11:55:33 +02:00
wmayer
abc5413b34
Mesh: avoid problematic const_cast
2022-05-17 11:54:11 +02:00
wmayer
6a3281438f
Mod: whitespace fixes
2022-05-17 11:51:22 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
3ecd16e0bd
Mesh: PR6497 move return statement to new line
2022-03-29 12:36:30 -05:00
wmayer
bb8dda44f5
Mesh: include header with export macros
2022-03-24 20:42:15 +01:00
wmayer
d21a60b294
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
ec4d8a7500
Mesh: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
47650ab2c6
[Mesh] remove Python.h and Xerces
...
seems not to be necessary anymore
2022-03-21 01:46:54 +01:00
wmayer
585bcb8708
lgtm: [skip ci] FIXME comment
...
Change FIXME or remove it
2022-03-20 16:51:23 +01:00
wmayer
b09135fca7
Mesh: [skip ci] lgtm: Multiplication result converted to larger type
...
Multiplication result may overflow 'float' before it is converted to 'double'.
2022-03-20 15:53:04 +01:00
wmayer
e4d1ed8366
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
bb52889c68
Mesh: [skip ci] replace some casts
2022-03-16 08:46:21 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
69a5bfd6b1
Mesh: Fix several coverity issues:
...
* CID 350557: Out-of-bounds read (false-positive)
* CID 316517: Uninitialized scalar variable
* CID 316519: Uninitialized scalar variable
* CID 316547: Uninitialized scalar variable
* CID 316556: Uninitialized scalar variable
* CID 350614: Uncaught exception
* CID 350606: Uncaught exception
* CID 332681: Using invalid iterator
2022-03-13 14:58:14 +01:00
wmayer
4a343ab31e
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
wmayer
91e4e468dd
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
Uwe
a8c912d6f8
[App] Expression and Extension: remove unused includes
2022-02-25 18:06:57 +01:00
mwganson
52925f65d2
Mesh: fix test code so it will compile when used
2022-02-14 14:06:09 +01:00
wmayer
a43276cce1
Mesh: [skip ci] add Mesh unit test for nearestFacetOnRay
2022-02-13 17:44:43 +01:00
wmayer
4e1ce8a15f
Mesh: overload MeshAlgorithm::NearestFacetOnRay to set a max. angle between facet and ray
2022-02-13 12:46:01 +01:00
luz paz
6718d8797e
Fix some typos and whitespace
2022-02-12 19:33:28 +01:00
wmayer
59e605e6b8
Mesh: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
luz paz
8b743d8598
Mesh: translate doxygen from DE to EN
...
For the purpose of making the source documentation uniform, source comments in this file were translated to English.
2022-01-13 17:27:43 +01:00
luzpaz
c0f42cea0e
Points: translate doxygen from DE to EN + fix superfluous whitespace ( #5287 )
...
* Points: translate doxygen from DE to EN + fix superfluous whitespace
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
* Points: remove superfluous whitespace
* Fix left over DE to EN translations (from Cam and Mesh code)
2021-12-25 20:41:12 +01:00