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
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
wmayer
8a59350de8
Mesh: add unit tests
2023-08-27 18:55:02 +02:00
Chris Hennes
d8094b0d57
Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
...
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
wmayer
bb13c179e9
Base: fix clang-tidy warnings in BoundBox.h
2023-08-26 21:03:58 +02:00
Chris Hennes
363ad73908
Mesh: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05: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
e98891859e
Mesh: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
Jonas Bähr
3e68d6fd50
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
wmayer
375cb9a0fe
Mesh: modernize C++: use range-based for loop
2023-08-15 10:56:30 +02:00
wmayer
9f456d712b
modernize C++: use equals delete
2023-08-10 17:29:05 +02:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
Roy-043
7bb6f48dbd
Mesh: Avoid dictionary.keys() where possible
2023-08-08 17:29:05 +02:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
wmayer
96aabe113e
modernize C++: raw string literal
2023-08-07 19:51:15 -06:00
Benjamin Bræstrup Sayoc
33384cff9c
[Everywhere] FileInfo::hasExtension for multiple values ( #9774 )
...
* [Base] Add hasExtension for multiple values
* [Gui] Use hasExtension for multiple values
* [Drawing] Use hasExtension for multiple values
* [Fem] Use hasExtension for multiple values
* [Import] Use hasExtension for multiple values
* [Mesh] Use hasExtension for multiple values
* [Part] Use hasExtension for multiple values
* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
wmayer
f94b026456
modernize C++: use transparent functors
2023-08-07 16:08:35 +02:00
wmayer
5a7824b646
Mesh: for invalid neighbour facet indexes explicitly use -1
...
The underlying C++ class use an unsigned long to reference neighbour facets. ULONG_MAX is used to indicate a missing neighbour facet.
Since the value of ULONG_MAX is platform dependent and can be confusing in Python the Python wrapper FacetPy now explicitly uses -1 to indicate missing neighbour facets
2023-08-05 15:32:11 -06:00
wmayer
3975f31f89
Misc: modernize C++: use override
2023-08-04 17:09:53 +02:00
wmayer
ec0c7ab835
Mesh: modernize C++: use override
2023-08-04 17:09:53 +02:00
luzpaz
13f79ab6df
Fix typos
2023-07-17 16:08:05 -05:00
Petter Reinholdtsen
3a363b538f
Use python3 as the interpreter instead of python (ie v2) more places.
...
This fixes lintian warning "unusual-interpreter".
Part of the Debian edition of FreeCAD since 2023.
2023-07-06 05:19:31 +02:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
wmayer
f6d9a8a345
Mesh: fix some clang-tidy warnings
2023-03-27 11:22:21 +02:00
Andrew
bf57f49a2e
clean Mod/Mesh from #if 0
2023-03-27 11:22:21 +02:00
liukaiwen
971785a160
fix: macro WIN32 is deprecated, but is implicit defined by some certain environment including visual studio
2023-03-22 13:29:35 +01:00
wmayer
2a970b3045
clang: fix -Wunused-but-set-variable
2023-03-12 15:05:21 +01:00
xtemp09
61f1310aa5
[Mesh] Minor code update
...
Removal of unnecessary comparison.
`QThread::idealThreadCount()` returns the ideal number of threads that the process can run in parallel or 1 if it fails to determine it.
2023-03-08 13:20:45 +01:00
wmayer
d196f8c496
Mod: catch exception raised by Rotation::setValue
2023-03-01 18:43:15 +01:00
ieternalleo
bececf6384
Mesh: Update error message to inform of missing mesh file format upon export
2023-02-12 10:29:35 +01:00
luzpaz
edfc993b7f
Fix various typos
2023-01-22 20:27:47 -06:00
wmayer
3e58513c24
Mod: fix some compiler warnings:
...
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
2fa8fb45d8
Base: refactor InventorBuilder
2022-12-13 17:48:51 +01:00
wmayer
12091cceab
Mesh: Refactor MeshOutput::SaveInventor
2022-12-13 13:59:33 +01:00
wmayer
6e71964d4e
Base: set values in constructor of NormalItem
2022-12-13 12:47:42 +01:00
wmayer
cfc97b80b1
Mod: use new API of InventorBuilder
2022-12-12 20:50:32 +01:00
Uwe
7acc1eca60
[Mesh] App: remove unused/unnecessary headers
2022-12-10 00:33:40 +01:00
wmayer
ae0ee09a09
Mesh: [skip ci] use new API of InventorBuilder
2022-12-07 15:17:14 +01:00
luz paz
fa98553775
Fix various typos and grammatical issues
2022-11-30 12:45:29 +01:00
wmayer
e18cb45673
Base: refactoring of InventorBuilder
2022-11-30 12:29:09 +01:00
wmayer
c16e4670fd
Base: refactoring of InventorBuilder
2022-11-29 15:20:43 +01:00
wmayer
b325ab93dc
Base: refactoring of InventorBuilder
2022-11-29 13:28:00 +01:00
wmayer
c988f1d472
Base: start of refactoring of InventorBuilder
2022-11-27 16:45:16 +01:00
wmayer
8f136f60c6
Base: start of refactoring of Builder3D
2022-11-27 15:02:44 +01:00
Uwe
d1431f405c
[Mesh] remove GTSAlgos
...
- unused since a while
2022-11-23 17:35:06 +01:00
Uwe
69dd6ea965
[Mesh] Core P-end: remove unused includes
...
- also some sorting
2022-11-22 03:10:47 +01:00
Uwe
3b7189f6af
[Mesh] Core E-M: remove unused includes
...
- also some sorting
2022-11-21 03:59:13 +01:00
Uwe
577ba5ba58
[Mesh] Core A-D: remove unused includes
...
- also some sorting
2022-11-21 03:24:27 +01:00
Uwe
3283107f38
[Mesh] Core/IO: remove unused includes
...
- also some sorting
2022-11-21 02:49:26 +01:00