Commit Graph

519 Commits

Author SHA1 Message Date
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
wmayer
1d0e2a5526 Mesh: [skip ci] remove superfluous function call 2022-09-03 16:47:11 +02:00
wmayer
f156af4af8 Mesh: support to read 3MF format 2022-09-03 16:43:56 +02:00
wmayer
c4b12d61c5 Mesh: [skip ci] fix minor issues 2022-09-02 13:37:24 +02:00
wmayer
8f1875f429 Mesh: add support of thumbnails of 3MF format 2022-09-01 16:49:00 +02:00
wmayer
01ba72272d Mesh: [skip ci] include header in source file 2022-08-31 17:37:06 +02:00
wmayer
e09c54d10b Mesh: avoid to create an extra tmp. copy of MeshObject 2022-08-31 17:13:15 +02:00
wmayer
6c790da254 Mesh: add exporter class for 3MF format 2022-08-31 17:11:15 +02:00
wmayer
3e9ad93179 Mesh: improve 3MF support 2022-08-31 17:07:44 +02:00
wmayer
f557920414 Mesh: refactor mesh exporter classes 2022-08-31 10:07:57 +02:00
wmayer
b062344b06 Mesh: move 3MF writer to its own class 2022-08-30 12:00:23 +02:00
wmayer
f0ebcde942 Mesh: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:30:53 +02:00
wmayer
d1b6764514 Base: support of SoFaceSet in InventorLoader 2022-08-26 14:51:43 +02:00
wmayer
c3f76e0cd8 Mesh: use Base::InventorLoader to load mesh files in .iv format 2022-08-26 12:39:52 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
46cee50bd5 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 f4411478d106ba9f4827754a50efa53bd7767a66
- Image: commit e3476815c04c571199779bd1e444b950e6398025
- Import: commit b7b264e52c8fd97e83987c4ce42ce563170c8918
- Inspection: commit 1f64d8b1b8fcabe983c6e5e624d65766b4429ea0
- Mesh: commit 5a8fed0720d681cdbb9fedc840d2532c4f2f6042
- Part: commit 26bb65f11f4b51e5e47b65b2d6049ece10705a83
- PartDesign: commit f4e49f2aecf08f2337e84510ed019b7fa4b685a3
- Path: commit e3d9cc98577d2073297d55ffd8de28dd50f8444c
- Points: commit 09f3e867cdccd31294cced4e3c73015d3add3f4a
- Raytracing: commit 7b92dedc53f09e2ce8365408f3003e5700aebfc8
- ReverseEnginering: commit eeacc51ad0cd82e5f17d63207f78f79eb20bf9a9
- Robot: commit 4d06684cbd0328e4f43c78b5dab7e7fcebab148d
- Sketcher: commit 079125665495a08a7e2e2a4f01da406128dca625
- Spreadsheet: commit 514097954e95c04a7ec9d7e8ec1afc3aac3dd8d
- Start: commit 2ea2bb0dc393d7b8b41e9137c6d4ae40ce29719d
- Surface: commit 272268dd6c0b460ae9aeecdf371495ea26aa044d
- TechDraw: commit c70fdc3e0aa6b409626a6fa6b7266d05f3338c6d
- Test: commit 49a07b121e08e9bf3fef0f414a8da5602533592e
- Web: commit a93a23d7e4da13b2d5c37ac087b2dcf41aae197d
2022-08-24 07:40:04 +02:00
luz paz
7b10713d6f 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
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
54a0f44b81 Mesh: implement smoothing based on median filter 2022-08-06 16:08:20 +02:00