Uwe
7b4e5d7522
[TD] remove more superfluous nullptr checks
2022-07-20 02:32:52 +02:00
Uwe
36add10c86
[TD] App: remove some superfluous nullptr checks
2022-07-19 02:03:50 +02:00
Uwe
19c8a76c62
[TD] App Headers: remove unused header - part 3/3
2022-03-25 01:13:34 +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
27fc40a290
TD: [skip ci] partially fix issue 0004765
2021-12-21 11:39:17 +01:00
wmayer
c944c559b7
TD: [skip ci] partially fix issue 0004765
2021-12-20 10:11:03 +01: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
wmayer
c162037476
LGTM: [skip ci] fix: Large object passed by value
2020-07-24 18:32:31 +02:00
wandererfan
e0c80824de
[TD]DPG spacing for oblique views
2020-07-07 15:26:20 -04:00
wandererfan
393cf75276
[TD]minor code clean ups
2020-05-16 07:42:45 -04:00
wandererfan
eaf2f0e8a4
[TD]Simplify Cosmetic List & PyObject handling
2020-05-16 07:42:45 -04:00
wandererfan
a584afcd91
[TD]Coordinate inversion for CosmeticVertex
2020-04-28 09:11:28 -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
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
15f180038f
[TD]add ability to filter obvious geometry errors
...
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
02616b5674
[TD]soft fail on bad geometry error w/ polygon algo
2019-12-10 06:51:09 -05:00
wandererfan
7906c3a684
[TD]fix assembly CS has wrong XDir
2019-11-27 07:31:45 -05:00
wandererfan
a78e4229da
[TD]correct face detection to avoid ghost faces
2019-11-27 07:31:45 -05:00
wandererfan
9d9d41bcd0
[TD]correct alignment of Section & Detail with Base
2019-11-27 07:31:45 -05:00
wandererfan
e0a7284135
[TD]Section UI changes
2019-11-27 07:31:45 -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
f4829a5deb
[TD]improve handling of Assembly4 Models
2019-10-28 08:39:06 -04:00
wmayer
5746c37b7e
fix -Wcatch-value=, fix -Wpedantic
2019-09-18 14:36:23 +02:00
wandererfan
a4577a1e5b
[TD]Edge and Vertex center lines
2019-07-15 12:36:48 -04:00
wandererfan
9828655f48
[TD]Add Properties for Cosmetic persistence
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
5eb7145d97
Cosmetic CL for Section and Detail
2019-06-06 19:58:15 -04:00
wandererfan
4a2720cf51
Initial version of Cosmetic Eraser
2019-06-06 19:58:15 -04:00
wandererfan
07e26d3624
Initial working version Face Centerline
2019-06-06 19:58:15 -04:00
wandererfan
3f7570ad80
Initial version addCosmeticVertex
2019-05-24 19:38:02 -04:00
wandererfan
57d35a392c
Fix Error when OCC projection returns nothing
2019-04-25 08:02:28 -04:00
wandererfan
64b85f3184
Fix OCC error handling
...
- GeometryObject.cpp used OCC "Raise" to signal error
condition, but this is only caught in GuiDocument.cpp.
Changed to catch exception locally.
2019-03-22 11:00:14 -03:00
wmayer
d7ec2b1368
Replace Base::Exception with appropriate subclass
2018-11-14 19:42:10 +01:00
wandererfan
957328ee18
Workaround for #3332
2018-10-26 00:49:52 +02:00
wandererfan
7f6be0a265
Change tool from cylinder to prism
...
- cutting with cylinder produced too many
short bsplines from HLR. Straight cut
from prism reduces these and speeds up
HLR significantly.
2018-10-17 11:25:49 +02:00
wandererfan
2c0d1d882b
Fix Decoration positions on Views derived from DPG Base
...
- Section faces, detail highlights, center and section lines
were wrong when the BaseView was a DPGI
2018-09-14 21:28:02 +02:00
wandererfan
95f95d54fb
Use Face or 3D direction for View and ProjGroup
...
- use current 3D window direction as starting
direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
starting direction.
2018-09-06 08:00:00 +02:00
wandererfan
2dd9e67887
Expose findCentroid to Python
2018-08-11 11:24:12 +02:00
wandererfan
77f389685e
Fix Detail view orientation
2018-07-23 12:45:32 -03:00
WandererFan
d7544b4223
Prevent Loop in BRepBuilderAPI_Transform
...
- if a scale transform with scale = 0 is passed to
BRepBuilderAPI_Transform, it will loop forever.
If Page.keepUpdated is false, and Views have not yet
been executed (ex at load time), Views will have a
0.0 x 0.0 bbox and if Autoscale is true, a scale of
0.0 will be used in fit-to-page.
2018-02-01 17:01:12 -05:00
TeroK
61b202992c
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
60e43253f7
Fix Section Line Wrong Position
...
- Section cut line Y coord needs to be mirrored to
be position correctly on Page.
2018-01-11 11:21:25 -02:00
WandererFan
622d91f743
Implement option for perspective drawing views
2017-12-03 19:17:53 -02:00