FreeCAD-Doc/localwiki/TechDraw_SaveDXF-hr.html
2018-07-19 18:47:02 -05:00

91 lines
5.2 KiB
HTML

<html><head><title>TechDraw SaveDXF/hr</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>TechDraw SaveDXF/hr</h1></div>
<div id="mw-content-text" lang="hr" 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="TechDraw_SaveDXF"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_SaveDXF.png" class="image"><img alt="TechDraw SaveDXF.png" src="32px-TechDraw_SaveDXF.png" width="32" height="29" srcset="/wiki/images/thumb/c/c4/TechDraw_SaveDXF.png/48px-TechDraw_SaveDXF.png 1.5x, /wiki/images/c/c4/TechDraw_SaveDXF.png 2x" /></a> TechDraw SaveDXF</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menu location
</th></tr>
<tr>
<td class="ctEven">TechDraw → Export page Dxf
</td></tr>
<tr>
<th class="ctOdd">Workbenches
</th></tr>
<tr>
<td class="ctEven"><a href="TechDraw_Module.html" title="TechDraw Module">TechDraw</a>
</td></tr>
<tr>
<th class="ctOdd">Default shortcut
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<th class="ctOdd">See also
</th></tr>
<tr>
<td class="ctEven">
</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="TechDraw_SaveDXF.html"><span class="tocnumber">1</span> <span class="toctext">TechDraw SaveDXF</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Opcije"><span class="tocnumber">4</span> <span class="toctext">Opcije</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>
<li class="toclevel-1 tocsection-6"><a href="#Notes"><span class="tocnumber">7</span> <span class="toctext">Notes</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>The Export page Dxf tool saves a drawing page as a Dxf file
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select a Page in the tree (if the document contains multiple pages).</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:TechDraw_SaveDXF.png" class="image"><img alt="TechDraw SaveDXF.png" src="24px-TechDraw_SaveDXF.png" width="24" height="22" srcset="/wiki/images/thumb/c/c4/TechDraw_SaveDXF.png/36px-TechDraw_SaveDXF.png 1.5x, /wiki/images/thumb/c/c4/TechDraw_SaveDXF.png/48px-TechDraw_SaveDXF.png 2x" /></a> <a href="TechDraw_SaveDXF.html" title="TechDraw SaveDXF">Save page as Dxf</a></span> button</li>
<li> A File Save dialog will open. Select a location and file name.</li></ol>
<h2><span class="mw-headline" id="Opcije">Opcije</span></h2>
<p>None.
</p>
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
<ul><li> n/a</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>This function is available in Python by using
</p>
<pre>TechDraw.writeDXFPage(page,filename) </pre>
<h2><span class="mw-headline" id="Notes">Notes</span></h2>
<ul><li> This function is available in v0.18 and later.</li>
<li> This function exports the R12(AC1009) and R14(AC1014) versions of Dxf.
<ul><li> R12 is an older, simpler version of the standard, but should be readable by most other software. </li>
<li> R14 is the default version. It includes support for splines among other things.</li>
<li> There are 2 parameters that affect Dxf output:
<ul><li> Preferences → Mod → Import → DxfVersionOut - valid entries are 12 or 14. Default is 14.</li>
<li> Preferences → Mod → Import → DiscretizeEllipses - true: splines/ellipses are polylines false: spline/ellipses are written as splines/ellipses. Default is false.</li></ul></li></ul></li>
<li> If the FreeCAD document contains multiple pages, you will have to select the desired page in the tree before pressing the export button.</li>
<li> Radial and Diametric dimensions will only export properly if they are "inside" the arc. </li>
<li> Scaling is not supported. The Dxf will be drawn in the actual size of the TechDraw Page.</li>
<li> Units are not supported - the Dxf will be drawn in mm. Dimension text will be shown exactly as displayed in TechDraw. </li></ul>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_SaveDXF/hr&amp;oldid=289613">http://www.freecadweb.org/wiki/index.php?title=TechDraw_SaveDXF/hr&amp;oldid=289613</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>