Commit Graph

815 Commits

Author SHA1 Message Date
wmayer
45f534bc32 Mesh: Fix several clazy issues:
* Use multi-arg instead [-Wclazy-qstring-arg]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-25 01:14:40 +02:00
Uwe
88a06f8f10 Mod: remove some unnecessary nullptr checks 2022-07-18 12:58:12 +02:00
Uwe
2d2ad11e14 [Mesh] remove superfluous nullptr checks 2022-07-18 02:37:33 +02:00
wmayer
aea58ace37 Mesh: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 13:33:18 +02:00
wmayer
42b519a90a Mesh: [skip ci] unit test for Mesh.foraminate() 2022-07-15 18:53:56 +02:00
wmayer
e2e58f7bff Mesh: [skip ci] allow to set third parameter in Python wrapper 2022-07-15 17:39:33 +02:00
wmayer
317c6afd45 Mesh: fix (Qt) issues found by clang's clazy tool 2022-06-30 13:14:03 +02:00
mosfet80
d162d9371c Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. (#7036)
* remove msc<1800
2022-06-28 00:42:33 +02:00
wmayer
c955372ecf cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
 Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
830b3944db Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
marioalexis
a91e32a6f4 Mesh: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
Kuzemko Alexsandr
e678620cbd Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
wmayer
e7a9081097 Mesh: replace boost::bind with std::bind 2022-06-21 15:23:47 +02:00
wmayer
0a4488462c Mesh: reduce the use of const_cast in Mesh module 2022-06-21 12:20:37 +02:00
Uwe
7c98361447 [Meh] Core: remove unnecessary Boolean comparisons - part 2/2 2022-06-19 18:22:22 +02:00
Uwe
a922605821 [Meh] Core: remove unnecessary Boolean comparisons - part 1 2022-06-19 18:12:56 +02:00
Uwe
1a346722f8 [Meh] Gui: remove unnecessary Boolean comparisons 2022-06-19 18:00:46 +02:00
wmayer
79df90a45c Mesh: fixes #7018: 3mf created with FreeCAD cannot be loaded with PrusaSlicer 2022-06-14 18:55:05 +02:00
wmayer
b85e9b1fe4 Mesh: fixes #6902: Conda test errors 2022-06-14 11:32:07 +02:00
Yorik van Havre
baa1105a53 Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
19ffd1ca94 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
68e8c19aaf Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
e5fb5a6f27 Mesh: [skip ci] improve German translation 2022-06-09 12:56:43 +02:00
Yorik van Havre
2e4dcfc22a Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
b06f247f9f Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
b9b21ddac5 Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
eff8ecaafc Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Kuzemko Alexsandr
d920a5bf4d [Mesh] Add ability to translate
This fix https://github.com/FreeCAD/FreeCAD-translations/issues/53
2022-05-31 12:01:02 +02:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
wmayer
45a0e6eb20 Mesh: [skip ci] add 3mf format to export dialog 2022-05-26 10:51:43 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
7d6243d696 Mesh: [skip ci] change icon Mesh_EvaluateFacet.svg 2022-05-20 11:03:07 +02:00
wmayer
f16f617dc8 Mesh: [skip ci] add missing icon Mesh_Pipette.svg 2022-05-19 20:07:04 +02:00
wmayer
a5ff515804 Mesh: issue #6131: Colors set prior to saving aren't retained when re-opening file
Note: A mesh feature must have a PropertyColorList property with the name FaceColors or VertexColors. The colors won't be set when loading a project but in the context-menu there is the function 'Display colors'
2022-05-17 16:43:53 +02:00
wmayer
2e7a7e70b0 Mesh: [skip ci] use const-reference when iterating over list 2022-05-17 15:52:43 +02:00
wmayer
eca8c9dbe2 Mesh: improve OBJ import by allowing arbitrary names for the mtllib file 2022-05-17 15:02:59 +02:00
wmayer
f1025b1448 Mesh: replace several reinterpret_cast with static_cast 2022-05-17 14:33:44 +02:00
Yorik van Havre
559a3f84dc Merge pull request #6896 from FreeCAD/mesh-initpy
Mesh: fix pep8 related issues in Init.py
2022-05-17 13:40:00 +02:00
wmayer
bb028c7989 Mesh: modernize MeshIO classes 2022-05-17 12:20:22 +02:00
wmayer
354bfb5c5b Mesh: implemented recommended move constructor and move assignment for Point3d 2022-05-17 11:55:33 +02:00
wmayer
3fbc9992e8 Mesh: avoid problematic const_cast 2022-05-17 11:54:11 +02:00
wmayer
74ead2c6ff Mod: whitespace fixes 2022-05-17 11:51:22 +02:00
luz paz
feec67e90f Mesh: fix pep8 related issues in Init.py
Added `import FreeCAD`
Added missing whitespace after commas
Removed DOS line endings
2022-05-16 16:44:00 -04:00
Chris Hennes
44540a4d82 Mesh: Add missing toolbar translation strings 2022-05-08 17:02:41 -05:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00