TechDraw DetailView

From FreeCAD Documentation
Revision as of 15:11, 27 October 2022 by Wandererfan (talk | contribs)

TechDraw DetailView

Menu location
TechDraw → Insert Detail View
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw View, TechDraw Projection Group

Description

The Detail tool creates a view of small area of an existing view.

Detail view with circular viewbox of an existing view

Usage

  • Select a view in the page or tree.
  • Press the Insert Detail View button to create the detail view.
  • In the appearing task dialog you can define the radius of the view box, the scale and the view position. For the latter you can do this
    • either by changing the coordinates
    • or by pressing the button Drag Highlight. In this case the detail origin border is highlighted bold and with the label drag. Click on the border or the label, keep the mouse button pressed and drag it to the position you like. Finally release the mouse to accept the change.

The Detail view can be displayed within a round or square view box. This is controlled by the preferences setting Detail View Outline Shape.

Properties Detail View

See also TechDraw View.

Data

Detail

  • DataBase View (Link): The view on which this Detail view is based.
  • DataAnchor Point (Vector): The center of the Detail view within the DataBase View.
  • DataRadius (Float): The size of the area in the DataBase View that is displayed in the Detail view.
  • DataReference (String): An identifier for the Detail view in the DataBase View.

Properties Base View

A Detail view inherits all applicable properties of the view specified as DataBase View. In the properties of this view you can change the appearance of the detail outline:

  • ViewHighlight Adjust: Clockwise rotation angle of the Detail view.
  • ViewHighlight Line Color: Line color for the outline shape. Default setting for this is the setting Detail Highlight in the TechDraw preferences.
  • ViewHighlight Line Style: Line style for the outline shape. Default setting for this is the setting Detail Highlight Style in the TechDraw preferences.

Notes

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The Detail tool can be used in macros and from the Python console by using the following functions:

Detail = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDetail','Detail')
...TBA