Commit Graph

121 Commits

Author SHA1 Message Date
wandererfan
6c9951deec [TD]improve ComplexSection handling of bad section normal choice 2025-04-28 19:15:58 -04:00
jonzirk76
35bae9a3ff Moved DrawUtil.cpp member functions to DrawViewPart.cpp
Updated ownership of member functions & updated headers

Removed redundant ownership lines

Removed reference to removed ownership line

Removed owner from function head

static reference removed from header file, function heads updated

attempt to fix CosmeticExtension.cpp

attempt to fix CosmeticExtension.cpp #2

attempt to fix CosmeticExtension.cpp #3

CosmeticExtension.cpp refactored based on DrawUtil member functions move
2025-04-07 11:07:52 +02:00
Chris Hennes
5a1170c795 Merge pull request #19941 from WandererFan/PropertiesAndSpinBoxes
[TD]Properties and spin boxes
2025-03-10 16:55:13 +00:00
Benjamin Bræstrup Sayoc
1078ee8c35 Remove magic number and hard type enums in DrawViewPart.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
wandererfan
8ec5ebeba7 [TD]use correct property type for directions 2025-03-02 09:05:10 -05:00
PaddleStroke
5eb73cf949 TechDraw: Enable setting a custom direction. Fixes #5821 2024-04-22 15:53:14 +02:00
PaddleStroke
246496eed1 TechDraw: Add taskbox to Part View. Removes Projection Group from toolbar. 2024-04-22 15:53:14 +02:00
wandererfan
43fc04309a [TD]implement BrokenView 2024-04-06 15:25:23 -04:00
wandererfan
1d3aca0733 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
wandererfan
6565732207 [TD]move dvp cosmetic functions to extension 2023-08-10 10:17:22 -04:00
wandererfan
08237b6c2c [TD]remove unused code dvp & sections 2023-08-10 10:17:22 -04:00
wandererfan
3d0d65b41c [TD]make scrubbing count a property of view 2023-04-17 20:43:20 -04:00
wandererfan
53290618dd [TD]fix centering of shape
- centering of shape was not affecting the OCC TShape, so
  we now make a deep copy of the original
2023-03-12 19:21:22 -04:00
wandererfan
97b6788464 [TD]fix wrong calculation of 3d two edge angle 2023-01-07 16:32:03 -05:00
wandererfan
208104e9e0 [TD]Refactor Dimensions for 3d upgrade
- separate validation, geometry and reference handling into
  individual files
- improve 3d reference geometry handling
- eliminate duplicate dim creation code

- add Dimension reference repair dialog

- Refactor formatting out of DrawViewDimension

- move dimension repaint control to ViewProvider
2023-01-07 16:32:03 -05:00
wandererfan
100d4956c8 [TD]detail of rotated ComplexSection 2022-12-18 09:42:42 -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
wandererfan
67ec157e59 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05: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
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
wandererfan
a88d4730d8 [TD]New face finder algo 2022-09-05 19:52:34 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -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
Wanderer Fan
81949d0817 [TD]use new style QObject::connect 2022-08-21 21:18:26 -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
2c19c29d3c [TD]move section cut and detail common to thread 2022-08-18 09:34:32 -04:00
Wanderer Fan
5a92b30f17 [TD]run hlr and extractFaces in threads 2022-08-18 09:34:32 -04:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
60012cd27e [TD] App Headers: remove unused header - part 2 2022-03-25 00:01:49 +01:00
Wanderer Fan
855941d5bb [TD]fix misplaced section line
- BRepBndLib::Add results in wrong bbox center.
- replaced with BRepBndLib::AddOptimal
2022-03-03 09:31:29 -05:00
Wanderer Fan
28c5890bc9 [TD] avoid memory leaks by using shared_ptr
TD geometry objects are sometimes double deleted.  This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wmayer
3fa4a321d3 TD: replace usage of raw pointers of Vertex and Face with shared pointers.
This fixes issue 4741: Broken File After Using Landmark Dimension in TechDraw
2021-12-10 14:25:24 +01:00
wandererfan
040d3f7b06 [TD]fix showSectionEdge preference 2020-08-10 10:19:09 -04:00
wandererfan
e0c80824de [TD]DPG spacing for oblique views 2020-07-07 15:26:20 -04:00
wandererfan
ed105a6f5b [TD]Use PropertyXLinkList for external Sources 2020-04-14 10:24:29 -04:00
wandererfan
fd240e9ea2 [TD] Landmark Dim minor clean ups
- clean up reference vertices on delete

- protect fail on close empty Page

- hide unimplemented functions
2020-02-27 15:46:31 -05:00
wandererfan
cb2a3d529c [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wandererfan
146d2b9adc [TD]2 pass autoscale for DVD, DVS 2020-02-14 07:44:56 -05:00
wandererfan
d2a8571737 [TD]fix autoscale for DPG 2020-02-14 07:44:56 -05:00
wandererfan
79d5d35eb1 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05:00
luz.paz
d1dc813a80 TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
8cbcd243e6 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
b54212f82c [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
a71bc8f734 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
f63cd9255a [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wandererfan
13ed0a1be9 [TD]Section Line position 2019-11-27 07:31:45 -05:00