Commit Graph

204 Commits

Author SHA1 Message Date
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
0bd3e5d4ab Added AMF compression. Works with Cura, not Slic3r 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
Kunda
0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +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
67a0bd4750 improve whitespaces 2017-02-18 09:44:58 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
Jean-Samuel Reynaud
b77188e35c Adding Normals in OBJ exports 2017-02-10 18:51:10 +01:00
wmayer
76b3397762 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
wmayer
dd0fb7dc84 fix various clang warnings 2016-12-18 16:08:30 +01:00
wmayer
5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +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
3de44dfcd7 do not check for solid when computing volume of mesh 2016-10-01 20:40:26 +02:00
wmayer
81a6d4f4cc fix some typos 2016-09-27 19:26:45 +02:00
wmayer
4c1af037c5 fix -Wextra in Inspection 2016-09-23 18:10:27 +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
1c4052bde9 for obj export only create mtl file if color is per face 2016-09-21 10:05:40 +02:00
wmayer
435cc3786d take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
wmayer
6313528886 improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
wmayer
0fa94ee0a9 improve obj support 2016-09-01 18:07:18 +02:00
wmayer
22d8095b86 fix memory leak 2016-08-24 19:09:12 +02:00
wmayer
9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +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
8d3e5a31fb add plausibility for self-intersectin check to filter out false-positives 2016-08-08 16:40:11 +02:00
wmayer
3785cf7631 add parameters to IsDeformed method 2016-07-31 19:08:42 +02:00
wmayer
33bb67edcb fix rounding issue in IsDegenerated() method 2016-07-31 17:37:23 +02:00
wmayer
0ae92950f0 fix rounding issue in IsDegenerated() method 2016-07-31 13:48:09 +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
51171fd932 + implement modifier class to allow limited access to internals of mesh kernel class 2016-07-30 15:31:45 +02:00
wmayer
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +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
0c6d52485c + add WildMagic algorithm to compute minimum volume oriented box 2016-07-02 17:01:56 +02:00
wmayer
f55fb8cb99 + avoid memory exception when stl file is empty 2016-06-11 16:25:41 +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
91ba585ee0 + add overloaded methods of save() and load() to write and read from streams 2016-06-11 13:48:24 +02:00