Commit Graph

43 Commits

Author SHA1 Message Date
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
2808c4bc9c Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
luz paz
086063f75e Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
wmayer
f4e3e8abd6 Mesh: [skip ci] refactor Mesh open/import functions 2021-03-20 21:54:30 +01:00
Zheng, Lei
ea61253c67 Mesh: refactor mesh exporter for better support of Link 2021-02-06 17:13:36 +01:00
wmayer
f09d48d0fe Mesh: [skip ci] fix bug in Mesh.export when passing a custom tolerance value 2020-08-26 11:06:43 +02:00
wmayer
8082def6b5 Mesh: [skip ci] support of loading colored mesh segments 2020-07-06 12:17:15 +02:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
bc131c3b0d support to show color per face 2019-09-24 21:37:11 +02:00
wmayer
04005b5e45 fixes 0003680: Export (Ctrl+E) doesn't check to make sure that object being exported is a model at all 2018-11-10 19:02:50 +01:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
a8a9650816 harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
wmayer
24793f0d82 fix doc strings, replace label with check box in export panel 2017-03-02 21:55:04 +01:00
Ian Rees
da0f810282 Avoid empty meshes. Improve object type detection. 2017-03-02 17:41:14 +01:00
Ian Rees
2231baa060 Throw Python exception if format is unknown. 2017-03-02 17:41:14 +01:00
Ian Rees
095bb48c22 Tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees
944aa01e6b Export Part and Group objects. 2017-03-02 17:41:14 +01:00
Ian Rees
e6f7c9d83c Clean up docstrings to conform to PEP 8, tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees
3792f259d3 Add setting to export compressed/uncompressed AMFs 2017-03-02 17:41:14 +01:00
Ian Rees
e178d93c61 Added some metadata to exported AMF 2017-03-02 17:41:14 +01:00
Ian Rees
0b76013a0c Renamed AmfExport.(h|cpp) to Exporter.(h|cpp) 2017-03-02 17:41:14 +01:00
Ian Rees
3eefe3e8ba Refactoring mesh export code 2017-03-02 17:41:14 +01:00
Ian Rees
a9949ab0a4 Basic AMF writing support
TODO:
  * Compression
  * Understand translations, constellations
  * Curved surfaces
  * Material parameters
  * Metadata, etc
2017-03-02 17:41:14 +01:00
Ian Rees
ff1ac5fdad Add AMF to understood extensions/formats. 2017-03-02 17:41:14 +01:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
435cc3786d take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
wmayer
3d95e9ac4b support groups for export to obj format 2016-07-24 16:16:42 +02:00
wmayer
cc78503935 improve groups handling of obj mesh format 2016-07-24 00:23:45 +02:00
wmayer
6c73ac750a compute minimum volume oriented box 2016-07-02 18:10:23 +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
a5e6edff87 + support of export of points to pcd and ply format 2016-03-04 14:48:26 +01:00
wmayer
fbd6f9002c + fix to load mesh with colours 2016-02-13 20:01:47 +01:00
wmayer
c9f168d3a2 + simplify porting of Mesh module to Python3 2016-01-21 15:49:22 +01:00
Yorik van Havre
f480791472 Made last commit non-C++11 compatible 2016-01-19 11:25:16 -02:00
Ian Rees
b6a1fd85ea Added ability to change mesh export tolerance. 2016-01-19 20:44:17 +13:00
wmayer
342198ea87 + support reading mesh files with colors 2015-12-31 21:07:04 +01:00
wmayer
1d04ce9ea0 + port SurfaceFit to Eigen3 and add unit tests 2015-10-13 20:03:47 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +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
2a2acf4955 + Make Python API more pythonic 2013-10-11 12:24:22 +02:00
jriegel
0b57c4da5c Add a general methode for calculating eigen transformation into the Mesh interface 2013-07-10 23:15:25 +02:00
wmayer
30b703c072 Respect placement information when exporting several meshes at once 2012-02-24 12:28:09 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00