FreeCAD/FreeCAD

TechDraw: Allow for easy editing of TechDraw elements by double clicking

Chiusa

#5822 aperta il 7 feb 2022

 (1 commento) (4 reazioni) (0 assegnatari)C++ (5550 fork)batch import
Help wantedMod: TechDrawTopic: User InterfaceType: Feature

Metriche repository

Star
 (30.913 stelle)
Metriche merge PR
 (Merge medio 24g 7h) (217 PR mergiate in 30 g)

Descrizione

Issue imported from https://tracker.freecad.org/view.php?id=3647

  • Reporter: vocx
  • Date submitted: 10/22/2018
  • FreeCAD version: 0.18
  • Category: Feature
  • Status: new
  • Tags:

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: 7b866816785ac1ca9787b63d4bff12873bb3a593 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

  • Priority: normal
  • Severity: feature
  • Category: Feature
  • Updated: 3/7/2021

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.

Guida contributor