Commit Graph

628 Commits

Author SHA1 Message Date
wandererfan
958e25f29b Clean up section line arrows 2018-12-10 09:15:07 -03:00
wandererfan
d0767359ad Fix SectionLine preference location 2018-12-10 09:12:51 -03:00
wandererfan
c654ef4e2b Add id=PageName to exported Svg
- add id attribute to output of QSvgGenerator.
2018-12-07 08:53:08 -03:00
wandererfan
54a750a486 Add Parameter to Control Section Line Appearance
- allow user to specify traditional section line
  or "reference arrow method"
2018-12-06 08:57:56 -03:00
wandererfan
8c25781b15 Make Edge Selection Area Adjustable
- Edges may be difficult to select depending on drawing
  scale and zoom level.
- Parameter: Preferences/Mod/TechDraw/General/EdgeFuzz
2018-12-06 08:57:56 -03:00
wandererfan
56f25ebe7c Add US Letter size blank template 2018-12-06 08:57:56 -03: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
a159df9fe5 Fix coverity CID 184293 2018-11-27 13:21:18 -03:00
wandererfan
44f9d33b4a Fix Arrowheads on vertical dimensions
- arrowheads sometimes point in wrong direction
  depending on selection order
2018-11-27 13:21:18 -03:00
wandererfan
3ec65a32ec Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
fdb6bc7c76 Fix #3699 ClipGroup Regression from v0.17 2018-11-19 10:12:08 +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
luz.paz
c7785267a7 Misc. typos and whitespace
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm,./ChangeLog.txt" -I ../fc-word-whitelist.txt` and `grep`. Excess whitespace auto-removed by Atom editor.
2018-11-03 16:13:06 -03:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +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
wmayer
aca61e829d fixes -Winconsistent-missing-override 2018-10-30 13:21:59 +01:00
wandererfan
89275b883b Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02: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
22ff1e2cea Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan
6e05b0f4ca Reduce unnecessary updates to QGraphicsScene
- Views were being redrawn unnecessarily on
  changes to selection status. Views are now
  redrawn only if the item's selection status
  is different from the desired state.
2018-10-25 10:58:53 -03:00
wandererfan
64538f7b3c Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wandererfan
1ca15ecab4 Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
wandererfan
7a8c559bcc Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan
fd426a856a Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
4f93ae9431 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
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
wmayer
7d14d2d66e fix -Wunused-variable 2018-10-12 22:17:29 +02:00
wandererfan
4bcfb4a1cd Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
bc9ffa5b41 Correct tree icon for Angle3Pt 2018-10-11 21:59:05 +02:00
wandererfan
d9d9baf5fc Add @mario52's templates 2018-10-11 21:58:47 +02:00
wmayer
97244a77e7 Py3: fix opening file 2018-10-11 12:06:07 +02:00
luz.paz
b4ef5d2c11 Misc. typo fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt`
2018-10-02 21:05:22 +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
61aa0f6230 Add option to reverse arrowheads on Dims 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
0235df777c Better error messages for bad selections 2018-09-26 17:00:07 +02:00
wandererfan
50a31575bf Add Peppino's ISO7200 templates 2018-09-26 16:59:49 +02: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
6cb7255c30 Show full width Edges around Section Face
- Section Face was hidding 1/2 of Edge if "Show Section
  Edges" was set to false.
2018-09-26 16:58:52 +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