Commit Graph

1392 Commits

Author SHA1 Message Date
Yorik van Havre
ea0c7694cd Arch/TechDraw: TD Arch views now have a 'fillSpaces' property to show Arch spaces as color-filled areas 2019-04-19 18:20:33 -03:00
wandererfan
9d296194e8 Fix Detail Highlight when Detail has no Geometry
- Detail circles were no drawn if detail area did not
  produce any geometry (detail anchor point + radius not
  over original part.
2019-04-18 18:47:03 -04:00
wandererfan
0679d73092 Fix non-Delete of Graphic on DocObject delete
- While the source document obj was "removing", the
  graphic was being deleted and readded by the view
  provider.
2019-04-18 18:47:03 -04:00
babaroga
c779f34fee FIX: Prevent situation where default format entered in preferences, overwrites prefixes on eg. circular dimensions 2019-04-17 08:26:47 -04:00
wmayer
cd4269e6af rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
wandererfan
40d9a13055 DrawBalloon clean up
- resolve linker errors after merge
- expose useful properties
- resolve "ambiguous ancestor" messages after merge
2019-04-05 19:35:26 -04:00
wandererfan
afe21f739c Add default parameter for Page Scale 2019-04-05 19:35:26 -04:00
wandererfan
827f6c420e Fix search for subShapes
- this is mainly for Arch objects. the search for shapes
  is more difficult.
2019-04-05 19:35:26 -04:00
wandererfan
1f6b2daefc Fix coverity CID 151722 2019-04-05 19:35:26 -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
3370d0902a Add Preference for Dimension Format 2019-03-28 10:44:33 -03:00
wandererfan
87ffd12016 Fix TD Dfx export - spline conversion 2019-03-28 10:44:33 -03:00
wandererfan
749e8aaf11 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
93f0d1bec9 PVS: V1024 The 'file' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data 2019-03-13 13:34:45 +01:00
wandererfan
ba6092502c Fix #3891 S/S Contents not displayed at load
- DrawViewSpreadsheet is empty after document load. Requires
  recompute to display s/s contents.
2019-03-09 17:41:43 -05:00
wandererfan
7b5458b7fa Ensure ProjGroup is created before child 2019-03-07 10:58:29 +01:00
wandererfan
9a99a87a9a Replace static_cast with dynamic_cast
- replace all static_cast with dynamic_cast + error test
2019-03-07 10:58:28 +01:00
wandererfan
7189b8ebc0 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
198c2258d4 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
77b22f4f30 Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan
c940081de1 Allow Section of unfused Source
- ViewSection required Source shapes to be fused before performing
  the section cut.  This caused some Edges to not be shown in the
  result.  An option to not fuse the Sources has been added.
2019-02-22 11:55:20 +01:00
wandererfan
4ced49da81 Fix update of children on parent LockPosition change 2019-02-14 21:14:11 +01:00
wandererfan
41ab00c116 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
a0e3ab1a40 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
0c5629870c 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
5a26558a9d 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
90fd3ae483 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wandererfan
8801726ed4 Fix StartCell/EndCell handling
- multi-character Columns and multi-digit Rows
  were not being interpreted correctly.
2018-12-24 11:02:32 -02:00
wandererfan
cd1959a094 Fix Detail highlight position for rotated DPGI
- highlight position calculation was not taking into account
  rotation of DPGI due to RotationVector property.
2018-12-19 10:30:30 -02:00
wandererfan
9907422806 Display correct symbols for Minute/Second
- the ImperialCivil unit schema uses "M" for angular
  minutes and "S" for angular seconds. These must be
  replaced by ' and ".
2018-12-06 08:57:17 -03:00
wandererfan
ddfa510565 Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
e67b84c5ec Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wmayer
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wandererfan
9d384bd74e Fix #3674 inverted Detail from DPG
- Base views from ProjectionGroups can
  have inverted projection direction or
  rotation vector vs regular views. This
  causes Detail views to be inverted.
2018-11-10 17:04:58 +01:00
wandererfan
f10c28fb5b Handle case of no points returned
- GeomAPI_ProjectPointOnCurve sometimes returns
  zero points and/or throws "NotDone" exception.
2018-11-09 22:26:37 +01:00
wandererfan
408c31634f Fix BSpline/Circle conversion 2018-10-30 13:25:33 +01:00
wandererfan
f0420d6cbd Add formatter for gp_Pnt 2018-10-30 13:25:33 +01:00
wandererfan
9c1587cfad Fix delayed rotation of DVP based Views 2018-10-26 00:49:53 +02:00
wandererfan
b2135da447 Workaround for #3332 2018-10-26 00:49:52 +02:00
wandererfan
24f43527f5 Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wandererfan
9f2ad88ded Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan
a281832627 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
cb30a82969 Fix #3634 Lost formatSpec on save/restore 2018-10-13 02:10:53 +02:00
wandererfan
f6e9faa62c Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
cc320aa802 Handle Straight Line BSplines 2018-10-02 09:42:16 -03:00
wandererfan
b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
f5668c77ae Move dimText Prefix to FormatSpec
- prefix was applied at every request for
  formatted value. Now prefix is applied
  to FormatSpec and can be overridden for
  things like screw dia. M6 vs (phi)M6.
2018-10-02 09:42:16 -03:00
wandererfan
d2c2b35b6c Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03:00
wandererfan
859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00