Commit Graph

47 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
PhoneDroid
90a4f9ecb0 [ Mesh ]: Update SPDX License Identifiers 2025-11-02 15:49:56 -06:00
Markus Reitböck
13c8b52a6a Mesh: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-22 23:17:40 +02:00
Benjamin Nauck
dd6aa9f3c7 Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Tobias Frost
7a5a3d1ffc spelling fixes (#18688)
* Fixes spelling of "Allow to" to "Allow one to"

and those variants:
Allows to -> Allows one to
allow to -> allow one to
allows to -> allows one to

* Fix "Let's -> Lets"

(and lower case variant.)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update src/3rdParty/salomesmesh/inc/MED_Wrapper.hxx

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Base/PyObjectBase.cpp
Update src/App/ExtensionContainer.h
Update src/App/PropertyContainer.h

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Use gerund in user-facing texts.

* Use gerund for two more user-facing strings.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Tobias Frost <tobi@debian.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-01-13 11:22:20 -06:00
wmayer
7a2bfb7370 Mesh: Fix linter warnings 2024-11-21 18:30:22 +01:00
bgbsww
b1a96bde5f Don't apply the transformations recursively, just make sure the right one is applied to the top subobject (#11539) 2023-11-29 17:15:59 -03:00
wmayer
dcd533af4b Base: fix google-explicit-constructor 2023-11-22 23:47:29 +01:00
pre-commit-ci[bot]
11916af30d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-11 18:21:31 +01:00
bgbsww
b52694c87b Fix 10545 by using position of array members 2023-11-11 18:21:31 +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
wmayer
e613167d8d Mesh: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
5177007994 Mesh: modernize C++: use equals default 2023-08-21 18:39:59 +02:00
wmayer
375cb9a0fe Mesh: modernize C++: use range-based for loop 2023-08-15 10:56:30 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
Uwe
8ec1279ea8 [Mesh] App-Facet: remove unused includes
- also some sorting
2022-11-10 04:18:59 +01:00
wmayer
50bd4d8428 Mesh: move Extension3MFFactory outside Exporter3MF 2022-09-26 11:05:01 +02:00
wmayer
b5e8a2c28d Mesh: implemment mechanism to load MeshGui module when exporting to 3MF file 2022-09-14 12:05:32 +02:00
wmayer
01c3f1b636 Mesh: [skip ci] fix minor issues 2022-09-02 13:37:24 +02:00
wmayer
086ce2d34c Mesh: add support of thumbnails of 3MF format 2022-09-01 16:49:00 +02:00
wmayer
ea8cf94991 Mesh: [skip ci] include header in source file 2022-08-31 17:37:06 +02:00
wmayer
fcc9d1fc84 Mesh: avoid to create an extra tmp. copy of MeshObject 2022-08-31 17:13:15 +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
wmayer
f6f21f4fa6 Mesh: Fix several coverity issues:
* CID 350557: Out-of-bounds read (false-positive)
* CID 316517: Uninitialized scalar variable
* CID 316519: Uninitialized scalar variable
* CID 316547: Uninitialized scalar variable
* CID 316556: Uninitialized scalar variable
* CID 350614: Uncaught exception
* CID 350606: Uncaught exception
* CID 332681: Using invalid iterator
2022-03-13 14:58:14 +01:00
Uwe
b4fff07d9e [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
wmayer
33f3fa6865 Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes 2021-09-14 23:01:29 +02:00
Zheng, Lei
db9525e7d7 Mesh: minor change to exporter based on suggestion 2021-02-06 17:13:36 +01:00
Zheng, Lei
ea61253c67 Mesh: refactor mesh exporter for better support of Link 2021-02-06 17:13:36 +01:00
luz.paz
d923798946 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01: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
wmayer
855f4ef2f6 Fix globalPosition in Stl export 2018-08-11 15:36:08 +02:00
wmayer
9602e22c3d compute the actual placement to apply instead of transforming the points twice 2018-08-11 14:36:50 +02:00
wandererfan
0f9eba7d96 Fix double application of Placement
- global placement already contains feature
  placement, so multiplying aPoints by
  global placement applies feature placement
  twice.
2018-08-11 13:49:29 +02:00
wmayer
c2ab3f02cd remove undesired dependency of Mesh to Part module 2018-07-28 11:58:39 +02:00
wandererfan
e267eac7bb Fix #3329 globalPosition in Stl export 2018-07-27 10:37:06 -03:00
wmayer
004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
f560398f30 add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces 2017-03-02 22:33:38 +01:00
Ian Rees
da0f810282 Avoid empty meshes. Improve object type detection. 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
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