Commit Graph

54 Commits

Author SHA1 Message Date
wmayer
48ff9ad3a1 [TD]Refactor LTNP correction code for Dimensions
- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
2024-03-17 08:56:34 -04:00
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
pavltom
289dda439a [TechDraw] Use OCC to compute intersections of any types of curves 2023-12-02 13:54:37 -05:00
wandererfan
80539ff4c4 [TD]initial implementation of cosmetic cicle command 2023-09-20 13:42:11 -04:00
wandererfan
ec1c458907 [TD]make BSpline::isLine a general purpose static method 2023-04-22 13:49:10 -04:00
wandererfan
8a11528a7e [TD]corrupt dim reference detect and correct 2023-03-22 20:09:35 -04:00
wandererfan
704fb894a5 [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
wandererfan
88c7aac0d9 [TD]fix issues reported by 3d dimension testers
- correct interpretation of True vs Projected

- handle long subelement names in references

- fix "too small" value condition

- better error messages for bad dimension geometry
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
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
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02: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
19c8a76c62 [TD] App Headers: remove unused header - part 3/3 2022-03-25 01:13:34 +01:00
edi271
8003ea80e5 [TD] Include Intersection method into DrawUtil class 2022-01-29 14:49:44 -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
64a96e2216 [TD]CosmeticEdge setters and getters 2020-06-09 18:40:59 -04:00
WandererFan
2db99798f6 [TD]Improve section face display 2020-06-04 09:00:22 -04:00
wandererfan
cb2a3d529c [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wandererfan
8cbcd243e6 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
15f180038f [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wandererfan
585a1ed772 [TD]fix duplicate name in parent & derived 2019-11-07 16:59:10 -05:00
wandererfan
f539a0ea8c [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wandererfan
b34eb9de77 [TD]Implement unique tags for Cosmetic Vertex 2019-11-02 14:59:32 -04:00
wandererfan
88b07896e6 [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
wandererfan
9828655f48 [TD]Add Properties for Cosmetic persistence 2019-07-15 12:36:48 -04:00
wandererfan
b4edc9e227 [TD]Add line appearance editor 2019-07-15 12:36:48 -04:00
wandererfan
5d601c1cdd [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
07e26d3624 Initial working version Face Centerline 2019-06-06 19:58:15 -04:00
wandererfan
108038df91 Add Midpoint and Quadrant Cosmetic Vertex 2019-05-24 19:38:02 -04:00
wandererfan
af0271691c Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
wandererfan
64538f7b3c Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wandererfan
c0c36138d7 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
wandererfan
ae2b51d40f Add some debug and util routines. 2018-04-25 11:09:39 +02:00
wmayer
7b3de466bf fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
WandererFan
dd13cb2534 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
WandererFan
72c8f7332f Dimension fixes
Prevent _M_range_check on wrong selection

Allow unlinking of linked Dimension

Allow Horiz/Vert projected Dims
Improve error msg for invalid selction
2016-10-31 11:06:15 -02:00
WandererFan
ff12c020e0 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
0805e7c854 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
WandererFan
1b5447adde Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
d183759e64 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
Ian Rees
1c98fc39f1 chainGeoms() and nextGeom() are now static methods 2016-07-11 15:32:16 +02:00
Ian Rees
9f76608625 Whitespace cleanup. 2016-07-11 15:32:16 +02:00
WandererFan
8019841c4f Fix Hatch path fp math
Fix section face painting
2016-07-11 15:32:16 +02:00