Commit Graph

363 Commits

Author SHA1 Message Date
wandererfan
bb0bbeef9a 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
d10e06039d 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
3ec65a32ec Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
deeceead68 Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wmayer
d7ec2b1368 Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wandererfan
d9fb3a2ac5 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
fce600e29c 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
3ec9b798bf Fix BSpline/Circle conversion 2018-10-30 13:25:33 +01:00
wandererfan
47f4a9dacb Add formatter for gp_Pnt 2018-10-30 13:25:33 +01:00
wandererfan
26d0a134db Fix delayed rotation of DVP based Views 2018-10-26 00:49:53 +02:00
wandererfan
957328ee18 Workaround for #3332 2018-10-26 00:49:52 +02:00
wandererfan
64538f7b3c Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wandererfan
7a8c559bcc Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03: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
2a85174148 Fix #3634 Lost formatSpec on save/restore 2018-10-13 02:10:53 +02:00
wandererfan
4bcfb4a1cd Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
395905b29c Handle Straight Line BSplines 2018-10-02 09:42:16 -03:00
wandererfan
8f35f4c956 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
3765300abc 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
9f6b61a2a9 Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03: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
e2c22ae98e Suppress spurious message
- was reporting "pattern not found" even if
  hatch source file was not a .pat file.
2018-09-26 16:59:00 +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
luz.paz
69d46d1b43 Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +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
wmayer
636104bc3a CMP0050: make TechDraw module aware of cmake policy 2018-08-20 20:59:39 +02:00
wandererfan
87bad86dd1 Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
38759a5b1b Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
wmayer
fe6b78e638 fix MSVC warning: unreferenced local variable 2018-08-13 11:06:20 +02:00
wandererfan
dbaff50edb Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan
2dd9e67887 Expose findCentroid to Python 2018-08-11 11:24:12 +02:00
wandererfan
c0c36138d7 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
Markus Lampert
e13c09235f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wandererfan
f9aa3ea957 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
wmayer
0260370b65 + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wandererfan
bf8685a6e6 Add ANSIB Template
- also fix cmake to move all templates after
  build.
2018-07-23 12:47:17 -03:00
wandererfan
ecb29f1dbf Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00
wandererfan
8e2586ccc7 Add support for alternate LineGroup file 2018-07-23 12:47:17 -03:00
wandererfan
77f389685e Fix Detail view orientation 2018-07-23 12:45:32 -03:00
wandererfan
08a3e315ce Add support for Dxf Export R14 spec 2018-07-18 10:52:03 -03:00
wandererfan
53537c9d08 Fix #3525 Handle Global Position
- DVP was not taking container's Placement into
  account when drawing objects.
2018-07-05 19:06:33 -03:00
Dmitrii Starostin
89a11dcf0d IMHO it looks like a bug... 2018-07-03 17:53:43 -03:00
wandererfan
8ee01aaf68 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
wandererfan
5efe63c06a Fix X,Y of anchor in Projection Group 2018-06-15 11:34:00 -03:00
wandererfan
aec643fd84 Fix wrong point in Radius dim 2018-06-10 19:13:22 +02:00
wmayer
920a4e62b2 add missing newlines 2018-06-09 11:47:12 +02:00
wandererfan
d3befd1801 Position DPGI Dimensions correctly in Dxf file 2018-06-04 12:56:26 -04:00
wandererfan
d4552fb11a Export Diametric Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
8115c8e80b Export Radial Dim to Dxf 2018-05-21 19:36:16 -04:00