Draft Drawing/de: Difference between revisions

From FreeCAD Documentation
(Created page with "Das Drawing-Werkzeug kann in Makros und aus der Python-Konsole heraus durch folgende Funktion angesprochen werden:")
No edit summary
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/de
|
|
|[[Draft_Workbench/de|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}

{{VeryImportantMessage|DIESER BEFEHL IST VERALTET<br>
Sowohl der Befehl als auch der Arbeitsbereich [[Drawing_Workbench|Drawing]], mit dem er zusammenarbeitet, stehen in {{VersionPlus/de|0.21}} nicht zur Verfügung. Stattdessen werden der Arbeitsbereich [[TechDraw_Workbench/de|TechDraw]] und der Befehl [[TechDraw_DraftView/de|TechDraw DraftAnsicht]] verwendet.}}

{{GuiCommand/de
{{GuiCommand/de
|Name=Draft Drawing|Name/de=Zeichnung
|Name=Draft Drawing
|MenuLocation=Drafting → Drawing
|Name/de=Draft Drawing
|Workbenches=[[Draft Module/de|Draft]], [[Arch Module/de|Arch]]
|Workbenches=[[Drawing_Workbench/de|Drawing]], [[Draft_Workbench|Draft]], [[Arch_Workbench/de|Arch]]
|SeeAlso=[[TechDraw Workbench/de|TechDraw-Arbeitsbereich]], [[Draft Shape2DView/de|Form in 2D Ansicht]]
|SeeAlso=[[TechDraw_DraftView/de|TechDraw DraftAnsicht]]
}}
}}
{{VeryImportantMessage|Entwicklung des [[Drawing Workbench/de|Drawing-Arbeitsbereichs]] stoppte in FreeCAD 0.16; der neu in v0.17 eingeführte [[TechDraw Workbench/de|TechDraw-Arbeitsbereich]] zielt darauf, ihn zu ersetzen. Beide Arbeitsbereiche werden in v0.17 angeboten, aber der Drawing-Arbeitsbereich könnte in zukünftigen Ausgaben entfernt werden.}}


<span id="Description"></span>
==Beschreibung==
==Beschreibung==


Der Befehl [[Image:Draft_Drawing.svg|24px]] '''Draft Zeichnung''' fügt Ansichten von ausgewählten Objekten auf einem [[Drawing_Workbench|Drawing]]-Zeichnungsblatt hinzu.
Das Drawing-Werkzeug erlaubt es, ausgewählte Objekte auf einem Zeichenblatt zu platzieren, das mit dem [[Drawing Workbench/de|Drawing-Arbeitsbereich]] erstellt wurde. Falls kein [[Drawing templates/de|Blatt]] im Dokument existiert, wird ein Standardblatt erstellt.


<div class="mw-translate-fuzzy">
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.
Diese Werkzeug arbeitet ähnlich wie das [[Drawing View/de|Zeichnungsansicht]]-Werkzeug, ist aber für den [[Draft Workbench/de|Draft-Arbeitsbereich]] optimiert und kann 2D-Objekte mit einer gefüllten Fläche erzeugen. Es kann mit bestimmten Objekten wie [[Draft Dimension/de|Draft Dimension]] und [[Draft Text/de|Draft Text]] umgehen, was das [[Drawing View/de|Zeichnungsansicht]]-Werkzeug nicht kann.
</div>

This command is now obsolete. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.


[[Image:Draft drawing example.jpg|640px]]
[[Image:Draft drawing example.jpg|640px]]
<div class="mw-translate-fuzzy">
{{Caption|In eine Zeichenseite importiertes Draft-Objekt und Bemaßungen}}
{{Caption|In eine Zeichenseite importiertes Draft-Objekt und Bemaßungen}}
</div>


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==Anwendung==
==Anwendung==
</div>


# To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See [[Interface_Customization|Interface Customization]].
# Select the objects that you wish to put on a drawing sheet.
# Select one or more objects. A separate view will be created for each object.
# In the same selection, add the [[Drawing Workbench]] page object in which you want to draw the projection of the objects.
# Optionally add a [[Drawing_Workbench|Drawing]] page to the selection. If you do not, the view is inserted into the first page in the document. If there are no pages in the document a new page is created first.
# Press the {{Button|[[Image:Draft Drawing.png|16px]] [[Draft Drawing]]}} button.
# Press the {{Button|[[Image:Draft_Drawing.svg|16px]] [[Draft_Drawing|Draft Drawing]]}} button.

# There is a bug in the FreeCAD version 0.19 version of the command. The initial value of the {{PropertyData|Direction}} property is {{Value|[0, 0, 0]}} which is not allowed. For objects on a plane parallel to the XY plane of the global coordinate system it should be changed to {{Value|[0, 0, 1]}}. After changing this property the page and the view may need to be [[Std_Refresh|recomputed]].
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==

* {{PropertyData|Fill Style}}: specifies the fill style "concrete", "square", "simple", "wood", "line", "cross", "woodgrain", or "shape color". This property only works for closed shapes.
* {{PropertyData|Font Size}}: specifies the font size of texts and dimensions.
* {{PropertyData|Line Width}}: specifies the line width of viewed objects in millimeters.

==Scripting==
{{Emphasis|Siehe auch:}} [[Draft API/de|Draft API]] und [[FreeCAD Scripting Basics/de|FreeCAD Scripting Basics]].

Das Drawing-Werkzeug kann in [[macros/de|Makros]] und aus der [[Python/de|Python]]-Konsole heraus durch folgende Funktion angesprochen werden:

{{Code|code=
DrawingView = makeDrawingView(obj, page, lwmod=None, tmod=None, otherProjection=None)
}}

* Creates a {{incode|DrawingView}} from {{incode|obj}} in the specified {{incode|page}}.
* If given, {{incode|lwmod}} modifies line weights in percentage, and {{incode|tmod}} 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 {{incode|X}} and {{incode|Y}}, which are given in millimeters, and {{incode|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:
{{Code|code=
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()


{{Docnav/de
View.X = 200
|
View.Y = 150
|
FreeCAD.ActiveDocument.recompute()
|[[Draft_Workbench/de|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}
}}


{{Draft Tools navi}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 21:37, 9 January 2024

DIESER BEFEHL IST VERALTET
Sowohl der Befehl als auch der Arbeitsbereich Drawing, mit dem er zusammenarbeitet, stehen in Version 0.21 und darüber nicht zur Verfügung. Stattdessen werden der Arbeitsbereich TechDraw und der Befehl TechDraw DraftAnsicht verwendet.

Draft Drawing

Menüeintrag
Keiner
Arbeitsbereich
Drawing, Draft, Arch
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
TechDraw DraftAnsicht

Beschreibung

Der Befehl Draft Zeichnung fügt Ansichten von ausgewählten Objekten auf einem Drawing-Zeichnungsblatt hinzu.

Diese Werkzeug arbeitet ähnlich wie das Zeichnungsansicht-Werkzeug, ist aber für den Draft-Arbeitsbereich optimiert und kann 2D-Objekte mit einer gefüllten Fläche erzeugen. Es kann mit bestimmten Objekten wie Draft Dimension und Draft Text umgehen, was das Zeichnungsansicht-Werkzeug nicht kann.

This command is now obsolete. Use the TechDraw Workbench and the TechDraw DraftView command instead.

In eine Zeichenseite importiertes Draft-Objekt und Bemaßungen

Anwendung

  1. To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See Interface Customization.
  2. Select one or more objects. A separate view will be created for each object.
  3. Optionally add a Drawing page to the selection. If you do not, the view is inserted into the first page in the document. If there are no pages in the document a new page is created first.
  4. Press the Draft Drawing button.
  5. There is a bug in the FreeCAD version 0.19 version of the command. The initial value of the DatenDirection property is [0, 0, 0] which is not allowed. For objects on a plane parallel to the XY plane of the global coordinate system it should be changed to [0, 0, 1]. After changing this property the page and the view may need to be recomputed.