Commit Graph

1319 Commits

Author SHA1 Message Date
wandererfan
67ec157e59 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05:00
wandererfan
7d7a1474d5 [TD]fix exception on empty compound
- if the intersection of the segment tool and
  source shape is empty, processing should
  continue with next segment
2022-11-07 07:57:37 -05:00
marioalexis
e07c80a1db TechDraw: Improve code in Python DrawPagePy class 2022-11-06 19:37:55 -05: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
marioalexis
b64d987ac1 TechDraw: Improve code in Python CenterLinePy class 2022-10-31 09:08:52 -04:00
wandererfan
f6fc9554ec [TD]remove export macros from PreCompiled.h 2022-10-29 19:19:54 -04:00
marioalexis
c8aef3b75b TechDraw: Improve code in Python DrawViewPartPy class 2022-10-29 09:01:52 -04:00
wandererfan
86e7f36791 [TD]fix missing include for CI 2022-10-28 08:47:45 -04:00
wandererfan
87cc3fe864 [TD]SectionView/ComplexSection - preview, direction selection
- add preview/live update to TaskSectionView & TaskComplexSection
- add view direction selector to uis
- use SectionNormal as Direction.  Make Direction read-only
- simplify section line end point calculation
- section group command in toolbar
- make section and complex section icons consistent
- fix compsolid cutting tool
- terminology: single/piecewise to offset/aligned
2022-10-28 08:47:45 -04:00
wandererfan
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
e9d988d43c [TD]expose DVP projectPoint to Python 2022-10-19 20:00:27 -04:00
Uwe
ce93dce31f [TD] Gui, PreCompiled.h: add missing OCC files 2022-10-10 03:00:57 +02:00
Uwe
aee2e64c2e [TD] [skip CI] PreCompiled.h: add comments 2022-10-09 20:05:45 +02:00
wmayer
9f2d7ec51f TD: [skip ci] adding missing Qt header to PCH 2022-10-08 19:06:34 +02:00
Uwe
4d73bd5a50 [TD] DrawD* - DrawT*: remove unused includes - part 2/2
- also sort includes
- also additions to precompiled header
2022-10-08 17:21:26 +02:00
Uwe
4a5cac2c52 [TD] DrawD* - DrawT*: remove unused includes - part 1
- also sort includes
2022-10-08 16:33:16 +02:00
wmayer
a7dc5c23e4 TD: replace QRegExp with QRegularExpression 2022-10-08 13:33:10 +02:00
Uwe
1640f01e34 [TD] [skip CI] DrawSVGTemplate.cpp: uniform whitespace 2022-10-08 12:33:12 +02:00
Uwe
a67f118d7f [TD] DrawR* - DrawT*: remove unused includes
- also sort includes
2022-10-08 12:21:25 +02:00
Uwe
fda14d45c2 [TD] Draw*Imp: remove unused includes
- also some sorting
2022-10-08 04:06:10 +02:00
Uwe
c8b51fb79c [TD] DrawUtil: remove unused includes
- also sort includes
- also move a definition to it
- also adapt two Gui files accordingly
2022-10-08 03:35:59 +02:00
Uwe
909e4f2dd3 [TD] DrawView*: remove unused includes - part 2
- also sort includes
- also additions to precompiled header
2022-10-08 02:10:26 +02:00
wmayer
840fc70106 Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
Uwe
44a91217a2 [TD] DrawView*: remove unused includes - part 1
- also sort includes
- also additions to precompiled header
2022-10-07 01:08:38 +02:00
Uwe
fbdfdf4fbc [TD] [skip CI] TechDrawExport.cpp: whitespace fixes 2022-10-06 02:56:35 +02:00
Uwe
4c92678dfd [TD] ShapeExtractor.cpp: fix whitespace 2022-10-06 02:45:00 +02:00
Uwe
55f0cf4255 [TD] P* - T*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-06 02:36:48 +02:00
wmayer
d474d2aaa8 TD: [skip ci] may explicitly require gp_Ax3 header depending on OCCT version 2022-10-05 09:36:31 +02:00
Uwe
f04cab01a4 [TD] next attempt to fix CI compiler error
- reported here: https://gitlab.com/freecad/FreeCAD-CI/-/jobs/3127909597
2022-10-05 04:19:50 +02:00
Uwe
934dbef946 [TD] attempt to fix CI compiler error
- reported here: https://gitlab.com/freecad/FreeCAD-CI/-/jobs/3127855862
(compiles fine with Visual Studio, thus I can only guess)
2022-10-05 04:08:20 +02:00
Uwe
d3c70c8740 [TD] E* - L*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-05 03:43:42 +02:00
wandererfan
c1871ced15 [TD]encode Xml characters in spreadsheet 2022-10-04 08:16:36 -04:00
Uwe
01c7df9f4f [TD] A* - C*: remove unused includes
- also sort includes
- also sort PreCompiled.h
2022-10-03 23:05:36 +02:00
Uwe
5f934ce6e9 [Part] OpenCascadeAll.h: sort entries and remove duplicates
- to keep the overview (several duplicates where found this way)
- also move the few includes from TechDraw to the file
2022-10-03 22:50:55 +02:00
marioalexis
87dfe33833 TechDraw: Replace C cast 2022-09-18 11:06:51 -05:00
wandererfan
5cae6597b3 [TD]position view within clip group 2022-09-17 09:07:30 -04:00
wandererfan
3ca81a7916 [TD]fix PrintAll output to printer 2022-09-12 19:20:07 -04:00
wandererfan
f99ff1b429 [TD]fix missing "= true" 2022-09-12 19:20:07 -04:00
wandererfan
359c808d52 [TD]restore missing isoparameter option 2022-09-11 19:06:02 -04:00
wandererfan
7bfcdcefd2 [TD]space secondary views by row/columns 2022-09-10 12:00:31 -04:00
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
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
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