Draft Drawing/sv: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
{{GuiCommand/sv|Name=Draft_Drawing|Name/sv=Draft Drawing|Workbenches=[[Draft Module/sv|Skiss]]|MenuLocation=Drafting → Drawing}}
{{GuiCommand/sv|Name=Draft_Drawing|Name/sv=Draft Drawing|Workbenches=[[Draft Module/sv|Skiss]]|MenuLocation=Drafting → Drawing}}


==Beskrivning==
==Beskrivning==


<div class="mw-translate-fuzzy">
This tool allows you to put selected objects on a svg [[Drawing Module|Drawing sheet]]. If no [[Drawing_templates|sheet]] exists in the document, a default one will be created. This tool works similarly to the [[Drawing View]] tool, but is optimized for [[Draft Workbench|Draft]] objects, and can render flat 2D objects with a face filling. It can also handle a couple of specific Draft objects, such as [[Draft Dimension|dimensions]] and [[Draft Text|texts]], that the [[Drawing View]] tool cannot handle.
detta verktyg tillåter dig att lägga valda objekt på ett svg [[Drawing Module/sv|ritningsark]].
</div>


[[Image:Draft drawing example.jpg|640px]]
[[Image:Draft drawing example.jpg|640px]]
Line 47: Line 50:
Draft.makeDrawingView(obj,page)
Draft.makeDrawingView(obj,page)
}}
}}

<languages/>

Revision as of 20:47, 2 August 2018

Draft Drawing

Menyplacering
Drafting → Drawing
Arbetsbänkar
Skiss
Standard genväg
Ingen
Introducerad i version
-
Se även
Ingen

Beskrivning

detta verktyg tillåter dig att lägga valda objekt på ett svg ritningsark.

Bruk

  1. Select the objects you wish to put on a drawing sheet
  2. Press the Draft Drawing button

Options

  • Välj de objekt som du vill ha på ritningsarket.
  • Addera i samma val det sidobjekt som du vill rita dina objekt på. Om det inte finns någon existerande sida, så kommer en ny att skapas. Om du inte valde en sida, men det finns åtminstone en i dokumentet, så kommer den som hittas först att användas som underlag.
  • De objekt som visas på ritningssidan kommer att använda den skala och offsetvärden som värdsidan har. Försäkra dig om att ställa in dessa värden innan.
  • Du kan ändra objektens skala och offset när som helst.
  • Ställ in/justera linjebredden. Högre värden kommer att resultera i tjockare linjer.
  • Ställ in/justera textstorleken. Högre värden kommer att resultera i större text.
  • Om du valde ett existerande ark, och du har valt objekt som redan finns på det arket (till exempel för ett "Rectangle" objekt så finns det redan ett "ViewRectangle" objekt på arket), så kommer de att ersättas. Detta tillåter dig att helt enkelt välja alla objekt och skicka dem till en existerande sida, vilken kommer att uppdateras.

Properties

  • DataFill Style: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.
  • DataFont Size: Allows you to specify the font size of texts and dimensions.
  • DataLine Width: Allows you to specify the line width of viewed objects.

Scripting

The Draft Drawing tool can by used in macros and from the python console by using the following function:

Draft.makeDrawingView (object,page)
  • Adds a view of the given object to the given page.
  • Returns the created view object.

Example:

import FreeCAD,Draft
obj = FreeCAD.ActiveDocument.ActiveObject
page = FreeCAD.ActiveDocument.Page
Draft.makeDrawingView(obj,page)