Commit Graph

68 Commits

Author SHA1 Message Date
wandererfan
ab180c761e [TD]Make TD View from ActiveView 2019-08-28 08:38:27 -04:00
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
Yorik van Havre
5ca5f906d9 Arch/TD: Support for Arch BuildingParts in TD ArchView 2019-08-16 19:03:49 -03:00
wandererfan
3f7570ad80 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
Franck Jullien
79f8d4a7cd [TD] Rewrite balloon placing method
When clicking on balloon command, cursor is changing to balloon cursor.
It means user is ready to place a balloon (anywhere on the page).
Balloon object is not created until user click somewhere.

Balloon command can be aborted pressing escape or when page view lost
focus (in other words, when user clic somewhere else than the page).
2019-05-21 08:37:05 -04:00
Franck Jullien
c5942d6a78 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
luz.paz
ad0ee86589 Misc. source comment typos 2019-03-22 10:44:14 -03:00
wandererfan
d58b86c52f 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
db3a69ba11 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
luz.paz
4154f5dce5 Crowdin: cont... 2019-02-11 16:22:13 +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
wandererfan
3ec65a32ec Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wmayer
d7ec2b1368 Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wmayer
97244a77e7 Py3: fix opening file 2018-10-11 12:06:07 +02:00
wandererfan
0235df777c Better error messages for bad selections 2018-09-26 17:00:07 +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
wandererfan
72e6a40a9a Fix 3505 Special Chars in Path
- thanks to @marams for the patch.
2018-06-10 19:13:21 +02:00
wandererfan
b448b693ed Ensure Correct Scale in DrawViewSection
- when the Source View for a Section is a Projection
  Group item, need to use the Scale property from the
  parent Projection Group.
2018-06-10 19:13:21 +02:00
wandererfan
cdf956423c Add Export Page as Dxf to TD Gui 2018-05-01 13:22:02 -04:00
wandererfan
1de2c231fa Fix add ArchSection w/ multiple Pages 2018-04-22 07:44:41 +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
0ea5b9923b Fix CmdTechDrawProjGroup Selection Criteria
- CmdTechDrawProjGroup was not allowing Body or
  App::Part to be selected as Source for new
  ProjectionGroup even though DPG handles
  both.
2018-02-02 15:39:01 -05:00
WandererFan
c58a7d9785 Remove NewViewMulti from toolbars/menu 2018-01-20 14:07:31 +01:00
WandererFan
4f2fe1d1a5 Allow GroupExtension as Source for Views
- DrawViewPart had special case logic for App::Part.
  It now handles DocumentObjectGroup and any other
  GroupExtensions as Source.
2018-01-20 14:07:31 +01:00
WandererFan
309178f2ff Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
WandererFan
913e6a7fd8 Allow Views of App::Parts 2017-10-02 13:48:45 -03:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
dd8eefc057 minor fixes: debug message/tooltips/etc 2017-01-29 19:40:34 -05:00
WandererFan
6033c6ea83 ViewSection inherits Scale from Base 2017-01-29 19:40:33 -05:00
WandererFan
d0b1e00613 Change DPG freature name from "cView" to "ProjGroup" 2017-01-29 19:40:33 -05:00
WandererFan
efb7f14866 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
082045456f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
WandererFan
e812a66398 Basic working multipart View 2016-11-07 17:20:20 -05:00
WandererFan
200ed7a675 Fix ProjectionGroup Automatic scaling 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
Yorik van Havre
0843237c69 TechDraw: Arch View 2016-10-28 14:58:22 -02:00
WandererFan
d5fd7836db remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04: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
Yorik van Havre
6775227589 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
WandererFan
3182ad1754 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04: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
WandererFan
ae9f1c5994 Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
Ian Rees
5d67bc27aa TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
WandererFan
48f008d772 Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan
efbb08a136 Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
WandererFan
4916112cd4 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00