Commit Graph

319 Commits

Author SHA1 Message Date
wmayer
0a6a9c90bd 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
Unknown
31a32b9931 Doxygen Typos
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
846195327a harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
wmayer
d18500c012 fix implementation of MeshPointPy 2017-09-28 15:28:24 +02:00
wmayer
907095293c support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer
2ea183e629 Expose method to Python to get property name of main geometry
fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
2017-05-10 10:36:22 +02:00
wmayer
fb7094bf31 use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
c526c18b94 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
63943e4bb8 extend interface to get actual property with geometric data, get center of gravity of a geometry 2017-03-05 18:05:11 +01:00
wmayer
1a2d40f968 add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces 2017-03-02 22:33:38 +01:00
wmayer
f55bf254b0 fix doc strings, replace label with check box in export panel 2017-03-02 21:55:04 +01:00
Ian Rees
5133af6ef5 Avoid empty meshes. Improve object type detection. 2017-03-02 17:41:14 +01:00
Ian Rees
76e4605364 Throw Python exception if format is unknown. 2017-03-02 17:41:14 +01:00
Ian Rees
371c3f7278 Tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees
4fd7334f95 Export Part and Group objects. 2017-03-02 17:41:14 +01:00
Ian Rees
dd75896b07 Clean up docstrings to conform to PEP 8, tidy up. 2017-03-02 17:41:14 +01:00
Ian Rees
2673b8726c Add setting to export compressed/uncompressed AMFs 2017-03-02 17:41:14 +01:00
Ian Rees
88f74db845 Added some metadata to exported AMF 2017-03-02 17:41:14 +01:00
Ian Rees
8418f2d41a Added AMF compression. Works with Cura, not Slic3r 2017-03-02 17:41:14 +01:00
Ian Rees
8935db69f4 Renamed AmfExport.(h|cpp) to Exporter.(h|cpp) 2017-03-02 17:41:14 +01:00
Ian Rees
54d5e0e3f9 Refactoring mesh export code 2017-03-02 17:41:14 +01:00
Ian Rees
3a18d76fbd 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
ae9be458b0 Add AMF to understood extensions/formats. 2017-03-02 17:41:14 +01:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
looooo
f1fcefb228 py3: Mesh: fix py3 Long/Int problem with python2 2017-02-24 14:20:50 +01:00
looooo
ab0adc1887 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
707d6a0a4d py3: ported Mesh to python3 2017-02-24 14:20:50 +01:00
wmayer
e3477eee1b improve whitespaces 2017-02-18 09:44:58 +01:00
Mateusz Skowroński
f8778c4d6f Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
Jean-Samuel Reynaud
bb927ff3e8 Adding Normals in OBJ exports 2017-02-10 18:51:10 +01:00
wmayer
7ba2217617 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
wmayer
5acdaed2e3 fix various clang warnings 2016-12-18 16:08:30 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
51bcfdd6ba fix unicode problem when reading or writing mesh object 2016-10-01 20:41:00 +02:00
wmayer
7747430cfd do not check for solid when computing volume of mesh 2016-10-01 20:40:26 +02:00
wmayer
a68b03a083 fix some typos 2016-09-27 19:26:45 +02:00
wmayer
1139d9adbb fix -Wextra in Inspection 2016-09-23 18:10:27 +02:00
wmayer
f6e1cb6025 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
0a71c00b22 for obj export only create mtl file if color is per face 2016-09-21 10:05:40 +02:00
wmayer
013e2f30e5 take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
wmayer
2c226343cb improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
wmayer
48acb246cf improve obj support 2016-09-01 18:07:18 +02:00
wmayer
7c6964a7af fix memory leak 2016-08-24 19:09:12 +02:00
wmayer
cc97241969 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
af4ef2fa7f 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
691c2ddc21 add method to get self-intersections of a mesh via Python 2016-08-08 16:40:59 +02:00