Commit Graph

53 Commits

Author SHA1 Message Date
wandererfan
90fd3ae483 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wmayer
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wandererfan
859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
3163c3d6f5 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
aa8feb79d0 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
0432ecdb88 Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
wandererfan
9f29693df3 Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan
ee607d36a9 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
wandererfan
2cc80b6131 Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
WandererFan
4f291f7305 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
WandererFan
356f879659 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
e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
381a7375e7 Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
wmayer
09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
WandererFan
d27b8387e8 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
e8f2c68b5c Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
WandererFan
17b69c7c3a 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
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
WandererFan
49c2be14ba Fix potential race when cancelling DPG creation 2017-01-29 19:40:34 -05:00
WandererFan
f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
6cad2bc834 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
0204b77766 Warn if Anchor view deleted in Projection Group 2017-01-29 19:40:33 -05:00
WandererFan
d8afbe563e Fix 2843 DrawProjGroup Restore 2017-01-14 16:56:30 +01:00
WandererFan
16ce8d40f5 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
139edb2415 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
90935d0600 Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan
93fb9273dd Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
wmayer
76c529d47d fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
WandererFan
429eb0f727 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
wmayer
3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
WandererFan
6e7c4bc838 Rename "Document" selection value to "Page" 2016-10-31 11:06:15 -02:00
WandererFan
cd87af3746 Allow manual repositioning of ProjGroup views 2016-10-31 11:06:15 -02:00
WandererFan
70b5c241d1 AutoScaling Fixes for non-DVP objects 2016-10-31 11:06:15 -02:00
WandererFan
a5a20701a7 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan
a912ccd9bb Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
WandererFan
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
a82a50a60f Fix ProjectionGroup Directions 2016-10-31 11:06:15 -02:00
WandererFan
a51b3f7b11 Add Caption property to Views 2016-10-31 11:06:15 -02:00
WandererFan
10e03f6c64 Coverity Fixes
*** CID 153360:  Control flow issues  (UNREACHABLE)
*** CID 153359:  Uninitialized members  (UNINIT_CTOR)
*** CID 153358:  Resource leaks  (RESOURCE_LEAK)
*** CID 153354:  Null pointer dereferences  (FORWARD_NULL)
2016-10-31 11:06:15 -02:00
WandererFan
8459cdad5a Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan
254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
Ian Rees
b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
bd13d33937 Fix View positioning for Automatic scaling 2016-07-11 15:32:16 +02:00
WandererFan
96d817e280 Fix #41 Projoection Group Spacing
Fix glitch when change First <-> Third Angle
2016-07-11 15:32:16 +02:00
WandererFan
af7d7f3118 ScaleType/Scale linkage & PropertyEditor 2016-07-11 15:32:16 +02:00
WandererFan
8a9c708659 HLR looses Shape for some ProjGroupItems 2016-07-11 15:32:16 +02:00