wandererfan
566894c945
[TD]use XDirection to align DPGI in DPG
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
e64929de14
[TD]const-ness for dump function parameter
2019-11-10 15:58:45 -05:00
wandererfan
251e16b6f1
[TD]Transition to on demand page updates ph1
2019-10-23 14:19:52 -04:00
Zheng, Lei
28a0cc1019
TechDraw: avoid touching children if possible
...
There are lots of dependency inversion problem in TechDraw, the ideal
organization should let a child depend on project group, instead of the
other way round, e.g. using PropertyLinkListHidden.
This patch is just a cheap fix. The problem occurs when the user uses
any expression to update properties like Scale in a projection group.
The Scale property will be changed on recomputing projection group,
which triggers children update, but since the group depends on the
children, the children has already been recomputed.
2019-08-30 14:47:05 +02:00
Zheng, Lei
e90d09dc40
TechDraw: Link related changes
...
* Support link and group objects
* Support view sync by implementing view provider API getMDIView()
* Use handleChangedPropertyType() for object migration instead of
reimplementing Restore() because of a lots of changes in
PropertyContainer::Restore().
* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
fd3d6d8091
Hide Caption property where not applicable
2019-06-01 15:59:26 -04:00
wandererfan
eed275d63f
Fix crash on malformed python script
2019-05-13 12:29:15 -04:00
wandererfan
4492576c6b
Fix coverity CID 151722
2019-04-05 19:35:26 -04:00
wandererfan
86cc2641bc
Ensure ProjGroup is created before child
2019-03-07 10:58:29 +01:00
wandererfan
e29c610993
Replace static_cast with dynamic_cast
...
- replace all static_cast with dynamic_cast + error test
2019-03-07 10:58:28 +01:00
wandererfan
d58b86c52f
Fix segfault on missing Anchor view
...
- test script did not create Anchor(Front) view. DPG/DVP did not
handle missing Anchor properly
2019-03-07 10:58:28 +01:00
wandererfan
db3a69ba11
Remove superfluous updates
...
- under certain conditions, unnecessary screen paints
were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
fa5fb1ea9c
Fix bad highlight position in Detail from ProjGroup
2019-02-22 11:55:21 +01:00
wandererfan
5259134af3
Fix update of children on parent LockPosition change
2019-02-14 21:14:11 +01:00
wandererfan
9de6ff802a
Restore secondary ortho view movement to v017 style
...
- this should also complete the fix for #3809
2019-02-14 21:14:11 +01:00
wandererfan
2240ba0e2a
Fix #3810 X/Y Property Update on Locked View
...
- fixes x/y update when position locked for simple
Views and ProjectionGroups.
2019-02-14 21:14:10 +01:00
wandererfan
f92ddb961c
Hide n/a Rotation property
...
- DPG does not rotate, but shows Rotation property in
Property Editor
2019-01-30 10:12:49 -02:00
wandererfan
242717f5e3
Fix out of scope warnings
...
- Links within TD were not set to Global scope. This caused
problems when a Page was in a container, but Views were not
in the container.
2019-01-22 10:15:04 -02:00
wandererfan
79504462d1
Fix movement of Front View in ProjectionGroup
2019-01-21 11:45:30 +01:00
wmayer
d7ec2b1368
Replace Base::Exception with appropriate subclass
2018-11-14 19:42:10 +01:00
wandererfan
cf738047d4
Fix double scaling in DPG AutoScale
2018-09-26 16:59:39 +02:00
wandererfan
f2c6edbb19
Fix late repaint of secondary views
...
- when ScaleType=Automatic and Scale changes
individual views were not being repainted until
next document recompute.
2018-09-26 16:59:12 +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
38759a5b1b
Fix propagation of Source property to children
2018-08-18 21:59:05 +02:00
wandererfan
dbaff50edb
Fix Dimension update on DPG Scale Change
2018-08-11 11:24:13 +02:00
wandererfan
f9aa3ea957
Fix iso View position in AutoDistribute
2018-07-31 16:08:48 -03:00
wandererfan
ecb29f1dbf
Add preference settings
...
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
WandererFan
f24da28239
Allow ProgGroup Item AutoPosition from Python
2018-02-11 20:07:57 +01: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
WandererFan
309178f2ff
Allow multiple sources for all View types
2017-12-31 14:54:05 +01:00
WandererFan
5fb3a4d58b
Fix XXX is still touched after recompute in DPG
2017-10-02 13:48:45 -03:00
wmayer
712966ff50
rename method from remObject to removeObject to be more readable
2017-09-13 18:57:38 +02:00
WandererFan
e35e2f2573
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
WandererFan
ddbbae9956
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00
WandererFan
4c4e1e3210
Replace DPG table lookup logic with calculations
...
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun. There were many errors in the tables that
needed manual checking to correct. The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
Kunda
a7414e5789
source typo fixes pt1 (only on py3 merged code)
...
issue 0002914
2017-02-27 11:32:47 +01:00
WandererFan
190ab71055
Fix potential race when cancelling DPG creation
2017-01-29 19:40:34 -05:00
WandererFan
33479bd4e3
Initial working version of geometric crosshatch/PAT files
2017-01-29 19:40:34 -05:00
WandererFan
d6419b5a7e
Delete DPGI's when parent DPG deleted
...
Ensure Gui/QGIVxx is removed when App/DVxxxx is deleted
2017-01-29 19:40:33 -05:00
WandererFan
221f80e344
Warn if Anchor view deleted in Projection Group
2017-01-29 19:40:33 -05:00
WandererFan
fce07c11a7
Fix 2843 DrawProjGroup Restore
2017-01-14 16:56:30 +01:00
WandererFan
01b34749a9
Section directions from rotated DPGI's
2016-12-29 14:43:37 +01:00
WandererFan
920eb5eaf7
Working revolving part DPG
2016-12-29 14:43:25 +01:00
WandererFan
2dd56a6c2a
Reset/Match 3d buttons working
2016-12-29 14:43:13 +01:00
WandererFan
09f701786f
Working proof of concept for DPG rots & dirs
2016-12-29 14:43:00 +01:00
wmayer
7b3de466bf
fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359
2016-12-18 14:12:13 +01:00
WandererFan
efb7f14866
DPG improvements
...
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
wmayer
06da15e643
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
WandererFan
b3c3d7a950
Rename "Document" selection value to "Page"
2016-10-31 11:06:15 -02:00