Commit Graph

838 Commits

Author SHA1 Message Date
wmayer
580c124b22 Mesh: improve 3MF support 2022-08-31 17:07:44 +02:00
wmayer
61b92666e1 Mesh: refactor mesh exporter classes 2022-08-31 10:07:57 +02:00
wmayer
d371abf6f5 Mesh: move 3MF writer to its own class 2022-08-30 12:00:23 +02:00
wmayer
fd4e2c967b Mesh: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:30:53 +02:00
wmayer
89ad254b7c Base: support of SoFaceSet in InventorLoader 2022-08-26 14:51:43 +02:00
wmayer
6fa3a50149 Mesh: use Base::InventorLoader to load mesh files in .iv format 2022-08-26 12:39:52 +02:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
a00faca147 Mesh: implement smoothing based on median filter 2022-08-06 16:08:20 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
wmayer
869ab8d26c Mesh: consider placement in MeshPy::foraminate 2022-08-05 00:46:48 +02:00
wmayer
828c64a4c9 Mesh: consider placement in MeshPy::nearestFacetOnRay 2022-08-04 20:47:33 +02:00
wmayer
14451f7ec4 Mesh: consider placement in MeshPy::cut/trim/trimByPlane 2022-08-04 18:49:10 +02:00
wmayer
d542185ba2 Mesh: consider placement in MeshPy::getCurvaturePerVertex 2022-08-04 11:09:47 +02:00
wmayer
9b8cf02aaf Mesh: refactor MeshPy::getSelfIntersections 2022-08-04 10:34:49 +02:00
wmayer
322080d4f1 Mesh: refactor MeshPy::writeInventor 2022-08-03 17:56:24 +02:00
wmayer
88e32eba9b App: changes in ComplexGeoData:
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
luz paz
786741c0c0 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
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