Commit Graph

2105 Commits

Author SHA1 Message Date
wandererfan
5f9afef268 [TD]Separate test scripts which require QApplication 2022-11-21 18:24:57 -05:00
wandererfan
c8a0172df8 [TD]Add tests for geometry creation
- check that edge geometry count is correct
- handle delay waiting for threads to complete
- add test for DrawViewDetail
2022-11-21 18:24:57 -05:00
Aapo
1f6ec0469a [TD] DrawViewPart: Fix Dimension attachment for Coarse Views and faceless Views 2022-11-20 08:08:33 -05:00
Aapo
2e19e5f6fb [TD] DrawViewPart: Fix Dimension attachment on Cosmetic CenterLines upon document restore 2022-11-17 19:25:43 -05:00
wandererfan
4f96b1bf60 [TD]fix alignment of section line marks on rotated base view 2022-11-16 08:56:00 -05:00
wmayer
9e9c784041 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
b389f6e602 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
wandererfan
0c83a17ce8 [TD]prevent Complex Section with no Base View 2022-11-14 19:41:12 -05:00
wandererfan
26d7fe14e1 [TD]add section line marks for simple section 2022-11-14 19:41:12 -05:00
marioalexis
93133040e8 TechDraw: Improve and clean up code in some Python classes 2022-11-14 16:40:07 -05:00
wandererfan
53f5883ea1 [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
2a6bd73fc0 [TD]apply review comments from @chennes
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
fe4a402b04 [TD]simplify section hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
3ce218d1d7 [TD]simplify embedded image handling 2022-11-12 11:35:22 -05:00
wandererfan
199fd11623 [TD]simplify embedded file handling 2022-11-12 11:35:22 -05:00
wandererfan
75e163213a [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
9c9013810e [TD]fix embedded template file handling 2022-11-12 11:35:22 -05:00
wandererfan
d7ace29c75 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wandererfan
a4fbb2d802 [TD]Section dialog gui tweaks 2022-11-11 08:53:29 -05:00
wandererfan
1a9637a384 [TD]fix XDirection rotation of simple sections 2022-11-10 19:19:22 -05:00
wandererfan
94c5888921 [TD]fix oblique section line ends 2022-11-10 19:19:22 -05:00
wandererfan
0ebf61184a [TD]Section dialogs minor fixes
- make simple and complex dialogs consistent
- fix translation contexts
2022-11-10 19:19:22 -05:00
wandererfan
674b341af6 [TD]fix fail in calculating section line length 2022-11-10 19:19:22 -05:00
wandererfan
eb407feb60 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
5cedb9ea4e [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
marioalexis
e9782bfe38 TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy 2022-11-08 19:46:00 -05:00
wandererfan
c6615a1af5 [TD]fix read only scale property in DraftView
- also affects DrawViewSymbol and derivatives
2022-11-08 19:31:29 -05:00
luz paz
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
marioalexis
1a27202b69 TechDraw: Improve code in Python CosmeticEdgePy class 2022-11-07 08:01:45 -05:00
wandererfan
c5a263bdd8 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05:00
wandererfan
38f1906ae0 [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
wandererfan
4ea2cb4cc0 [TD]fix hatch test script
- test was erroneously adding hatch to page. Hatches only
  belong to DrawViewPart.
2022-11-07 07:56:43 -05:00
marioalexis
5b015b7022 TechDraw: Improve code in Python DrawPagePy class 2022-11-06 19:37:55 -05:00
wandererfan
36d0a67a4a [TD]fix tooltip for Equal Tolerance 2022-11-03 10:11:50 -04:00
wandererfan
19a5301e24 [TD]fix view drag and drop to page 2022-11-03 10:10:41 -04:00
Roy-043
ec3a1838ca TechDraw: "Alternate Decimals" label in prefs should be italic 2022-11-02 16:26:50 -04:00
Chris Hennes
2f7be9e782 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
7c6684a821 TechDraw: Improve code in Python CenterLinePy class 2022-10-31 09:08:52 -04:00
wandererfan
1282fdb7e8 [TD]remove export macros from PreCompiled.h 2022-10-29 19:19:54 -04:00
wandererfan
3c8ee7725b [TD]fix windows compile warnings 2022-10-29 19:19:54 -04:00
marioalexis
5fe254e6f1 TechDraw: Improve code in Python DrawViewPartPy class 2022-10-29 09:01:52 -04:00
Chris Hennes
51f54bd3a0 TechDraw: Windows compilation fix 2022-10-29 08:49:16 -04:00
wandererfan
86b5000451 [TD]fix missing include for CI 2022-10-28 08:47:45 -04:00
wandererfan
99f67b8a40 [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
5ddc6ce789 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
02fbf1334d [TD]fix check of wrong variable
- replace check of pages in selection with check of
  pages in document
- fix mixed {} conventions
- fix fail to exit on user cancel
2022-10-20 21:28:04 -04:00
wandererfan
16c52bb18c [TD]expose DVP projectPoint to Python 2022-10-19 20:00:27 -04:00
wandererfan
ce4ba703d9 [TD]ActiveView from different document 2022-10-18 09:04:28 -04:00
Yorik van Havre
d8d55a0e88 Merged crowdin translations 2022-10-17 15:12:16 +02:00
wandererfan
a22b0c89d3 [TD]update export icons 2022-10-16 07:55:35 -04:00