TechDraw DetailView

From FreeCAD Documentation
Revision as of 14:02, 27 July 2023 by Roy 043 (talk | contribs) (Usage)

TechDraw DetailView

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

Description

The TechDraw DetailView tool creates a view of small area of an existing view.

Detail view with circular viewbox of an existing view

Usage

  • Select the base view for the detail view.
  1. There are several ways to invoke the tool:
    • Press the Insert Detail View button.
    • Select the TechDraw → TechDraw Views → Insert Detail View option from the menu.
  2. A highlight border is added to the base view, a detail view is added to the page, and a task panel opens.
  3. For clarity it is best to move the detail view so that it no longer overlaps the base view: hold down the left mouse button on its frame or label and drag it to a new position.
  4. To move the highlight border do one of the following:
    • Press the Drag Highlight button and drag the border to a new position. The border can also be dragged by the temporary drag label.
    • Change its X and Y coordinates in the task panel. The coordinates are relative to the center of the base view.
  5. Optionally change the Radius of the detail view.
  6. Optionally change the Scale Type and Scale Factor of the detail view.
  7. Specify a Reference label. This label will be displayed near the highlight border.
  8. Press the OK button.

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: Autogenerated API documentation 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