Draft Zeichnung
Zeichnung |
Menüeintrag |
---|
Drafting → Drawing |
Arbeitsbereich |
Draft, Arch |
Standardtastenkürzel |
Keiner |
Eingeführt in Version |
- |
Siehe auch |
TechDraw-Arbeitsbereich, Form in 2D Ansicht |
Beschreibung
Das Drawing-Werkzeug erlaubt es, ausgewählte Objekte auf einem Zeichenblatt zu platzieren, das mit dem Drawing-Arbeitsbereich erstellt wurde. Falls kein Blatt im Dokument existiert, wird ein Standardblatt erstellt.
This tool works similarly to the Drawing View tool but is optimized for Draft Workbench objects, and can render 2D objects with a face filling. It can handle specific objects such as Draft Dimension and Draft Text, that the Drawing View tool cannot handle.
In eine Zeichenseite importiertes Draft-Objekt und Bemaßungen
Anwendung
- Select the objects that you wish to put on a drawing sheet.
- In the same selection, add the Drawing Workbench page object in which you want to draw the projection of the objects.
- Press the Draft Drawing button.
Notes:
- The tool will work best with 2D objects from the Draft Workbench or Sketcher Workbench.
- The selected object can also be an Arch SectionPlane, which will show the elements viewed by that plane.
- If there is no existing page, a new one will be created.
- If no page was selected but there is at least one in the document, the first page found will be used to put the projections.
- If you select a sheet and the objects already projected on that sheet, the projections will be updated.
Optionen
Es gibt keine Optionen für dieses Werkzeug. Entweder funktioniert es mit den ausgewählten Objekten oder nicht.
Properties
- DatenFill Style: specifies the fill style "concrete", "square", "simple", "wood", "line", "cross", "woodgrain", or "shape color". This property only works for closed shapes.
- DatenFont Size: specifies the font size of texts and dimensions.
- DatenLine Width: specifies the line width of viewed objects in millimeters.
Scripting
Siehe auch: Draft API und FreeCAD Scripting Basics.
Das Drawing-Werkzeug kann in Makros und aus der Python-Konsole heraus durch folgende Funktion angesprochen werden:
DrawingView = makeDrawingView(obj, page, lwmod=None, tmod=None, otherProjection=None)
- Creates a
DrawingView
fromobj
in the specifiedpage
. - If given,
lwmod
modifies line weights in percentage, andtmod
modifies text heights in percentage.
The attributes of the view usually need to be modified so that it is displayed correctly in the drawing page. In particular, the position is controlled by X
and Y
, which are given in millimeters, and Scale
is important to correctly fit the projected shape in the page. The scale usually ranges from 1 to 0.25 (1:1 to 1:4) for small solids, and from 0.02 to 0.01 (1:50 to 1:100) for typical architectural elements.
Example:
import FreeCAD, Draft, Drawing
obj = Draft.makePolygon(5, 1000)
page = FreeCAD.ActiveDocument.addObject('Drawing::FeaturePage', 'Page')
page.Template = FreeCAD.getResourceDir() + 'Mod/Drawing/Templates/A3_Landscape.svg'
View = Draft.makeDrawingView(obj, page)
View.Scale = 0.02
FreeCAD.ActiveDocument.recompute()
View.X = 200
View.Y = 150
FreeCAD.ActiveDocument.recompute()
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- 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