TechDraw View/en

Description
The View tool adds a representation of one or more objects to a Drawing page. This is the basic building block of the TechDraw workbench. Most other Views are derived in some way from View.

View will try to draw anything with a property. You can select sketches, PartDesign Bodies, Draft objects etc. View will also extract any shapes from objects within a Std Part or a Std Group.



Usage

 * 1) Optionally rotate the 3D view. The camera direction in the 3D view determines the initial value of the  property of the View.
 * 2) Select one or more objects in the 3D view or Tree view.
 * 3) If there are multiple drawing pages in the document: optionally add the desired page to the selection by selecting it in the Tree view. This is not optional for.
 * 4) There are several ways to invoke the tool:
 * 5) * Press the button.
 * 6) * Select the option from the menu.
 * 7) If there are multiple drawing pages in the document and you have not yet selected a page, the  dialog box opens:
 * 8) Select the desired page.
 * 9) Press the  button.

Data

 * : The view's horizontal position on the page. (1)
 * : The view's vertical position on the page. (1)
 * : Prevents Views from being dragged in the Gui when . The View can still be moved by changing X,Y properties. (1)
 * : Counterclockwise rotation of the View on the page in degrees. (1)
 * : The scale type. Options: (1)
 * : Use the Page's scale setting.
 * : Fit the view to the page.
 * : Use the scale defined by.
 * : The view will be rendered on the page in Scale:1 ratio to the Source. (1)
 * : Optional short text caption. (1)




 * : If, TechDraw will use a polygon approximation to calculate drawing geometry. If , TechDraw will use a precision algorithm. CoarseView can be much faster for complex models. The quality of the drawing is reduced, since every curve is approximated as a series of short line segments. Vertices are not displayed in CoarseView since each short segment would result in two new Vertices and the display becomes cluttered. Linear Dimensions can be added to a CoarseView, but are unlikely to be useful.
 * : Visible Smooth lines on/off.
 * : Visible Seam lines on/off.
 * : Visible Isometric(u,v) lines on/off.
 * : Hidden lines on/off.
 * : Hidden Smooth lines on/off.
 * : Hidden Seam lines on/off.
 * : Hidden Isometric(u,v) lines on/off.
 * : Number of Isometric(u,v) lines to draw on each face.


 * : Links to the drawable objects to be depicted.
 * : Links to the drawable objects in an external file.
 * : This vector controls the direction from which you are viewing the object. +X is right, -X is left, +Y is rear, -Y is front (looking into the screen), +Z is up and -Z is down. So a Front view is (0,-1,0) and an isometric view is (1,-1,1).
 * : This vector controls the rotation of the view around the Direction..
 * : for perspective projection,  for orthogonal projection.
 * : Distance from camera to projection plane for perspective projections. Needs to be adjusted to fit the object. Too far and the perspective is lost, too close and the object is distorted.

View

 * : Always show view label if . (1)
 * : Over or under lap relative to other views. (1)


 * : Circular arc center marks on/off.
 * : Circular arc center mark size adjustment, if enabled.
 * : Show a horizontal centerline through the view.
 * : Set the section line color if applicable.
 * : Set the section line style if applicable.
 * : Temporarily show invisible lines.
 * : Show/hide the section line if applicable.
 * : Show a vertical centerline through the view.


 * : Adjust the rotation of the Detail highlight if applicable.
 * : Set the highlight line color if applicable.
 * : Set the highlight line style if applicable.


 * : Not implemented yet.
 * : The thickness of hidden lines, if enabled.
 * : The thickness of isometric(u,v) surface lines and Dimension lines.
 * : The thickness of visible lines. See Line Groups.

(1) these properties are common to all View types.

Scripting
TechDraw API and FreeCAD Scripting Basics.

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