Commit Graph

113 Commits

Author SHA1 Message Date
luz paz
2befcd9502 TD: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the TechDraw Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wandererfan
08ba104d87 [TD]remove restrictions on Edge-Edge Dims 2020-08-29 11:13:35 -04:00
donovaly
8dc95874a2 [TD] add 2 shortcuts for dimensions
as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=48980
2020-07-26 11:22:06 -04:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wandererfan
8533527af9 [TD] Landmark Dim minor clean ups
- clean up reference vertices on delete

- protect fail on close empty Page

- hide unimplemented functions
2020-02-27 15:46:31 -05:00
wandererfan
0825e5ece4 [TD]Support Landmark Dim in Section and Detail 2020-02-25 17:21:00 -05:00
wandererfan
96e8f752be [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
donovaly
1a21e8d1ee simplify 2 tool names as suggested
- also correct encoding of a file
2019-11-17 08:22:09 -05:00
donovaly
15e5b29c22 TD renaming tools, part 2/2
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
wandererfan
a7d9661b1d [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
wmayer
d0d92b0801 force strict ISO C++ (-Wpedantic)
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
Zheng, Lei
d26f772035 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
11d8aaed61 [TD]Add CenterLine edit function 2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
ef912cfea8 Improve radius/diameter dims for ellipse,spline 2019-05-13 12:29:15 -04:00
luz.paz
2b3ea642da Crowdin: More grammatical and whitespace fixes 2019-01-24 13:30:03 +01:00
wandererfan
7bd3bb8371 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
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
luz.paz
4c2f2cd210 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
b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
df0eb076a6 Better error messages for bad selections 2018-09-26 17:00:07 +02:00
wandererfan
5730aae4c9 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
wandererfan
0914829958 Fix initial placement of linear dims 2018-07-11 21:17:03 -03:00
wandererfan
89a7b2a92f 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
a40996016f Add #3337 Arbitrary Dimension 2018-04-25 11:09:39 +02:00
WandererFan
f95117c706 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
973e0e4bdd Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
WandererFan
dfe174aec5 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
cbf42ad3b0 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
WandererFan
bb081266b7 Add Diameter Symbol preference for fonts without glyph 2016-12-08 14:51:10 -05:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
WandererFan
256c5ed198 Allow True dimensions to reference multiple Parts 2016-11-07 17:20:20 -05:00
WandererFan
6abce56595 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
a662cad5be Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
f343f8e78f Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
8d139816e3 fix utf8 regression caused by a12ecd49 2016-10-06 11:00:35 -03:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
884a32fabf 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
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
WandererFan
5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02: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
wmayer
df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
3eba56d463 Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
Ian Rees
898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
WandererFan
358c55c228 Use Units Decimal setting 2016-07-11 15:32:16 +02:00
WandererFan
dc205d37fc fix #16 Units for Dimensions 2016-07-11 15:32:16 +02:00