FreeCAD/FreeCAD

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

クローズ

#5,822 opened on 2022/02/07

 (1 件のコメント) (4 件のリアクション) (0 人の担当者)C++ (5,550 件のフォーク)batch import
Help wantedMod: TechDrawTopic: User InterfaceType: Feature

Repository metrics

Stars
 (30,913 個のスター)
PR merge metrics
 (平均マージ 24d 7h) (30d で 217 merged PRs)

説明

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.

コントリビューターガイド