Noua vedere TechDraw

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page TechDraw View and the translation is 47% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский
Arrow-left.svg TechDraw RedrawPage.svg Redraw Page Anteriorul:

Official icon not found Noua vedere TechDraw

poziția meniului
TechDraw → Insert View
Workbenches
TechDraw
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
Insert Projection Group, Insert Section View


Descriere

Instrumentul Vizualizare adaugă o reprezentare a unuia sau mai multor obiecte pe o pagină de desen. Acesta este blocul de bază al modulului TechDraw. La plupart des autres vues proviennent de NewView.

TechDraw View example.png

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

TechDraw View example.png

View of a solid box with hidden lines


Cum se utilizează

  1. Selectați unul sau mai multe obiecte (Corp, Aplicație :: Parte, Parte :: Funcție, Proiect de obiect, ... Vezi Note) în fereastra sau arborele 3D.
  2. Dacă aveți mai multe pagini de desen în document, va trebui, de asemenea, să selectați pagina dorită din arborescență.
  3. Apăsați butonul Techdraw-view.png View
  1. Select one or more objects (Body, App::Part, Part::Feature, Draft object, ... See Notes) in the 3D view or Tree view.
  2. If you have multiple drawing pages in your document, you will also need to select the desired page in the tree. Use the Ctrl to select multiple items in the tree.
  3. Press the TechDraw View.svg Insert View button

View will try to draw anything with a Shape property. You can select Draft objects and PartDesign Bodies also. View will also extract any shapes from objects within an App::Part container or a Group.

Proprietăți

  • DataX: Poziția orizontală a vederii pe pagină (1)
  • DataY: Poziția verticală a vederii pe pagină.(1)
  • DataLockPosition: Împiedică afișarea vederilor din Gui când este True. Vizualizarea poate fi în continuare mutată prin schimbarea proprietăților X, Y.(1)
  • DataRotation: Rotație antiorară a afișării vizualizării pe pagină exporimată în grade (1)
  • DataScaleType: "Document": utilizați setările de scală ale Paginii. "Custom": utilizați o scală unică doar pentru această vedere. "Automatic": potrivește vizualizarea în pagină. (1)
  • DataScale: A view will be rendered on the page in Scale:1 ratio to the Source. (1)
  • DataCaption: Optional short text caption.
  • DataSource: Links to the Drawable Objects to be depicted
  • DataDirection: A vector representing the viewing direction. See note below. (1)
  • DataPerspective: True for perspective projection, false for orthogonal projection.
  • DataFocus: 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.
  • DataCoarseView: If true, TechDraw will use a polygon approximation to calculate drawing geometry. If false, TechDraw will use a precision algorithm. See Notes.
  • DataSmooth Visible Lines: Visible Smooth lines on/off.
  • DataSeam Visible Lines: Visible Seam lines on/off.
  • DataIso Visible Lines:Liniile izometrice vizibile (u,v) sunt activate/dezactivate.
  • DataHard Hidden Lines: Liniile ascunse sunt activate/dezactivate.
  • DataSmooth Hidden Lines: Liniile lise sunt activate/dezactivate.
  • DataSeam Hidden Lines: Liniile de cusătuiră ( Seam) ascunse activate/dezactivate .
  • DataIso Hidden Lines: Linii izometrice ascunse (u, v) sunt activate /dezactivate.
  • DataIso Count: Numărul de linii izometrice (u, v) care se desenează pe fiecare fațetă.

Data

  • DataX: The view's horizontal position on the page. (1)
  • DataY: The view's vertical position on the page. (1)
  • DataLockPosition: Prevents Views from being dragged in the Gui when true. The View can still be moved by changing X,Y properties. (1)
  • DataRotation: Counterclockwise rotation of the View on the page in degrees. (1)
  • DataScaleType: "Document": use the Page's scale setting. "Custom": use a scale unique to this view. "Automatic": fit view to page. (1)
  • DataScale: A view will be rendered on the page in Scale:1 ratio to the Source. (1)
  • DataCaption: Optional short text caption.
  • DataSource: Links to the Drawable Objects to be depicted
  • DataDirection: 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). (1)
  • DataXDirection: this vector controls the rotation of the view around the Direction. New in v0.19. (1)
  • DataPerspective: True for perspective projection, false for orthogonal projection.
  • DataFocus: 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.
  • DataCoarseView: If true, TechDraw will use a polygon approximation to calculate drawing geometry. If false, 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.
Note: CoarseView is affected by an upstream bug in OCCT (#3332) which causes the View's position on the Page to be slightly off from the specified X,Y values.
  • DataSmooth Visible Lines: Visible Smooth lines on/off.
  • DataSeam Visible Lines: Visible Seam lines on/off.
  • DataIso Visible Lines: Visible Isometric(u,v) lines on/off.
  • DataHard Hidden Lines: Hidden lines on/off.
  • DataSmooth Hidden Lines: Hidden Smooth lines on/off.
  • DataSeam Hidden Lines: Hidden Seam lines on/off.
  • DataIso Hidden Lines: Hidden Isometric(u,v) lines on/off.
  • DataIso Count: Number of Isometric(u,v) lines to draw on each face.

(1) Aceste proprietăți sunt comune tuturor tipurilor de vizualizare.

  • ViewKeep Label: Afișați întotdeauna eticheta de vizualizare dacă este True.
  • ViewLineWidth: Grosimea liniilor vizibile. Vezi Line Groups.
  • ViewHiddenWidth: Grosimea liniilor ascunse, dacă este activat.
  • ViewIsoWidth: Grosimea liniilor suprafeței izometrice(u,v) și a linilor de cotă(Dimension).
  • ViewExtraWidth: nu este implementat încă.
  • ViewShowCenters: Marcajul centrului pentru Cerc/arc de cerc activat/dezactivat.
  • ViewCenterScale: Reglarea mărimii marcajului central al arcului de cerc, dacă este activată.
  • ViewHorizCenterLine: Afișează o linie orizontală pe centrul vizualizării.
  • ViewVertCenterLine: Afișează o linie verticală pe centrul vizualizării.
  • ViewShowSectionLine: Arată/ascunde linia de scțiune dacă există

Script

Vederile pot fi adăugate la Pages utilizând Python.

See also: TechDraw API and FreeCAD Scripting Basics.

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

view = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewPart','View')
rc = page.addView(view)
FreeCAD.ActiveDocument.View.Source = [App.ActiveDocument.Box]
FreeCAD.ActiveDocument.View.Direction = (0.0,0.0,1.0)
Arrow-left.svg TechDraw RedrawPage.svg Redraw Page Anteriorul: