Commit Graph

54 Commits

Author SHA1 Message Date
ieternalleo
f5c2149fe8 Mesh: Update error message to inform of missing mesh file format upon export 2023-02-12 10:29:35 +01:00
luz paz
c174e063f3 Mesh: remove trailing whitespace 2022-11-14 21:37:03 -06:00
Uwe
cf32bc54f1 [Mesh] App-Facet: remove unused includes
- also some sorting
2022-11-10 04:18:59 +01:00
Kuzemko Alexsandr
2eb55d48c7 [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
849305b88a Mesh: move Extension3MFFactory outside Exporter3MF 2022-09-26 11:05:01 +02:00
wmayer
6c790da254 Mesh: add exporter class for 3MF format 2022-08-31 17:11:15 +02:00
wmayer
f557920414 Mesh: refactor mesh exporter classes 2022-08-31 10:07:57 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
eaaed0d81c Mesh: [skip ci] use const-reference when iterating over list 2022-05-17 15:52:43 +02:00
wmayer
ec4d8a7500 Mesh: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1f12dca2b4 Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
505e8564b2 Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
luz paz
2321c90c76 Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
wmayer
2c08e37ec0 Mesh: [skip ci] refactor Mesh open/import functions 2021-03-20 21:54:30 +01:00
Zheng, Lei
a01e2aaf8f Mesh: refactor mesh exporter for better support of Link 2021-02-06 17:13:36 +01:00
wmayer
6ca3a56c47 Mesh: [skip ci] fix bug in Mesh.export when passing a custom tolerance value 2020-08-26 11:06:43 +02:00
wmayer
67149d7500 Mesh: [skip ci] support of loading colored mesh segments 2020-07-06 12:17:15 +02:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
89a624caf1 support to show color per face 2019-09-24 21:37:11 +02:00
wmayer
05550fcdf0 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
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
846195327a harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02: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
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
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
013e2f30e5 take care of segments in mesh on export 2016-09-08 13:32:30 +02:00
wmayer
217d4897fe support groups for export to obj format 2016-07-24 16:16:42 +02:00
wmayer
3f83814682 improve groups handling of obj mesh format 2016-07-24 00:23:45 +02:00
wmayer
f5d4cb09c8 compute minimum volume oriented box 2016-07-02 18:10:23 +02:00
wmayer
d962fda983 + 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
6c3bb7c7c4 + support of export of points to pcd and ply format 2016-03-04 14:48:26 +01:00
wmayer
6877619d94 + fix to load mesh with colours 2016-02-13 20:01:47 +01:00
wmayer
38660ce742 + simplify porting of Mesh module to Python3 2016-01-21 15:49:22 +01:00
Yorik van Havre
21504fc467 Made last commit non-C++11 compatible 2016-01-19 11:25:16 -02:00
Ian Rees
f9f8efa120 Added ability to change mesh export tolerance. 2016-01-19 20:44:17 +13:00
wmayer
9f19d5611a + support reading mesh files with colors 2015-12-31 21:07:04 +01:00
wmayer
8831f1d669 + port SurfaceFit to Eigen3 and add unit tests 2015-10-13 20:03:47 +02:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
af50cbf964 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