Commit Graph

200 Commits

Author SHA1 Message Date
wandererfan
fb9b3a9e9e [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
01641433c1 [TD]getters and setters for geometry
- make attributes private (or protected) and use
  getters and setters instead of accessing attributes
  directly.
2023-02-28 08:15:06 -05:00
Uwe
c32bf8e99a [TD] fix compiler about a variable redefinition 2023-02-26 10:31:36 +01:00
wandererfan
12db3618df [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
wandererfan
664b2560ad [TD]fix wrong calculation of 3d two edge angle 2023-01-07 16:32:03 -05:00
wandererfan
1b547dff72 [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
14994bd9f7 [TD]remove debug statements 2022-12-26 12:13:34 -05:00
wandererfan
d7a9f44f20 [TD]fix startup exception on empty compound 2022-12-26 12:13:34 -05:00
wandererfan
47ef35047b [TD]detail of rotated ComplexSection 2022-12-18 09:42:42 -05:00
wandererfan
23dc64365b [TD]move makeAlignedPieces to separate thread
- correct ComplexSection rotation

- fix fail to load CS for some profiles and directions
2022-12-18 09:42:42 -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
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
wandererfan
d7ace29c75 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wandererfan
1a9637a384 [TD]fix XDirection rotation of simple sections 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
luz paz
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
wandererfan
c5a263bdd8 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05: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
Uwe
5dc30b159c [TD] DrawView*: remove unused includes - part 2
- also sort includes
- also additions to precompiled header
2022-10-08 02:10:26 +02:00
wandererfan
20f5db1ad1 [TD]fix extent dimension 2022-09-09 13:02:08 -04:00
Benjamin Bræstrup Sayoc
9c911dd1b5 [TechDraw] Microimprove new Face Finder Algorithm 2022-09-07 09:48:17 -04:00
wandererfan
2f363e4f17 [TD]New face finder algo 2022-09-05 19:52:34 -04:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wandererfan
fbfac41c82 [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
4310b49a8b [TD]replace GeometryObject only after all changes are done 2022-08-28 15:52:23 -04:00
wandererfan
4bdbacda75 [TD]clazy warning re 3 parameter QObject::connect 2022-08-28 15:52:23 -04:00
Wanderer Fan
4ad52a5778 [TD]use Label in waiting for thread message 2022-08-21 21:18:26 -04:00
Wanderer Fan
1494b8288a [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
Wanderer Fan
f9d62da307 [TD]code review changes for dvp, dvs 2022-08-18 19:43:04 -04:00
Wanderer Fan
644b4991e2 [TD]code review changes for dvp and dvd 2022-08-18 19:43:04 -04:00
Wanderer Fan
d6806167e1 [TD]fix typo in message 2022-08-18 13:02:50 -04:00
Wanderer Fan
2d7d882235 [TD]prevent running threads on object delete 2022-08-18 09:34:32 -04:00
Wanderer Fan
74cdc6db61 [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
6df801ed96 [TD]respect AutoDistribute on load 2022-08-18 09:34:32 -04:00
Wanderer Fan
a2b09d37c5 [TD]move section cut and detail common to thread 2022-08-18 09:34:32 -04:00
Wanderer Fan
ac63550122 [TD]add progress reporting framework 2022-08-18 09:34:32 -04:00
Wanderer Fan
7e701969af [TD]run hlr and extractFaces in threads 2022-08-18 09:34:32 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
7ab531c51a [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
40d8ebb372 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
e0a73327c2 [TD]fix bad edge in face finder 2022-07-07 10:22:50 -04:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
7c6a7aa25b [TD]fix detail highlight on DrawViewDetail 2022-03-14 20:03:08 -04:00
Wanderer Fan
913fb21502 [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
e91cc8e329 [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
c11d5df80a 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
Tomas Pavlicek
4edf18a630 TechDraw - Undo for Cosmetics Vertices and Lines 2021-08-11 10:07:02 +02:00