luz paz
390e09db32
Mesh: remove trailing whitespace
2022-11-14 21:37:03 -06:00
Uwe
8ec1279ea8
[Mesh] App-Facet: remove unused includes
...
- also some sorting
2022-11-10 04:18:59 +01:00
Kuzemko Alexsandr
63174d487f
[App] Fix of untranslated first document's name ( #7156 )
...
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
wmayer
50bd4d8428
Mesh: move Extension3MFFactory outside Exporter3MF
2022-09-26 11:05:01 +02:00
wmayer
16c73780b9
Mesh: add exporter class for 3MF format
2022-08-31 17:11:15 +02:00
wmayer
61b92666e1
Mesh: refactor mesh exporter classes
2022-08-31 10:07:57 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
wmayer
2e7a7e70b0
Mesh: [skip ci] use const-reference when iterating over list
2022-05-17 15:52:43 +02:00
wmayer
be16b749b5
Mesh: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
d69defaa3c
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
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