Commit Graph

539 Commits

Author SHA1 Message Date
wmayer
fb75ab6e10 Mesh: modernize C++: use override 2023-08-04 17:09:53 +02:00
luzpaz
a59ec2df85 Fix typos 2023-07-17 16:08:05 -05:00
Petter Reinholdtsen
5f95364012 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
38a01939e0 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
82b168da15 Mesh: fix some clang-tidy warnings 2023-03-27 11:22:21 +02:00
Andrew
bebadad9bf clean Mod/Mesh from #if 0 2023-03-27 11:22:21 +02:00
liukaiwen
de63e13adb 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
2a0e52e71e clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
xtemp09
eda50c13b0 [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
c770e1b677 Mod: catch exception raised by Rotation::setValue 2023-03-01 18:43:15 +01:00
ieternalleo
f5c2149fe8 Mesh: Update error message to inform of missing mesh file format upon export 2023-02-12 10:29:35 +01:00
luzpaz
feb18d8a15 Fix various typos 2023-01-22 20:27:47 -06:00
wmayer
91613cc24c 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
b358407e3b Base: refactor InventorBuilder 2022-12-13 17:48:51 +01:00
wmayer
1ba1506ebb Mesh: Refactor MeshOutput::SaveInventor 2022-12-13 13:59:33 +01:00
wmayer
a91e6e9ba6 Base: set values in constructor of NormalItem 2022-12-13 12:47:42 +01:00
wmayer
bc33b44f3e Mod: use new API of InventorBuilder 2022-12-12 20:50:32 +01:00
Uwe
757524ce16 [Mesh] App: remove unused/unnecessary headers 2022-12-10 00:33:40 +01:00
wmayer
3af980c99d Mesh: [skip ci] use new API of InventorBuilder 2022-12-07 15:17:14 +01:00
luz paz
056d1aea87 Fix various typos and grammatical issues 2022-11-30 12:45:29 +01:00
wmayer
0349009e39 Base: refactoring of InventorBuilder 2022-11-30 12:29:09 +01:00
wmayer
9537b3e84c Base: refactoring of InventorBuilder 2022-11-29 15:20:43 +01:00
wmayer
cf3225b50f Base: refactoring of InventorBuilder 2022-11-29 13:28:00 +01:00
wmayer
f0e22410db Base: start of refactoring of InventorBuilder 2022-11-27 16:45:16 +01:00
wmayer
dafe5f11fb Base: start of refactoring of Builder3D 2022-11-27 15:02:44 +01:00
Uwe
82ea017a39 [Mesh] remove GTSAlgos
- unused since a while
2022-11-23 17:35:06 +01:00
Uwe
56965e4244 [Mesh] Core P-end: remove unused includes
- also some sorting
2022-11-22 03:10:47 +01:00
Uwe
c907c2dbf1 [Mesh] Core E-M: remove unused includes
- also some sorting
2022-11-21 03:59:13 +01:00
Uwe
ed6e63084d [Mesh] Core A-D: remove unused includes
- also some sorting
2022-11-21 03:24:27 +01:00
Uwe
dab06a985b [Mesh] Core/IO: remove unused includes
- also some sorting
2022-11-21 02:49:26 +01:00
luz paz
c174e063f3 Mesh: remove trailing whitespace 2022-11-14 21:37:03 -06:00
Uwe
1191a19de4 [Mesh] Feature*: remove unused includes
- also some sorting
2022-11-11 14:02:49 +01:00
Uwe
356ae47332 [Mesh] Imp* - end: remove unused includes
- also some sorting
2022-11-11 03:34:31 +01:00
wmayer
bca27b0f6b Mesh: [skip ci] add export macro to Wm4 constants 2022-11-10 10:23:25 +01:00
Uwe
cf32bc54f1 [Mesh] App-Facet: remove unused includes
- also some sorting
2022-11-10 04:18:59 +01:00
wmayer
f9363d3140 Mesh: [skip ci] remove unused header 2022-11-08 10:44:15 +01:00
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
wmayer
f3440f403f Mesh: use PropertyMaterial in view provider 2022-10-23 23:31:04 +02:00
wmayer
86bf176b1f Mesh: implement PropertyMaterial 2022-10-23 19:49:46 +02: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
Chris Hennes
c5f50b3b25 Mesh: Add boost/regex.hpp to Mesh's PreCompiled.h 2022-09-20 16:47:27 -05:00
wmayer
d022e27f12 Mesh: split OBJ reader and writer from MeshIO 2022-09-20 20:22:30 +02:00
marioalexis
6dc262d44c Mesh: Replace C cast 2022-09-18 11:06:51 -05:00
wmayer
1309b86ea5 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
a566edfa43 Mesh: implemment mechanism to load MeshGui module when exporting to 3MF file 2022-09-14 12:05:32 +02:00
wmayer
2ff4c9c8e2 Mesh: [skip ci] remove xerces2 stuff 2022-09-09 08:25:15 +02:00
wmayer
c075a298ae Mesh: use class ZipHeader to directly access the model file of a 3MF file 2022-09-05 18:55:43 +02:00
wmayer
bea96ddb1b Mesh: [skip ci] add missing headers to PCH 2022-09-05 12:31:16 +02:00
wmayer
299397fd2f Mesh: [skip ci] fix several minor issues 2022-09-03 18:30:49 +02:00