TechDraw View/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "==Script== Vederile pot fi adăugate la Pages utilizând Python.")
(Created page with "==Note== * Vizualizarea va desena orice cu o proprietate Shape. Puteți selecta obiecte Draft și Body. Aplicație :: Part container sau un grup DocumentObject. * Proprietate...")
Line 59: Line 59:
}}
}}


==Notes==
==Note==
* View will draw anything with a Shape property. You can select Draft objects or Bodies also. View will also extract any shapes from objects within an App::Part container or a DocumentObject Group.
* Vizualizarea va desena orice cu o proprietate Shape. Puteți selecta obiecte Draft și Body. Aplicație :: Part container sau un grup DocumentObject.
* Projection Direction property: 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).
* Proprietatea Projection Direction: Acest vector controlează direcția din care vizualizați obiectul. +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).
* 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.
* 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 that CoarseView is affected by an upstream bug in OCCT ([https://www.freecadweb.org/tracker/view.php?id=3332 #3332]) which causes the View's position on the Page to be slightly off from the specified X,Y values.
* Rețineți CoarseView este afectat de o eroare din amonte în OCCT ([https://www.freecadweb.org/tracker/view.php?id=3332 #3332]) ceea ce face ca poziția Vizualizării pe pagină fie ușor decalată față de valorile X, Y specificate.

Revision as of 10:56, 20 September 2018

TechDraw NewView

Menu location
TechDraw → View
Workbenches
TechDraw
Default shortcut
na
Introduced in version
-
See also
None

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.

File:ViewOfBox2.png

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 File:Techdraw-view.png View

Opțiuni

Niciuna.

Proprietăți

  • DateX:

Poziția orizontală a vederii pe pagină (1)

  • DateY: Poziția verticală a vederii pe pagină.(1)
  • DateLockPosition: Împiedică afișarea vederilor din Gui când este adevărat. Vizualizarea poate fi în continuare mutată prin schimbarea proprietăților X, Y.(1)
  • DateRotation: Counterclockwise rotation of the View on the page in degrees. (1)
  • DateScaleType: "Document": use the Page's scale setting. "Custom": use a scale unique to this view. "Automatic": fit view to page. (1)
  • DateScale: A view will be rendered on the page in Scale:1 ratio to the Source. (1)
  • DateCaption: Optional short text caption.
  • DateSource: Links to the Drawable Objects to be depicted
  • DateDirection: A vector representing the viewing direction. See note below. (1)
  • DatePerspective: True for perspective projection, false for orthogonal projection.
  • DateFocus: 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.
  • DateCoarseView: If true, TechDraw will use a polygon approximation to calculate drawing geometry. If false, TechDraw will use a precision algorithm. See Notes.
  • DateSmooth Visible Lines: Visible Smooth lines on/off.
  • DateSeam Visible Lines: Visible Seam lines on/off.
  • DateIso Visible Lines: Visible Isometric(u,v) lines on/off.
  • DateHard Hidden Lines: Hidden lines on/off.
  • DateSmooth Hidden Lines: Hidden Smooth lines on/off.
  • DateSeam Hidden Lines: Linii Seam ascunse on/off.
  • DateIso Hidden Lines: Linii izometrice ascunse (u, v) on /off.
  • DateIso Count: Numărul liniilor izometrice (u, v) care se desenează pe fiecare parte.
  • VizualizareKeep Label: Always show View Label if true.
  • VizualizareLineWidth: The thickness of visible lines. See Line Groups.
  • VizualizareHiddenWidth: The thickness of hidden lines, if enabled.
  • VizualizareIsoWidth: The thickness of isometric(u,v) surface lines and Dimension lines.
  • VizualizareExtraWidth: not implemented yet.
  • VizualizareShowCenters: Circle/arc center marks on/off.
  • VizualizareCenterScale: Circular arc center mark size adjustment, if enabled.
  • VizualizareHorizCenterLine: Show a horizontal centerline through view.
  • VizualizareVertCenterLine: Show a vertical centerline through view.
  • VizualizareShowSectionLine: Show/hide section line if applicable.

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

Script

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

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)

Note

  • Vizualizarea va desena orice cu o proprietate Shape. Puteți selecta obiecte Draft și Body. Aplicație :: Part container sau un grup DocumentObject.
  • Proprietatea Projection Direction: Acest vector controlează direcția din care vizualizați obiectul. +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).
  • 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.
  • Rețineți că CoarseView este afectat de o eroare din amonte în OCCT (#3332) ceea ce face ca poziția Vizualizării pe pagină să fie ușor decalată față de valorile X, Y specificate.