Commit Graph

996 Commits

Author SHA1 Message Date
wandererfan
6cc849fb73 [TD]allow rotation of hatch directions
- faces can have their svg and bitmap hatches rotated to match
  the view rotation or special situations
- section cut face can have svg hatch rotated
2022-12-03 15:15:25 -05:00
wmayer
3df86553f8 TD: [skip ci] fix warnings reported by GH actions 2022-11-27 16:51:15 +01:00
wandererfan
4b02daa895 [TD]fix ComplexSection null cut shape 2022-11-27 08:21:40 -05:00
wandererfan
02008c8877 [TD]fix fail on missing base view (#7856) 2022-11-22 20:38:46 -05:00
Aapo
d0d511f940 [TD] DrawViewPart: Fix Dimension attachment for Coarse Views and faceless Views 2022-11-20 08:08:33 -05:00
Aapo
300ca5b206 [TD] DrawViewPart: Fix Dimension attachment on Cosmetic CenterLines upon document restore 2022-11-17 19:25:43 -05:00
wmayer
77bae9c9a0 TD: fix memory leaks with raw pointers of GeometryObject
Replacing the use of raw pointers of GeometryObject with shared pointers fixes the observed memory leaks when running the unit tests of TechDraw
2022-11-15 16:16:08 -05:00
luz paz
2d94a99740 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
wandererfan
356faf94da [TD]prevent Complex Section with no Base View 2022-11-14 19:41:12 -05:00
wandererfan
33bee19d81 [TD]add section line marks for simple section 2022-11-14 19:41:12 -05:00
marioalexis
232b27517c TechDraw: Improve and clean up code in some Python classes 2022-11-14 16:40:07 -05:00
wandererfan
1349a7120a [TD]fix handling of multiple pages
- the routines for retrieving a view's parent page
  did not correctly deal with duplicate page entries
2022-11-14 16:38:27 -05:00
wandererfan
4774c432c5 [TD]apply review comments from @chennes
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
edf7d93188 [TD]simplify section hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
ecac894248 [TD]simplify embedded image handling 2022-11-12 11:35:22 -05:00
wandererfan
7e59f3ea30 [TD]simplify embedded file handling 2022-11-12 11:35:22 -05:00
wandererfan
a2976bcfbc [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
1cf51ec1c3 [TD]fix embedded template file handling 2022-11-12 11:35:22 -05:00
wandererfan
0bf5d67906 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wandererfan
9a07c52aff [TD]fix XDirection rotation of simple sections 2022-11-10 19:19:22 -05:00
wandererfan
b8eee9c0f2 [TD]fix fail in calculating section line length 2022-11-10 19:19:22 -05:00
wandererfan
9b4b91ede4 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
76f92e8568 [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
marioalexis
d924a93782 TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy 2022-11-08 19:46:00 -05:00
wandererfan
cdce4fc74d [TD]fix read only scale property in DraftView
- also affects DrawViewSymbol and derivatives
2022-11-08 19:31:29 -05:00
luz paz
e75ffa0566 Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
marioalexis
308fa5b73a TechDraw: Improve code in Python CosmeticEdgePy class 2022-11-07 08:01:45 -05:00
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