TechDraw DraftView
|
|
| Menu location |
|---|
| TechDraw → Views From Other Workbenches → Draft View |
| Workbenches |
| TechDraw, Draft |
| Default shortcut |
| None |
| Introduced in version |
| - |
| See also |
| TechDraw ArchView |
Description[edit | edit source]
The TechDraw DraftView tool inserts a view of a selected Part-based or Group object into a drawing page. Unlike the standard View tool, views created with this tool are handled by the
Draft Workbench, and specially designed for showing 2D objects. See Notes.
Draft elements like circles and arrays imported into a TechDraw drawing page
Usage[edit | edit source]
- Optionally rotate the 3D View. The camera direction in the 3D View determines the initial value of the DataDirection property of the View.
- Select one or more objects in the 3D View or Tree View. A separate view will created for each object.
- If there are multiple drawing pages in the document: optionally add the desired page to the selection by selecting it in the Tree View.
- There are several ways to invoke the tool:
- Press the
Draft View button.
- Select the TechDraw → Views From Other Workbenches →
Draft View option from the menu.
- Press the
- If there are multiple drawing pages in the document and you have not yet selected a page, the Page Chooser dialog box opens:
- Select the desired page.
- Press the OK button.
Options[edit | edit source]
- Creating a Draft View of a layer will recursively handle all objects found in that layer. The View is updated automatically when the contents of the layer changes
- There is no hidden line removal. Each face found in the handled object(s) will simply be projected along the Direction vector, no specific action is taken when faces overlap
- The Draft View also supports all Draft objects that are not Part-based, such as dimensions and texts
- Color, line width and line pattern can be specified in the properties. Line patterns can be fine-tuned by directly giving a stroke-dasharray value, such as 3,5
- Projected faces are filled with the face color
Notes[edit | edit source]
The Draft View is rendered within the Draft Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.
Properties[edit | edit source]
See also: Property View.
A Draft View, formally a TechDraw::DrawViewDraft object, has the properties that are common to all View types. It also has the following additional properties:
Data[edit | edit source]
Draft view
- DataSource (
Link): The Draft object to be displayed. - DataLine Width (
Float): The width of the lines, independently of the scale. - DataFont Size (
Float): The size of all texts appearing in this view (texts and dimensions). - DataDirection (
Vector): The projection direction to use. - DataColor (
Color): The color of lines. - DataLine Style (
String): A line style to use for this view. Can beSolid,Dashed,Dashdot,Dotor an SVG line pattern like0.20,0.20. - DataLine Spacing (
Float): The spacing between lines to use for multiline texts. - DataOverride Style (
Bool): Iftrue, line color, width and style of this view will override those of the rendered object.
Drawing view
- Data (Hidden)Symbol (
String): The SVG code defining this symbol. - DataEditable Texts (
StringList): Substitution values for the editable strings in this symbol. - DataOwner (
Link): Feature to which this symbol is attached. introduced in 1.0
Scripting[edit | edit source]
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The DraftView tool can be used in macros and from the Python Console by using the following functions:
dv = FreeCAD.ActiveDocument.addObject("TechDraw::DrawViewDraft", "TestDraft")
dv.Source = myDraftbject
rc = page.addView(dv)
- Page: New Page, New Page From Template, Update Template Fields, Redraw Page, Print All Pages, Export Page as SVG, Export Page as DXF
- TechDraw Views: New View, Broken View, Section View, Complex Section View, Detail View, Projection Group, Clip Group, Insert SVG, Bitmap Image, Share View, Project Shape
- Views From Other Workbenches: Active View, Draft View, BIM View, Spreadsheet View
- Dimensions: Dimension, Length Dimension, Horizontal Length Dimension, Vertical Length Dimension, Radius Dimension, Diameter Dimension, Angle Dimension, Angle Dimension From 3 Points, Area Annotation, Horizontal Extent Dimension, Vertical Extent Dimension, Repair Dimension References
- Hatching: Image Hatch, Geometric Hatch
- Symbols: Weld Symbol, Surface Finish Symbol, Hole/Shaft Fit
- Stacking: Stack Top, Stack Bottom, Stack Up, Stack Down
- Attributes/Modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Toggle View Lock, Position Section View, Align Horizontal Chain Dimensions, Align Vertical Chain Dimensions, Align Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Area Annotation, Arc Length Annotation, Customize Format Label
- Centerlines/Threading: Circle Centerlines, Bolt Circle Centerlines, Cosmetic Thread Hole Side View, Cosmetic Thread Hole Bottom View, Cosmetic Thread Bolt Side View, Cosmetic Thread Bolt Bottom View, Cosmetic Intersection Vertices, Offset Vertex, Cosmetic 1 Point Circle, Cosmetic 2 Point Circle, Cosmetic 3 Point Circle, Cosmetic Arc, Cosmetic Parallel Line, Cosmetic Perpendicular Line
- Format/Organize Dimensions Horizontal Chain Dimension, Vertical Chain Dimension, Oblique Chain Dimension, Horizontal Coordinate Dimension, Vertical Coordinate Dimension, Oblique Coordinate Dimension, Horizontal Chamfer Dimension, Vertical Chamfer Dimension, Arc Length Dimension, Insert '⌀' Prefix, Insert '□' Prefix, Insert 'n×' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Annotations: Text Annotation, Rich Text Annotation, Balloon Annotation, Axonometric Length Dimension
- Add Lines: Leader Line, Centerline on Face, Centerline Between 2 Lines, Centerline Between 2 Points, Cosmetic Line Through 2 points, Edit Line Appearance, Toggle Edge Visibility
- Add Vertices: Cosmetic Vertex, Midpoint Vertices, Quadrant Vertices
- Miscellaneous: Remove Cosmetic Object
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
- 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, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub
