Commit Graph

102 Commits

Author SHA1 Message Date
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
5d601c1cdd [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
af0271691c Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
luz.paz
e10d38a0cc Crowdin: More grammatical and whitespace fixes 2019-01-24 13:30:03 +01:00
wandererfan
94bd69a4fe Fix Text Literals for Translation
- these strings were noted as being difficult to
  translate on Crowdin
2019-01-20 00:29:17 +01:00
wmayer
d7ec2b1368 Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +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
wandererfan
8f35f4c956 Add 3Point Angle Dimension 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
c0c36138d7 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
wandererfan
cbd9eb18c6 Fix initial placement of linear dims 2018-07-11 21:17:03 -03:00
wandererfan
6ba7f912ee Fix selection for radius Dims
- selection of ellipse curves was allowed
  but not supported for radius dims.
2018-05-15 21:50:48 +02:00
wandererfan
fdaf316e9e Add #3337 Arbitrary Dimension 2018-04-25 11:09:39 +02:00
WandererFan
f4ffecee89 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
a683b7a89d Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
WandererFan
c0cddda862 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
c5c42e74a7 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
WandererFan
29d832d461 Add Diameter Symbol preference for fonts without glyph 2016-12-08 14:51:10 -05:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
WandererFan
53f0649273 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
WandererFan
72c8f7332f Dimension fixes
Prevent _M_range_check on wrong selection

Allow unlinking of linked Dimension

Allow Horiz/Vert projected Dims
Improve error msg for invalid selction
2016-10-31 11:06:15 -02:00
WandererFan
6b175cc0c9 Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
2edab06511 Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
f4fd92e321 fix utf8 regression caused by e165e481 2016-10-06 11:00:35 -03:00
WandererFan
e657fff42c Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
wmayer
6148bf4df5 fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
cdf64a212c Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
Ian Rees
5d67bc27aa TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
WandererFan
a6b9f5286c Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
ff12c020e0 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
Ian Rees
48c8f1cf60 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
wmayer
3c9310f9bc using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
9904e90fd5 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
dc6bfa7f1c Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
Ian Rees
d12dbd8f56 Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
WandererFan
5ec67d5424 Use Units Decimal setting 2016-07-11 15:32:16 +02:00
WandererFan
b0a5bc2ebe fix #16 Units for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan
58f9393ab1 Standardize icon naming 2016-07-11 15:32:16 +02:00
WandererFan
8c93631b41 Handle multiple DrawPage in Document 2016-07-11 15:32:16 +02:00
WandererFan
621d570026 Preserve True/Projected state on save/restore 2016-07-11 15:32:16 +02:00
WandererFan
6d518a2517 link Dimension to 3D geometry 2016-07-11 15:32:16 +02:00
WandererFan
61cd534c94 Fix Angle Dimension validation 2016-07-11 15:32:16 +02:00
Ian Rees
5bd75d8c7b Disable commands when no active document. 2016-07-11 15:32:16 +02:00
WandererFan
599e957813 Fix issue 7 Projection Results 2016-07-11 15:32:16 +02:00
WandererFan
4f4e343d5f remove superfluous execue()s 2016-07-11 15:32:16 +02:00
WandererFan
8673eec4e7 more /Drawing/TechDraw/ for Commands 2016-07-11 15:32:16 +02:00
WandererFan
05bca371dc more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
996e00378d Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00