Commit Graph

63 Commits

Author SHA1 Message Date
luz paz
086063f75e Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
wmayer
d941c114cb Mesh: [skip ci] expose some mesh evaluation functions to Python 2021-02-14 12:02:45 +01:00
wmayer
4719bb703d Mesh: [skip ci] fix MeshPy::trim 2021-02-07 13:12:23 +01:00
wmayer
66617c5e93 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
f50c4a9e26 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
c06a4d462b Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00
wmayer
4badaba523 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
wmayer
1d7299502e PVS: V1023 A pointer without owner is added to the container by the 'emplace_back' method. A memory leak will occur in case of an exception. 2020-07-18 10:59:28 +02:00
wmayer
84f9b9dec6 Mesh: [skip ci] allow to pass target number to Python function Mesh.decimate() 2020-05-03 15:25:48 +02:00
wmayer
f95dc3588d Mesh: change MeshSegmentAlgorithm::FindSegments to accept shared instead of raw pointers 2020-03-03 21:27:31 +01:00
wmayer
b0902dbcb7 Mesh: [skip-ci] add method to get curvature info directly from mesh object 2020-01-30 17:22:31 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
71c54272a0 Fix various Py::Object leak 2019-10-08 17:53:20 +02:00
wmayer
9f7075bb8f extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
wmayer
0e86b2a735 also copy placement when copying a mesh 2019-05-13 15:51:43 +02:00
wmayer
746997e484 improve mesh repair functions 2019-04-12 21:31:46 +02:00
wmayer
4e018c506b extend mesh repair functions 2019-03-13 01:39:27 +01:00
wmayer
9be3e63332 mesh segmentation algorithm for surfaces 2018-12-08 15:53:58 +01:00
wmayer
6b055ee899 add verifier class to check the result of the polygon triangulation 2018-09-18 21:38:04 +02:00
wmayer
6cc1524a0d Mesh improvements:
+ support of Simple Model Format (smf)
+ improve reading of STL files (reduce by ~70%)
2018-07-26 13:19:35 +02:00
wmayer
4adeb7702d extend API of smooth command to allow to run different algorithms 2018-04-14 18:44:03 +02:00
wmayer
04ea295280 add kd tree class
add mesh decimation algorithm
2017-11-14 14:17:19 +01:00
wmayer
def0b81784 changes in Mesh module:
+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
2017-11-08 17:56:13 +01:00
wmayer
08a58f0709 support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer
f560398f30 add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces 2017-03-02 22:33:38 +01:00
looooo
d5348c60bc py3: Mesh: fix py3 Long/Int problem with python2 2017-02-24 14:20:50 +01:00
looooo
6c8c3dc71e py3: gathering diff from Mod/Mesh
98a8275938388992ef1b7bb76dcd43438f61bf7e  py3: make most of the unit test to succeed
2017-02-24 14:20:50 +01:00
Yorik van Havre
3803896ff2 py3: ported Mesh to python3 2017-02-24 14:20:50 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
ec624b91d7 fix unicode problem when reading or writing mesh object 2016-10-01 20:41:00 +02:00
wmayer
b980cf3361 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
wmayer
40b878de4d add method to get self-intersections of a mesh via Python 2016-08-08 16:40:59 +02:00
wmayer
9e4de92ce1 expose mesh analyzing functions to Python 2016-07-31 12:13:37 +02:00
wmayer
8a5c03b671 + allow to customize algorithms in mesh evalutation panel 2016-07-30 19:51:16 +02:00
wmayer
10bb9fa5cc + add overloaded methods of write() and read() to write and read from streams 2016-06-11 14:47:01 +02:00
wmayer
898e0fb359 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
3a4e93bb3d + implement method getPointNormals 2015-09-01 14:59:14 +02:00
wmayer
9ba57683d5 + method to get Eigensystem of mesh data 2015-03-10 22:47:46 +01:00
wmayer
ae09625140 + expose function to Python to check for invalid mesh points 2014-10-31 15:57:28 +01:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
3cfab20586 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:34:14 +02:00
wmayer
ec6f6ac128 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:27:48 +02:00
wmayer
2d4110b0f3 + Better support of clang, fix issues discovered by clang 2014-05-05 18:25:59 +02:00
wmayer
7b07bdfe10 + Add CountEdges to Python interface of Mesh class 2014-04-01 17:27:33 +02:00
jriegel
5c3187da85 Fix not set optional python parameter 2014-02-16 22:19:57 +01:00
wmayer
58b1a0947f + Support to write out mesh name 2013-12-22 15:02:40 +01:00
wmayer
b7a9b774f3 + Support of export to X3D for meshes 2013-11-25 13:39:31 +01:00