TechDraw: Vista
TechDraw Vista |
Posizione nel menu |
---|
TechDraw → Viste TechDraw → Inserisci Vista |
Ambiente |
TechDraw |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Gruppo di proiezioni, Vista di sezione |
Descrizione
Lo strumento Vista aggiunge in una pagina di disegno una rappresentazione di uno o più oggetti. Questo è l'elemento base del modulo TechDraw. La maggior parte delle altre viste sono derivate in qualche modo da Nuova vista.
- Vista disegna qualsiasi cosa che abbia una proprietà
Shape
. È anche possibile selezionare oggetti Draft o Corpi di PartDesign. Vista estrae anche qualsiasi forma dagli oggetti all'interno di un contenitore App::Part o di un Grouppo.
Vista di un solido con linee nascoste
Utilizzo
- Selezionare uno o più oggetti (Body, App::Part, Part::Feature, Draft object, ... Vedere Note) nella vista 3D o nella vista a albero.
- Se nel documento ci sono più pagine di disegno, è anche necessario selezionare la pagina desiderata nella struttura. Utilizzare il Ctrl per selezionare più elementi nella struttura.
- Premere il pulsante Vista
Proprietà
Data
Base
Dati
- DatiX: la posizione orizzontale della vista nella pagina. (1)
- DatiY: la posizione verticale della vista nella pagina. (1)
- DatiLockPosition: quando è vero, impedisce che le viste vengano trascinate nella Gui. La vista può ancora essere spostata cambiando le proprietà X, Y. (1)
- DatiRotation: rotazione in gradi in senso antiorario della vista sulla pagina. (1)
- DatiScaleType: "Document": usa l'impostazione della scala della Pagina. "Custom": usa una scala unica per questa vista. "Automatic": adatta la vista alla pagina. (1)
- DatiScale: la vista viene resa sulla pagina in Scala: 1 è equivalente alla fonte. (1)
- DatiCaption: breve didascalia di testo opzionale.
- DatiSource: collegamenti agli oggetti disegnabili da rappresentare.
- DatiDirection: un vettore che rappresenta la direzione della vista. Direzioni comuni sono Frontale: (0,-1,0), Dall'alto: (0,0,1), Destra: (1,0,0), Assonometria: (1,1,1). Vedere le note sottostanti. (1)
- DatiXDirection: questo vettore controlla la rotazione della vista attorno alla Direction. Introdotto in v0.19. (1)
- DatiPerspective: vero per la proiezione prospettica, falso per la proiezione ortogonale.
- DatiFocus: distanza dalla telecamera al piano di proiezione per le proiezioni prospettiche. Deve essere regolata per adattarsi all'oggetto. Se è troppo lontana si perde la prospettiva, se è troppo vicina l'oggetto viene distorto.
- DatiCoarseView: se è vero, TechDraw usa un'approssimazione poligonale per calcolare la geometria del disegno. Se è false, TechDraw usa un algoritmo di precisione. CoarseView può essere molto più veloce per modelli complessi. La qualità del disegno è ridotta, poiché ogni curva è approssimata come una serie di segmenti di linee corte. In CoarseView i vertici non vengono visualizzati poiché ogni segmento breve comporterebbe due nuovi vertici e il display si ingombrerebbe. A CoarseView possono essere aggiunte le quote lineari, ma è improbabile che siano utili.
- Note: CoarseView è affetto da un bug in OCCT (#3332) che fa sì che la posizione della vista sulla pagina sia leggermente diversa dai valori X, Y specificati.
- DatiSmooth Visible Lines: mostra o nasconde le Smooth lines.
- DatiSeam Visible Lines: mostra o nasconde le linee di congiunzione.
- DatiIso Visible Lines: mostra o nasconde le linee Isometriche(u,v).
- DatiHard Hidden Lines: mostra o nasconde le linee degli spigoli nascosti.
- DatiSmooth Hidden Lines: mostra o nasconde le linee Smooth lines nascoste.
- DatiSeam Hidden Lines: mostra o nasconde le linee di congiunzione nascoste.
- DatiIso Hidden Lines: mostra o nasconde le linee Isometriche(u,v).
- DatiIso Count: numero di linee Isometriche(u,v) da disegnare su ogni faccia.
Cosmetics
- Dati (Hidden)Cosmetic Vertexes (
TechDraw::PropertyCosmeticVertexList
) - Dati (Hidden)Cosmetic Edges (
TechDraw::PropertyCosmeticEdgeList
) - Dati (Hidden)Center Lines (
TechDraw::PropertyCenterLineList
) - Dati (Hidden)Geom Formats (
TechDraw::PropertyGeomFormatList
)
HLR Parameters
- DatiCoarse View (
Bool
): Iftrue
, TechDraw will use a polygon approximation to calculate drawing geometry. Iffalse
, 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. - DatiSmooth Visible (
Bool
): Visible Smooth lines on/off. - DatiSeam Visible (
Bool
): Visible Seam lines on/off. - DatiIso Visible (
Bool
): Visible Isometric(u,v) lines on/off. - DatiHard Hidden (
Bool
): Hidden lines on/off. - DatiSmooth Hidden (
Bool
): Hidden Smooth lines on/off. - DatiSeam Hidden (
Bool
): Hidden Seam lines on/off. - DatiIso Hidden (
Bool
): Hidden Isometric(u,v) lines on/off. - DatiIso Count (
Integer
): Number of Isometric(u,v) lines to draw on each face.
Projection
- DatiSource (
LinkList
): Links to the drawable objects to be depicted. - DatiXSource (
XLinkList
): Links to the drawable objects in an external file. - DatiDirection (
Vector
): 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). - DatiXDirection (
Vector
): This vector controls the rotation of the view around the Direction. - DatiPerspective (
Bool
):true
for perspective projection,false
for orthogonal projection. - DatiFocus (
Distance
): 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
Base
- VistaKeep Label (
Bool
): Always show view label iftrue
. (1) - VistaStack Order (
Integer
): Over or under lap relative to other views. (1) introduced in version 0.21
Decoration
- VistaArc Center Marks (
Bool
): Circular arc center marks on/off. - VistaCenter Scale (
Float
): Circular arc center mark size adjustment, if enabled. - VistaHoriz Center Line (
Bool
): Show a horizontal centerline through the view. - VistaSection Line Color (
Color
): Set the section line color if applicable. - VistaSection Line Style (
Enumeration
): Set the section line style if applicable. - VistaShow All Edges (
Bool
): Temporarily show invisible lines. - VistaShow Section Line (
Bool
): Show/hide the section line if applicable. - VistaVert Center Line (
Bool
): Show a vertical centerline through the view.
Highlight
- VistaHighlight Adjust (
Float
): Adjust the rotation of the Detail highlight if applicable. - VistaHighlight Line Color (
Color
): Set the highlight line color if applicable. - VistaHighlight Line Style (
Enumeration
): Set the highlight line style if applicable.
Lines
- VistaExtra Width (
Length
): Not implemented yet. - VistaHidden Width (
Length
): The thickness of hidden lines, if enabled. - VistaIso Width (
Length
): The thickness of isometric(u,v) surface lines and Dimension lines. - VistaLine Width (
Length
): The thickness of visible lines. See Line Groups.
(1) queste proprietà sono comuni a tutti i tipi di Viste.
Script
Vedere anche: API TechDraw e Nozioni di base sugli script di FreeCAD.
A View can be created with macros and from the Python console by using the following functions:
import FreeCAD as App
doc = App.ActiveDocument
box = doc.addObject("Part::Box", "Box")
page = doc.addObject("TechDraw::DrawPage", "Page")
template = doc.addObject("TechDraw::DrawSVGTemplate", "Template")
template.Template = App.getResourceDir() + "Mod/TechDraw/Templates/A4_LandscapeTD.svg"
page.Template = template
# Toggle the visibility of the page to ensure its width and height are updated (hack):
page.Visibility = False
page.Visibility = True
view = doc.addObject("TechDraw::DrawViewPart", "View")
page.addView(view)
view.Source = [box]
view.Direction = (0, 0, 1)
view.X = page.PageWidth / 2
view.Y = page.PageHeight / 2
doc.recompute()
TechDraw
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub