Commit Graph

2006 Commits

Author SHA1 Message Date
Wanderer Fan
0fd189a153 [TD]simplify ActiveView
- remove copyActiveViewToSvgFile
- use bitmap image instead of Svg
- upgrade Task with crop options
2022-09-09 19:58:40 -04:00
wandererfan
5cafa954d4 [TD]fix misspelled preference key 2022-09-09 13:02:08 -04:00
wandererfan
9e60f1bbef [TD]fix extent dimension 2022-09-09 13:02:08 -04:00
wmayer
af8421c1fb TD: remove unused member variables to fix -Wunused-private-field 2022-09-08 08:15:19 +02:00
wandererfan
304308658b [TD]remove white matting around detail view 2022-09-07 16:06:54 -04:00
wandererfan
d8be4398e3 [TD]implement view stacking 2022-09-07 16:06:54 -04:00
wandererfan
d1d38b779d [TD]add PrintAll command 2022-09-07 16:06:54 -04:00
wandererfan
2dfc8667b6 [TD]default LineFormat ctor 2022-09-07 16:06:54 -04:00
Wanderer Fan
24c6e9ada1 [TD]propagate X,Y changes 2022-09-07 16:06:54 -04:00
Wanderer Fan
99f2820712 [TD]fix Text sizes not exact 2022-09-07 16:06:54 -04:00
wmayer
3e41bd9e3f TD: [skip ci] fix build failure with MSVC
The compiler requires the class declaration of LineSet in order to determine its size
2022-09-07 18:33:53 +02:00
Benjamin Bræstrup Sayoc
658e9591b3 [TechDraw] Microimprove new Face Finder Algorithm 2022-09-07 09:48:17 -04:00
Benjamin Bræstrup Sayoc
a1b8686627 [TechDraw] Fix bug in DrawUtil::isZeroEdge
Bug originating from b7a655f804fa11d3ec8d8a1ce2b36c75dbe48c2f
2022-09-07 09:44:09 -04:00
Benjamin Bræstrup Sayoc
b2a3d954ea [TechDraw] Improve readability of Geometry.cpp 2022-09-06 14:16:25 -04:00
wandererfan
6b8bd1f8f6 [TD]dvAnnotation default dtor 2022-09-05 19:52:34 -04:00
wandererfan
a88d4730d8 [TD]New face finder algo 2022-09-05 19:52:34 -04:00
wandererfan
d683ba12d2 [TD]CI clang warnings 2022-09-05 19:52:34 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wmayer
10d6a90be5 Mod: [skip ci] fix some MSVC warnings 2022-09-05 13:45:22 +02:00
wandererfan
2ba1618634 [TD]fix face centerline
- centerlines were being added to geometry in postHlrTasks,
  but some CL depend on faces and so we move to
  onFacesFinished.
2022-08-31 17:18:48 -04:00
wandererfan
60a230805c [TD]fix perspective projection
- the logic for the perspective option with the precise
  HLR algo was inadvertently removed in the multithread
  modifications.
2022-08-30 19:10:16 -04:00
wandererfan
87b3d768e4 [TD]fix too large page on print 2022-08-30 12:20:56 -04:00
wmayer
5f91eaa5eb TD: modernize C++: replace 'typedef' with 'using' 2022-08-30 10:59:39 +02:00
wandererfan
c0d69f7d8e [TD]replace GeometryObject only after all changes are done 2022-08-28 15:52:23 -04:00
wandererfan
67ce559bc5 [TD]clazy warning re 3 parameter QObject::connect 2022-08-28 15:52:23 -04:00
wandererfan
6bb936e87c [TD]cosmetic vertex size consistency 2022-08-28 13:13:20 -04:00
wandererfan
9035020315 [TD]fix crash in Preferences
- QGVPage was not detaching the parameter observer when
  deleted, leaving a stale pointer in the list of observers.
2022-08-27 15:50:48 -04:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
wmayer
ff38f8b8e8 CMake: [skip ci] remove trailing whitespaces 2022-08-24 07:46:07 +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
berniev
d2babf0eb5 App: Single arg ctors must be explicit 2022-08-24 07:20:57 +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
70cdbcb9ad TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Wanderer Fan
0a58649409 [TD]use Label in waiting for thread message 2022-08-21 21:18:26 -04:00
Wanderer Fan
81949d0817 [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
wmayer
8c298493de Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
wmayer
34279d26ba TD: fix UTF-8 handling in LineGroup 2022-08-20 16:00:36 +02:00
Benjamin Bræstrup Sayoc
070f33961c [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-19 09:14:10 -04:00
Wanderer Fan
a1cc69c8e3 [TD]code review changes for Gui 2022-08-18 19:43:04 -04:00
Wanderer Fan
e80c42e8f1 [TD]code review changes for dvp, dvs 2022-08-18 19:43:04 -04:00
Wanderer Fan
4cefaa3a13 [TD]code review changes for dgh, dpg, dpgi, dra 2022-08-18 19:43:04 -04:00
Wanderer Fan
90450e8a4a [TD]code review changes for dvp and dvd 2022-08-18 19:43:04 -04:00
Wanderer Fan
e30ee84bf4 [TD]fix typo in message 2022-08-18 13:02:50 -04:00
Wanderer Fan
6f646a8d2d [TD]prevent running threads on object delete 2022-08-18 09:34:32 -04:00
Wanderer Fan
e97b95341a [TD]code clean ups
- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
2022-08-18 09:34:32 -04:00
Wanderer Fan
459dde957c [TD]add preference for progress reporting 2022-08-18 09:34:32 -04:00
Wanderer Fan
2483b1524e [TD]fix detail of section not displayed on restore 2022-08-18 09:34:32 -04:00
Wanderer Fan
0babc10a99 [TD]fix projectShape for shape outline 2022-08-18 09:34:32 -04:00
Wanderer Fan
aa1193559b [TD]clazy warnings and duplicate setter/getter
- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
Wanderer Fan
2c047e361d [TD]fix segfault on repeated open/close
[TD]fix memory leak in ViewProviderPage

[TD]fix QGView redraws at idle
2022-08-18 09:34:32 -04:00