93 lines
6.5 KiB
HTML
93 lines
6.5 KiB
HTML
<html><head><title>Draft Drawing/sv</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Draft Drawing/sv</h1></div>
|
|
|
|
<div id="mw-content-text" lang="sv" dir="ltr" class="mw-content-ltr"><hr/>
|
|
<div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Draft_Drawing"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Drawing.png" class="image"><img alt="Draft Drawing.png" src="Draft_Drawing.png" width="32" height="32" /></a> Draft Drawing</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Menyplacering
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Drafting → Drawing
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Arbetsbänk(ar)
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/sv" title="Draft Module/sv">Skiss</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Standard genväg
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">None
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Se även
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">None
|
|
</td></tr>
|
|
<tr>
|
|
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1"><a href="Draft_Drawing.html"><span class="tocnumber">1</span> <span class="toctext">Draft Drawing</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Beskrivning"><span class="tocnumber">2</span> <span class="toctext">Beskrivning</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Bruk"><span class="tocnumber">3</span> <span class="toctext">Bruk</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Beskrivning">Beskrivning</span></h2>
|
|
<p>This tool allows you to put selected objects on a svg <a href="Drawing_Module.html" title="Drawing Module">Drawing sheet</a>. If no <a href="Drawing_templates.html" title="Drawing templates">sheet</a> exists in the document, a default one will be created. This tool works similarly to the <a href="Drawing_View.html" title="Drawing View">Drawing View</a> tool, but is optimized for <a href="Draft_Workbench.html" class="mw-redirect" title="Draft Workbench">Draft</a> objects, and can render flat 2D objects with a face filling. It can also handle a couple of specific Draft objects, such as <a href="Draft_Dimension.html" title="Draft Dimension">dimensions</a> and <a href="Draft_Text.html" title="Draft Text">texts</a>, that the <a href="Drawing_View.html" title="Drawing View">Drawing View</a> tool cannot handle.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_drawing_example.jpg" class="image"><img alt="Draft drawing example.jpg" src="640px-Draft_drawing_example.jpg" width="640" height="232" srcset="/wiki/images/thumb/3/3f/Draft_drawing_example.jpg/960px-Draft_drawing_example.jpg 1.5x, /wiki/images/3/3f/Draft_drawing_example.jpg 2x" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Bruk">Bruk</span></h2>
|
|
<ol><li> Select the objects you wish to put on a drawing sheet</li>
|
|
<li> Press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Drawing.png" class="image"><img alt="Draft Drawing.png" src="16px-Draft_Drawing.png" width="16" height="16" srcset="/wiki/images/thumb/1/11/Draft_Drawing.png/24px-Draft_Drawing.png 1.5x, Draft_Drawing.png 2x" /></a> <a href="Draft_Drawing.html" title="Draft Drawing">Draft Drawing</a></span> button</li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> Välj de objekt som du vill ha på ritningsarket.</li>
|
|
<li> 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.</li>
|
|
<li> 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.</li>
|
|
<li> Du kan ändra objektens skala och offset när som helst.</li>
|
|
<li> Ställ in/justera linjebredden. Högre värden kommer att resultera i tjockare linjer.</li>
|
|
<li> Ställ in/justera textstorleken. Högre värden kommer att resultera i större text.</li>
|
|
<li> 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.</li></ul>
|
|
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
|
|
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Fill Style</b>: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Font Size</b>: Allows you to specify the font size of texts and dimensions.</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Line Width</b>: Allows you to specify the line width of viewed objects.</li></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Draft Drawing tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
|
|
</p>
|
|
<pre>Draft.makeDrawingView (object,page) </pre>
|
|
<ul><li> Adds a view of the given object to the given page. </li>
|
|
<li> Returns the created view object.</li></ul>
|
|
<p>Example:
|
|
</p>
|
|
<pre>import FreeCAD,Draft
|
|
obj = FreeCAD.ActiveDocument.ActiveObject
|
|
page = FreeCAD.ActiveDocument.Page
|
|
Draft.makeDrawingView(obj,page) </pre>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Drawing/sv&oldid=221088">http://www.freecadweb.org/wiki/index.php?title=Draft_Drawing/sv&oldid=221088</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |