Commit Graph

87 Commits

Author SHA1 Message Date
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
wandererfan
abd18ff88f [TD]fix showSectionEdge preference 2020-08-10 10:19:09 -04:00
wandererfan
b7e8ad9a4e [TD]DPG spacing for oblique views 2020-07-07 15:26:20 -04:00
wandererfan
4104a0e263 [TD]Use PropertyXLinkList for external Sources 2020-04-14 10:24:29 -04:00
wandererfan
8533527af9 [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
96e8f752be [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wandererfan
48fc14efcb [TD]2 pass autoscale for DVD, DVS 2020-02-14 07:44:56 -05:00
wandererfan
3a42205cb4 [TD]fix autoscale for DPG 2020-02-14 07:44:56 -05:00
wandererfan
c282924064 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05:00
luz.paz
cbdba0b5bb TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
a04d0f2574 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
1ad2d35bce [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
08f23b84f7 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
d9e0c2e452 [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wandererfan
acc7686b83 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
92dfecea75 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
a7ad04ba4a [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wandererfan
5b63ac5a7d [TD]CL removal 2019-11-06 20:31:02 -05:00
wandererfan
900a7c6bdd [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
wandererfan
5cab111a65 [TD]Implement unique tags for Cosmetic Vertex 2019-11-02 14:59:32 -04:00
wandererfan
a7d9661b1d [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
wandererfan
3124323b28 [TD]improve handling of Assembly4 Models 2019-10-28 08:39:06 -04:00
wandererfan
5bb659e7e2 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
wmayer
7022f41bb1 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wunused-private-field
2019-08-17 19:53:39 +02:00
wandererfan
941968b37c [TD]Edge and Vertex center lines 2019-07-15 12:36:48 -04:00
wandererfan
621b66be17 [TD]Add Properties for Cosmetic persistence 2019-07-15 12:36:48 -04:00
wandererfan
b561190d4f [TD]Add restore invisible lines 2019-07-15 12:36:48 -04:00
wandererfan
3d2edd0f7e [TD]Add line appearance editor 2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61 [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
7199c95251 Cleanup dangling debug code 2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wmayer
85270f5cd3 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
wandererfan
93431edfba Initial version of Cosmetic Eraser 2019-06-06 19:58:15 -04:00
wandererfan
656e1654ff Initial working version Face Centerline 2019-06-06 19:58:15 -04:00
wandererfan
59e47de506 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
wandererfan
175966a6f7 Improve error messages for invalid shapes 2019-04-05 19:35:26 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
b20a992579 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
WandererFan
99fcba4992 VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
TeroK
434bf4d3f3 TechDraw: Add option to use polygonal HLR algorithm
Now on property panel there is option 'Coarse View' which allows to set
selected drawing view's Hidden Line Removal to utilize polygonal algorithm.
This should be faster on same cases (complex models).

When this option is set for a view there is known limitation with dimensions not
working on this experimental mode. At least currently this is best utilized on
view with no dimensions.

Also the vertices' 'black dots' are not drawn on this mode view to avoid
cluttering.  Face hilite is avoided, to gain speed. All curves are represented
by short linesegments in this mode.

Previously TechDraw always used OCC's exact HLR algorithm to generate views,
which produces good quality and continous shape lines but is sometimes
slower to generate than with polygonal approach.

Additionally now there is bool 'CoarseView' Parameter Editor setting, if anyone
wants to set this as their default.
2018-01-22 19:31:30 +01:00
WandererFan
4b9f43b467 Allow GroupExtension as Source for Views
- DrawViewPart had special case logic for App::Part.
  It now handles DocumentObjectGroup and any other
  GroupExtensions as Source.
2018-01-20 14:07:31 +01:00
WandererFan
e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
7588081afd Implement option for perspective drawing views 2017-12-03 19:17:53 -02:00
WandererFan
15b509db25 Implement LineGroups for default weights
- Add ability to control default weight for visible,
  hidden and decorative lines from a configuration
  file. Diffent sets of defaults can be specified as
  a preference.
2017-12-02 13:51:25 +01:00
luzpaz
ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
WandererFan
d6a5672f89 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
6b922acdd5 Change links to Global scope 2017-10-02 13:48:45 -03:00
WandererFan
4b8d04f528 change isDeleting to isUnsetting
- DocumentObject::isDeleting was changed to isRemoving.
  This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan
4b3ab9e74e Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00