wmayer
7a2bfb7370
Mesh: Fix linter warnings
2024-11-21 18:30:22 +01:00
Chris Hennes
fa65438556
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wmayer
bd0a3122b6
Mesh: C++ core guidelines
2023-09-26 11:20:35 +02:00
wmayer
4e328682d9
Mesh: Apply clang-format
2023-09-23 14:03:11 +02:00
wmayer
7bbc93e218
Mesh: fixes issue #10075 : 3MF files exported from FreeCAD don't work in PrusaSlicer
...
Add an option to force to always write a mesh as model type even if it's not a solid
2023-09-06 07:28:07 +02:00
Chris Hennes
363ad73908
Mesh: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
wmayer
5177007994
Mesh: modernize C++: use equals default
2023-08-21 18:39:59 +02:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
ieternalleo
bececf6384
Mesh: Update error message to inform of missing mesh file format upon export
2023-02-12 10:29:35 +01:00
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