[Feature Request] TechDraw: Allow for easy editing of TechDraw elements by double clicking #5822
Labels
Coding: C++
Coding issue related to C++
Feature
FR for improvements or new features
Help wanted
UI/UX
WB TechDraw
Related to the TechDraw Workbench
Issue imported from https://tracker.freecad.org/view.php?id=3647
Original report text
To create a View, the user selects a 3D object, and then uses the TechDraw_NewView, or the TechDraw_NewProjGroup. Further options of the View can only be changed from the Property view panel, including the direction of the projection, the scale, and the elements included in the View.
Currently, to change which elements form part of the View, the user must edit the "Source" property; it opens a dialog with many elements, including "None (Remove link)". This is a tedious way of selecting which elements are part on the View, in particular if the document has hundreds or thousands of different elements to choose from.
A better way of selecting elements is the way the Arch workbench does it: double clicking the element in the tree view displays a dialog to add or remove elements from the 3D viewport or from the tree view itself.
Double clicking the View element should probably also allow for changing the direction of projection and the scale.
This editing by double-clicking can also be used for other TechDraw elements, for example, the Template of the page, the Arch Section View, Dimensions, Hatches, etc. Double clicking the Template should open a dialog to select an SVG template; double clicking the Arch Section View should open a dialog to select an Arch_SectionPlane in the document; double clicking the Dimension should open a dialog to chenge its properties; double clicking a Hatch should open a dialog to select the SVG hatch.
Some elements can already be edited by double clicking, like the TechDraw_GeomHatch, and the Projection Group.
Discussion and images https://forum.freecadweb.org/viewtopic.php?f=35&t=31655
Additional information
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14995 (Git)
Build type: Release
Branch: master
Hash: 7b86681
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Other bug information
Discussion from Mantis ticket
Comment by vocx 2018-10-22 19:03
This feature request is also related to #5821. The projection direction could be defined by double clicking an already placed View object, and changing the properties in a dialog.
The text was updated successfully, but these errors were encountered: